diff options
| author | zyoshoka <107108195+zyoshoka@users.noreply.github.com> | 2024-02-16 14:27:33 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-16 14:27:33 +0900 |
| commit | 40bbae3d6c200afb8ed9a70ca20ef03ebaed4e57 (patch) | |
| tree | 784a5253038a4e014334291454564dd0cab0b089 /packages/backend/src/server/api/endpoints/test.ts | |
| parent | feat(backend): likeOnlyなどでハートにフォールバックする際異... (diff) | |
| download | sharkey-40bbae3d6c200afb8ed9a70ca20ef03ebaed4e57.tar.gz sharkey-40bbae3d6c200afb8ed9a70ca20ef03ebaed4e57.tar.bz2 sharkey-40bbae3d6c200afb8ed9a70ca20ef03ebaed4e57.zip | |
fix(backend): add missing schemas and fix incorrect schemas (#13295)
* fix(backend): add missing schemas and fix incorrect schemas
* fix: ci
* fix: ci (本命)
* fix: run `pnpm build-misskey-js-with-types`
* fix: typos
* fix: role-condition-formula-value contains `id`
* fix: incorrect schema
Diffstat (limited to 'packages/backend/src/server/api/endpoints/test.ts')
| -rw-r--r-- | packages/backend/src/server/api/endpoints/test.ts | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/packages/backend/src/server/api/endpoints/test.ts b/packages/backend/src/server/api/endpoints/test.ts index 2c801227ca..9231f0ab94 100644 --- a/packages/backend/src/server/api/endpoints/test.ts +++ b/packages/backend/src/server/api/endpoints/test.ts @@ -18,24 +18,28 @@ export const meta = { properties: { id: { type: 'string', - format: 'misskey:id' + format: 'misskey:id', + optional: true, nullable: false, }, required: { type: 'boolean', + optional: false, nullable: false, }, string: { type: 'string', + optional: true, nullable: false, }, default: { type: 'string', + optional: true, nullable: false, }, nullableDefault: { type: 'string', default: 'hello', - nullable: true, + optional: true, nullable: true, }, - } - } + }, + }, } as const; export const paramDef = { |