This commit is contained in:
syuilo
2021-12-09 23:58:30 +09:00
parent 0abe2dfee0
commit c69b72e199
573 changed files with 3318 additions and 3318 deletions

View File

@@ -8,7 +8,7 @@ export const meta = {
requireCredential: true as const,
requireModerator: true,
params: {}
params: {},
};
export default define(meta, async (ps, me) => {

View File

@@ -24,15 +24,15 @@ export const meta = {
},
{
type: 'number' as const,
}
]
}
},
],
},
},
example: [[
'example.com',
12
]]
}
12,
]],
},
};
export default define(meta, async (ps) => {

View File

@@ -24,15 +24,15 @@ export const meta = {
},
{
type: 'number' as const,
}
]
}
},
],
},
},
example: [[
'example.com',
12
]]
}
12,
]],
},
};
export default define(meta, async (ps) => {

View File

@@ -19,7 +19,7 @@ export const meta = {
limit: {
validator: $.optional.num,
default: 50
default: 50,
},
},
@@ -33,27 +33,27 @@ export const meta = {
id: {
type: 'string' as const,
optional: false as const, nullable: false as const,
format: 'id'
format: 'id',
},
data: {
type: 'object' as const,
optional: false as const, nullable: false as const
optional: false as const, nullable: false as const,
},
attempts: {
type: 'number' as const,
optional: false as const, nullable: false as const
optional: false as const, nullable: false as const,
},
maxAttempts: {
type: 'number' as const,
optional: false as const, nullable: false as const
optional: false as const, nullable: false as const,
},
timestamp: {
type: 'number' as const,
optional: false as const, nullable: false as const
}
}
}
}
optional: false as const, nullable: false as const,
},
},
},
},
};
export default define(meta, async (ps) => {

View File

@@ -14,19 +14,19 @@ export const meta = {
optional: false as const, nullable: false as const,
properties: {
deliver: {
ref: 'QueueCount'
ref: 'QueueCount',
},
inbox: {
ref: 'QueueCount'
ref: 'QueueCount',
},
db: {
ref: 'QueueCount'
ref: 'QueueCount',
},
objectStorage: {
ref: 'QueueCount'
}
}
}
ref: 'QueueCount',
},
},
},
};
export default define(meta, async (ps) => {