1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-31 10:24:08 +02:00
This commit is contained in:
tamaina
2023-05-27 19:17:29 +00:00
parent 8d36911f90
commit 654c93b0ce
6 changed files with 273 additions and 44 deletions

View File

@@ -36,7 +36,12 @@ import { packedFlashSchema } from './schemas/flash.js';
import { packedAdSchema } from './schemas/ad.js';
import { packedAnnouncementSchema } from './schemas/announcement.js';
import { packedRelaySchema } from './schemas/relay.js';
import { packedRoleAssignSchema } from './schemas/role.js';
import {
packedRoleSchema,
packedRoleAssignSchema,
packedRolePolicySchema,
packedRoleCondFormulaSchema,
} from './schemas/role.js';
import { Error, ApiError } from './schemas/error.js';
import type { JSONSchema7, JSONSchema7Definition, GetDef, GetRefs, GetKeys, UnionToArray } from 'schema-type';
@@ -78,8 +83,10 @@ export const refs = {
Ad: packedAdSchema,
Announcement: packedAnnouncementSchema,
Relay: packedRelaySchema,
Role: packedRoleSchema,
RoleAssign: packedRoleAssignSchema,
RolePolicy: packedRolePolicySchema,
RoleCondFormula: packedRoleCondFormulaSchema,
Error: Error,
ApiError: ApiError,