mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-25 02:09:05 +01:00
105 lines
1.5 KiB
Plaintext
105 lines
1.5 KiB
Plaintext
{
|
|
summary: '',
|
|
description: '',
|
|
tags: [
|
|
'charts',
|
|
],
|
|
requireCredential: false,
|
|
req: {
|
|
type: 'object',
|
|
properties: {
|
|
span: {
|
|
type: 'string',
|
|
enum: [
|
|
'day',
|
|
'hour',
|
|
],
|
|
},
|
|
limit: {
|
|
type: 'integer',
|
|
minimum: 1,
|
|
maximum: 500,
|
|
default: 30,
|
|
},
|
|
offset: {
|
|
type: 'integer',
|
|
nullable: true,
|
|
default: null,
|
|
},
|
|
},
|
|
required: [
|
|
'span',
|
|
],
|
|
},
|
|
res: {
|
|
type: 'object',
|
|
properties: {
|
|
readWrite: {
|
|
type: 'array',
|
|
items: {
|
|
type: 'number',
|
|
},
|
|
},
|
|
read: {
|
|
type: 'array',
|
|
items: {
|
|
type: 'number',
|
|
},
|
|
},
|
|
write: {
|
|
type: 'array',
|
|
items: {
|
|
type: 'number',
|
|
},
|
|
},
|
|
registeredWithinWeek: {
|
|
type: 'array',
|
|
items: {
|
|
type: 'number',
|
|
},
|
|
},
|
|
registeredWithinMonth: {
|
|
type: 'array',
|
|
items: {
|
|
type: 'number',
|
|
},
|
|
},
|
|
registeredWithinYear: {
|
|
type: 'array',
|
|
items: {
|
|
type: 'number',
|
|
},
|
|
},
|
|
registeredOutsideWeek: {
|
|
type: 'array',
|
|
items: {
|
|
type: 'number',
|
|
},
|
|
},
|
|
registeredOutsideMonth: {
|
|
type: 'array',
|
|
items: {
|
|
type: 'number',
|
|
},
|
|
},
|
|
registeredOutsideYear: {
|
|
type: 'array',
|
|
items: {
|
|
type: 'number',
|
|
},
|
|
},
|
|
},
|
|
required: [
|
|
'readWrite',
|
|
'read',
|
|
'write',
|
|
'registeredWithinWeek',
|
|
'registeredWithinMonth',
|
|
'registeredWithinYear',
|
|
'registeredOutsideWeek',
|
|
'registeredOutsideMonth',
|
|
'registeredOutsideYear',
|
|
],
|
|
},
|
|
errors: {},
|
|
} |