forked from FoundKeyGang/FoundKey
server: use foundkey-js definition of ffVisibilities
This commit is contained in:
parent
ed9f2f4900
commit
ded48c96d8
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
import RE2 from 're2';
|
||||
import * as mfm from 'mfm-js';
|
||||
import { notificationTypes } from 'foundkey-js';
|
||||
import { ffVisibility, notificationTypes } from 'foundkey-js';
|
||||
import { publishMainStream, publishUserEvent } from '@/services/stream.js';
|
||||
import { acceptAllFollowRequests } from '@/services/following/requests/accept-all.js';
|
||||
import { publishToFollowers } from '@/services/i/update.js';
|
||||
|
@ -67,7 +67,7 @@ export const paramDef = {
|
|||
injectFeaturedNote: { type: 'boolean' },
|
||||
receiveAnnouncementEmail: { type: 'boolean' },
|
||||
alwaysMarkNsfw: { type: 'boolean' },
|
||||
ffVisibility: { type: 'string', enum: ['public', 'followers', 'private'] },
|
||||
ffVisibility: { type: 'string', enum: ffVisibility },
|
||||
pinnedPageId: { type: 'array', items: {
|
||||
type: 'string', format: 'misskey:id',
|
||||
} },
|
||||
|
|
Loading…
Reference in a new issue