cortex-react-components 2.12.9 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-N3B3XNV3.mjs → chunk-2BRDNDUB.mjs} +1 -1
- package/dist/{chunk-M7NV6EFH.mjs → chunk-3HNU2NYP.mjs} +1 -1
- package/dist/{chunk-FKU4VQR6.mjs → chunk-3NRXQBBS.mjs} +1 -1
- package/dist/{chunk-NWISIJFD.mjs → chunk-3Y7QG6VP.mjs} +1 -1
- package/dist/{chunk-PK3OBSCB.mjs → chunk-5MWZTJYP.mjs} +1 -1
- package/dist/chunk-5NIEZE7A.mjs +4 -0
- package/dist/chunk-5ROLUQ45.mjs +4 -0
- package/dist/chunk-6LEH6XKI.mjs +4 -0
- package/dist/{chunk-5SHZBJ5R.mjs → chunk-75F3LJMX.mjs} +1 -1
- package/dist/{chunk-MXCW6SOT.mjs → chunk-7R47MHQE.mjs} +1 -1
- package/dist/{chunk-LJQPLE4S.mjs → chunk-AJQHGVZ5.mjs} +1 -1
- package/dist/chunk-ATBKMJU6.mjs +4 -0
- package/dist/{chunk-YKG4FNS4.mjs → chunk-C4RWEPVF.mjs} +1 -1
- package/dist/{chunk-OPLUKFRN.mjs → chunk-CXCDV7VP.mjs} +1 -1
- package/dist/{chunk-7GMAMIHM.mjs → chunk-CXOVEABI.mjs} +1 -1
- package/dist/chunk-DYIBFAK7.mjs +4 -0
- package/dist/{chunk-6XD4Y2YK.mjs → chunk-E5LTCCBN.mjs} +1 -1
- package/dist/{chunk-5WVFEIMC.mjs → chunk-EM3T2XYC.mjs} +1 -1
- package/dist/chunk-EZC3YWSQ.mjs +1 -0
- package/dist/{chunk-IF3425JX.mjs → chunk-FE7ZGUPU.mjs} +1 -1
- package/dist/chunk-FSCDCSVK.mjs +4 -0
- package/dist/{chunk-H3CJOE6S.mjs → chunk-GHOL5L32.mjs} +1 -1
- package/dist/{chunk-2RQDJ5XT.mjs → chunk-GTZJWMZR.mjs} +1 -1
- package/dist/chunk-I4GYQZGM.mjs +1 -0
- package/dist/chunk-J4QINTHR.mjs +4 -0
- package/dist/chunk-JCWFPKF3.mjs +4 -0
- package/dist/chunk-JDMIQLAZ.mjs +1 -0
- package/dist/{chunk-3C2IATPQ.mjs → chunk-JMIUGRDN.mjs} +1 -1
- package/dist/chunk-K5MJYNCD.mjs +4 -0
- package/dist/{chunk-5BV4MHV6.mjs → chunk-KG3MNGT6.mjs} +1 -1
- package/dist/chunk-KO6JUP2L.mjs +4 -0
- package/dist/{chunk-LJOWXPWW.mjs → chunk-LJXTXROJ.mjs} +1 -1
- package/dist/chunk-MDBYZZXI.mjs +1 -0
- package/dist/chunk-MFE4VZPC.mjs +4 -0
- package/dist/{chunk-HKGW6JI2.mjs → chunk-NINFDOV5.mjs} +1 -1
- package/dist/chunk-PMJGTB6S.mjs +4 -0
- package/dist/chunk-POIHYOIP.mjs +4 -0
- package/dist/chunk-R4SE63GR.mjs +4 -0
- package/dist/{chunk-255P6K5W.mjs → chunk-RGOKBIQ5.mjs} +1 -1
- package/dist/{chunk-67QPOSVV.mjs → chunk-RJGYVDOU.mjs} +1 -1
- package/dist/{chunk-XSX6S5UQ.mjs → chunk-RS4VD3ML.mjs} +1 -1
- package/dist/{chunk-24HD3Y56.mjs → chunk-RXUCV64J.mjs} +1 -1
- package/dist/chunk-SGK4ZXKR.mjs +4 -0
- package/dist/chunk-SNTLCFXF.mjs +4 -0
- package/dist/{chunk-GSOFCLPO.mjs → chunk-TTWEHUP5.mjs} +1 -1
- package/dist/{chunk-CBIULUZQ.mjs → chunk-TVTTUSWM.mjs} +1 -1
- package/dist/{chunk-SRUG246N.mjs → chunk-TXVA6XJT.mjs} +1 -1
- package/dist/chunk-UAEEBFHJ.mjs +4 -0
- package/dist/chunk-UBJT7MPU.mjs +4 -0
- package/dist/{chunk-CBV5NYAD.mjs → chunk-UXOUJ5YO.mjs} +1 -1
- package/dist/{chunk-ERJXTG6X.mjs → chunk-WIRQ5IRT.mjs} +1 -1
- package/dist/{chunk-LBUC4M6L.mjs → chunk-ZEALRBXW.mjs} +1 -1
- package/dist/chunk-ZKSZJI4F.mjs +4 -0
- package/dist/components/AdvancedComponents/user-selection.d.ts +1 -1
- package/dist/components/AdvancedComponents/user-selection.js +0 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
- package/dist/components/DigitalColleagues/index.mjs +1 -1
- package/dist/components/Foundary/AppSidebarLeft.css +1 -0
- package/dist/components/Foundary/AppSidebarLeft.d.ts +47 -0
- package/dist/components/Foundary/AppSidebarLeft.js +4 -0
- package/dist/components/Foundary/AppSidebarLeft.mjs +2 -0
- package/dist/components/Foundary/DashboardHeader.css +1 -0
- package/dist/components/Foundary/DashboardHeader.d.ts +8 -0
- package/dist/components/Foundary/DashboardHeader.js +4 -0
- package/dist/components/Foundary/DashboardHeader.mjs +1 -0
- package/dist/components/Foundary/DigitalColleageusLayout.css +1 -0
- package/dist/components/Foundary/DigitalColleageusLayout.d.ts +28 -0
- package/dist/components/Foundary/DigitalColleageusLayout.js +5 -0
- package/dist/components/Foundary/DigitalColleageusLayout.mjs +2 -0
- package/dist/components/Foundary/MainPage.css +1 -0
- package/dist/components/Foundary/MainPage.d.ts +3 -0
- package/dist/components/Foundary/MainPage.js +4 -0
- package/dist/components/Foundary/MainPage.mjs +2 -0
- package/dist/components/Foundary/ManagementSidebar.d.ts +8 -0
- package/dist/components/Foundary/ManagementSidebar.js +4 -0
- package/dist/components/Foundary/ManagementSidebar.mjs +2 -0
- package/dist/components/Foundary/Pages/dashboardpage.css +1 -0
- package/dist/components/Foundary/Pages/dashboardpage.d.ts +18 -0
- package/dist/components/Foundary/Pages/dashboardpage.js +5 -0
- package/dist/components/Foundary/Pages/dashboardpage.mjs +2 -0
- package/dist/components/Foundary/README-document-edit.js +238 -0
- package/dist/components/Foundary/README-document-edit.mjs +238 -0
- package/dist/components/Foundary/README-document-preview.js +210 -0
- package/dist/components/Foundary/README-document-preview.mjs +210 -0
- package/dist/components/Foundary/SearchableSelect.css +1 -0
- package/dist/components/Foundary/SearchableSelect.d.ts +16 -0
- package/dist/components/Foundary/SearchableSelect.js +4 -0
- package/dist/components/Foundary/SearchableSelect.mjs +1 -0
- package/dist/components/Foundary/Views/ColleaguesView.css +1 -0
- package/dist/components/Foundary/Views/ColleaguesView.d.ts +14 -0
- package/dist/components/Foundary/Views/ColleaguesView.js +5 -0
- package/dist/components/Foundary/Views/ColleaguesView.mjs +2 -0
- package/dist/components/Foundary/Views/KnowledgeView.css +1 -0
- package/dist/components/Foundary/Views/KnowledgeView.d.ts +11 -0
- package/dist/components/Foundary/Views/KnowledgeView.docs.js +308 -0
- package/dist/components/Foundary/Views/KnowledgeView.docs.mjs +308 -0
- package/dist/components/Foundary/Views/KnowledgeView.js +5 -0
- package/dist/components/Foundary/Views/KnowledgeView.mjs +1 -0
- package/dist/components/Foundary/Views/TeamsIndexView.css +1 -0
- package/dist/components/Foundary/Views/TeamsIndexView.d.ts +9 -0
- package/dist/components/Foundary/Views/TeamsIndexView.js +5 -0
- package/dist/components/Foundary/Views/TeamsIndexView.mjs +2 -0
- package/dist/components/Foundary/Views/index.css +1 -0
- package/dist/components/Foundary/Views/index.d.ts +7 -0
- package/dist/components/Foundary/Views/index.js +5 -0
- package/dist/components/Foundary/Views/index.mjs +1 -0
- package/dist/components/Foundary/colleague-card.css +1 -0
- package/dist/components/Foundary/colleague-card.d.ts +12 -0
- package/dist/components/Foundary/colleague-card.js +4 -0
- package/dist/components/Foundary/colleague-card.mjs +2 -0
- package/dist/components/Foundary/colleague-form.css +1 -0
- package/dist/components/Foundary/colleague-form.d.ts +14 -0
- package/dist/components/Foundary/colleague-form.js +4 -0
- package/dist/components/Foundary/colleague-form.mjs +2 -0
- package/dist/components/Foundary/colleague-type-selection.css +1 -0
- package/dist/components/Foundary/colleague-type-selection.d.ts +7 -0
- package/dist/components/Foundary/colleague-type-selection.js +4 -0
- package/dist/components/Foundary/colleague-type-selection.mjs +2 -0
- package/dist/components/Foundary/digital-colleague-clone.css +1 -0
- package/dist/components/Foundary/digital-colleague-clone.d.ts +9 -0
- package/dist/components/Foundary/digital-colleague-clone.js +4 -0
- package/dist/components/Foundary/digital-colleague-clone.mjs +2 -0
- package/dist/components/Foundary/digital-colleague-options.css +1 -0
- package/dist/components/Foundary/digital-colleague-options.d.ts +7 -0
- package/dist/components/Foundary/digital-colleague-options.js +4 -0
- package/dist/components/Foundary/digital-colleague-options.mjs +2 -0
- package/dist/components/Foundary/document-edit.css +1 -0
- package/dist/components/Foundary/document-edit.d.ts +10 -0
- package/dist/components/Foundary/document-edit.js +5 -0
- package/dist/components/Foundary/document-edit.mjs +2 -0
- package/dist/components/Foundary/document-preview-examples.css +1 -0
- package/dist/components/Foundary/document-preview-examples.d.ts +12 -0
- package/dist/components/Foundary/document-preview-examples.js +35 -0
- package/dist/components/Foundary/document-preview-examples.mjs +31 -0
- package/dist/components/Foundary/document-preview.css +1 -0
- package/dist/components/Foundary/document-preview.d.ts +18 -0
- package/dist/components/Foundary/document-preview.js +5 -0
- package/dist/components/Foundary/document-preview.mjs +2 -0
- package/dist/components/Foundary/index.css +1 -0
- package/dist/components/Foundary/index.d.ts +18 -0
- package/dist/components/Foundary/index.js +5 -0
- package/dist/components/Foundary/index.mjs +1 -0
- package/dist/components/Foundary/knowledge-browser.css +1 -0
- package/dist/components/Foundary/knowledge-browser.d.ts +13 -0
- package/dist/components/Foundary/knowledge-browser.js +5 -0
- package/dist/components/Foundary/knowledge-browser.mjs +2 -0
- package/dist/components/Foundary/knowledge-search.css +1 -0
- package/dist/components/Foundary/knowledge-search.d.ts +12 -0
- package/dist/components/Foundary/knowledge-search.js +5 -0
- package/dist/components/Foundary/knowledge-search.mjs +2 -0
- package/dist/components/Foundary/team-form.css +1 -0
- package/dist/components/Foundary/team-form.d.ts +24 -0
- package/dist/components/Foundary/team-form.js +5 -0
- package/dist/components/Foundary/team-form.mjs +2 -0
- package/dist/components/Foundary/test-data.d.ts +110 -0
- package/dist/components/Foundary/test-data.js +1 -0
- package/dist/components/Foundary/test-data.mjs +1 -0
- package/dist/components/Foundary/types.d.ts +939 -0
- package/dist/components/Foundary/types.js +1 -0
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/Projects/KanbanBoardView.mjs +1 -1
- package/dist/components/Projects/ProjectPage.mjs +1 -1
- package/dist/components/Projects/ProjectView.mjs +1 -1
- package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
- package/dist/components/Projects/index.mjs +1 -1
- package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
- package/dist/components/dc-temp/index.mjs +1 -1
- package/dist/components/index.d.ts +10 -10
- package/dist/components/index.js +16 -16
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/index.js +18 -18
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/ServiceDetail.mjs +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-4BDP6J3T.mjs +0 -5
|
@@ -0,0 +1,939 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by Payload.
|
|
3
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
|
|
4
|
+
* and re-run `payload generate:types` to regenerate this file.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
8
|
+
* via the `definition` "KnowledgeMetadata".
|
|
9
|
+
*/
|
|
10
|
+
export type KnowledgeMetadata = {
|
|
11
|
+
key: string;
|
|
12
|
+
value: string;
|
|
13
|
+
id?: string | null;
|
|
14
|
+
}[] | null;
|
|
15
|
+
/**
|
|
16
|
+
* Supported timezones in IANA format.
|
|
17
|
+
*
|
|
18
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
19
|
+
* via the `definition` "supportedTimezones".
|
|
20
|
+
*/
|
|
21
|
+
export type SupportedTimezones = 'Pacific/Midway' | 'Pacific/Niue' | 'Pacific/Honolulu' | 'Pacific/Rarotonga' | 'America/Anchorage' | 'Pacific/Gambier' | 'America/Los_Angeles' | 'America/Tijuana' | 'America/Denver' | 'America/Phoenix' | 'America/Chicago' | 'America/Guatemala' | 'America/New_York' | 'America/Bogota' | 'America/Caracas' | 'America/Santiago' | 'America/Buenos_Aires' | 'America/Sao_Paulo' | 'Atlantic/South_Georgia' | 'Atlantic/Azores' | 'Atlantic/Cape_Verde' | 'Europe/London' | 'Europe/Berlin' | 'Africa/Lagos' | 'Europe/Athens' | 'Africa/Cairo' | 'Europe/Moscow' | 'Asia/Riyadh' | 'Asia/Dubai' | 'Asia/Baku' | 'Asia/Karachi' | 'Asia/Tashkent' | 'Asia/Calcutta' | 'Asia/Dhaka' | 'Asia/Almaty' | 'Asia/Jakarta' | 'Asia/Bangkok' | 'Asia/Shanghai' | 'Asia/Singapore' | 'Asia/Tokyo' | 'Asia/Seoul' | 'Australia/Brisbane' | 'Australia/Sydney' | 'Pacific/Guam' | 'Pacific/Noumea' | 'Pacific/Auckland' | 'Pacific/Fiji';
|
|
22
|
+
export interface Config {
|
|
23
|
+
auth: {
|
|
24
|
+
users: UserAuthOperations;
|
|
25
|
+
};
|
|
26
|
+
blocks: {};
|
|
27
|
+
collections: {
|
|
28
|
+
users: User;
|
|
29
|
+
capabilities: Capability;
|
|
30
|
+
'digital-colleagues': DigitalColleague;
|
|
31
|
+
teams: Team;
|
|
32
|
+
epics: Epic;
|
|
33
|
+
tasks: Task;
|
|
34
|
+
projects: Project;
|
|
35
|
+
files: File;
|
|
36
|
+
knowledgeBases: KnowledgeBase;
|
|
37
|
+
artefacts: Artefact;
|
|
38
|
+
roles: Role;
|
|
39
|
+
mcpTools: McpTool;
|
|
40
|
+
sprints: Sprint;
|
|
41
|
+
reminders: Reminder;
|
|
42
|
+
documents: Document;
|
|
43
|
+
knowledge: Knowledge;
|
|
44
|
+
'payload-locked-documents': PayloadLockedDocument;
|
|
45
|
+
'payload-preferences': PayloadPreference;
|
|
46
|
+
'payload-migrations': PayloadMigration;
|
|
47
|
+
};
|
|
48
|
+
collectionsJoins: {};
|
|
49
|
+
collectionsSelect: {
|
|
50
|
+
users: UsersSelect<false> | UsersSelect<true>;
|
|
51
|
+
capabilities: CapabilitiesSelect<false> | CapabilitiesSelect<true>;
|
|
52
|
+
'digital-colleagues': DigitalColleaguesSelect<false> | DigitalColleaguesSelect<true>;
|
|
53
|
+
teams: TeamsSelect<false> | TeamsSelect<true>;
|
|
54
|
+
epics: EpicsSelect<false> | EpicsSelect<true>;
|
|
55
|
+
tasks: TasksSelect<false> | TasksSelect<true>;
|
|
56
|
+
projects: ProjectsSelect<false> | ProjectsSelect<true>;
|
|
57
|
+
files: FilesSelect<false> | FilesSelect<true>;
|
|
58
|
+
knowledgeBases: KnowledgeBasesSelect<false> | KnowledgeBasesSelect<true>;
|
|
59
|
+
artefacts: ArtefactsSelect<false> | ArtefactsSelect<true>;
|
|
60
|
+
roles: RolesSelect<false> | RolesSelect<true>;
|
|
61
|
+
mcpTools: McpToolsSelect<false> | McpToolsSelect<true>;
|
|
62
|
+
sprints: SprintsSelect<false> | SprintsSelect<true>;
|
|
63
|
+
reminders: RemindersSelect<false> | RemindersSelect<true>;
|
|
64
|
+
documents: DocumentsSelect<false> | DocumentsSelect<true>;
|
|
65
|
+
knowledge: KnowledgeSelect<false> | KnowledgeSelect<true>;
|
|
66
|
+
'payload-locked-documents': PayloadLockedDocumentsSelect<false> | PayloadLockedDocumentsSelect<true>;
|
|
67
|
+
'payload-preferences': PayloadPreferencesSelect<false> | PayloadPreferencesSelect<true>;
|
|
68
|
+
'payload-migrations': PayloadMigrationsSelect<false> | PayloadMigrationsSelect<true>;
|
|
69
|
+
};
|
|
70
|
+
db: {
|
|
71
|
+
defaultIDType: number;
|
|
72
|
+
};
|
|
73
|
+
globals: {};
|
|
74
|
+
globalsSelect: {};
|
|
75
|
+
locale: null;
|
|
76
|
+
user: User & {
|
|
77
|
+
collection: 'users';
|
|
78
|
+
};
|
|
79
|
+
jobs: {
|
|
80
|
+
tasks: unknown;
|
|
81
|
+
workflows: unknown;
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
export interface UserAuthOperations {
|
|
85
|
+
forgotPassword: {
|
|
86
|
+
email: string;
|
|
87
|
+
password: string;
|
|
88
|
+
};
|
|
89
|
+
login: {
|
|
90
|
+
email: string;
|
|
91
|
+
password: string;
|
|
92
|
+
};
|
|
93
|
+
registerFirstUser: {
|
|
94
|
+
email: string;
|
|
95
|
+
password: string;
|
|
96
|
+
};
|
|
97
|
+
unlock: {
|
|
98
|
+
email: string;
|
|
99
|
+
password: string;
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
104
|
+
* via the `definition` "users".
|
|
105
|
+
*/
|
|
106
|
+
export interface User {
|
|
107
|
+
id: string;
|
|
108
|
+
email: string;
|
|
109
|
+
emailVerified?: string | null;
|
|
110
|
+
name?: string | null;
|
|
111
|
+
image?: string | null;
|
|
112
|
+
accounts?: {
|
|
113
|
+
provider: string;
|
|
114
|
+
providerAccountId: string;
|
|
115
|
+
type: string;
|
|
116
|
+
id?: string | null;
|
|
117
|
+
}[] | null;
|
|
118
|
+
updatedAt: string;
|
|
119
|
+
createdAt: string;
|
|
120
|
+
enableAPIKey?: boolean | null;
|
|
121
|
+
apiKey?: string | null;
|
|
122
|
+
apiKeyIndex?: string | null;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
126
|
+
* via the `definition` "capabilities".
|
|
127
|
+
*/
|
|
128
|
+
export interface Capability {
|
|
129
|
+
id: number;
|
|
130
|
+
name: string;
|
|
131
|
+
description?: string | null;
|
|
132
|
+
updatedAt: string;
|
|
133
|
+
createdAt: string;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
137
|
+
* via the `definition` "digital-colleagues".
|
|
138
|
+
*/
|
|
139
|
+
export interface DigitalColleague {
|
|
140
|
+
id: number;
|
|
141
|
+
name: string;
|
|
142
|
+
capabilities?: ({
|
|
143
|
+
relationTo: 'mcpTools';
|
|
144
|
+
value: number | McpTool;
|
|
145
|
+
} | {
|
|
146
|
+
relationTo: 'capabilities';
|
|
147
|
+
value: number | Capability;
|
|
148
|
+
})[] | null;
|
|
149
|
+
knowledge?: (number | null) | Knowledge;
|
|
150
|
+
coreKnowledge?: (number | null) | Knowledge;
|
|
151
|
+
description?: string | null;
|
|
152
|
+
/**
|
|
153
|
+
* A detailed job description for this digital colleague.
|
|
154
|
+
*/
|
|
155
|
+
jobDescription?: string | null;
|
|
156
|
+
/**
|
|
157
|
+
* Work instructions for this digital colleague.
|
|
158
|
+
*/
|
|
159
|
+
workInstructions?: string | null;
|
|
160
|
+
/**
|
|
161
|
+
* The capability level of this digital colleague.
|
|
162
|
+
*/
|
|
163
|
+
capabilityLevel: number;
|
|
164
|
+
systemMsg?: string | null;
|
|
165
|
+
metadata?: {
|
|
166
|
+
type?: string;
|
|
167
|
+
[k: string]: unknown;
|
|
168
|
+
};
|
|
169
|
+
updatedAt: string;
|
|
170
|
+
createdAt: string;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
174
|
+
* via the `definition` "mcpTools".
|
|
175
|
+
*/
|
|
176
|
+
export interface McpTool {
|
|
177
|
+
id: number;
|
|
178
|
+
name: string;
|
|
179
|
+
description?: string | null;
|
|
180
|
+
url?: string | null;
|
|
181
|
+
headers?: {
|
|
182
|
+
[k: string]: unknown;
|
|
183
|
+
} | unknown[] | string | number | boolean | null;
|
|
184
|
+
toolNames?: {
|
|
185
|
+
toolName: string;
|
|
186
|
+
id?: string | null;
|
|
187
|
+
}[] | null;
|
|
188
|
+
updatedAt: string;
|
|
189
|
+
createdAt: string;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
193
|
+
* via the `definition` "knowledge".
|
|
194
|
+
*/
|
|
195
|
+
export interface Knowledge {
|
|
196
|
+
id: number;
|
|
197
|
+
name: string;
|
|
198
|
+
/**
|
|
199
|
+
* Select the team this knowledge belongs to
|
|
200
|
+
*/
|
|
201
|
+
team?: (number | null) | Team;
|
|
202
|
+
/**
|
|
203
|
+
* Set visibility for this knowledge. Public knowledge is accessible to all users, while private knowledge is restricted to team members.
|
|
204
|
+
*/
|
|
205
|
+
visibility?: ('public' | 'private') | null;
|
|
206
|
+
source: 'payload' | 'github';
|
|
207
|
+
metadata?: KnowledgeMetadata;
|
|
208
|
+
updatedAt: string;
|
|
209
|
+
createdAt: string;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
213
|
+
* via the `definition` "teams".
|
|
214
|
+
*/
|
|
215
|
+
export interface Team {
|
|
216
|
+
id: number;
|
|
217
|
+
name: string;
|
|
218
|
+
description?: string | null;
|
|
219
|
+
systemMsg?: string | null;
|
|
220
|
+
members?: ({
|
|
221
|
+
relationTo: 'digital-colleagues';
|
|
222
|
+
value: number | DigitalColleague;
|
|
223
|
+
} | {
|
|
224
|
+
relationTo: 'users';
|
|
225
|
+
value: string | User;
|
|
226
|
+
})[] | null;
|
|
227
|
+
knowledgeBase?: (number | null) | KnowledgeBase;
|
|
228
|
+
useProjects?: boolean | null;
|
|
229
|
+
useKnowledge?: boolean | null;
|
|
230
|
+
useFiles?: boolean | null;
|
|
231
|
+
useChat?: boolean | null;
|
|
232
|
+
updatedAt: string;
|
|
233
|
+
createdAt: string;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
237
|
+
* via the `definition` "knowledgeBases".
|
|
238
|
+
*/
|
|
239
|
+
export interface KnowledgeBase {
|
|
240
|
+
id: number;
|
|
241
|
+
knowledgeBaseId: string;
|
|
242
|
+
name?: string | null;
|
|
243
|
+
description?: string | null;
|
|
244
|
+
updatedAt: string;
|
|
245
|
+
createdAt: string;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
249
|
+
* via the `definition` "epics".
|
|
250
|
+
*/
|
|
251
|
+
export interface Epic {
|
|
252
|
+
id: number;
|
|
253
|
+
name: string;
|
|
254
|
+
description?: string | null;
|
|
255
|
+
project?: (number | null) | Project;
|
|
256
|
+
color: string;
|
|
257
|
+
confidence: 'low' | 'medium' | 'high';
|
|
258
|
+
phase: number;
|
|
259
|
+
startDate: string;
|
|
260
|
+
endDate: string;
|
|
261
|
+
updatedAt: string;
|
|
262
|
+
createdAt: string;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
266
|
+
* via the `definition` "projects".
|
|
267
|
+
*/
|
|
268
|
+
export interface Project {
|
|
269
|
+
id: number;
|
|
270
|
+
name: string;
|
|
271
|
+
description?: string | null;
|
|
272
|
+
projectObjectives?: string | null;
|
|
273
|
+
workInstructions?: string | null;
|
|
274
|
+
team: number | Team;
|
|
275
|
+
metadata?: {
|
|
276
|
+
generatePlan?: boolean;
|
|
277
|
+
[k: string]: unknown;
|
|
278
|
+
};
|
|
279
|
+
updatedAt: string;
|
|
280
|
+
createdAt: string;
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
284
|
+
* via the `definition` "tasks".
|
|
285
|
+
*/
|
|
286
|
+
export interface Task {
|
|
287
|
+
id: number;
|
|
288
|
+
name?: string | null;
|
|
289
|
+
description?: string | null;
|
|
290
|
+
assignee?: ({
|
|
291
|
+
relationTo: 'digital-colleagues';
|
|
292
|
+
value: number | DigitalColleague;
|
|
293
|
+
} | null) | ({
|
|
294
|
+
relationTo: 'users';
|
|
295
|
+
value: string | User;
|
|
296
|
+
} | null);
|
|
297
|
+
status: 'backlog' | 'todo' | 'in-progress' | 'review' | 'done' | 'cancelled';
|
|
298
|
+
project?: (number | null) | Project;
|
|
299
|
+
epic?: (number | null) | Epic;
|
|
300
|
+
/**
|
|
301
|
+
* Estimate of effort required to complete this task, in story points.
|
|
302
|
+
*/
|
|
303
|
+
storyPoints?: number | null;
|
|
304
|
+
/**
|
|
305
|
+
* The sprint this task is assigned to, if applicable.
|
|
306
|
+
*/
|
|
307
|
+
sprint?: (number | null) | Sprint;
|
|
308
|
+
/**
|
|
309
|
+
* The type of task. This helps categorize the task for better organization.
|
|
310
|
+
*/
|
|
311
|
+
type?: ('story' | 'bug' | 'task' | 'spike') | null;
|
|
312
|
+
/**
|
|
313
|
+
* The priority of this task. This helps in determining the order of work.
|
|
314
|
+
*/
|
|
315
|
+
priority?: ('low' | 'medium' | 'high' | 'critical') | null;
|
|
316
|
+
parents?: (number | Task)[] | null;
|
|
317
|
+
metadata?: {
|
|
318
|
+
[k: string]: unknown;
|
|
319
|
+
} | unknown[] | string | number | boolean | null;
|
|
320
|
+
dateLogged: string;
|
|
321
|
+
closureDate?: string | null;
|
|
322
|
+
index: number;
|
|
323
|
+
comments?: {
|
|
324
|
+
text: string;
|
|
325
|
+
author: {
|
|
326
|
+
relationTo: 'users';
|
|
327
|
+
value: string | User;
|
|
328
|
+
} | {
|
|
329
|
+
relationTo: 'digital-colleagues';
|
|
330
|
+
value: number | DigitalColleague;
|
|
331
|
+
};
|
|
332
|
+
timestamp: string;
|
|
333
|
+
id?: string | null;
|
|
334
|
+
}[] | null;
|
|
335
|
+
updatedAt: string;
|
|
336
|
+
createdAt: string;
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
340
|
+
* via the `definition` "sprints".
|
|
341
|
+
*/
|
|
342
|
+
export interface Sprint {
|
|
343
|
+
id: number;
|
|
344
|
+
name: string;
|
|
345
|
+
description?: string | null;
|
|
346
|
+
project?: (number | null) | Project;
|
|
347
|
+
startDate: string;
|
|
348
|
+
endDate: string;
|
|
349
|
+
updatedAt: string;
|
|
350
|
+
createdAt: string;
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
354
|
+
* via the `definition` "files".
|
|
355
|
+
*/
|
|
356
|
+
export interface File {
|
|
357
|
+
id: number;
|
|
358
|
+
name: string;
|
|
359
|
+
project: number | Project;
|
|
360
|
+
updatedAt: string;
|
|
361
|
+
createdAt: string;
|
|
362
|
+
url?: string | null;
|
|
363
|
+
thumbnailURL?: string | null;
|
|
364
|
+
filename?: string | null;
|
|
365
|
+
mimeType?: string | null;
|
|
366
|
+
filesize?: number | null;
|
|
367
|
+
width?: number | null;
|
|
368
|
+
height?: number | null;
|
|
369
|
+
focalX?: number | null;
|
|
370
|
+
focalY?: number | null;
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
374
|
+
* via the `definition` "artefacts".
|
|
375
|
+
*/
|
|
376
|
+
export interface Artefact {
|
|
377
|
+
id: number;
|
|
378
|
+
content?: string | null;
|
|
379
|
+
task: number | Task;
|
|
380
|
+
updatedAt: string;
|
|
381
|
+
createdAt: string;
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
385
|
+
* via the `definition` "roles".
|
|
386
|
+
*/
|
|
387
|
+
export interface Role {
|
|
388
|
+
id: number;
|
|
389
|
+
user: string | User;
|
|
390
|
+
roleDescription: string;
|
|
391
|
+
updatedAt: string;
|
|
392
|
+
createdAt: string;
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
396
|
+
* via the `definition` "reminders".
|
|
397
|
+
*/
|
|
398
|
+
export interface Reminder {
|
|
399
|
+
id: number;
|
|
400
|
+
title: string;
|
|
401
|
+
description?: string | null;
|
|
402
|
+
dueDate?: string | null;
|
|
403
|
+
dueTime?: string | null;
|
|
404
|
+
project: number | Project;
|
|
405
|
+
assignedColleague: number | DigitalColleague;
|
|
406
|
+
isRecurring?: boolean | null;
|
|
407
|
+
updatedAt: string;
|
|
408
|
+
createdAt: string;
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
412
|
+
* via the `definition` "documents".
|
|
413
|
+
*/
|
|
414
|
+
export interface Document {
|
|
415
|
+
id: number;
|
|
416
|
+
title: string;
|
|
417
|
+
content?: {
|
|
418
|
+
root: {
|
|
419
|
+
type: string;
|
|
420
|
+
children: {
|
|
421
|
+
type: string;
|
|
422
|
+
version: number;
|
|
423
|
+
[k: string]: unknown;
|
|
424
|
+
}[];
|
|
425
|
+
direction: ('ltr' | 'rtl') | null;
|
|
426
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
427
|
+
indent: number;
|
|
428
|
+
version: number;
|
|
429
|
+
};
|
|
430
|
+
[k: string]: unknown;
|
|
431
|
+
} | null;
|
|
432
|
+
project?: (number | null) | Project;
|
|
433
|
+
updatedAt: string;
|
|
434
|
+
createdAt: string;
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
438
|
+
* via the `definition` "payload-locked-documents".
|
|
439
|
+
*/
|
|
440
|
+
export interface PayloadLockedDocument {
|
|
441
|
+
id: number;
|
|
442
|
+
document?: ({
|
|
443
|
+
relationTo: 'users';
|
|
444
|
+
value: string | User;
|
|
445
|
+
} | null) | ({
|
|
446
|
+
relationTo: 'capabilities';
|
|
447
|
+
value: number | Capability;
|
|
448
|
+
} | null) | ({
|
|
449
|
+
relationTo: 'digital-colleagues';
|
|
450
|
+
value: number | DigitalColleague;
|
|
451
|
+
} | null) | ({
|
|
452
|
+
relationTo: 'teams';
|
|
453
|
+
value: number | Team;
|
|
454
|
+
} | null) | ({
|
|
455
|
+
relationTo: 'epics';
|
|
456
|
+
value: number | Epic;
|
|
457
|
+
} | null) | ({
|
|
458
|
+
relationTo: 'tasks';
|
|
459
|
+
value: number | Task;
|
|
460
|
+
} | null) | ({
|
|
461
|
+
relationTo: 'projects';
|
|
462
|
+
value: number | Project;
|
|
463
|
+
} | null) | ({
|
|
464
|
+
relationTo: 'files';
|
|
465
|
+
value: number | File;
|
|
466
|
+
} | null) | ({
|
|
467
|
+
relationTo: 'knowledgeBases';
|
|
468
|
+
value: number | KnowledgeBase;
|
|
469
|
+
} | null) | ({
|
|
470
|
+
relationTo: 'artefacts';
|
|
471
|
+
value: number | Artefact;
|
|
472
|
+
} | null) | ({
|
|
473
|
+
relationTo: 'roles';
|
|
474
|
+
value: number | Role;
|
|
475
|
+
} | null) | ({
|
|
476
|
+
relationTo: 'mcpTools';
|
|
477
|
+
value: number | McpTool;
|
|
478
|
+
} | null) | ({
|
|
479
|
+
relationTo: 'sprints';
|
|
480
|
+
value: number | Sprint;
|
|
481
|
+
} | null) | ({
|
|
482
|
+
relationTo: 'reminders';
|
|
483
|
+
value: number | Reminder;
|
|
484
|
+
} | null) | ({
|
|
485
|
+
relationTo: 'documents';
|
|
486
|
+
value: number | Document;
|
|
487
|
+
} | null) | ({
|
|
488
|
+
relationTo: 'knowledge';
|
|
489
|
+
value: number | Knowledge;
|
|
490
|
+
} | null);
|
|
491
|
+
globalSlug?: string | null;
|
|
492
|
+
user: {
|
|
493
|
+
relationTo: 'users';
|
|
494
|
+
value: string | User;
|
|
495
|
+
};
|
|
496
|
+
updatedAt: string;
|
|
497
|
+
createdAt: string;
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
501
|
+
* via the `definition` "payload-preferences".
|
|
502
|
+
*/
|
|
503
|
+
export interface PayloadPreference {
|
|
504
|
+
id: number;
|
|
505
|
+
user: {
|
|
506
|
+
relationTo: 'users';
|
|
507
|
+
value: string | User;
|
|
508
|
+
};
|
|
509
|
+
key?: string | null;
|
|
510
|
+
value?: {
|
|
511
|
+
[k: string]: unknown;
|
|
512
|
+
} | unknown[] | string | number | boolean | null;
|
|
513
|
+
updatedAt: string;
|
|
514
|
+
createdAt: string;
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
518
|
+
* via the `definition` "payload-migrations".
|
|
519
|
+
*/
|
|
520
|
+
export interface PayloadMigration {
|
|
521
|
+
id: number;
|
|
522
|
+
name?: string | null;
|
|
523
|
+
batch?: number | null;
|
|
524
|
+
updatedAt: string;
|
|
525
|
+
createdAt: string;
|
|
526
|
+
}
|
|
527
|
+
/**
|
|
528
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
529
|
+
* via the `definition` "users_select".
|
|
530
|
+
*/
|
|
531
|
+
export interface UsersSelect<T extends boolean = true> {
|
|
532
|
+
id?: T;
|
|
533
|
+
email?: T;
|
|
534
|
+
emailVerified?: T;
|
|
535
|
+
name?: T;
|
|
536
|
+
image?: T;
|
|
537
|
+
accounts?: T | {
|
|
538
|
+
provider?: T;
|
|
539
|
+
providerAccountId?: T;
|
|
540
|
+
type?: T;
|
|
541
|
+
id?: T;
|
|
542
|
+
};
|
|
543
|
+
updatedAt?: T;
|
|
544
|
+
createdAt?: T;
|
|
545
|
+
enableAPIKey?: T;
|
|
546
|
+
apiKey?: T;
|
|
547
|
+
apiKeyIndex?: T;
|
|
548
|
+
}
|
|
549
|
+
/**
|
|
550
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
551
|
+
* via the `definition` "capabilities_select".
|
|
552
|
+
*/
|
|
553
|
+
export interface CapabilitiesSelect<T extends boolean = true> {
|
|
554
|
+
name?: T;
|
|
555
|
+
description?: T;
|
|
556
|
+
updatedAt?: T;
|
|
557
|
+
createdAt?: T;
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
561
|
+
* via the `definition` "digital-colleagues_select".
|
|
562
|
+
*/
|
|
563
|
+
export interface DigitalColleaguesSelect<T extends boolean = true> {
|
|
564
|
+
name?: T;
|
|
565
|
+
capabilities?: T;
|
|
566
|
+
knowledge?: T;
|
|
567
|
+
coreKnowledge?: T;
|
|
568
|
+
description?: T;
|
|
569
|
+
jobDescription?: T;
|
|
570
|
+
workInstructions?: T;
|
|
571
|
+
capabilityLevel?: T;
|
|
572
|
+
systemMsg?: T;
|
|
573
|
+
metadata?: T;
|
|
574
|
+
updatedAt?: T;
|
|
575
|
+
createdAt?: T;
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
579
|
+
* via the `definition` "teams_select".
|
|
580
|
+
*/
|
|
581
|
+
export interface TeamsSelect<T extends boolean = true> {
|
|
582
|
+
name?: T;
|
|
583
|
+
description?: T;
|
|
584
|
+
systemMsg?: T;
|
|
585
|
+
members?: T;
|
|
586
|
+
knowledgeBase?: T;
|
|
587
|
+
useProjects?: T;
|
|
588
|
+
useKnowledge?: T;
|
|
589
|
+
useFiles?: T;
|
|
590
|
+
useChat?: T;
|
|
591
|
+
updatedAt?: T;
|
|
592
|
+
createdAt?: T;
|
|
593
|
+
}
|
|
594
|
+
/**
|
|
595
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
596
|
+
* via the `definition` "epics_select".
|
|
597
|
+
*/
|
|
598
|
+
export interface EpicsSelect<T extends boolean = true> {
|
|
599
|
+
name?: T;
|
|
600
|
+
description?: T;
|
|
601
|
+
project?: T;
|
|
602
|
+
color?: T;
|
|
603
|
+
confidence?: T;
|
|
604
|
+
phase?: T;
|
|
605
|
+
startDate?: T;
|
|
606
|
+
endDate?: T;
|
|
607
|
+
updatedAt?: T;
|
|
608
|
+
createdAt?: T;
|
|
609
|
+
}
|
|
610
|
+
/**
|
|
611
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
612
|
+
* via the `definition` "tasks_select".
|
|
613
|
+
*/
|
|
614
|
+
export interface TasksSelect<T extends boolean = true> {
|
|
615
|
+
name?: T;
|
|
616
|
+
description?: T;
|
|
617
|
+
assignee?: T;
|
|
618
|
+
status?: T;
|
|
619
|
+
project?: T;
|
|
620
|
+
epic?: T;
|
|
621
|
+
storyPoints?: T;
|
|
622
|
+
sprint?: T;
|
|
623
|
+
type?: T;
|
|
624
|
+
priority?: T;
|
|
625
|
+
parents?: T;
|
|
626
|
+
metadata?: T;
|
|
627
|
+
dateLogged?: T;
|
|
628
|
+
closureDate?: T;
|
|
629
|
+
index?: T;
|
|
630
|
+
comments?: T | {
|
|
631
|
+
text?: T;
|
|
632
|
+
author?: T;
|
|
633
|
+
timestamp?: T;
|
|
634
|
+
id?: T;
|
|
635
|
+
};
|
|
636
|
+
updatedAt?: T;
|
|
637
|
+
createdAt?: T;
|
|
638
|
+
}
|
|
639
|
+
/**
|
|
640
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
641
|
+
* via the `definition` "projects_select".
|
|
642
|
+
*/
|
|
643
|
+
export interface ProjectsSelect<T extends boolean = true> {
|
|
644
|
+
name?: T;
|
|
645
|
+
description?: T;
|
|
646
|
+
projectObjectives?: T;
|
|
647
|
+
workInstructions?: T;
|
|
648
|
+
team?: T;
|
|
649
|
+
metadata?: T;
|
|
650
|
+
updatedAt?: T;
|
|
651
|
+
createdAt?: T;
|
|
652
|
+
}
|
|
653
|
+
/**
|
|
654
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
655
|
+
* via the `definition` "files_select".
|
|
656
|
+
*/
|
|
657
|
+
export interface FilesSelect<T extends boolean = true> {
|
|
658
|
+
name?: T;
|
|
659
|
+
project?: T;
|
|
660
|
+
updatedAt?: T;
|
|
661
|
+
createdAt?: T;
|
|
662
|
+
url?: T;
|
|
663
|
+
thumbnailURL?: T;
|
|
664
|
+
filename?: T;
|
|
665
|
+
mimeType?: T;
|
|
666
|
+
filesize?: T;
|
|
667
|
+
width?: T;
|
|
668
|
+
height?: T;
|
|
669
|
+
focalX?: T;
|
|
670
|
+
focalY?: T;
|
|
671
|
+
}
|
|
672
|
+
/**
|
|
673
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
674
|
+
* via the `definition` "knowledgeBases_select".
|
|
675
|
+
*/
|
|
676
|
+
export interface KnowledgeBasesSelect<T extends boolean = true> {
|
|
677
|
+
knowledgeBaseId?: T;
|
|
678
|
+
name?: T;
|
|
679
|
+
description?: T;
|
|
680
|
+
updatedAt?: T;
|
|
681
|
+
createdAt?: T;
|
|
682
|
+
}
|
|
683
|
+
/**
|
|
684
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
685
|
+
* via the `definition` "artefacts_select".
|
|
686
|
+
*/
|
|
687
|
+
export interface ArtefactsSelect<T extends boolean = true> {
|
|
688
|
+
content?: T;
|
|
689
|
+
task?: T;
|
|
690
|
+
updatedAt?: T;
|
|
691
|
+
createdAt?: T;
|
|
692
|
+
}
|
|
693
|
+
/**
|
|
694
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
695
|
+
* via the `definition` "roles_select".
|
|
696
|
+
*/
|
|
697
|
+
export interface RolesSelect<T extends boolean = true> {
|
|
698
|
+
user?: T;
|
|
699
|
+
roleDescription?: T;
|
|
700
|
+
updatedAt?: T;
|
|
701
|
+
createdAt?: T;
|
|
702
|
+
}
|
|
703
|
+
/**
|
|
704
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
705
|
+
* via the `definition` "mcpTools_select".
|
|
706
|
+
*/
|
|
707
|
+
export interface McpToolsSelect<T extends boolean = true> {
|
|
708
|
+
name?: T;
|
|
709
|
+
description?: T;
|
|
710
|
+
url?: T;
|
|
711
|
+
headers?: T;
|
|
712
|
+
toolNames?: T | {
|
|
713
|
+
toolName?: T;
|
|
714
|
+
id?: T;
|
|
715
|
+
};
|
|
716
|
+
updatedAt?: T;
|
|
717
|
+
createdAt?: T;
|
|
718
|
+
}
|
|
719
|
+
/**
|
|
720
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
721
|
+
* via the `definition` "sprints_select".
|
|
722
|
+
*/
|
|
723
|
+
export interface SprintsSelect<T extends boolean = true> {
|
|
724
|
+
name?: T;
|
|
725
|
+
description?: T;
|
|
726
|
+
project?: T;
|
|
727
|
+
startDate?: T;
|
|
728
|
+
endDate?: T;
|
|
729
|
+
updatedAt?: T;
|
|
730
|
+
createdAt?: T;
|
|
731
|
+
}
|
|
732
|
+
/**
|
|
733
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
734
|
+
* via the `definition` "reminders_select".
|
|
735
|
+
*/
|
|
736
|
+
export interface RemindersSelect<T extends boolean = true> {
|
|
737
|
+
title?: T;
|
|
738
|
+
description?: T;
|
|
739
|
+
dueDate?: T;
|
|
740
|
+
dueTime?: T;
|
|
741
|
+
project?: T;
|
|
742
|
+
assignedColleague?: T;
|
|
743
|
+
isRecurring?: T;
|
|
744
|
+
updatedAt?: T;
|
|
745
|
+
createdAt?: T;
|
|
746
|
+
}
|
|
747
|
+
/**
|
|
748
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
749
|
+
* via the `definition` "documents_select".
|
|
750
|
+
*/
|
|
751
|
+
export interface DocumentsSelect<T extends boolean = true> {
|
|
752
|
+
title?: T;
|
|
753
|
+
content?: T;
|
|
754
|
+
project?: T;
|
|
755
|
+
updatedAt?: T;
|
|
756
|
+
createdAt?: T;
|
|
757
|
+
}
|
|
758
|
+
/**
|
|
759
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
760
|
+
* via the `definition` "knowledge_select".
|
|
761
|
+
*/
|
|
762
|
+
export interface KnowledgeSelect<T extends boolean = true> {
|
|
763
|
+
name?: T;
|
|
764
|
+
team?: T;
|
|
765
|
+
visibility?: T;
|
|
766
|
+
source?: T;
|
|
767
|
+
metadata?: T | KnowledgeMetadataSelect<T>;
|
|
768
|
+
updatedAt?: T;
|
|
769
|
+
createdAt?: T;
|
|
770
|
+
}
|
|
771
|
+
/**
|
|
772
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
773
|
+
* via the `definition` "KnowledgeMetadata_select".
|
|
774
|
+
*/
|
|
775
|
+
export interface KnowledgeMetadataSelect<T extends boolean = true> {
|
|
776
|
+
key?: T;
|
|
777
|
+
value?: T;
|
|
778
|
+
id?: T;
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
782
|
+
* via the `definition` "payload-locked-documents_select".
|
|
783
|
+
*/
|
|
784
|
+
export interface PayloadLockedDocumentsSelect<T extends boolean = true> {
|
|
785
|
+
document?: T;
|
|
786
|
+
globalSlug?: T;
|
|
787
|
+
user?: T;
|
|
788
|
+
updatedAt?: T;
|
|
789
|
+
createdAt?: T;
|
|
790
|
+
}
|
|
791
|
+
/**
|
|
792
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
793
|
+
* via the `definition` "payload-preferences_select".
|
|
794
|
+
*/
|
|
795
|
+
export interface PayloadPreferencesSelect<T extends boolean = true> {
|
|
796
|
+
user?: T;
|
|
797
|
+
key?: T;
|
|
798
|
+
value?: T;
|
|
799
|
+
updatedAt?: T;
|
|
800
|
+
createdAt?: T;
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
804
|
+
* via the `definition` "payload-migrations_select".
|
|
805
|
+
*/
|
|
806
|
+
export interface PayloadMigrationsSelect<T extends boolean = true> {
|
|
807
|
+
name?: T;
|
|
808
|
+
batch?: T;
|
|
809
|
+
updatedAt?: T;
|
|
810
|
+
createdAt?: T;
|
|
811
|
+
}
|
|
812
|
+
/**
|
|
813
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
814
|
+
* via the `definition` "auth".
|
|
815
|
+
*/
|
|
816
|
+
export interface Auth {
|
|
817
|
+
[k: string]: unknown;
|
|
818
|
+
}
|
|
819
|
+
export interface BusinessUnit {
|
|
820
|
+
id: string;
|
|
821
|
+
name: string;
|
|
822
|
+
description: string;
|
|
823
|
+
icon: React.ReactNode;
|
|
824
|
+
color: string;
|
|
825
|
+
accentColor: string;
|
|
826
|
+
}
|
|
827
|
+
export interface SidebarItem {
|
|
828
|
+
id: string;
|
|
829
|
+
title: string;
|
|
830
|
+
icon: React.ReactNode;
|
|
831
|
+
isActive?: boolean;
|
|
832
|
+
badge?: string;
|
|
833
|
+
url?: string;
|
|
834
|
+
maxItems?: number;
|
|
835
|
+
items?: {
|
|
836
|
+
id: string;
|
|
837
|
+
title: string;
|
|
838
|
+
url: string;
|
|
839
|
+
badge?: string;
|
|
840
|
+
}[];
|
|
841
|
+
}
|
|
842
|
+
export interface FileType {
|
|
843
|
+
id: string;
|
|
844
|
+
name: string;
|
|
845
|
+
app?: string;
|
|
846
|
+
modified?: string;
|
|
847
|
+
icon?: React.ReactNode;
|
|
848
|
+
shared?: boolean;
|
|
849
|
+
size?: string;
|
|
850
|
+
collaborators?: number;
|
|
851
|
+
filename: string;
|
|
852
|
+
filesize: number;
|
|
853
|
+
createdAt: Date | string;
|
|
854
|
+
url: string;
|
|
855
|
+
mimeType: string;
|
|
856
|
+
thumbnailURL?: string | null;
|
|
857
|
+
}
|
|
858
|
+
export interface ProjectSummary {
|
|
859
|
+
id: number;
|
|
860
|
+
name: string;
|
|
861
|
+
description: string;
|
|
862
|
+
progress: number;
|
|
863
|
+
dueDate: string;
|
|
864
|
+
members: number;
|
|
865
|
+
files: number;
|
|
866
|
+
}
|
|
867
|
+
export interface App {
|
|
868
|
+
name: string;
|
|
869
|
+
icon: React.ReactNode;
|
|
870
|
+
description: string;
|
|
871
|
+
category: string;
|
|
872
|
+
recent: boolean;
|
|
873
|
+
new: boolean;
|
|
874
|
+
progress: number;
|
|
875
|
+
}
|
|
876
|
+
export type HumanColleague = User & {
|
|
877
|
+
type: 'human';
|
|
878
|
+
};
|
|
879
|
+
export type TypedDigitalColleague = DigitalColleague & {
|
|
880
|
+
type: 'digital';
|
|
881
|
+
};
|
|
882
|
+
export type Colleague = HumanColleague | TypedDigitalColleague;
|
|
883
|
+
export interface KnowledgeDocument {
|
|
884
|
+
id: string;
|
|
885
|
+
title: string;
|
|
886
|
+
description?: string;
|
|
887
|
+
metadata?: Record<string, any>;
|
|
888
|
+
content?: string;
|
|
889
|
+
format: 'markdown' | 'mdx' | 'richtext' | 'text';
|
|
890
|
+
tags?: string[];
|
|
891
|
+
createdAt: Date;
|
|
892
|
+
updatedAt?: Date;
|
|
893
|
+
}
|
|
894
|
+
export interface KnowledgeMenuConfig {
|
|
895
|
+
groupBy: string[];
|
|
896
|
+
sortBy?: 'title' | 'createdAt' | 'updatedAt';
|
|
897
|
+
sortOrder?: 'asc' | 'desc';
|
|
898
|
+
showDocumentCount?: boolean;
|
|
899
|
+
}
|
|
900
|
+
export interface KnowledgeContext {
|
|
901
|
+
id: string;
|
|
902
|
+
label: string;
|
|
903
|
+
description?: string;
|
|
904
|
+
menuConfig: KnowledgeMenuConfig;
|
|
905
|
+
icon?: React.ReactNode;
|
|
906
|
+
}
|
|
907
|
+
export interface KnowledgeHierarchy {
|
|
908
|
+
[key: string]: {
|
|
909
|
+
documents: KnowledgeDocument[];
|
|
910
|
+
children?: KnowledgeHierarchy;
|
|
911
|
+
};
|
|
912
|
+
}
|
|
913
|
+
export interface TeamSummary {
|
|
914
|
+
id: string;
|
|
915
|
+
name: string;
|
|
916
|
+
description: string;
|
|
917
|
+
humanColleagues: number;
|
|
918
|
+
digitalColleagues: number;
|
|
919
|
+
projects: number;
|
|
920
|
+
}
|
|
921
|
+
export interface RecentFile {
|
|
922
|
+
name: string;
|
|
923
|
+
app: string;
|
|
924
|
+
modified: string;
|
|
925
|
+
icon: React.ReactNode;
|
|
926
|
+
shared: boolean;
|
|
927
|
+
size: string;
|
|
928
|
+
collaborators: number;
|
|
929
|
+
}
|
|
930
|
+
export interface Notification {
|
|
931
|
+
id: string;
|
|
932
|
+
title: string;
|
|
933
|
+
description: string;
|
|
934
|
+
time: string;
|
|
935
|
+
read: boolean;
|
|
936
|
+
type: 'info' | 'success' | 'warning' | 'error';
|
|
937
|
+
actionLabel?: string;
|
|
938
|
+
onAction?: () => void;
|
|
939
|
+
}
|