1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-10 13:04:06 +02:00

Merge branch 'develop' into mahjong

This commit is contained in:
syuilo
2024-02-14 21:03:58 +09:00
51 changed files with 1549 additions and 2354 deletions

View File

@@ -25,8 +25,8 @@ export const meta = {
items: {
type: 'object',
},
},
},
}
}
},
} as const;

View File

@@ -71,7 +71,7 @@ export const paramDef = {
type: 'object',
properties: {
userId: { type: 'string', format: 'misskey:id' },
withReplies: { type: 'boolean' },
withReplies: { type: 'boolean' }
},
required: ['userId'],
} as const;

View File

@@ -6,7 +6,7 @@
import { Inject, Injectable } from '@nestjs/common';
import { Endpoint } from '@/server/api/endpoint-base.js';
import type { UsersRepository } from '@/models/_.js';
import { safeForSql } from '@/misc/safe-for-sql.js';
import { safeForSql } from "@/misc/safe-for-sql.js";
import { normalizeForSearch } from '@/misc/normalize-for-search.js';
import { UserEntityService } from '@/core/entities/UserEntityService.js';
import { DI } from '@/di-symbols.js';

View File

@@ -14,7 +14,7 @@ export const meta = {
tags: ['account'],
requireCredential: true,
kind: 'read:account',
kind: "read:account",
res: {
type: 'object',

View File

@@ -38,9 +38,9 @@ export const meta = {
type: 'array',
uniqueItems: true,
items: {
type: 'string',
type: 'string'
},
},
}
},
},
},

View File

@@ -35,7 +35,7 @@ export const meta = {
type: 'array',
uniqueItems: true,
items: {
type: 'string',
type: 'string'
},
},
isAuthorized: {

View File

@@ -22,7 +22,7 @@ export const meta = {
res: {
type: 'object',
},
}
} as const;
export const paramDef = {

View File

@@ -22,7 +22,7 @@ export const meta = {
res: {
type: 'object',
},
}
} as const;
export const paramDef = {

View File

@@ -22,8 +22,8 @@ export const meta = {
type: 'array',
items: {
type: 'string',
},
},
}
}
},
domain: {
type: 'string',
@@ -31,7 +31,7 @@ export const meta = {
},
},
},
},
}
} as const;
export const paramDef = {

View File

@@ -33,7 +33,7 @@ export const meta = {
properties: {
id: {
type: 'string',
format: 'misskey:id',
format: 'misskey:id'
},
userId: {
type: 'string',
@@ -45,7 +45,7 @@ export const meta = {
items: {
type: 'string',
enum: webhookEventTypes,
},
}
},
url: { type: 'string' },
secret: { type: 'string' },

View File

@@ -23,7 +23,7 @@ export const meta = {
properties: {
id: {
type: 'string',
format: 'misskey:id',
format: 'misskey:id'
},
userId: {
type: 'string',
@@ -35,7 +35,7 @@ export const meta = {
items: {
type: 'string',
enum: webhookEventTypes,
},
}
},
url: { type: 'string' },
secret: { type: 'string' },
@@ -43,8 +43,8 @@ export const meta = {
latestSentAt: { type: 'string', format: 'date-time', nullable: true },
latestStatus: { type: 'integer', nullable: true },
},
},
},
}
}
} as const;
export const paramDef = {

View File

@@ -30,7 +30,7 @@ export const meta = {
properties: {
id: {
type: 'string',
format: 'misskey:id',
format: 'misskey:id'
},
userId: {
type: 'string',
@@ -42,7 +42,7 @@ export const meta = {
items: {
type: 'string',
enum: webhookEventTypes,
},
}
},
url: { type: 'string' },
secret: { type: 'string' },

View File

@@ -47,7 +47,7 @@ export const meta = {
bothWithRepliesAndWithFiles: {
message: 'Specifying both withReplies and withFiles is not supported',
code: 'BOTH_WITH_REPLIES_AND_WITH_FILES',
id: 'dfaa3eb7-8002-4cb7-bcc4-1095df46656f',
id: 'dfaa3eb7-8002-4cb7-bcc4-1095df46656f'
},
},
} as const;

View File

@@ -18,7 +18,7 @@ export const meta = {
properties: {
id: {
type: 'string',
format: 'misskey:id',
format: 'misskey:id'
},
required: {
type: 'boolean',
@@ -34,8 +34,8 @@ export const meta = {
default: 'hello',
nullable: true,
},
},
},
}
}
} as const;
export const paramDef = {