32 lines
575 B
TypeScript
32 lines
575 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
export const packedSigninSchema = {
|
|
type: 'object',
|
|
properties: {
|
|
id: {
|
|
type: 'string',
|
|
optional: false, nullable: false,
|
|
},
|
|
createdAt: {
|
|
type: 'string',
|
|
optional: false, nullable: false,
|
|
format: 'date-time',
|
|
},
|
|
ip: {
|
|
type: 'string',
|
|
optional: false, nullable: false,
|
|
},
|
|
headers: {
|
|
type: 'object',
|
|
optional: false, nullable: false,
|
|
},
|
|
success: {
|
|
type: 'boolean',
|
|
optional: false, nullable: false,
|
|
},
|
|
},
|
|
} as const;
|