mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
40 lines
989 B
TypeScript
40 lines
989 B
TypeScript
|
import { FromSchema } from 'json-schema-to-ts';
|
||
|
|
||
|
export const projectStatsSchema = {
|
||
|
$id: '#/components/schemas/projectStatsSchema',
|
||
|
type: 'object',
|
||
|
additionalProperties: false,
|
||
|
properties: {
|
||
|
avgTimeToProdCurrentWindow: {
|
||
|
type: 'number',
|
||
|
},
|
||
|
avgTimeToProdPastWindow: {
|
||
|
type: 'number',
|
||
|
},
|
||
|
createdCurrentWindow: {
|
||
|
type: 'number',
|
||
|
},
|
||
|
createdPastWindow: {
|
||
|
type: 'number',
|
||
|
},
|
||
|
archivedCurrentWindow: {
|
||
|
type: 'number',
|
||
|
},
|
||
|
archivedPastWindow: {
|
||
|
type: 'number',
|
||
|
},
|
||
|
projectActivityCurrentWindow: {
|
||
|
type: 'number',
|
||
|
},
|
||
|
projectActivityPastWindow: {
|
||
|
type: 'number',
|
||
|
},
|
||
|
projectMembersAddedCurrentWindow: {
|
||
|
type: 'number',
|
||
|
},
|
||
|
},
|
||
|
components: {},
|
||
|
} as const;
|
||
|
|
||
|
export type ProjectStatsSchema = FromSchema<typeof projectStatsSchema>;
|