studiograph 1.2.0-beta.7 → 1.2.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/README.md +13 -18
- package/dist/agent/orchestrator.d.ts +57 -0
- package/dist/agent/orchestrator.js +169 -22
- package/dist/agent/orchestrator.js.map +1 -1
- package/dist/agent/prompts/system.md +51 -63
- package/dist/agent/skill-loader.js +8 -0
- package/dist/agent/skill-loader.js.map +1 -1
- package/dist/agent/skills/entity-schema.md +4 -19
- package/dist/agent/skills/gather-context.md +1 -1
- package/dist/agent/skills/sync-setup.md +17 -1
- package/dist/agent/tools/graph-tools.d.ts +41 -1
- package/dist/agent/tools/graph-tools.js +133 -57
- package/dist/agent/tools/graph-tools.js.map +1 -1
- package/dist/agent/tools/ops-tools.js +82 -0
- package/dist/agent/tools/ops-tools.js.map +1 -1
- package/dist/agent/tools/permission-tools.d.ts +90 -0
- package/dist/agent/tools/permission-tools.js +207 -0
- package/dist/agent/tools/permission-tools.js.map +1 -0
- package/dist/agent/tools/sync-tools.d.ts +9 -1
- package/dist/agent/tools/sync-tools.js +259 -3
- package/dist/agent/tools/sync-tools.js.map +1 -1
- package/dist/auth/github.d.ts +1 -1
- package/dist/auth/github.js +21 -13
- package/dist/auth/github.js.map +1 -1
- package/dist/cli/commands/access.d.ts +11 -0
- package/dist/cli/commands/access.js +156 -0
- package/dist/cli/commands/access.js.map +1 -0
- package/dist/cli/commands/app.js +25 -2
- package/dist/cli/commands/app.js.map +1 -1
- package/dist/cli/commands/clear.d.ts +5 -0
- package/dist/cli/commands/clear.js +36 -0
- package/dist/cli/commands/clear.js.map +1 -0
- package/dist/cli/commands/clone.js +3 -3
- package/dist/cli/commands/clone.js.map +1 -1
- package/dist/cli/commands/collection.d.ts +10 -0
- package/dist/cli/commands/collection.js +187 -0
- package/dist/cli/commands/collection.js.map +1 -0
- package/dist/cli/commands/commit.js +2 -1
- package/dist/cli/commands/commit.js.map +1 -1
- package/dist/cli/commands/config.d.ts +100 -0
- package/dist/cli/commands/config.js +1 -1
- package/dist/cli/commands/config.js.map +1 -1
- package/dist/cli/commands/deploy.js +10 -1
- package/dist/cli/commands/deploy.js.map +1 -1
- package/dist/cli/commands/index.js +1 -1
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/init.js +32 -40
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/join.d.ts +0 -6
- package/dist/cli/commands/join.js +26 -111
- package/dist/cli/commands/join.js.map +1 -1
- package/dist/cli/commands/lint.js +1 -2
- package/dist/cli/commands/lint.js.map +1 -1
- package/dist/cli/commands/mcp.js +6 -5
- package/dist/cli/commands/mcp.js.map +1 -1
- package/dist/cli/commands/org.d.ts +10 -0
- package/dist/cli/commands/org.js +132 -0
- package/dist/cli/commands/org.js.map +1 -0
- package/dist/cli/commands/orphans.js +1 -2
- package/dist/cli/commands/orphans.js.map +1 -1
- package/dist/cli/commands/provision.js +3 -3
- package/dist/cli/commands/provision.js.map +1 -1
- package/dist/cli/commands/resolve.d.ts +8 -0
- package/dist/cli/commands/resolve.js +85 -0
- package/dist/cli/commands/resolve.js.map +1 -0
- package/dist/cli/commands/serve.js +55 -25
- package/dist/cli/commands/serve.js.map +1 -1
- package/dist/cli/commands/start.js +25 -206
- package/dist/cli/commands/start.js.map +1 -1
- package/dist/cli/commands/sync.js +53 -8
- package/dist/cli/commands/sync.js.map +1 -1
- package/dist/cli/commands/team.d.ts +12 -0
- package/dist/cli/commands/team.js +185 -0
- package/dist/cli/commands/team.js.map +1 -0
- package/dist/cli/index.js +41 -34
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/scaffolding.d.ts +5 -3
- package/dist/cli/scaffolding.js +191 -97
- package/dist/cli/scaffolding.js.map +1 -1
- package/dist/cli/setup-wizard.js +20 -10
- package/dist/cli/setup-wizard.js.map +1 -1
- package/dist/cli/sync-review-interactive.js +1 -1
- package/dist/cli/sync-review-interactive.js.map +1 -1
- package/dist/core/graph.d.ts +7 -10
- package/dist/core/graph.js +88 -89
- package/dist/core/graph.js.map +1 -1
- package/dist/core/types.d.ts +19 -34
- package/dist/core/types.js +3 -21
- package/dist/core/types.js.map +1 -1
- package/dist/core/user-config.d.ts +27 -0
- package/dist/core/user-config.js +51 -0
- package/dist/core/user-config.js.map +1 -1
- package/dist/core/validation.d.ts +978 -2182
- package/dist/core/validation.js +242 -397
- package/dist/core/validation.js.map +1 -1
- package/dist/core/workspace-manager.d.ts +32 -31
- package/dist/core/workspace-manager.js +171 -186
- package/dist/core/workspace-manager.js.map +1 -1
- package/dist/core/workspace.d.ts +0 -5
- package/dist/core/workspace.js +33 -101
- package/dist/core/workspace.js.map +1 -1
- package/dist/lib/lib/utils.d.ts +2 -0
- package/dist/lib/lib/utils.js +6 -0
- package/dist/lib/lib/utils.js.map +1 -0
- package/dist/mcp/tools.js +13 -13
- package/dist/mcp/tools.js.map +1 -1
- package/dist/server/chrome/chrome.css +562 -0
- package/dist/server/chrome/chrome.js +540 -0
- package/dist/server/index.js +163 -10
- package/dist/server/index.js.map +1 -1
- package/dist/server/plugin-loader.d.ts +7 -0
- package/dist/server/plugin-loader.js +9 -1
- package/dist/server/plugin-loader.js.map +1 -1
- package/dist/server/routes/chat.d.ts +3 -2
- package/dist/server/routes/chat.js +67 -16
- package/dist/server/routes/chat.js.map +1 -1
- package/dist/server/routes/git-api.d.ts +9 -0
- package/dist/server/routes/git-api.js +82 -0
- package/dist/server/routes/git-api.js.map +1 -0
- package/dist/server/routes/graph-api.d.ts +2 -2
- package/dist/server/routes/graph-api.js +267 -3
- package/dist/server/routes/graph-api.js.map +1 -1
- package/dist/server/routes/permissions-api.d.ts +9 -0
- package/dist/server/routes/permissions-api.js +176 -0
- package/dist/server/routes/permissions-api.js.map +1 -0
- package/dist/server/routes/workspace-api.d.ts +9 -0
- package/dist/server/routes/workspace-api.js +283 -0
- package/dist/server/routes/workspace-api.js.map +1 -0
- package/dist/services/assets/base.d.ts +2 -2
- package/dist/services/assets/base.js +4 -4
- package/dist/services/assets/base.js.map +1 -1
- package/dist/services/assets/index.d.ts +6 -6
- package/dist/services/assets/index.js +12 -12
- package/dist/services/assets/index.js.map +1 -1
- package/dist/services/git.d.ts +35 -0
- package/dist/services/git.js +93 -0
- package/dist/services/git.js.map +1 -1
- package/dist/services/github-provisioner.js +1 -2
- package/dist/services/github-provisioner.js.map +1 -1
- package/dist/services/github-service.d.ts +99 -0
- package/dist/services/github-service.js +310 -0
- package/dist/services/github-service.js.map +1 -0
- package/dist/services/markdown.js +4 -9
- package/dist/services/markdown.js.map +1 -1
- package/dist/services/memory-service.d.ts +4 -0
- package/dist/services/memory-service.js +13 -1
- package/dist/services/memory-service.js.map +1 -1
- package/dist/services/sync/commit.d.ts +2 -0
- package/dist/services/sync/commit.js +21 -6
- package/dist/services/sync/commit.js.map +1 -1
- package/dist/services/sync/graphrag-indexer.js +2 -2
- package/dist/services/sync/graphrag-indexer.js.map +1 -1
- package/dist/utils/git.d.ts +5 -0
- package/dist/utils/git.js +10 -0
- package/dist/utils/git.js.map +1 -1
- package/dist/utils/merge-resolver.d.ts +33 -8
- package/dist/utils/merge-resolver.js +157 -55
- package/dist/utils/merge-resolver.js.map +1 -1
- package/dist/utils/preflight.d.ts +1 -1
- package/dist/utils/preflight.js +1 -1
- package/dist/web/_app/env.js +1 -0
- package/dist/web/_app/immutable/assets/0.CDbX4Cwz.css +1 -0
- package/dist/web/_app/immutable/assets/2.DRHi7ABa.css +1 -0
- package/dist/web/_app/immutable/assets/3.BJy7pVXi.css +1 -0
- package/dist/web/_app/immutable/assets/4.Ad16uh9o.css +1 -0
- package/dist/web/_app/immutable/assets/5.BhKgiXd2.css +1 -0
- package/dist/web/_app/immutable/assets/6.CeHKR5ZY.css +1 -0
- package/dist/web/_app/immutable/assets/AppShell.CXdE5aqF.css +1 -0
- package/dist/web/_app/immutable/assets/ChatPanel.RFD5GGYI.css +1 -0
- package/dist/web/_app/immutable/assets/editor.CPAf2SRV.css +1 -0
- package/dist/web/_app/immutable/chunks/3_5VIr68.js +1 -0
- package/dist/web/_app/immutable/chunks/4QY4j-jX.js +1 -0
- package/dist/web/_app/immutable/chunks/B0nldqWF.js +23 -0
- package/dist/web/_app/immutable/chunks/BB_5th5W.js +3383 -0
- package/dist/web/_app/immutable/chunks/BButMJ6M.js +1 -0
- package/dist/web/_app/immutable/chunks/BiubvAUI.js +2 -0
- package/dist/web/_app/immutable/chunks/CAXuTUkp.js +1 -0
- package/dist/web/_app/immutable/chunks/CUzqHQY_.js +1 -0
- package/dist/web/_app/immutable/chunks/CYrVHOHA.js +1 -0
- package/dist/web/_app/immutable/chunks/CqkleIqs.js +1 -0
- package/dist/web/_app/immutable/chunks/DPmdIe6Y.js +1 -0
- package/dist/web/_app/immutable/chunks/Dh_H7Owr.js +18 -0
- package/dist/web/_app/immutable/chunks/DnlgZ_Tk.js +5 -0
- package/dist/web/_app/immutable/chunks/DsERsGWg.js +64 -0
- package/dist/web/_app/immutable/chunks/DtVH--hH.js +6 -0
- package/dist/web/_app/immutable/chunks/F20aIBpJ.js +1 -0
- package/dist/web/_app/immutable/chunks/PPVm8Dsz.js +1 -0
- package/dist/web/_app/immutable/chunks/WSUKABI_.js +1 -0
- package/dist/web/_app/immutable/chunks/YFT1281h.js +2 -0
- package/dist/web/_app/immutable/chunks/aosHekRC.js +1 -0
- package/dist/web/_app/immutable/chunks/fwnBoL5x.js +1 -0
- package/dist/web/_app/immutable/chunks/hHxe9oXh.js +1 -0
- package/dist/web/_app/immutable/chunks/nZKqDQ0w.js +6 -0
- package/dist/web/_app/immutable/entry/app.B6Ngvu5P.js +2 -0
- package/dist/web/_app/immutable/entry/start.NykKAKQv.js +1 -0
- package/dist/web/_app/immutable/nodes/0.DQ5KdeNU.js +1 -0
- package/dist/web/_app/immutable/nodes/1.BR6DZ9ov.js +1 -0
- package/dist/web/_app/immutable/nodes/2.COSjVZ_C.js +1 -0
- package/dist/web/_app/immutable/nodes/3.B9r1XIlO.js +1 -0
- package/dist/web/_app/immutable/nodes/4.p-c6hlFf.js +16 -0
- package/dist/web/_app/immutable/nodes/5.CPc-Bqal.js +4 -0
- package/dist/web/_app/immutable/nodes/6.jJ67YnBc.js +2 -0
- package/dist/web/_app/version.json +1 -0
- package/dist/web/index.html +43 -0
- package/package.json +21 -3
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Entity validation schemas for Studiograph
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* 17 built-in entity types organized into three categories:
|
|
5
|
+
* - Identity (4): person, organization, role, practice-area
|
|
6
|
+
* - Universal (10): project, meeting, decision, task, document, dataset, reference, note, deliverable, publication
|
|
7
|
+
* - Knowledge (3): process, standard, case-study
|
|
8
|
+
*
|
|
9
|
+
* App plugins register additional types at runtime via SchemaRegistry.
|
|
10
|
+
* Teams can define custom types via schema_extensions in workspace config.
|
|
6
11
|
*/
|
|
7
12
|
import { z } from 'zod';
|
|
8
13
|
/**
|
|
@@ -15,9 +20,6 @@ export declare const EntityBaseSchema: z.ZodObject<{
|
|
|
15
20
|
updated_at: z.ZodString;
|
|
16
21
|
created_by: z.ZodString;
|
|
17
22
|
updated_by: z.ZodString;
|
|
18
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
19
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
20
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
21
23
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
22
24
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
23
25
|
entity_type: z.ZodString;
|
|
@@ -26,9 +28,6 @@ export declare const EntityBaseSchema: z.ZodObject<{
|
|
|
26
28
|
updated_at: z.ZodString;
|
|
27
29
|
created_by: z.ZodString;
|
|
28
30
|
updated_by: z.ZodString;
|
|
29
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
30
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
31
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
32
31
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
33
32
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
34
33
|
entity_type: z.ZodString;
|
|
@@ -37,18 +36,237 @@ export declare const EntityBaseSchema: z.ZodObject<{
|
|
|
37
36
|
updated_at: z.ZodString;
|
|
38
37
|
created_by: z.ZodString;
|
|
39
38
|
updated_by: z.ZodString;
|
|
40
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
41
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
42
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43
39
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44
40
|
}, z.ZodTypeAny, "passthrough">>;
|
|
45
41
|
export type EntityBase = z.infer<typeof EntityBaseSchema>;
|
|
46
42
|
/**
|
|
47
|
-
*
|
|
48
|
-
|
|
43
|
+
* Person — team members, client contacts, any individual
|
|
44
|
+
*/
|
|
45
|
+
export declare const PersonSchema: z.ZodObject<{
|
|
46
|
+
entity_id: z.ZodString;
|
|
47
|
+
created_at: z.ZodString;
|
|
48
|
+
updated_at: z.ZodString;
|
|
49
|
+
created_by: z.ZodString;
|
|
50
|
+
updated_by: z.ZodString;
|
|
51
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
52
|
+
} & {
|
|
53
|
+
entity_type: z.ZodLiteral<"person">;
|
|
54
|
+
name: z.ZodString;
|
|
55
|
+
role: z.ZodOptional<z.ZodString>;
|
|
56
|
+
status: z.ZodOptional<z.ZodEnum<["current", "former", "contractor", "client", "partner"]>>;
|
|
57
|
+
email: z.ZodOptional<z.ZodString>;
|
|
58
|
+
location: z.ZodOptional<z.ZodString>;
|
|
59
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
60
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
61
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
62
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
63
|
+
department: z.ZodOptional<z.ZodString>;
|
|
64
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
65
|
+
entity_id: z.ZodString;
|
|
66
|
+
created_at: z.ZodString;
|
|
67
|
+
updated_at: z.ZodString;
|
|
68
|
+
created_by: z.ZodString;
|
|
69
|
+
updated_by: z.ZodString;
|
|
70
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
71
|
+
} & {
|
|
72
|
+
entity_type: z.ZodLiteral<"person">;
|
|
73
|
+
name: z.ZodString;
|
|
74
|
+
role: z.ZodOptional<z.ZodString>;
|
|
75
|
+
status: z.ZodOptional<z.ZodEnum<["current", "former", "contractor", "client", "partner"]>>;
|
|
76
|
+
email: z.ZodOptional<z.ZodString>;
|
|
77
|
+
location: z.ZodOptional<z.ZodString>;
|
|
78
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
79
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
80
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
81
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
82
|
+
department: z.ZodOptional<z.ZodString>;
|
|
83
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
84
|
+
entity_id: z.ZodString;
|
|
85
|
+
created_at: z.ZodString;
|
|
86
|
+
updated_at: z.ZodString;
|
|
87
|
+
created_by: z.ZodString;
|
|
88
|
+
updated_by: z.ZodString;
|
|
89
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
90
|
+
} & {
|
|
91
|
+
entity_type: z.ZodLiteral<"person">;
|
|
92
|
+
name: z.ZodString;
|
|
93
|
+
role: z.ZodOptional<z.ZodString>;
|
|
94
|
+
status: z.ZodOptional<z.ZodEnum<["current", "former", "contractor", "client", "partner"]>>;
|
|
95
|
+
email: z.ZodOptional<z.ZodString>;
|
|
96
|
+
location: z.ZodOptional<z.ZodString>;
|
|
97
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
98
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
99
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
100
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
101
|
+
department: z.ZodOptional<z.ZodString>;
|
|
102
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
103
|
+
export type Person = z.infer<typeof PersonSchema>;
|
|
104
|
+
/**
|
|
105
|
+
* Organization — clients, vendors, partners, prospects, industry bodies
|
|
106
|
+
* Replaces the former separate client and vendor types.
|
|
107
|
+
*/
|
|
108
|
+
export declare const OrganizationSchema: z.ZodObject<{
|
|
109
|
+
entity_id: z.ZodString;
|
|
110
|
+
created_at: z.ZodString;
|
|
111
|
+
updated_at: z.ZodString;
|
|
112
|
+
created_by: z.ZodString;
|
|
113
|
+
updated_by: z.ZodString;
|
|
114
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
115
|
+
} & {
|
|
116
|
+
entity_type: z.ZodLiteral<"organization">;
|
|
117
|
+
name: z.ZodString;
|
|
118
|
+
type: z.ZodOptional<z.ZodEnum<["client", "vendor", "partner", "prospect", "industry-body", "other"]>>;
|
|
119
|
+
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "prospect", "former"]>>;
|
|
120
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
121
|
+
website: z.ZodOptional<z.ZodString>;
|
|
122
|
+
location: z.ZodOptional<z.ZodString>;
|
|
123
|
+
size: z.ZodOptional<z.ZodEnum<["small", "medium", "large", "enterprise"]>>;
|
|
124
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
125
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
126
|
+
relationship_start: z.ZodOptional<z.ZodString>;
|
|
127
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
128
|
+
entity_id: z.ZodString;
|
|
129
|
+
created_at: z.ZodString;
|
|
130
|
+
updated_at: z.ZodString;
|
|
131
|
+
created_by: z.ZodString;
|
|
132
|
+
updated_by: z.ZodString;
|
|
133
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
134
|
+
} & {
|
|
135
|
+
entity_type: z.ZodLiteral<"organization">;
|
|
136
|
+
name: z.ZodString;
|
|
137
|
+
type: z.ZodOptional<z.ZodEnum<["client", "vendor", "partner", "prospect", "industry-body", "other"]>>;
|
|
138
|
+
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "prospect", "former"]>>;
|
|
139
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
140
|
+
website: z.ZodOptional<z.ZodString>;
|
|
141
|
+
location: z.ZodOptional<z.ZodString>;
|
|
142
|
+
size: z.ZodOptional<z.ZodEnum<["small", "medium", "large", "enterprise"]>>;
|
|
143
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
144
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
145
|
+
relationship_start: z.ZodOptional<z.ZodString>;
|
|
146
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
147
|
+
entity_id: z.ZodString;
|
|
148
|
+
created_at: z.ZodString;
|
|
149
|
+
updated_at: z.ZodString;
|
|
150
|
+
created_by: z.ZodString;
|
|
151
|
+
updated_by: z.ZodString;
|
|
152
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
153
|
+
} & {
|
|
154
|
+
entity_type: z.ZodLiteral<"organization">;
|
|
155
|
+
name: z.ZodString;
|
|
156
|
+
type: z.ZodOptional<z.ZodEnum<["client", "vendor", "partner", "prospect", "industry-body", "other"]>>;
|
|
157
|
+
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "prospect", "former"]>>;
|
|
158
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
159
|
+
website: z.ZodOptional<z.ZodString>;
|
|
160
|
+
location: z.ZodOptional<z.ZodString>;
|
|
161
|
+
size: z.ZodOptional<z.ZodEnum<["small", "medium", "large", "enterprise"]>>;
|
|
162
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
163
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
164
|
+
relationship_start: z.ZodOptional<z.ZodString>;
|
|
165
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
166
|
+
export type Organization = z.infer<typeof OrganizationSchema>;
|
|
167
|
+
/**
|
|
168
|
+
* Role — role definitions from the firm's leveling framework
|
|
169
|
+
*/
|
|
170
|
+
export declare const RoleSchema: z.ZodObject<{
|
|
171
|
+
entity_id: z.ZodString;
|
|
172
|
+
created_at: z.ZodString;
|
|
173
|
+
updated_at: z.ZodString;
|
|
174
|
+
created_by: z.ZodString;
|
|
175
|
+
updated_by: z.ZodString;
|
|
176
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
177
|
+
} & {
|
|
178
|
+
entity_type: z.ZodLiteral<"role">;
|
|
179
|
+
title: z.ZodString;
|
|
180
|
+
department: z.ZodOptional<z.ZodString>;
|
|
181
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
182
|
+
type: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
183
|
+
status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
|
|
184
|
+
location: z.ZodOptional<z.ZodString>;
|
|
185
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
186
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
187
|
+
entity_id: z.ZodString;
|
|
188
|
+
created_at: z.ZodString;
|
|
189
|
+
updated_at: z.ZodString;
|
|
190
|
+
created_by: z.ZodString;
|
|
191
|
+
updated_by: z.ZodString;
|
|
192
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
193
|
+
} & {
|
|
194
|
+
entity_type: z.ZodLiteral<"role">;
|
|
195
|
+
title: z.ZodString;
|
|
196
|
+
department: z.ZodOptional<z.ZodString>;
|
|
197
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
198
|
+
type: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
199
|
+
status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
|
|
200
|
+
location: z.ZodOptional<z.ZodString>;
|
|
201
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
202
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
203
|
+
entity_id: z.ZodString;
|
|
204
|
+
created_at: z.ZodString;
|
|
205
|
+
updated_at: z.ZodString;
|
|
206
|
+
created_by: z.ZodString;
|
|
207
|
+
updated_by: z.ZodString;
|
|
208
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
209
|
+
} & {
|
|
210
|
+
entity_type: z.ZodLiteral<"role">;
|
|
211
|
+
title: z.ZodString;
|
|
212
|
+
department: z.ZodOptional<z.ZodString>;
|
|
213
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
214
|
+
type: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
215
|
+
status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
|
|
216
|
+
location: z.ZodOptional<z.ZodString>;
|
|
217
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
218
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
219
|
+
export type Role = z.infer<typeof RoleSchema>;
|
|
220
|
+
/**
|
|
221
|
+
* Practice Area — firm capabilities and disciplines
|
|
49
222
|
*/
|
|
223
|
+
export declare const PracticeAreaSchema: z.ZodObject<{
|
|
224
|
+
entity_id: z.ZodString;
|
|
225
|
+
created_at: z.ZodString;
|
|
226
|
+
updated_at: z.ZodString;
|
|
227
|
+
created_by: z.ZodString;
|
|
228
|
+
updated_by: z.ZodString;
|
|
229
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
230
|
+
} & {
|
|
231
|
+
entity_type: z.ZodLiteral<"practice-area">;
|
|
232
|
+
name: z.ZodString;
|
|
233
|
+
description: z.ZodOptional<z.ZodString>;
|
|
234
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
235
|
+
related_case_studies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
236
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
237
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
238
|
+
entity_id: z.ZodString;
|
|
239
|
+
created_at: z.ZodString;
|
|
240
|
+
updated_at: z.ZodString;
|
|
241
|
+
created_by: z.ZodString;
|
|
242
|
+
updated_by: z.ZodString;
|
|
243
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
244
|
+
} & {
|
|
245
|
+
entity_type: z.ZodLiteral<"practice-area">;
|
|
246
|
+
name: z.ZodString;
|
|
247
|
+
description: z.ZodOptional<z.ZodString>;
|
|
248
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
249
|
+
related_case_studies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
250
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
251
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
252
|
+
entity_id: z.ZodString;
|
|
253
|
+
created_at: z.ZodString;
|
|
254
|
+
updated_at: z.ZodString;
|
|
255
|
+
created_by: z.ZodString;
|
|
256
|
+
updated_by: z.ZodString;
|
|
257
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
258
|
+
} & {
|
|
259
|
+
entity_type: z.ZodLiteral<"practice-area">;
|
|
260
|
+
name: z.ZodString;
|
|
261
|
+
description: z.ZodOptional<z.ZodString>;
|
|
262
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
263
|
+
related_case_studies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
264
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
265
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
266
|
+
export type PracticeArea = z.infer<typeof PracticeAreaSchema>;
|
|
50
267
|
/**
|
|
51
|
-
* Project
|
|
268
|
+
* Project — a client engagement or internal initiative
|
|
269
|
+
* Subtypes via `type` field: client-project, internal-initiative, event, research
|
|
52
270
|
*/
|
|
53
271
|
export declare const ProjectSchema: z.ZodObject<{
|
|
54
272
|
entity_id: z.ZodString;
|
|
@@ -56,19 +274,15 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
56
274
|
updated_at: z.ZodString;
|
|
57
275
|
created_by: z.ZodString;
|
|
58
276
|
updated_by: z.ZodString;
|
|
59
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
60
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
61
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
62
277
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
63
278
|
} & {
|
|
64
279
|
entity_type: z.ZodLiteral<"project">;
|
|
65
280
|
name: z.ZodString;
|
|
281
|
+
type: z.ZodOptional<z.ZodString>;
|
|
66
282
|
client: z.ZodOptional<z.ZodString>;
|
|
67
283
|
website_url: z.ZodOptional<z.ZodString>;
|
|
68
284
|
start_date: z.ZodOptional<z.ZodString>;
|
|
69
285
|
end_date: z.ZodOptional<z.ZodString>;
|
|
70
|
-
target_completion: z.ZodOptional<z.ZodString>;
|
|
71
|
-
year_released: z.ZodOptional<z.ZodNumber>;
|
|
72
286
|
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
73
287
|
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
74
288
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -81,19 +295,15 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
81
295
|
updated_at: z.ZodString;
|
|
82
296
|
created_by: z.ZodString;
|
|
83
297
|
updated_by: z.ZodString;
|
|
84
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
85
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
86
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
87
298
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
88
299
|
} & {
|
|
89
300
|
entity_type: z.ZodLiteral<"project">;
|
|
90
301
|
name: z.ZodString;
|
|
302
|
+
type: z.ZodOptional<z.ZodString>;
|
|
91
303
|
client: z.ZodOptional<z.ZodString>;
|
|
92
304
|
website_url: z.ZodOptional<z.ZodString>;
|
|
93
305
|
start_date: z.ZodOptional<z.ZodString>;
|
|
94
306
|
end_date: z.ZodOptional<z.ZodString>;
|
|
95
|
-
target_completion: z.ZodOptional<z.ZodString>;
|
|
96
|
-
year_released: z.ZodOptional<z.ZodNumber>;
|
|
97
307
|
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
98
308
|
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
99
309
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -106,19 +316,15 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
106
316
|
updated_at: z.ZodString;
|
|
107
317
|
created_by: z.ZodString;
|
|
108
318
|
updated_by: z.ZodString;
|
|
109
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
110
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
111
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
112
319
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
113
320
|
} & {
|
|
114
321
|
entity_type: z.ZodLiteral<"project">;
|
|
115
322
|
name: z.ZodString;
|
|
323
|
+
type: z.ZodOptional<z.ZodString>;
|
|
116
324
|
client: z.ZodOptional<z.ZodString>;
|
|
117
325
|
website_url: z.ZodOptional<z.ZodString>;
|
|
118
326
|
start_date: z.ZodOptional<z.ZodString>;
|
|
119
327
|
end_date: z.ZodOptional<z.ZodString>;
|
|
120
|
-
target_completion: z.ZodOptional<z.ZodString>;
|
|
121
|
-
year_released: z.ZodOptional<z.ZodNumber>;
|
|
122
328
|
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
123
329
|
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
124
330
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -128,7 +334,8 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
128
334
|
}, z.ZodTypeAny, "passthrough">>;
|
|
129
335
|
export type Project = z.infer<typeof ProjectSchema>;
|
|
130
336
|
/**
|
|
131
|
-
* Meeting
|
|
337
|
+
* Meeting — any scheduled gathering
|
|
338
|
+
* Subtypes via `type` field: internal, client, workshop, conference, industry-event
|
|
132
339
|
*/
|
|
133
340
|
export declare const MeetingSchema: z.ZodObject<{
|
|
134
341
|
entity_id: z.ZodString;
|
|
@@ -136,20 +343,17 @@ export declare const MeetingSchema: z.ZodObject<{
|
|
|
136
343
|
updated_at: z.ZodString;
|
|
137
344
|
created_by: z.ZodString;
|
|
138
345
|
updated_by: z.ZodString;
|
|
139
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
140
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
141
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
142
346
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
143
347
|
} & {
|
|
144
348
|
entity_type: z.ZodLiteral<"meeting">;
|
|
145
349
|
name: z.ZodString;
|
|
350
|
+
type: z.ZodOptional<z.ZodString>;
|
|
146
351
|
date: z.ZodOptional<z.ZodString>;
|
|
147
352
|
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
148
353
|
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
149
354
|
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
150
355
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
151
356
|
agenda: z.ZodOptional<z.ZodString>;
|
|
152
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
153
357
|
action_items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
154
358
|
summary: z.ZodOptional<z.ZodString>;
|
|
155
359
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -158,20 +362,17 @@ export declare const MeetingSchema: z.ZodObject<{
|
|
|
158
362
|
updated_at: z.ZodString;
|
|
159
363
|
created_by: z.ZodString;
|
|
160
364
|
updated_by: z.ZodString;
|
|
161
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
162
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
163
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
164
365
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
165
366
|
} & {
|
|
166
367
|
entity_type: z.ZodLiteral<"meeting">;
|
|
167
368
|
name: z.ZodString;
|
|
369
|
+
type: z.ZodOptional<z.ZodString>;
|
|
168
370
|
date: z.ZodOptional<z.ZodString>;
|
|
169
371
|
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
170
372
|
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
171
373
|
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
172
374
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
173
375
|
agenda: z.ZodOptional<z.ZodString>;
|
|
174
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
175
376
|
action_items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
176
377
|
summary: z.ZodOptional<z.ZodString>;
|
|
177
378
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -180,27 +381,23 @@ export declare const MeetingSchema: z.ZodObject<{
|
|
|
180
381
|
updated_at: z.ZodString;
|
|
181
382
|
created_by: z.ZodString;
|
|
182
383
|
updated_by: z.ZodString;
|
|
183
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
184
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
185
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
186
384
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
187
385
|
} & {
|
|
188
386
|
entity_type: z.ZodLiteral<"meeting">;
|
|
189
387
|
name: z.ZodString;
|
|
388
|
+
type: z.ZodOptional<z.ZodString>;
|
|
190
389
|
date: z.ZodOptional<z.ZodString>;
|
|
191
390
|
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
192
391
|
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
193
392
|
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
194
393
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
195
394
|
agenda: z.ZodOptional<z.ZodString>;
|
|
196
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
197
395
|
action_items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
198
396
|
summary: z.ZodOptional<z.ZodString>;
|
|
199
397
|
}, z.ZodTypeAny, "passthrough">>;
|
|
200
398
|
export type Meeting = z.infer<typeof MeetingSchema>;
|
|
201
399
|
/**
|
|
202
|
-
* Decision
|
|
203
|
-
* Format: DEC-YYYY-NNN
|
|
400
|
+
* Decision — structured decision records (ADR-style)
|
|
204
401
|
*/
|
|
205
402
|
export declare const DecisionSchema: z.ZodObject<{
|
|
206
403
|
entity_id: z.ZodString;
|
|
@@ -208,85 +405,67 @@ export declare const DecisionSchema: z.ZodObject<{
|
|
|
208
405
|
updated_at: z.ZodString;
|
|
209
406
|
created_by: z.ZodString;
|
|
210
407
|
updated_by: z.ZodString;
|
|
211
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
212
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
213
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
214
408
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
215
409
|
} & {
|
|
216
410
|
entity_type: z.ZodLiteral<"decision">;
|
|
217
|
-
id: z.ZodString;
|
|
218
411
|
title: z.ZodString;
|
|
219
|
-
date: z.ZodString
|
|
412
|
+
date: z.ZodOptional<z.ZodString>;
|
|
220
413
|
status: z.ZodDefault<z.ZodEnum<["proposed", "accepted", "rejected", "deprecated", "superseded"]>>;
|
|
221
414
|
decision_makers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
222
415
|
stakeholders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
223
|
-
related_decisions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
224
|
-
supersedes: z.ZodOptional<z.ZodString>;
|
|
225
|
-
superseded_by: z.ZodOptional<z.ZodString>;
|
|
226
416
|
context: z.ZodOptional<z.ZodString>;
|
|
227
417
|
alternatives: z.ZodOptional<z.ZodString>;
|
|
228
418
|
decision: z.ZodOptional<z.ZodString>;
|
|
229
419
|
rationale: z.ZodOptional<z.ZodString>;
|
|
230
420
|
consequences: z.ZodOptional<z.ZodString>;
|
|
231
|
-
|
|
421
|
+
supersedes: z.ZodOptional<z.ZodString>;
|
|
422
|
+
superseded_by: z.ZodOptional<z.ZodString>;
|
|
232
423
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
233
424
|
entity_id: z.ZodString;
|
|
234
425
|
created_at: z.ZodString;
|
|
235
426
|
updated_at: z.ZodString;
|
|
236
427
|
created_by: z.ZodString;
|
|
237
428
|
updated_by: z.ZodString;
|
|
238
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
239
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
240
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
241
429
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
242
430
|
} & {
|
|
243
431
|
entity_type: z.ZodLiteral<"decision">;
|
|
244
|
-
id: z.ZodString;
|
|
245
432
|
title: z.ZodString;
|
|
246
|
-
date: z.ZodString
|
|
433
|
+
date: z.ZodOptional<z.ZodString>;
|
|
247
434
|
status: z.ZodDefault<z.ZodEnum<["proposed", "accepted", "rejected", "deprecated", "superseded"]>>;
|
|
248
435
|
decision_makers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
249
436
|
stakeholders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
250
|
-
related_decisions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
251
|
-
supersedes: z.ZodOptional<z.ZodString>;
|
|
252
|
-
superseded_by: z.ZodOptional<z.ZodString>;
|
|
253
437
|
context: z.ZodOptional<z.ZodString>;
|
|
254
438
|
alternatives: z.ZodOptional<z.ZodString>;
|
|
255
439
|
decision: z.ZodOptional<z.ZodString>;
|
|
256
440
|
rationale: z.ZodOptional<z.ZodString>;
|
|
257
441
|
consequences: z.ZodOptional<z.ZodString>;
|
|
258
|
-
|
|
442
|
+
supersedes: z.ZodOptional<z.ZodString>;
|
|
443
|
+
superseded_by: z.ZodOptional<z.ZodString>;
|
|
259
444
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
260
445
|
entity_id: z.ZodString;
|
|
261
446
|
created_at: z.ZodString;
|
|
262
447
|
updated_at: z.ZodString;
|
|
263
448
|
created_by: z.ZodString;
|
|
264
449
|
updated_by: z.ZodString;
|
|
265
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
266
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
267
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
268
450
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
269
451
|
} & {
|
|
270
452
|
entity_type: z.ZodLiteral<"decision">;
|
|
271
|
-
id: z.ZodString;
|
|
272
453
|
title: z.ZodString;
|
|
273
|
-
date: z.ZodString
|
|
454
|
+
date: z.ZodOptional<z.ZodString>;
|
|
274
455
|
status: z.ZodDefault<z.ZodEnum<["proposed", "accepted", "rejected", "deprecated", "superseded"]>>;
|
|
275
456
|
decision_makers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
276
457
|
stakeholders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
277
|
-
related_decisions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
278
|
-
supersedes: z.ZodOptional<z.ZodString>;
|
|
279
|
-
superseded_by: z.ZodOptional<z.ZodString>;
|
|
280
458
|
context: z.ZodOptional<z.ZodString>;
|
|
281
459
|
alternatives: z.ZodOptional<z.ZodString>;
|
|
282
460
|
decision: z.ZodOptional<z.ZodString>;
|
|
283
461
|
rationale: z.ZodOptional<z.ZodString>;
|
|
284
462
|
consequences: z.ZodOptional<z.ZodString>;
|
|
285
|
-
|
|
463
|
+
supersedes: z.ZodOptional<z.ZodString>;
|
|
464
|
+
superseded_by: z.ZodOptional<z.ZodString>;
|
|
286
465
|
}, z.ZodTypeAny, "passthrough">>;
|
|
287
466
|
export type Decision = z.infer<typeof DecisionSchema>;
|
|
288
467
|
/**
|
|
289
|
-
* Task
|
|
468
|
+
* Task — lightweight action items and to-dos
|
|
290
469
|
*/
|
|
291
470
|
export declare const TaskSchema: z.ZodObject<{
|
|
292
471
|
entity_id: z.ZodString;
|
|
@@ -294,9 +473,6 @@ export declare const TaskSchema: z.ZodObject<{
|
|
|
294
473
|
updated_at: z.ZodString;
|
|
295
474
|
created_by: z.ZodString;
|
|
296
475
|
updated_by: z.ZodString;
|
|
297
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
298
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
299
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
300
476
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
301
477
|
} & {
|
|
302
478
|
entity_type: z.ZodLiteral<"task">;
|
|
@@ -315,9 +491,6 @@ export declare const TaskSchema: z.ZodObject<{
|
|
|
315
491
|
updated_at: z.ZodString;
|
|
316
492
|
created_by: z.ZodString;
|
|
317
493
|
updated_by: z.ZodString;
|
|
318
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
319
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
320
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
321
494
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
322
495
|
} & {
|
|
323
496
|
entity_type: z.ZodLiteral<"task">;
|
|
@@ -336,9 +509,6 @@ export declare const TaskSchema: z.ZodObject<{
|
|
|
336
509
|
updated_at: z.ZodString;
|
|
337
510
|
created_by: z.ZodString;
|
|
338
511
|
updated_by: z.ZodString;
|
|
339
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
340
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
341
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
342
512
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
343
513
|
} & {
|
|
344
514
|
entity_type: z.ZodLiteral<"task">;
|
|
@@ -354,178 +524,185 @@ export declare const TaskSchema: z.ZodObject<{
|
|
|
354
524
|
}, z.ZodTypeAny, "passthrough">>;
|
|
355
525
|
export type Task = z.infer<typeof TaskSchema>;
|
|
356
526
|
/**
|
|
357
|
-
*
|
|
527
|
+
* Document — any authored document
|
|
528
|
+
* Subtypes via `type` field: proposal, contract, brief, memo, financial-plan, template, report
|
|
529
|
+
* Absorbs the former separate proposal, contract, brief, financial-plan, and template types.
|
|
358
530
|
*/
|
|
359
|
-
export declare const
|
|
531
|
+
export declare const DocumentSchema: z.ZodObject<{
|
|
360
532
|
entity_id: z.ZodString;
|
|
361
533
|
created_at: z.ZodString;
|
|
362
534
|
updated_at: z.ZodString;
|
|
363
535
|
created_by: z.ZodString;
|
|
364
536
|
updated_by: z.ZodString;
|
|
365
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
366
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
367
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
368
537
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
369
538
|
} & {
|
|
370
|
-
entity_type: z.ZodLiteral<"
|
|
371
|
-
|
|
539
|
+
entity_type: z.ZodLiteral<"document">;
|
|
540
|
+
name: z.ZodString;
|
|
541
|
+
type: z.ZodOptional<z.ZodString>;
|
|
372
542
|
client: z.ZodOptional<z.ZodString>;
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
success_criteria: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
379
|
-
constraints: z.ZodOptional<z.ZodString>;
|
|
380
|
-
stakeholders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
381
|
-
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
382
|
-
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
543
|
+
project: z.ZodOptional<z.ZodString>;
|
|
544
|
+
date: z.ZodOptional<z.ZodString>;
|
|
545
|
+
version: z.ZodOptional<z.ZodString>;
|
|
546
|
+
status: z.ZodDefault<z.ZodEnum<["draft", "sent", "accepted", "rejected", "negotiating", "signed", "completed", "terminated"]>>;
|
|
547
|
+
description: z.ZodOptional<z.ZodString>;
|
|
383
548
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
384
549
|
entity_id: z.ZodString;
|
|
385
550
|
created_at: z.ZodString;
|
|
386
551
|
updated_at: z.ZodString;
|
|
387
552
|
created_by: z.ZodString;
|
|
388
553
|
updated_by: z.ZodString;
|
|
389
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
390
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
391
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
392
554
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
393
555
|
} & {
|
|
394
|
-
entity_type: z.ZodLiteral<"
|
|
395
|
-
|
|
556
|
+
entity_type: z.ZodLiteral<"document">;
|
|
557
|
+
name: z.ZodString;
|
|
558
|
+
type: z.ZodOptional<z.ZodString>;
|
|
396
559
|
client: z.ZodOptional<z.ZodString>;
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
success_criteria: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
403
|
-
constraints: z.ZodOptional<z.ZodString>;
|
|
404
|
-
stakeholders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
405
|
-
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
406
|
-
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
560
|
+
project: z.ZodOptional<z.ZodString>;
|
|
561
|
+
date: z.ZodOptional<z.ZodString>;
|
|
562
|
+
version: z.ZodOptional<z.ZodString>;
|
|
563
|
+
status: z.ZodDefault<z.ZodEnum<["draft", "sent", "accepted", "rejected", "negotiating", "signed", "completed", "terminated"]>>;
|
|
564
|
+
description: z.ZodOptional<z.ZodString>;
|
|
407
565
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
408
566
|
entity_id: z.ZodString;
|
|
409
567
|
created_at: z.ZodString;
|
|
410
568
|
updated_at: z.ZodString;
|
|
411
569
|
created_by: z.ZodString;
|
|
412
570
|
updated_by: z.ZodString;
|
|
413
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
414
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
415
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
416
571
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
417
572
|
} & {
|
|
418
|
-
entity_type: z.ZodLiteral<"
|
|
419
|
-
|
|
573
|
+
entity_type: z.ZodLiteral<"document">;
|
|
574
|
+
name: z.ZodString;
|
|
575
|
+
type: z.ZodOptional<z.ZodString>;
|
|
420
576
|
client: z.ZodOptional<z.ZodString>;
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
success_criteria: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
427
|
-
constraints: z.ZodOptional<z.ZodString>;
|
|
428
|
-
stakeholders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
429
|
-
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
430
|
-
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
577
|
+
project: z.ZodOptional<z.ZodString>;
|
|
578
|
+
date: z.ZodOptional<z.ZodString>;
|
|
579
|
+
version: z.ZodOptional<z.ZodString>;
|
|
580
|
+
status: z.ZodDefault<z.ZodEnum<["draft", "sent", "accepted", "rejected", "negotiating", "signed", "completed", "terminated"]>>;
|
|
581
|
+
description: z.ZodOptional<z.ZodString>;
|
|
431
582
|
}, z.ZodTypeAny, "passthrough">>;
|
|
432
|
-
export type
|
|
583
|
+
export type Document = z.infer<typeof DocumentSchema>;
|
|
433
584
|
/**
|
|
434
|
-
*
|
|
585
|
+
* Dataset — structured tabular data with typed columns and CSV body
|
|
435
586
|
*/
|
|
436
|
-
export declare const
|
|
587
|
+
export declare const ColumnDefinitionSchema: z.ZodObject<{
|
|
588
|
+
name: z.ZodString;
|
|
589
|
+
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
590
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
591
|
+
description: z.ZodOptional<z.ZodString>;
|
|
592
|
+
}, "strip", z.ZodTypeAny, {
|
|
593
|
+
name: string;
|
|
594
|
+
type: "string" | "number" | "boolean" | "date";
|
|
595
|
+
description?: string | undefined;
|
|
596
|
+
required?: boolean | undefined;
|
|
597
|
+
}, {
|
|
598
|
+
name: string;
|
|
599
|
+
type: "string" | "number" | "boolean" | "date";
|
|
600
|
+
description?: string | undefined;
|
|
601
|
+
required?: boolean | undefined;
|
|
602
|
+
}>;
|
|
603
|
+
export type ColumnDefinition = z.infer<typeof ColumnDefinitionSchema>;
|
|
604
|
+
export declare const DatasetSchema: z.ZodObject<{
|
|
437
605
|
entity_id: z.ZodString;
|
|
438
606
|
created_at: z.ZodString;
|
|
439
607
|
updated_at: z.ZodString;
|
|
440
608
|
created_by: z.ZodString;
|
|
441
609
|
updated_by: z.ZodString;
|
|
442
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
443
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
444
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
445
610
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
446
611
|
} & {
|
|
447
|
-
entity_type: z.ZodLiteral<"
|
|
612
|
+
entity_type: z.ZodLiteral<"dataset">;
|
|
448
613
|
name: z.ZodString;
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
614
|
+
schema: z.ZodArray<z.ZodObject<{
|
|
615
|
+
name: z.ZodString;
|
|
616
|
+
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
617
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
618
|
+
description: z.ZodOptional<z.ZodString>;
|
|
619
|
+
}, "strip", z.ZodTypeAny, {
|
|
620
|
+
name: string;
|
|
621
|
+
type: "string" | "number" | "boolean" | "date";
|
|
622
|
+
description?: string | undefined;
|
|
623
|
+
required?: boolean | undefined;
|
|
624
|
+
}, {
|
|
625
|
+
name: string;
|
|
626
|
+
type: "string" | "number" | "boolean" | "date";
|
|
627
|
+
description?: string | undefined;
|
|
628
|
+
required?: boolean | undefined;
|
|
629
|
+
}>, "many">;
|
|
456
630
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
457
631
|
entity_id: z.ZodString;
|
|
458
632
|
created_at: z.ZodString;
|
|
459
633
|
updated_at: z.ZodString;
|
|
460
634
|
created_by: z.ZodString;
|
|
461
635
|
updated_by: z.ZodString;
|
|
462
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
463
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
464
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
465
636
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
466
637
|
} & {
|
|
467
|
-
entity_type: z.ZodLiteral<"
|
|
638
|
+
entity_type: z.ZodLiteral<"dataset">;
|
|
468
639
|
name: z.ZodString;
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
640
|
+
schema: z.ZodArray<z.ZodObject<{
|
|
641
|
+
name: z.ZodString;
|
|
642
|
+
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
643
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
644
|
+
description: z.ZodOptional<z.ZodString>;
|
|
645
|
+
}, "strip", z.ZodTypeAny, {
|
|
646
|
+
name: string;
|
|
647
|
+
type: "string" | "number" | "boolean" | "date";
|
|
648
|
+
description?: string | undefined;
|
|
649
|
+
required?: boolean | undefined;
|
|
650
|
+
}, {
|
|
651
|
+
name: string;
|
|
652
|
+
type: "string" | "number" | "boolean" | "date";
|
|
653
|
+
description?: string | undefined;
|
|
654
|
+
required?: boolean | undefined;
|
|
655
|
+
}>, "many">;
|
|
476
656
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
477
657
|
entity_id: z.ZodString;
|
|
478
658
|
created_at: z.ZodString;
|
|
479
659
|
updated_at: z.ZodString;
|
|
480
660
|
created_by: z.ZodString;
|
|
481
661
|
updated_by: z.ZodString;
|
|
482
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
483
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
484
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
485
662
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
486
663
|
} & {
|
|
487
|
-
entity_type: z.ZodLiteral<"
|
|
664
|
+
entity_type: z.ZodLiteral<"dataset">;
|
|
488
665
|
name: z.ZodString;
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
666
|
+
schema: z.ZodArray<z.ZodObject<{
|
|
667
|
+
name: z.ZodString;
|
|
668
|
+
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
669
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
670
|
+
description: z.ZodOptional<z.ZodString>;
|
|
671
|
+
}, "strip", z.ZodTypeAny, {
|
|
672
|
+
name: string;
|
|
673
|
+
type: "string" | "number" | "boolean" | "date";
|
|
674
|
+
description?: string | undefined;
|
|
675
|
+
required?: boolean | undefined;
|
|
676
|
+
}, {
|
|
677
|
+
name: string;
|
|
678
|
+
type: "string" | "number" | "boolean" | "date";
|
|
679
|
+
description?: string | undefined;
|
|
680
|
+
required?: boolean | undefined;
|
|
681
|
+
}>, "many">;
|
|
496
682
|
}, z.ZodTypeAny, "passthrough">>;
|
|
497
|
-
export type
|
|
683
|
+
export type Dataset = z.infer<typeof DatasetSchema>;
|
|
684
|
+
export type DatasetRow = Record<string, string | number | boolean | null>;
|
|
498
685
|
/**
|
|
499
|
-
*
|
|
500
|
-
*
|
|
501
|
-
*
|
|
502
|
-
* "big ticket item" committed to in a proposal or contract (e.g. "Brand
|
|
503
|
-
* Identity System"), while artifacts are the individual produced items within
|
|
504
|
-
* it (logo SVG, style guide PDF, brand guidelines deck).
|
|
505
|
-
*
|
|
506
|
-
* Bridges the commercial side (proposal, contract) to the execution side
|
|
507
|
-
* (artifact): proposal.deliverables[] → deliverable → artifact[]
|
|
686
|
+
* Reference — external resources and inspiration
|
|
687
|
+
* Subtypes via `type` field: article, video, tool, technique, framework, website
|
|
688
|
+
* Absorbs the former separate technique type.
|
|
508
689
|
*/
|
|
509
|
-
export declare const
|
|
690
|
+
export declare const ReferenceSchema: z.ZodObject<{
|
|
510
691
|
entity_id: z.ZodString;
|
|
511
692
|
created_at: z.ZodString;
|
|
512
693
|
updated_at: z.ZodString;
|
|
513
694
|
created_by: z.ZodString;
|
|
514
695
|
updated_by: z.ZodString;
|
|
515
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
516
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
517
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
518
696
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
519
697
|
} & {
|
|
520
|
-
entity_type: z.ZodLiteral<"
|
|
698
|
+
entity_type: z.ZodLiteral<"reference">;
|
|
521
699
|
name: z.ZodString;
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
delivered_date: z.ZodOptional<z.ZodString>;
|
|
700
|
+
type: z.ZodOptional<z.ZodString>;
|
|
701
|
+
date: z.ZodOptional<z.ZodString>;
|
|
702
|
+
source: z.ZodOptional<z.ZodString>;
|
|
703
|
+
link: z.ZodOptional<z.ZodString>;
|
|
704
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
705
|
+
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
529
706
|
description: z.ZodOptional<z.ZodString>;
|
|
530
707
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
531
708
|
entity_id: z.ZodString;
|
|
@@ -533,20 +710,16 @@ export declare const DeliverableSchema: z.ZodObject<{
|
|
|
533
710
|
updated_at: z.ZodString;
|
|
534
711
|
created_by: z.ZodString;
|
|
535
712
|
updated_by: z.ZodString;
|
|
536
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
537
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
538
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
539
713
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
540
714
|
} & {
|
|
541
|
-
entity_type: z.ZodLiteral<"
|
|
715
|
+
entity_type: z.ZodLiteral<"reference">;
|
|
542
716
|
name: z.ZodString;
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
delivered_date: z.ZodOptional<z.ZodString>;
|
|
717
|
+
type: z.ZodOptional<z.ZodString>;
|
|
718
|
+
date: z.ZodOptional<z.ZodString>;
|
|
719
|
+
source: z.ZodOptional<z.ZodString>;
|
|
720
|
+
link: z.ZodOptional<z.ZodString>;
|
|
721
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
722
|
+
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
550
723
|
description: z.ZodOptional<z.ZodString>;
|
|
551
724
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
552
725
|
entity_id: z.ZodString;
|
|
@@ -554,400 +727,186 @@ export declare const DeliverableSchema: z.ZodObject<{
|
|
|
554
727
|
updated_at: z.ZodString;
|
|
555
728
|
created_by: z.ZodString;
|
|
556
729
|
updated_by: z.ZodString;
|
|
557
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
558
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
559
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
560
730
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
561
731
|
} & {
|
|
562
|
-
entity_type: z.ZodLiteral<"
|
|
732
|
+
entity_type: z.ZodLiteral<"reference">;
|
|
563
733
|
name: z.ZodString;
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
delivered_date: z.ZodOptional<z.ZodString>;
|
|
734
|
+
type: z.ZodOptional<z.ZodString>;
|
|
735
|
+
date: z.ZodOptional<z.ZodString>;
|
|
736
|
+
source: z.ZodOptional<z.ZodString>;
|
|
737
|
+
link: z.ZodOptional<z.ZodString>;
|
|
738
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
739
|
+
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
571
740
|
description: z.ZodOptional<z.ZodString>;
|
|
572
741
|
}, z.ZodTypeAny, "passthrough">>;
|
|
573
|
-
export type
|
|
574
|
-
/**
|
|
575
|
-
* FUNCTION REPO ENTITIES
|
|
576
|
-
* Used in function-specific repositories (business operations)
|
|
577
|
-
*/
|
|
742
|
+
export type Reference = z.infer<typeof ReferenceSchema>;
|
|
578
743
|
/**
|
|
579
|
-
*
|
|
744
|
+
* Note — freeform thinking, research, scratch, daily notes
|
|
745
|
+
* Lightweight entity with minimal schema. Participates in the graph like any other entity.
|
|
580
746
|
*/
|
|
581
|
-
export declare const
|
|
747
|
+
export declare const NoteSchema: z.ZodObject<{
|
|
582
748
|
entity_id: z.ZodString;
|
|
583
749
|
created_at: z.ZodString;
|
|
584
750
|
updated_at: z.ZodString;
|
|
585
751
|
created_by: z.ZodString;
|
|
586
752
|
updated_by: z.ZodString;
|
|
587
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
588
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
589
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
590
753
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
591
754
|
} & {
|
|
592
|
-
entity_type: z.ZodLiteral<"
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
version: z.ZodOptional<z.ZodString>;
|
|
598
|
-
status: z.ZodDefault<z.ZodEnum<["draft", "sent", "accepted", "rejected", "negotiating"]>>;
|
|
599
|
-
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
600
|
-
phases: z.ZodOptional<z.ZodString>;
|
|
601
|
-
team: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
602
|
-
schedule: z.ZodOptional<z.ZodString>;
|
|
603
|
-
fees: z.ZodOptional<z.ZodString>;
|
|
604
|
-
payment_terms: z.ZodOptional<z.ZodString>;
|
|
755
|
+
entity_type: z.ZodLiteral<"note">;
|
|
756
|
+
title: z.ZodOptional<z.ZodString>;
|
|
757
|
+
type: z.ZodOptional<z.ZodString>;
|
|
758
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
759
|
+
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
605
760
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
606
761
|
entity_id: z.ZodString;
|
|
607
762
|
created_at: z.ZodString;
|
|
608
763
|
updated_at: z.ZodString;
|
|
609
764
|
created_by: z.ZodString;
|
|
610
765
|
updated_by: z.ZodString;
|
|
611
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
612
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
613
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
614
766
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
615
767
|
} & {
|
|
616
|
-
entity_type: z.ZodLiteral<"
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
version: z.ZodOptional<z.ZodString>;
|
|
622
|
-
status: z.ZodDefault<z.ZodEnum<["draft", "sent", "accepted", "rejected", "negotiating"]>>;
|
|
623
|
-
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
624
|
-
phases: z.ZodOptional<z.ZodString>;
|
|
625
|
-
team: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
626
|
-
schedule: z.ZodOptional<z.ZodString>;
|
|
627
|
-
fees: z.ZodOptional<z.ZodString>;
|
|
628
|
-
payment_terms: z.ZodOptional<z.ZodString>;
|
|
768
|
+
entity_type: z.ZodLiteral<"note">;
|
|
769
|
+
title: z.ZodOptional<z.ZodString>;
|
|
770
|
+
type: z.ZodOptional<z.ZodString>;
|
|
771
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
772
|
+
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
629
773
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
630
774
|
entity_id: z.ZodString;
|
|
631
775
|
created_at: z.ZodString;
|
|
632
776
|
updated_at: z.ZodString;
|
|
633
777
|
created_by: z.ZodString;
|
|
634
778
|
updated_by: z.ZodString;
|
|
635
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
636
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
637
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
638
779
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
639
780
|
} & {
|
|
640
|
-
entity_type: z.ZodLiteral<"
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
version: z.ZodOptional<z.ZodString>;
|
|
646
|
-
status: z.ZodDefault<z.ZodEnum<["draft", "sent", "accepted", "rejected", "negotiating"]>>;
|
|
647
|
-
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
648
|
-
phases: z.ZodOptional<z.ZodString>;
|
|
649
|
-
team: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
650
|
-
schedule: z.ZodOptional<z.ZodString>;
|
|
651
|
-
fees: z.ZodOptional<z.ZodString>;
|
|
652
|
-
payment_terms: z.ZodOptional<z.ZodString>;
|
|
781
|
+
entity_type: z.ZodLiteral<"note">;
|
|
782
|
+
title: z.ZodOptional<z.ZodString>;
|
|
783
|
+
type: z.ZodOptional<z.ZodString>;
|
|
784
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
785
|
+
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
653
786
|
}, z.ZodTypeAny, "passthrough">>;
|
|
654
|
-
export type
|
|
787
|
+
export type Note = z.infer<typeof NoteSchema>;
|
|
655
788
|
/**
|
|
656
|
-
*
|
|
789
|
+
* Deliverable — a scoped contractual output promised to a client
|
|
790
|
+
* Bridges the commercial side (proposal, contract) to execution (artifacts, tasks).
|
|
657
791
|
*/
|
|
658
|
-
export declare const
|
|
792
|
+
export declare const DeliverableSchema: z.ZodObject<{
|
|
659
793
|
entity_id: z.ZodString;
|
|
660
794
|
created_at: z.ZodString;
|
|
661
795
|
updated_at: z.ZodString;
|
|
662
796
|
created_by: z.ZodString;
|
|
663
797
|
updated_by: z.ZodString;
|
|
664
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
665
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
666
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
667
798
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
668
799
|
} & {
|
|
669
|
-
entity_type: z.ZodLiteral<"
|
|
800
|
+
entity_type: z.ZodLiteral<"deliverable">;
|
|
670
801
|
name: z.ZodString;
|
|
671
|
-
type: z.ZodOptional<z.ZodEnum<["sow", "msa", "nda", "other"]>>;
|
|
672
|
-
client: z.ZodOptional<z.ZodString>;
|
|
673
802
|
project: z.ZodOptional<z.ZodString>;
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
value: z.ZodOptional<z.ZodString>;
|
|
679
|
-
payment_terms: z.ZodOptional<z.ZodString>;
|
|
803
|
+
status: z.ZodDefault<z.ZodEnum<["planned", "in-progress", "delivered", "accepted", "rejected"]>>;
|
|
804
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
805
|
+
delivered_date: z.ZodOptional<z.ZodString>;
|
|
806
|
+
description: z.ZodOptional<z.ZodString>;
|
|
680
807
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
681
808
|
entity_id: z.ZodString;
|
|
682
809
|
created_at: z.ZodString;
|
|
683
810
|
updated_at: z.ZodString;
|
|
684
811
|
created_by: z.ZodString;
|
|
685
812
|
updated_by: z.ZodString;
|
|
686
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
687
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
688
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
689
813
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
690
814
|
} & {
|
|
691
|
-
entity_type: z.ZodLiteral<"
|
|
815
|
+
entity_type: z.ZodLiteral<"deliverable">;
|
|
692
816
|
name: z.ZodString;
|
|
693
|
-
type: z.ZodOptional<z.ZodEnum<["sow", "msa", "nda", "other"]>>;
|
|
694
|
-
client: z.ZodOptional<z.ZodString>;
|
|
695
817
|
project: z.ZodOptional<z.ZodString>;
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
value: z.ZodOptional<z.ZodString>;
|
|
701
|
-
payment_terms: z.ZodOptional<z.ZodString>;
|
|
818
|
+
status: z.ZodDefault<z.ZodEnum<["planned", "in-progress", "delivered", "accepted", "rejected"]>>;
|
|
819
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
820
|
+
delivered_date: z.ZodOptional<z.ZodString>;
|
|
821
|
+
description: z.ZodOptional<z.ZodString>;
|
|
702
822
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
703
823
|
entity_id: z.ZodString;
|
|
704
824
|
created_at: z.ZodString;
|
|
705
825
|
updated_at: z.ZodString;
|
|
706
826
|
created_by: z.ZodString;
|
|
707
827
|
updated_by: z.ZodString;
|
|
708
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
709
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
710
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
711
828
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
712
829
|
} & {
|
|
713
|
-
entity_type: z.ZodLiteral<"
|
|
830
|
+
entity_type: z.ZodLiteral<"deliverable">;
|
|
714
831
|
name: z.ZodString;
|
|
715
|
-
type: z.ZodOptional<z.ZodEnum<["sow", "msa", "nda", "other"]>>;
|
|
716
|
-
client: z.ZodOptional<z.ZodString>;
|
|
717
832
|
project: z.ZodOptional<z.ZodString>;
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
value: z.ZodOptional<z.ZodString>;
|
|
723
|
-
payment_terms: z.ZodOptional<z.ZodString>;
|
|
833
|
+
status: z.ZodDefault<z.ZodEnum<["planned", "in-progress", "delivered", "accepted", "rejected"]>>;
|
|
834
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
835
|
+
delivered_date: z.ZodOptional<z.ZodString>;
|
|
836
|
+
description: z.ZodOptional<z.ZodString>;
|
|
724
837
|
}, z.ZodTypeAny, "passthrough">>;
|
|
725
|
-
export type
|
|
838
|
+
export type Deliverable = z.infer<typeof DeliverableSchema>;
|
|
726
839
|
/**
|
|
727
|
-
*
|
|
840
|
+
* Publication — authored content published externally
|
|
841
|
+
* Subtypes via `type` field: article, social-post, case-study-writeup, talk, podcast, award-submission
|
|
728
842
|
*/
|
|
729
|
-
export declare const
|
|
843
|
+
export declare const PublicationSchema: z.ZodObject<{
|
|
730
844
|
entity_id: z.ZodString;
|
|
731
845
|
created_at: z.ZodString;
|
|
732
846
|
updated_at: z.ZodString;
|
|
733
847
|
created_by: z.ZodString;
|
|
734
848
|
updated_by: z.ZodString;
|
|
735
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
736
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
737
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
738
849
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
739
850
|
} & {
|
|
740
|
-
entity_type: z.ZodLiteral<"
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
750
|
-
reports_to: z.ZodOptional<z.ZodString>;
|
|
751
|
-
department: z.ZodOptional<z.ZodString>;
|
|
851
|
+
entity_type: z.ZodLiteral<"publication">;
|
|
852
|
+
title: z.ZodString;
|
|
853
|
+
type: z.ZodOptional<z.ZodString>;
|
|
854
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
855
|
+
status: z.ZodDefault<z.ZodEnum<["draft", "review", "scheduled", "published"]>>;
|
|
856
|
+
published_date: z.ZodOptional<z.ZodString>;
|
|
857
|
+
url: z.ZodOptional<z.ZodString>;
|
|
858
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
859
|
+
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
752
860
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
753
861
|
entity_id: z.ZodString;
|
|
754
862
|
created_at: z.ZodString;
|
|
755
863
|
updated_at: z.ZodString;
|
|
756
864
|
created_by: z.ZodString;
|
|
757
865
|
updated_by: z.ZodString;
|
|
758
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
759
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
760
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
761
866
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
762
867
|
} & {
|
|
763
|
-
entity_type: z.ZodLiteral<"
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
773
|
-
reports_to: z.ZodOptional<z.ZodString>;
|
|
774
|
-
department: z.ZodOptional<z.ZodString>;
|
|
868
|
+
entity_type: z.ZodLiteral<"publication">;
|
|
869
|
+
title: z.ZodString;
|
|
870
|
+
type: z.ZodOptional<z.ZodString>;
|
|
871
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
872
|
+
status: z.ZodDefault<z.ZodEnum<["draft", "review", "scheduled", "published"]>>;
|
|
873
|
+
published_date: z.ZodOptional<z.ZodString>;
|
|
874
|
+
url: z.ZodOptional<z.ZodString>;
|
|
875
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
876
|
+
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
775
877
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
776
878
|
entity_id: z.ZodString;
|
|
777
879
|
created_at: z.ZodString;
|
|
778
880
|
updated_at: z.ZodString;
|
|
779
881
|
created_by: z.ZodString;
|
|
780
882
|
updated_by: z.ZodString;
|
|
781
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
782
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
783
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
784
883
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
785
884
|
} & {
|
|
786
|
-
entity_type: z.ZodLiteral<"
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
796
|
-
reports_to: z.ZodOptional<z.ZodString>;
|
|
797
|
-
department: z.ZodOptional<z.ZodString>;
|
|
885
|
+
entity_type: z.ZodLiteral<"publication">;
|
|
886
|
+
title: z.ZodString;
|
|
887
|
+
type: z.ZodOptional<z.ZodString>;
|
|
888
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
889
|
+
status: z.ZodDefault<z.ZodEnum<["draft", "review", "scheduled", "published"]>>;
|
|
890
|
+
published_date: z.ZodOptional<z.ZodString>;
|
|
891
|
+
url: z.ZodOptional<z.ZodString>;
|
|
892
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
893
|
+
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
798
894
|
}, z.ZodTypeAny, "passthrough">>;
|
|
799
|
-
export type
|
|
895
|
+
export type Publication = z.infer<typeof PublicationSchema>;
|
|
800
896
|
/**
|
|
801
|
-
*
|
|
897
|
+
* Deal — pre-project opportunity in the sales pipeline
|
|
802
898
|
*/
|
|
803
|
-
export declare const
|
|
899
|
+
export declare const DealSchema: z.ZodObject<{
|
|
804
900
|
entity_id: z.ZodString;
|
|
805
901
|
created_at: z.ZodString;
|
|
806
902
|
updated_at: z.ZodString;
|
|
807
903
|
created_by: z.ZodString;
|
|
808
904
|
updated_by: z.ZodString;
|
|
809
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
810
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
811
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
812
905
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
813
906
|
} & {
|
|
814
|
-
entity_type: z.ZodLiteral<"
|
|
907
|
+
entity_type: z.ZodLiteral<"deal">;
|
|
815
908
|
name: z.ZodString;
|
|
816
|
-
|
|
817
|
-
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "prospect", "former"]>>;
|
|
818
|
-
industry: z.ZodOptional<z.ZodString>;
|
|
819
|
-
website: z.ZodOptional<z.ZodString>;
|
|
820
|
-
location: z.ZodOptional<z.ZodString>;
|
|
821
|
-
size: z.ZodOptional<z.ZodEnum<["small", "medium", "large", "enterprise"]>>;
|
|
822
|
-
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
823
|
-
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
824
|
-
relationship_start: z.ZodOptional<z.ZodString>;
|
|
825
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
826
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
827
|
-
entity_id: z.ZodString;
|
|
828
|
-
created_at: z.ZodString;
|
|
829
|
-
updated_at: z.ZodString;
|
|
830
|
-
created_by: z.ZodString;
|
|
831
|
-
updated_by: z.ZodString;
|
|
832
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
833
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
834
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
835
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
836
|
-
} & {
|
|
837
|
-
entity_type: z.ZodLiteral<"client">;
|
|
838
|
-
name: z.ZodString;
|
|
839
|
-
type: z.ZodOptional<z.ZodEnum<["corporate", "nonprofit", "government", "startup", "agency", "other"]>>;
|
|
840
|
-
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "prospect", "former"]>>;
|
|
841
|
-
industry: z.ZodOptional<z.ZodString>;
|
|
842
|
-
website: z.ZodOptional<z.ZodString>;
|
|
843
|
-
location: z.ZodOptional<z.ZodString>;
|
|
844
|
-
size: z.ZodOptional<z.ZodEnum<["small", "medium", "large", "enterprise"]>>;
|
|
845
|
-
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
846
|
-
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
847
|
-
relationship_start: z.ZodOptional<z.ZodString>;
|
|
848
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
849
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
850
|
-
entity_id: z.ZodString;
|
|
851
|
-
created_at: z.ZodString;
|
|
852
|
-
updated_at: z.ZodString;
|
|
853
|
-
created_by: z.ZodString;
|
|
854
|
-
updated_by: z.ZodString;
|
|
855
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
856
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
857
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
858
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
859
|
-
} & {
|
|
860
|
-
entity_type: z.ZodLiteral<"client">;
|
|
861
|
-
name: z.ZodString;
|
|
862
|
-
type: z.ZodOptional<z.ZodEnum<["corporate", "nonprofit", "government", "startup", "agency", "other"]>>;
|
|
863
|
-
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "prospect", "former"]>>;
|
|
864
|
-
industry: z.ZodOptional<z.ZodString>;
|
|
865
|
-
website: z.ZodOptional<z.ZodString>;
|
|
866
|
-
location: z.ZodOptional<z.ZodString>;
|
|
867
|
-
size: z.ZodOptional<z.ZodEnum<["small", "medium", "large", "enterprise"]>>;
|
|
868
|
-
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
869
|
-
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
870
|
-
relationship_start: z.ZodOptional<z.ZodString>;
|
|
871
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
872
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
873
|
-
export type Client = z.infer<typeof ClientSchema>;
|
|
874
|
-
/**
|
|
875
|
-
* Financial Plan entity - budgets, rates, forecasts
|
|
876
|
-
*/
|
|
877
|
-
export declare const FinancialPlanSchema: z.ZodObject<{
|
|
878
|
-
entity_id: z.ZodString;
|
|
879
|
-
created_at: z.ZodString;
|
|
880
|
-
updated_at: z.ZodString;
|
|
881
|
-
created_by: z.ZodString;
|
|
882
|
-
updated_by: z.ZodString;
|
|
883
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
884
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
885
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
886
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
887
|
-
} & {
|
|
888
|
-
entity_type: z.ZodLiteral<"financial-plan">;
|
|
889
|
-
name: z.ZodString;
|
|
890
|
-
type: z.ZodOptional<z.ZodEnum<["budget", "forecast", "rates", "compensation"]>>;
|
|
891
|
-
period: z.ZodOptional<z.ZodString>;
|
|
892
|
-
project: z.ZodOptional<z.ZodString>;
|
|
893
|
-
amounts: z.ZodOptional<z.ZodString>;
|
|
894
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
895
|
-
entity_id: z.ZodString;
|
|
896
|
-
created_at: z.ZodString;
|
|
897
|
-
updated_at: z.ZodString;
|
|
898
|
-
created_by: z.ZodString;
|
|
899
|
-
updated_by: z.ZodString;
|
|
900
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
901
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
902
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
903
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
904
|
-
} & {
|
|
905
|
-
entity_type: z.ZodLiteral<"financial-plan">;
|
|
906
|
-
name: z.ZodString;
|
|
907
|
-
type: z.ZodOptional<z.ZodEnum<["budget", "forecast", "rates", "compensation"]>>;
|
|
908
|
-
period: z.ZodOptional<z.ZodString>;
|
|
909
|
-
project: z.ZodOptional<z.ZodString>;
|
|
910
|
-
amounts: z.ZodOptional<z.ZodString>;
|
|
911
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
912
|
-
entity_id: z.ZodString;
|
|
913
|
-
created_at: z.ZodString;
|
|
914
|
-
updated_at: z.ZodString;
|
|
915
|
-
created_by: z.ZodString;
|
|
916
|
-
updated_by: z.ZodString;
|
|
917
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
918
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
919
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
920
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
921
|
-
} & {
|
|
922
|
-
entity_type: z.ZodLiteral<"financial-plan">;
|
|
923
|
-
name: z.ZodString;
|
|
924
|
-
type: z.ZodOptional<z.ZodEnum<["budget", "forecast", "rates", "compensation"]>>;
|
|
925
|
-
period: z.ZodOptional<z.ZodString>;
|
|
926
|
-
project: z.ZodOptional<z.ZodString>;
|
|
927
|
-
amounts: z.ZodOptional<z.ZodString>;
|
|
928
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
929
|
-
export type FinancialPlan = z.infer<typeof FinancialPlanSchema>;
|
|
930
|
-
/**
|
|
931
|
-
* Deal entity - pre-project opportunity moving through the sales pipeline
|
|
932
|
-
*
|
|
933
|
-
* Distinct from a project (which is post-signing execution) and from a proposal
|
|
934
|
-
* (which is a document artifact). Multiple proposals can belong to one deal.
|
|
935
|
-
* When a deal is won, a project is created and linked via project.deal.
|
|
936
|
-
*/
|
|
937
|
-
export declare const DealSchema: z.ZodObject<{
|
|
938
|
-
entity_id: z.ZodString;
|
|
939
|
-
created_at: z.ZodString;
|
|
940
|
-
updated_at: z.ZodString;
|
|
941
|
-
created_by: z.ZodString;
|
|
942
|
-
updated_by: z.ZodString;
|
|
943
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
944
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
945
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
946
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
947
|
-
} & {
|
|
948
|
-
entity_type: z.ZodLiteral<"deal">;
|
|
949
|
-
name: z.ZodString;
|
|
950
|
-
client: z.ZodOptional<z.ZodString>;
|
|
909
|
+
client: z.ZodOptional<z.ZodString>;
|
|
951
910
|
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
952
911
|
stage: z.ZodDefault<z.ZodEnum<["scoping", "proposal", "negotiating", "won", "lost"]>>;
|
|
953
912
|
deal_value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -963,9 +922,6 @@ export declare const DealSchema: z.ZodObject<{
|
|
|
963
922
|
updated_at: z.ZodString;
|
|
964
923
|
created_by: z.ZodString;
|
|
965
924
|
updated_by: z.ZodString;
|
|
966
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
967
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
968
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
969
925
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
970
926
|
} & {
|
|
971
927
|
entity_type: z.ZodLiteral<"deal">;
|
|
@@ -986,9 +942,6 @@ export declare const DealSchema: z.ZodObject<{
|
|
|
986
942
|
updated_at: z.ZodString;
|
|
987
943
|
created_by: z.ZodString;
|
|
988
944
|
updated_by: z.ZodString;
|
|
989
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
990
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
991
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
992
945
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
993
946
|
} & {
|
|
994
947
|
entity_type: z.ZodLiteral<"deal">;
|
|
@@ -1006,200 +959,7 @@ export declare const DealSchema: z.ZodObject<{
|
|
|
1006
959
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1007
960
|
export type Deal = z.infer<typeof DealSchema>;
|
|
1008
961
|
/**
|
|
1009
|
-
*
|
|
1010
|
-
*/
|
|
1011
|
-
export declare const VendorSchema: z.ZodObject<{
|
|
1012
|
-
entity_id: z.ZodString;
|
|
1013
|
-
created_at: z.ZodString;
|
|
1014
|
-
updated_at: z.ZodString;
|
|
1015
|
-
created_by: z.ZodString;
|
|
1016
|
-
updated_by: z.ZodString;
|
|
1017
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1018
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1019
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1020
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1021
|
-
} & {
|
|
1022
|
-
entity_type: z.ZodLiteral<"vendor">;
|
|
1023
|
-
name: z.ZodString;
|
|
1024
|
-
type: z.ZodOptional<z.ZodEnum<["freelancer", "agency", "supplier", "platform", "partner", "other"]>>;
|
|
1025
|
-
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "preferred"]>>;
|
|
1026
|
-
contact_name: z.ZodOptional<z.ZodString>;
|
|
1027
|
-
email: z.ZodOptional<z.ZodString>;
|
|
1028
|
-
website: z.ZodOptional<z.ZodString>;
|
|
1029
|
-
services: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1030
|
-
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1031
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
1032
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1033
|
-
entity_id: z.ZodString;
|
|
1034
|
-
created_at: z.ZodString;
|
|
1035
|
-
updated_at: z.ZodString;
|
|
1036
|
-
created_by: z.ZodString;
|
|
1037
|
-
updated_by: z.ZodString;
|
|
1038
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1039
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1040
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1041
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1042
|
-
} & {
|
|
1043
|
-
entity_type: z.ZodLiteral<"vendor">;
|
|
1044
|
-
name: z.ZodString;
|
|
1045
|
-
type: z.ZodOptional<z.ZodEnum<["freelancer", "agency", "supplier", "platform", "partner", "other"]>>;
|
|
1046
|
-
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "preferred"]>>;
|
|
1047
|
-
contact_name: z.ZodOptional<z.ZodString>;
|
|
1048
|
-
email: z.ZodOptional<z.ZodString>;
|
|
1049
|
-
website: z.ZodOptional<z.ZodString>;
|
|
1050
|
-
services: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1051
|
-
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1052
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
1053
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1054
|
-
entity_id: z.ZodString;
|
|
1055
|
-
created_at: z.ZodString;
|
|
1056
|
-
updated_at: z.ZodString;
|
|
1057
|
-
created_by: z.ZodString;
|
|
1058
|
-
updated_by: z.ZodString;
|
|
1059
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1060
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1061
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1062
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1063
|
-
} & {
|
|
1064
|
-
entity_type: z.ZodLiteral<"vendor">;
|
|
1065
|
-
name: z.ZodString;
|
|
1066
|
-
type: z.ZodOptional<z.ZodEnum<["freelancer", "agency", "supplier", "platform", "partner", "other"]>>;
|
|
1067
|
-
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "preferred"]>>;
|
|
1068
|
-
contact_name: z.ZodOptional<z.ZodString>;
|
|
1069
|
-
email: z.ZodOptional<z.ZodString>;
|
|
1070
|
-
website: z.ZodOptional<z.ZodString>;
|
|
1071
|
-
services: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1072
|
-
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1073
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
1074
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1075
|
-
export type Vendor = z.infer<typeof VendorSchema>;
|
|
1076
|
-
/**
|
|
1077
|
-
* Role entity - generalized role definitions from the firm's leveling framework
|
|
1078
|
-
*
|
|
1079
|
-
* Body markdown holds: Role Overview, Key Responsibilities,
|
|
1080
|
-
* Leveling Criteria (pillars), Required Skills.
|
|
1081
|
-
*/
|
|
1082
|
-
export declare const RoleSchema: z.ZodObject<{
|
|
1083
|
-
entity_id: z.ZodString;
|
|
1084
|
-
created_at: z.ZodString;
|
|
1085
|
-
updated_at: z.ZodString;
|
|
1086
|
-
created_by: z.ZodString;
|
|
1087
|
-
updated_by: z.ZodString;
|
|
1088
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1089
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1090
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1091
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1092
|
-
} & {
|
|
1093
|
-
entity_type: z.ZodLiteral<"role">;
|
|
1094
|
-
title: z.ZodString;
|
|
1095
|
-
department: z.ZodOptional<z.ZodString>;
|
|
1096
|
-
level: z.ZodOptional<z.ZodNumber>;
|
|
1097
|
-
type: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
1098
|
-
status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
|
|
1099
|
-
location: z.ZodOptional<z.ZodString>;
|
|
1100
|
-
reports_to: z.ZodOptional<z.ZodString>;
|
|
1101
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1102
|
-
entity_id: z.ZodString;
|
|
1103
|
-
created_at: z.ZodString;
|
|
1104
|
-
updated_at: z.ZodString;
|
|
1105
|
-
created_by: z.ZodString;
|
|
1106
|
-
updated_by: z.ZodString;
|
|
1107
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1108
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1109
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1110
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1111
|
-
} & {
|
|
1112
|
-
entity_type: z.ZodLiteral<"role">;
|
|
1113
|
-
title: z.ZodString;
|
|
1114
|
-
department: z.ZodOptional<z.ZodString>;
|
|
1115
|
-
level: z.ZodOptional<z.ZodNumber>;
|
|
1116
|
-
type: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
1117
|
-
status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
|
|
1118
|
-
location: z.ZodOptional<z.ZodString>;
|
|
1119
|
-
reports_to: z.ZodOptional<z.ZodString>;
|
|
1120
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1121
|
-
entity_id: z.ZodString;
|
|
1122
|
-
created_at: z.ZodString;
|
|
1123
|
-
updated_at: z.ZodString;
|
|
1124
|
-
created_by: z.ZodString;
|
|
1125
|
-
updated_by: z.ZodString;
|
|
1126
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1127
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1128
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1129
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1130
|
-
} & {
|
|
1131
|
-
entity_type: z.ZodLiteral<"role">;
|
|
1132
|
-
title: z.ZodString;
|
|
1133
|
-
department: z.ZodOptional<z.ZodString>;
|
|
1134
|
-
level: z.ZodOptional<z.ZodNumber>;
|
|
1135
|
-
type: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
1136
|
-
status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
|
|
1137
|
-
location: z.ZodOptional<z.ZodString>;
|
|
1138
|
-
reports_to: z.ZodOptional<z.ZodString>;
|
|
1139
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1140
|
-
export type Role = z.infer<typeof RoleSchema>;
|
|
1141
|
-
/**
|
|
1142
|
-
* SHARED RESOURCE REPO ENTITIES
|
|
1143
|
-
* Used in shared knowledge repositories
|
|
1144
|
-
*/
|
|
1145
|
-
/**
|
|
1146
|
-
* Template entity - document templates and boilerplates
|
|
1147
|
-
*/
|
|
1148
|
-
export declare const TemplateSchema: z.ZodObject<{
|
|
1149
|
-
entity_id: z.ZodString;
|
|
1150
|
-
created_at: z.ZodString;
|
|
1151
|
-
updated_at: z.ZodString;
|
|
1152
|
-
created_by: z.ZodString;
|
|
1153
|
-
updated_by: z.ZodString;
|
|
1154
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1155
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1156
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1157
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1158
|
-
} & {
|
|
1159
|
-
entity_type: z.ZodLiteral<"template">;
|
|
1160
|
-
name: z.ZodString;
|
|
1161
|
-
category: z.ZodOptional<z.ZodString>;
|
|
1162
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1163
|
-
template_content: z.ZodOptional<z.ZodString>;
|
|
1164
|
-
variables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1165
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1166
|
-
entity_id: z.ZodString;
|
|
1167
|
-
created_at: z.ZodString;
|
|
1168
|
-
updated_at: z.ZodString;
|
|
1169
|
-
created_by: z.ZodString;
|
|
1170
|
-
updated_by: z.ZodString;
|
|
1171
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1172
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1173
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1174
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1175
|
-
} & {
|
|
1176
|
-
entity_type: z.ZodLiteral<"template">;
|
|
1177
|
-
name: z.ZodString;
|
|
1178
|
-
category: z.ZodOptional<z.ZodString>;
|
|
1179
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1180
|
-
template_content: z.ZodOptional<z.ZodString>;
|
|
1181
|
-
variables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1182
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1183
|
-
entity_id: z.ZodString;
|
|
1184
|
-
created_at: z.ZodString;
|
|
1185
|
-
updated_at: z.ZodString;
|
|
1186
|
-
created_by: z.ZodString;
|
|
1187
|
-
updated_by: z.ZodString;
|
|
1188
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1189
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1190
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1191
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1192
|
-
} & {
|
|
1193
|
-
entity_type: z.ZodLiteral<"template">;
|
|
1194
|
-
name: z.ZodString;
|
|
1195
|
-
category: z.ZodOptional<z.ZodString>;
|
|
1196
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1197
|
-
template_content: z.ZodOptional<z.ZodString>;
|
|
1198
|
-
variables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1199
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1200
|
-
export type Template = z.infer<typeof TemplateSchema>;
|
|
1201
|
-
/**
|
|
1202
|
-
* Process entity - workflows and methodologies
|
|
962
|
+
* Process — workflows, SOPs, and methodologies
|
|
1203
963
|
*/
|
|
1204
964
|
export declare const ProcessSchema: z.ZodObject<{
|
|
1205
965
|
entity_id: z.ZodString;
|
|
@@ -1207,9 +967,6 @@ export declare const ProcessSchema: z.ZodObject<{
|
|
|
1207
967
|
updated_at: z.ZodString;
|
|
1208
968
|
created_by: z.ZodString;
|
|
1209
969
|
updated_by: z.ZodString;
|
|
1210
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1211
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1212
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1213
970
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1214
971
|
} & {
|
|
1215
972
|
entity_type: z.ZodLiteral<"process">;
|
|
@@ -1217,7 +974,6 @@ export declare const ProcessSchema: z.ZodObject<{
|
|
|
1217
974
|
description: z.ZodOptional<z.ZodString>;
|
|
1218
975
|
steps: z.ZodOptional<z.ZodString>;
|
|
1219
976
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1220
|
-
related_templates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1221
977
|
owner: z.ZodOptional<z.ZodString>;
|
|
1222
978
|
review_cycle: z.ZodOptional<z.ZodEnum<["monthly", "quarterly", "annual", "as-needed"]>>;
|
|
1223
979
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1226,9 +982,6 @@ export declare const ProcessSchema: z.ZodObject<{
|
|
|
1226
982
|
updated_at: z.ZodString;
|
|
1227
983
|
created_by: z.ZodString;
|
|
1228
984
|
updated_by: z.ZodString;
|
|
1229
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1230
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1231
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1232
985
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1233
986
|
} & {
|
|
1234
987
|
entity_type: z.ZodLiteral<"process">;
|
|
@@ -1236,7 +989,6 @@ export declare const ProcessSchema: z.ZodObject<{
|
|
|
1236
989
|
description: z.ZodOptional<z.ZodString>;
|
|
1237
990
|
steps: z.ZodOptional<z.ZodString>;
|
|
1238
991
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1239
|
-
related_templates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1240
992
|
owner: z.ZodOptional<z.ZodString>;
|
|
1241
993
|
review_cycle: z.ZodOptional<z.ZodEnum<["monthly", "quarterly", "annual", "as-needed"]>>;
|
|
1242
994
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1245,9 +997,6 @@ export declare const ProcessSchema: z.ZodObject<{
|
|
|
1245
997
|
updated_at: z.ZodString;
|
|
1246
998
|
created_by: z.ZodString;
|
|
1247
999
|
updated_by: z.ZodString;
|
|
1248
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1249
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1250
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1251
1000
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1252
1001
|
} & {
|
|
1253
1002
|
entity_type: z.ZodLiteral<"process">;
|
|
@@ -1255,13 +1004,12 @@ export declare const ProcessSchema: z.ZodObject<{
|
|
|
1255
1004
|
description: z.ZodOptional<z.ZodString>;
|
|
1256
1005
|
steps: z.ZodOptional<z.ZodString>;
|
|
1257
1006
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1258
|
-
related_templates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1259
1007
|
owner: z.ZodOptional<z.ZodString>;
|
|
1260
1008
|
review_cycle: z.ZodOptional<z.ZodEnum<["monthly", "quarterly", "annual", "as-needed"]>>;
|
|
1261
1009
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1262
1010
|
export type Process = z.infer<typeof ProcessSchema>;
|
|
1263
1011
|
/**
|
|
1264
|
-
* Standard
|
|
1012
|
+
* Standard — guidelines and best practices
|
|
1265
1013
|
*/
|
|
1266
1014
|
export declare const StandardSchema: z.ZodObject<{
|
|
1267
1015
|
entity_id: z.ZodString;
|
|
@@ -1269,9 +1017,6 @@ export declare const StandardSchema: z.ZodObject<{
|
|
|
1269
1017
|
updated_at: z.ZodString;
|
|
1270
1018
|
created_by: z.ZodString;
|
|
1271
1019
|
updated_by: z.ZodString;
|
|
1272
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1273
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1274
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1275
1020
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1276
1021
|
} & {
|
|
1277
1022
|
entity_type: z.ZodLiteral<"standard">;
|
|
@@ -1286,9 +1031,6 @@ export declare const StandardSchema: z.ZodObject<{
|
|
|
1286
1031
|
updated_at: z.ZodString;
|
|
1287
1032
|
created_by: z.ZodString;
|
|
1288
1033
|
updated_by: z.ZodString;
|
|
1289
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1290
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1291
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1292
1034
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1293
1035
|
} & {
|
|
1294
1036
|
entity_type: z.ZodLiteral<"standard">;
|
|
@@ -1303,9 +1045,6 @@ export declare const StandardSchema: z.ZodObject<{
|
|
|
1303
1045
|
updated_at: z.ZodString;
|
|
1304
1046
|
created_by: z.ZodString;
|
|
1305
1047
|
updated_by: z.ZodString;
|
|
1306
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1307
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1308
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1309
1048
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1310
1049
|
} & {
|
|
1311
1050
|
entity_type: z.ZodLiteral<"standard">;
|
|
@@ -1317,28 +1056,23 @@ export declare const StandardSchema: z.ZodObject<{
|
|
|
1317
1056
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1318
1057
|
export type Standard = z.infer<typeof StandardSchema>;
|
|
1319
1058
|
/**
|
|
1320
|
-
*
|
|
1059
|
+
* Case Study — portfolio narratives for completed projects
|
|
1321
1060
|
*/
|
|
1322
|
-
export declare const
|
|
1061
|
+
export declare const CaseStudySchema: z.ZodObject<{
|
|
1323
1062
|
entity_id: z.ZodString;
|
|
1324
1063
|
created_at: z.ZodString;
|
|
1325
1064
|
updated_at: z.ZodString;
|
|
1326
1065
|
created_by: z.ZodString;
|
|
1327
1066
|
updated_by: z.ZodString;
|
|
1328
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1329
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1330
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1331
1067
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1332
1068
|
} & {
|
|
1333
|
-
entity_type: z.ZodLiteral<"
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
related_people: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1341
|
-
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1069
|
+
entity_type: z.ZodLiteral<"case-study">;
|
|
1070
|
+
title: z.ZodString;
|
|
1071
|
+
client: z.ZodOptional<z.ZodString>;
|
|
1072
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
1073
|
+
practice_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1074
|
+
sectors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1075
|
+
website_url: z.ZodOptional<z.ZodString>;
|
|
1342
1076
|
description: z.ZodOptional<z.ZodString>;
|
|
1343
1077
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1344
1078
|
entity_id: z.ZodString;
|
|
@@ -1346,20 +1080,15 @@ export declare const ReferenceSchema: z.ZodObject<{
|
|
|
1346
1080
|
updated_at: z.ZodString;
|
|
1347
1081
|
created_by: z.ZodString;
|
|
1348
1082
|
updated_by: z.ZodString;
|
|
1349
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1350
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1351
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1352
1083
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1353
1084
|
} & {
|
|
1354
|
-
entity_type: z.ZodLiteral<"
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
related_people: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1362
|
-
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1085
|
+
entity_type: z.ZodLiteral<"case-study">;
|
|
1086
|
+
title: z.ZodString;
|
|
1087
|
+
client: z.ZodOptional<z.ZodString>;
|
|
1088
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
1089
|
+
practice_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1090
|
+
sectors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1091
|
+
website_url: z.ZodOptional<z.ZodString>;
|
|
1363
1092
|
description: z.ZodOptional<z.ZodString>;
|
|
1364
1093
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1365
1094
|
entity_id: z.ZodString;
|
|
@@ -1367,1575 +1096,709 @@ export declare const ReferenceSchema: z.ZodObject<{
|
|
|
1367
1096
|
updated_at: z.ZodString;
|
|
1368
1097
|
created_by: z.ZodString;
|
|
1369
1098
|
updated_by: z.ZodString;
|
|
1370
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1371
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1372
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1373
1099
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1374
1100
|
} & {
|
|
1375
|
-
entity_type: z.ZodLiteral<"
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
related_people: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1383
|
-
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1101
|
+
entity_type: z.ZodLiteral<"case-study">;
|
|
1102
|
+
title: z.ZodString;
|
|
1103
|
+
client: z.ZodOptional<z.ZodString>;
|
|
1104
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
1105
|
+
practice_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1106
|
+
sectors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1107
|
+
website_url: z.ZodOptional<z.ZodString>;
|
|
1384
1108
|
description: z.ZodOptional<z.ZodString>;
|
|
1385
1109
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1386
|
-
export type
|
|
1110
|
+
export type CaseStudy = z.infer<typeof CaseStudySchema>;
|
|
1387
1111
|
/**
|
|
1388
|
-
*
|
|
1112
|
+
* Maps entity types to their Zod schemas.
|
|
1113
|
+
* 17 built-in types. App plugins register additional types at runtime via SchemaRegistry.
|
|
1389
1114
|
*/
|
|
1390
|
-
export declare const
|
|
1391
|
-
|
|
1392
|
-
created_at: z.ZodString;
|
|
1393
|
-
updated_at: z.ZodString;
|
|
1394
|
-
created_by: z.ZodString;
|
|
1395
|
-
updated_by: z.ZodString;
|
|
1396
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1397
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1398
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1399
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1400
|
-
} & {
|
|
1401
|
-
entity_type: z.ZodLiteral<"technique">;
|
|
1402
|
-
name: z.ZodString;
|
|
1403
|
-
category: z.ZodOptional<z.ZodString>;
|
|
1404
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1405
|
-
difficulty: z.ZodOptional<z.ZodEnum<["beginner", "intermediate", "advanced"]>>;
|
|
1406
|
-
related_frameworks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1407
|
-
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1408
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1409
|
-
entity_id: z.ZodString;
|
|
1410
|
-
created_at: z.ZodString;
|
|
1411
|
-
updated_at: z.ZodString;
|
|
1412
|
-
created_by: z.ZodString;
|
|
1413
|
-
updated_by: z.ZodString;
|
|
1414
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1415
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1416
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1417
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1418
|
-
} & {
|
|
1419
|
-
entity_type: z.ZodLiteral<"technique">;
|
|
1420
|
-
name: z.ZodString;
|
|
1421
|
-
category: z.ZodOptional<z.ZodString>;
|
|
1422
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1423
|
-
difficulty: z.ZodOptional<z.ZodEnum<["beginner", "intermediate", "advanced"]>>;
|
|
1424
|
-
related_frameworks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1425
|
-
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1426
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1427
|
-
entity_id: z.ZodString;
|
|
1428
|
-
created_at: z.ZodString;
|
|
1429
|
-
updated_at: z.ZodString;
|
|
1430
|
-
created_by: z.ZodString;
|
|
1431
|
-
updated_by: z.ZodString;
|
|
1432
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1433
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1434
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1435
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1436
|
-
} & {
|
|
1437
|
-
entity_type: z.ZodLiteral<"technique">;
|
|
1438
|
-
name: z.ZodString;
|
|
1439
|
-
category: z.ZodOptional<z.ZodString>;
|
|
1440
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1441
|
-
difficulty: z.ZodOptional<z.ZodEnum<["beginner", "intermediate", "advanced"]>>;
|
|
1442
|
-
related_frameworks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1443
|
-
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1444
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1445
|
-
export type Technique = z.infer<typeof TechniqueSchema>;
|
|
1446
|
-
/**
|
|
1447
|
-
* Practice Area entity - firm capabilities and disciplines
|
|
1448
|
-
*/
|
|
1449
|
-
export declare const PracticeAreaSchema: z.ZodObject<{
|
|
1450
|
-
entity_id: z.ZodString;
|
|
1451
|
-
created_at: z.ZodString;
|
|
1452
|
-
updated_at: z.ZodString;
|
|
1453
|
-
created_by: z.ZodString;
|
|
1454
|
-
updated_by: z.ZodString;
|
|
1455
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1456
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1457
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1458
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1459
|
-
} & {
|
|
1460
|
-
entity_type: z.ZodLiteral<"practice-area">;
|
|
1461
|
-
name: z.ZodString;
|
|
1462
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1463
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1464
|
-
related_case_studies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1465
|
-
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1466
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1467
|
-
entity_id: z.ZodString;
|
|
1468
|
-
created_at: z.ZodString;
|
|
1469
|
-
updated_at: z.ZodString;
|
|
1470
|
-
created_by: z.ZodString;
|
|
1471
|
-
updated_by: z.ZodString;
|
|
1472
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1473
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1474
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1475
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1476
|
-
} & {
|
|
1477
|
-
entity_type: z.ZodLiteral<"practice-area">;
|
|
1478
|
-
name: z.ZodString;
|
|
1479
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1480
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1481
|
-
related_case_studies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1482
|
-
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1483
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1484
|
-
entity_id: z.ZodString;
|
|
1485
|
-
created_at: z.ZodString;
|
|
1486
|
-
updated_at: z.ZodString;
|
|
1487
|
-
created_by: z.ZodString;
|
|
1488
|
-
updated_by: z.ZodString;
|
|
1489
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1490
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1491
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1492
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1493
|
-
} & {
|
|
1494
|
-
entity_type: z.ZodLiteral<"practice-area">;
|
|
1495
|
-
name: z.ZodString;
|
|
1496
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1497
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1498
|
-
related_case_studies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1499
|
-
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1500
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1501
|
-
export type PracticeArea = z.infer<typeof PracticeAreaSchema>;
|
|
1502
|
-
/**
|
|
1503
|
-
* Case Study entity - portfolio narratives for completed projects
|
|
1504
|
-
*
|
|
1505
|
-
* Body markdown holds: Objective, Solution, Outcome, Team, Press, Awards.
|
|
1506
|
-
*/
|
|
1507
|
-
export declare const CaseStudySchema: z.ZodObject<{
|
|
1508
|
-
entity_id: z.ZodString;
|
|
1509
|
-
created_at: z.ZodString;
|
|
1510
|
-
updated_at: z.ZodString;
|
|
1511
|
-
created_by: z.ZodString;
|
|
1512
|
-
updated_by: z.ZodString;
|
|
1513
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1514
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1515
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1516
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1517
|
-
} & {
|
|
1518
|
-
entity_type: z.ZodLiteral<"case-study">;
|
|
1519
|
-
title: z.ZodString;
|
|
1520
|
-
client: z.ZodOptional<z.ZodString>;
|
|
1521
|
-
year: z.ZodOptional<z.ZodNumber>;
|
|
1522
|
-
practice_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1523
|
-
sectors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1524
|
-
website_url: z.ZodOptional<z.ZodString>;
|
|
1525
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1526
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1527
|
-
entity_id: z.ZodString;
|
|
1528
|
-
created_at: z.ZodString;
|
|
1529
|
-
updated_at: z.ZodString;
|
|
1530
|
-
created_by: z.ZodString;
|
|
1531
|
-
updated_by: z.ZodString;
|
|
1532
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1533
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1534
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1535
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1536
|
-
} & {
|
|
1537
|
-
entity_type: z.ZodLiteral<"case-study">;
|
|
1538
|
-
title: z.ZodString;
|
|
1539
|
-
client: z.ZodOptional<z.ZodString>;
|
|
1540
|
-
year: z.ZodOptional<z.ZodNumber>;
|
|
1541
|
-
practice_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1542
|
-
sectors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1543
|
-
website_url: z.ZodOptional<z.ZodString>;
|
|
1544
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1545
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1546
|
-
entity_id: z.ZodString;
|
|
1547
|
-
created_at: z.ZodString;
|
|
1548
|
-
updated_at: z.ZodString;
|
|
1549
|
-
created_by: z.ZodString;
|
|
1550
|
-
updated_by: z.ZodString;
|
|
1551
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1552
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1553
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1554
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1555
|
-
} & {
|
|
1556
|
-
entity_type: z.ZodLiteral<"case-study">;
|
|
1557
|
-
title: z.ZodString;
|
|
1558
|
-
client: z.ZodOptional<z.ZodString>;
|
|
1559
|
-
year: z.ZodOptional<z.ZodNumber>;
|
|
1560
|
-
practice_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1561
|
-
sectors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1562
|
-
website_url: z.ZodOptional<z.ZodString>;
|
|
1563
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1564
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1565
|
-
export type CaseStudy = z.infer<typeof CaseStudySchema>;
|
|
1566
|
-
/**
|
|
1567
|
-
* Dataset entity - structured tabular data with CSV body
|
|
1568
|
-
*/
|
|
1569
|
-
export declare const ColumnDefinitionSchema: z.ZodObject<{
|
|
1570
|
-
name: z.ZodString;
|
|
1571
|
-
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
1572
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
1573
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1574
|
-
}, "strip", z.ZodTypeAny, {
|
|
1575
|
-
name: string;
|
|
1576
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1577
|
-
description?: string | undefined;
|
|
1578
|
-
required?: boolean | undefined;
|
|
1579
|
-
}, {
|
|
1580
|
-
name: string;
|
|
1581
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1582
|
-
description?: string | undefined;
|
|
1583
|
-
required?: boolean | undefined;
|
|
1584
|
-
}>;
|
|
1585
|
-
export type ColumnDefinition = z.infer<typeof ColumnDefinitionSchema>;
|
|
1586
|
-
export declare const DatasetSchema: z.ZodObject<{
|
|
1587
|
-
entity_id: z.ZodString;
|
|
1588
|
-
created_at: z.ZodString;
|
|
1589
|
-
updated_at: z.ZodString;
|
|
1590
|
-
created_by: z.ZodString;
|
|
1591
|
-
updated_by: z.ZodString;
|
|
1592
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1593
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1594
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1595
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1596
|
-
} & {
|
|
1597
|
-
entity_type: z.ZodLiteral<"dataset">;
|
|
1598
|
-
name: z.ZodString;
|
|
1599
|
-
schema: z.ZodArray<z.ZodObject<{
|
|
1600
|
-
name: z.ZodString;
|
|
1601
|
-
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
1602
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
1603
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1604
|
-
}, "strip", z.ZodTypeAny, {
|
|
1605
|
-
name: string;
|
|
1606
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1607
|
-
description?: string | undefined;
|
|
1608
|
-
required?: boolean | undefined;
|
|
1609
|
-
}, {
|
|
1610
|
-
name: string;
|
|
1611
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1612
|
-
description?: string | undefined;
|
|
1613
|
-
required?: boolean | undefined;
|
|
1614
|
-
}>, "many">;
|
|
1615
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1616
|
-
entity_id: z.ZodString;
|
|
1617
|
-
created_at: z.ZodString;
|
|
1618
|
-
updated_at: z.ZodString;
|
|
1619
|
-
created_by: z.ZodString;
|
|
1620
|
-
updated_by: z.ZodString;
|
|
1621
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1622
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1623
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1624
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1625
|
-
} & {
|
|
1626
|
-
entity_type: z.ZodLiteral<"dataset">;
|
|
1627
|
-
name: z.ZodString;
|
|
1628
|
-
schema: z.ZodArray<z.ZodObject<{
|
|
1629
|
-
name: z.ZodString;
|
|
1630
|
-
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
1631
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
1632
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1633
|
-
}, "strip", z.ZodTypeAny, {
|
|
1634
|
-
name: string;
|
|
1635
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1636
|
-
description?: string | undefined;
|
|
1637
|
-
required?: boolean | undefined;
|
|
1638
|
-
}, {
|
|
1639
|
-
name: string;
|
|
1640
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1641
|
-
description?: string | undefined;
|
|
1642
|
-
required?: boolean | undefined;
|
|
1643
|
-
}>, "many">;
|
|
1644
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1645
|
-
entity_id: z.ZodString;
|
|
1646
|
-
created_at: z.ZodString;
|
|
1647
|
-
updated_at: z.ZodString;
|
|
1648
|
-
created_by: z.ZodString;
|
|
1649
|
-
updated_by: z.ZodString;
|
|
1650
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1651
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1652
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1653
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1654
|
-
} & {
|
|
1655
|
-
entity_type: z.ZodLiteral<"dataset">;
|
|
1656
|
-
name: z.ZodString;
|
|
1657
|
-
schema: z.ZodArray<z.ZodObject<{
|
|
1658
|
-
name: z.ZodString;
|
|
1659
|
-
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
1660
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
1661
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1662
|
-
}, "strip", z.ZodTypeAny, {
|
|
1663
|
-
name: string;
|
|
1664
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1665
|
-
description?: string | undefined;
|
|
1666
|
-
required?: boolean | undefined;
|
|
1667
|
-
}, {
|
|
1668
|
-
name: string;
|
|
1669
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1670
|
-
description?: string | undefined;
|
|
1671
|
-
required?: boolean | undefined;
|
|
1672
|
-
}>, "many">;
|
|
1673
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1674
|
-
export type Dataset = z.infer<typeof DatasetSchema>;
|
|
1675
|
-
export type DatasetRow = Record<string, string | number | boolean | null>;
|
|
1676
|
-
/**
|
|
1677
|
-
* Deck — presentation deck managed by the Schema Slides app plugin.
|
|
1678
|
-
* The document body is the full slide markdown (HTML comment directives + slide content).
|
|
1679
|
-
*/
|
|
1680
|
-
export declare const DeckSchema: z.ZodObject<{
|
|
1681
|
-
entity_id: z.ZodString;
|
|
1682
|
-
created_at: z.ZodString;
|
|
1683
|
-
updated_at: z.ZodString;
|
|
1684
|
-
created_by: z.ZodString;
|
|
1685
|
-
updated_by: z.ZodString;
|
|
1686
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1687
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1688
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1689
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1690
|
-
} & {
|
|
1691
|
-
entity_type: z.ZodLiteral<"deck">;
|
|
1692
|
-
title: z.ZodString;
|
|
1693
|
-
client: z.ZodOptional<z.ZodString>;
|
|
1694
|
-
date: z.ZodString;
|
|
1695
|
-
phase: z.ZodOptional<z.ZodString>;
|
|
1696
|
-
theme: z.ZodDefault<z.ZodEnum<["dark", "light"]>>;
|
|
1697
|
-
status: z.ZodDefault<z.ZodEnum<["draft", "review", "approved"]>>;
|
|
1698
|
-
related_project: z.ZodOptional<z.ZodString>;
|
|
1699
|
-
related_client: z.ZodOptional<z.ZodString>;
|
|
1700
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1701
|
-
entity_id: z.ZodString;
|
|
1702
|
-
created_at: z.ZodString;
|
|
1703
|
-
updated_at: z.ZodString;
|
|
1704
|
-
created_by: z.ZodString;
|
|
1705
|
-
updated_by: z.ZodString;
|
|
1706
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1707
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1708
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1709
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1710
|
-
} & {
|
|
1711
|
-
entity_type: z.ZodLiteral<"deck">;
|
|
1712
|
-
title: z.ZodString;
|
|
1713
|
-
client: z.ZodOptional<z.ZodString>;
|
|
1714
|
-
date: z.ZodString;
|
|
1715
|
-
phase: z.ZodOptional<z.ZodString>;
|
|
1716
|
-
theme: z.ZodDefault<z.ZodEnum<["dark", "light"]>>;
|
|
1717
|
-
status: z.ZodDefault<z.ZodEnum<["draft", "review", "approved"]>>;
|
|
1718
|
-
related_project: z.ZodOptional<z.ZodString>;
|
|
1719
|
-
related_client: z.ZodOptional<z.ZodString>;
|
|
1720
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1721
|
-
entity_id: z.ZodString;
|
|
1722
|
-
created_at: z.ZodString;
|
|
1723
|
-
updated_at: z.ZodString;
|
|
1724
|
-
created_by: z.ZodString;
|
|
1725
|
-
updated_by: z.ZodString;
|
|
1726
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1727
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1728
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1729
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1730
|
-
} & {
|
|
1731
|
-
entity_type: z.ZodLiteral<"deck">;
|
|
1732
|
-
title: z.ZodString;
|
|
1733
|
-
client: z.ZodOptional<z.ZodString>;
|
|
1734
|
-
date: z.ZodString;
|
|
1735
|
-
phase: z.ZodOptional<z.ZodString>;
|
|
1736
|
-
theme: z.ZodDefault<z.ZodEnum<["dark", "light"]>>;
|
|
1737
|
-
status: z.ZodDefault<z.ZodEnum<["draft", "review", "approved"]>>;
|
|
1738
|
-
related_project: z.ZodOptional<z.ZodString>;
|
|
1739
|
-
related_client: z.ZodOptional<z.ZodString>;
|
|
1740
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1741
|
-
export type Deck = z.infer<typeof DeckSchema>;
|
|
1742
|
-
/**
|
|
1743
|
-
* Schema registry - maps entity types to their schemas
|
|
1744
|
-
*/
|
|
1745
|
-
export declare const ENTITY_SCHEMAS: {
|
|
1746
|
-
readonly project: z.ZodObject<{
|
|
1747
|
-
entity_id: z.ZodString;
|
|
1748
|
-
created_at: z.ZodString;
|
|
1749
|
-
updated_at: z.ZodString;
|
|
1750
|
-
created_by: z.ZodString;
|
|
1751
|
-
updated_by: z.ZodString;
|
|
1752
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1753
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1754
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1755
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1756
|
-
} & {
|
|
1757
|
-
entity_type: z.ZodLiteral<"project">;
|
|
1758
|
-
name: z.ZodString;
|
|
1759
|
-
client: z.ZodOptional<z.ZodString>;
|
|
1760
|
-
website_url: z.ZodOptional<z.ZodString>;
|
|
1761
|
-
start_date: z.ZodOptional<z.ZodString>;
|
|
1762
|
-
end_date: z.ZodOptional<z.ZodString>;
|
|
1763
|
-
target_completion: z.ZodOptional<z.ZodString>;
|
|
1764
|
-
year_released: z.ZodOptional<z.ZodNumber>;
|
|
1765
|
-
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
1766
|
-
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1767
|
-
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1768
|
-
team: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1769
|
-
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1770
|
-
deal: z.ZodOptional<z.ZodString>;
|
|
1771
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1772
|
-
entity_id: z.ZodString;
|
|
1773
|
-
created_at: z.ZodString;
|
|
1774
|
-
updated_at: z.ZodString;
|
|
1775
|
-
created_by: z.ZodString;
|
|
1776
|
-
updated_by: z.ZodString;
|
|
1777
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1778
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1779
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1780
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1781
|
-
} & {
|
|
1782
|
-
entity_type: z.ZodLiteral<"project">;
|
|
1783
|
-
name: z.ZodString;
|
|
1784
|
-
client: z.ZodOptional<z.ZodString>;
|
|
1785
|
-
website_url: z.ZodOptional<z.ZodString>;
|
|
1786
|
-
start_date: z.ZodOptional<z.ZodString>;
|
|
1787
|
-
end_date: z.ZodOptional<z.ZodString>;
|
|
1788
|
-
target_completion: z.ZodOptional<z.ZodString>;
|
|
1789
|
-
year_released: z.ZodOptional<z.ZodNumber>;
|
|
1790
|
-
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
1791
|
-
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1792
|
-
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1793
|
-
team: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1794
|
-
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1795
|
-
deal: z.ZodOptional<z.ZodString>;
|
|
1796
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1797
|
-
entity_id: z.ZodString;
|
|
1798
|
-
created_at: z.ZodString;
|
|
1799
|
-
updated_at: z.ZodString;
|
|
1800
|
-
created_by: z.ZodString;
|
|
1801
|
-
updated_by: z.ZodString;
|
|
1802
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1803
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1804
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1805
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1806
|
-
} & {
|
|
1807
|
-
entity_type: z.ZodLiteral<"project">;
|
|
1808
|
-
name: z.ZodString;
|
|
1809
|
-
client: z.ZodOptional<z.ZodString>;
|
|
1810
|
-
website_url: z.ZodOptional<z.ZodString>;
|
|
1811
|
-
start_date: z.ZodOptional<z.ZodString>;
|
|
1812
|
-
end_date: z.ZodOptional<z.ZodString>;
|
|
1813
|
-
target_completion: z.ZodOptional<z.ZodString>;
|
|
1814
|
-
year_released: z.ZodOptional<z.ZodNumber>;
|
|
1815
|
-
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
1816
|
-
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1817
|
-
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1818
|
-
team: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1819
|
-
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1820
|
-
deal: z.ZodOptional<z.ZodString>;
|
|
1821
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1822
|
-
readonly meeting: z.ZodObject<{
|
|
1823
|
-
entity_id: z.ZodString;
|
|
1824
|
-
created_at: z.ZodString;
|
|
1825
|
-
updated_at: z.ZodString;
|
|
1826
|
-
created_by: z.ZodString;
|
|
1827
|
-
updated_by: z.ZodString;
|
|
1828
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1829
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1830
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1831
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1832
|
-
} & {
|
|
1833
|
-
entity_type: z.ZodLiteral<"meeting">;
|
|
1834
|
-
name: z.ZodString;
|
|
1835
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1836
|
-
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1837
|
-
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1838
|
-
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1839
|
-
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1840
|
-
agenda: z.ZodOptional<z.ZodString>;
|
|
1841
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
1842
|
-
action_items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1843
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1844
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1845
|
-
entity_id: z.ZodString;
|
|
1846
|
-
created_at: z.ZodString;
|
|
1847
|
-
updated_at: z.ZodString;
|
|
1848
|
-
created_by: z.ZodString;
|
|
1849
|
-
updated_by: z.ZodString;
|
|
1850
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1851
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1852
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1853
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1854
|
-
} & {
|
|
1855
|
-
entity_type: z.ZodLiteral<"meeting">;
|
|
1856
|
-
name: z.ZodString;
|
|
1857
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1858
|
-
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1859
|
-
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1860
|
-
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1861
|
-
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1862
|
-
agenda: z.ZodOptional<z.ZodString>;
|
|
1863
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
1864
|
-
action_items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1865
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1866
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1867
|
-
entity_id: z.ZodString;
|
|
1868
|
-
created_at: z.ZodString;
|
|
1869
|
-
updated_at: z.ZodString;
|
|
1870
|
-
created_by: z.ZodString;
|
|
1871
|
-
updated_by: z.ZodString;
|
|
1872
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1873
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1874
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1875
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1876
|
-
} & {
|
|
1877
|
-
entity_type: z.ZodLiteral<"meeting">;
|
|
1878
|
-
name: z.ZodString;
|
|
1879
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1880
|
-
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1881
|
-
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1882
|
-
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1883
|
-
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1884
|
-
agenda: z.ZodOptional<z.ZodString>;
|
|
1885
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
1886
|
-
action_items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1887
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1888
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1889
|
-
readonly decision: z.ZodObject<{
|
|
1890
|
-
entity_id: z.ZodString;
|
|
1891
|
-
created_at: z.ZodString;
|
|
1892
|
-
updated_at: z.ZodString;
|
|
1893
|
-
created_by: z.ZodString;
|
|
1894
|
-
updated_by: z.ZodString;
|
|
1895
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1896
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1897
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1898
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1899
|
-
} & {
|
|
1900
|
-
entity_type: z.ZodLiteral<"decision">;
|
|
1901
|
-
id: z.ZodString;
|
|
1902
|
-
title: z.ZodString;
|
|
1903
|
-
date: z.ZodString;
|
|
1904
|
-
status: z.ZodDefault<z.ZodEnum<["proposed", "accepted", "rejected", "deprecated", "superseded"]>>;
|
|
1905
|
-
decision_makers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1906
|
-
stakeholders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1907
|
-
related_decisions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1908
|
-
supersedes: z.ZodOptional<z.ZodString>;
|
|
1909
|
-
superseded_by: z.ZodOptional<z.ZodString>;
|
|
1910
|
-
context: z.ZodOptional<z.ZodString>;
|
|
1911
|
-
alternatives: z.ZodOptional<z.ZodString>;
|
|
1912
|
-
decision: z.ZodOptional<z.ZodString>;
|
|
1913
|
-
rationale: z.ZodOptional<z.ZodString>;
|
|
1914
|
-
consequences: z.ZodOptional<z.ZodString>;
|
|
1915
|
-
enables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1916
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1917
|
-
entity_id: z.ZodString;
|
|
1918
|
-
created_at: z.ZodString;
|
|
1919
|
-
updated_at: z.ZodString;
|
|
1920
|
-
created_by: z.ZodString;
|
|
1921
|
-
updated_by: z.ZodString;
|
|
1922
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1923
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1924
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1925
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1926
|
-
} & {
|
|
1927
|
-
entity_type: z.ZodLiteral<"decision">;
|
|
1928
|
-
id: z.ZodString;
|
|
1929
|
-
title: z.ZodString;
|
|
1930
|
-
date: z.ZodString;
|
|
1931
|
-
status: z.ZodDefault<z.ZodEnum<["proposed", "accepted", "rejected", "deprecated", "superseded"]>>;
|
|
1932
|
-
decision_makers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1933
|
-
stakeholders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1934
|
-
related_decisions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1935
|
-
supersedes: z.ZodOptional<z.ZodString>;
|
|
1936
|
-
superseded_by: z.ZodOptional<z.ZodString>;
|
|
1937
|
-
context: z.ZodOptional<z.ZodString>;
|
|
1938
|
-
alternatives: z.ZodOptional<z.ZodString>;
|
|
1939
|
-
decision: z.ZodOptional<z.ZodString>;
|
|
1940
|
-
rationale: z.ZodOptional<z.ZodString>;
|
|
1941
|
-
consequences: z.ZodOptional<z.ZodString>;
|
|
1942
|
-
enables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1943
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1944
|
-
entity_id: z.ZodString;
|
|
1945
|
-
created_at: z.ZodString;
|
|
1946
|
-
updated_at: z.ZodString;
|
|
1947
|
-
created_by: z.ZodString;
|
|
1948
|
-
updated_by: z.ZodString;
|
|
1949
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1950
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1951
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1952
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1953
|
-
} & {
|
|
1954
|
-
entity_type: z.ZodLiteral<"decision">;
|
|
1955
|
-
id: z.ZodString;
|
|
1956
|
-
title: z.ZodString;
|
|
1957
|
-
date: z.ZodString;
|
|
1958
|
-
status: z.ZodDefault<z.ZodEnum<["proposed", "accepted", "rejected", "deprecated", "superseded"]>>;
|
|
1959
|
-
decision_makers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1960
|
-
stakeholders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1961
|
-
related_decisions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1962
|
-
supersedes: z.ZodOptional<z.ZodString>;
|
|
1963
|
-
superseded_by: z.ZodOptional<z.ZodString>;
|
|
1964
|
-
context: z.ZodOptional<z.ZodString>;
|
|
1965
|
-
alternatives: z.ZodOptional<z.ZodString>;
|
|
1966
|
-
decision: z.ZodOptional<z.ZodString>;
|
|
1967
|
-
rationale: z.ZodOptional<z.ZodString>;
|
|
1968
|
-
consequences: z.ZodOptional<z.ZodString>;
|
|
1969
|
-
enables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1970
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1971
|
-
readonly task: z.ZodObject<{
|
|
1972
|
-
entity_id: z.ZodString;
|
|
1973
|
-
created_at: z.ZodString;
|
|
1974
|
-
updated_at: z.ZodString;
|
|
1975
|
-
created_by: z.ZodString;
|
|
1976
|
-
updated_by: z.ZodString;
|
|
1977
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1978
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1979
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1980
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1981
|
-
} & {
|
|
1982
|
-
entity_type: z.ZodLiteral<"task">;
|
|
1983
|
-
name: z.ZodString;
|
|
1984
|
-
assignee: z.ZodOptional<z.ZodString>;
|
|
1985
|
-
due_date: z.ZodOptional<z.ZodString>;
|
|
1986
|
-
status: z.ZodDefault<z.ZodEnum<["open", "in-progress", "done", "cancelled"]>>;
|
|
1987
|
-
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
|
|
1988
|
-
project: z.ZodOptional<z.ZodString>;
|
|
1989
|
-
deliverable: z.ZodOptional<z.ZodString>;
|
|
1990
|
-
related_meeting: z.ZodOptional<z.ZodString>;
|
|
1991
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1992
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1993
|
-
entity_id: z.ZodString;
|
|
1994
|
-
created_at: z.ZodString;
|
|
1995
|
-
updated_at: z.ZodString;
|
|
1996
|
-
created_by: z.ZodString;
|
|
1997
|
-
updated_by: z.ZodString;
|
|
1998
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1999
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2000
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2001
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2002
|
-
} & {
|
|
2003
|
-
entity_type: z.ZodLiteral<"task">;
|
|
2004
|
-
name: z.ZodString;
|
|
2005
|
-
assignee: z.ZodOptional<z.ZodString>;
|
|
2006
|
-
due_date: z.ZodOptional<z.ZodString>;
|
|
2007
|
-
status: z.ZodDefault<z.ZodEnum<["open", "in-progress", "done", "cancelled"]>>;
|
|
2008
|
-
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
|
|
2009
|
-
project: z.ZodOptional<z.ZodString>;
|
|
2010
|
-
deliverable: z.ZodOptional<z.ZodString>;
|
|
2011
|
-
related_meeting: z.ZodOptional<z.ZodString>;
|
|
2012
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2013
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2014
|
-
entity_id: z.ZodString;
|
|
2015
|
-
created_at: z.ZodString;
|
|
2016
|
-
updated_at: z.ZodString;
|
|
2017
|
-
created_by: z.ZodString;
|
|
2018
|
-
updated_by: z.ZodString;
|
|
2019
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2020
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2021
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2022
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2023
|
-
} & {
|
|
2024
|
-
entity_type: z.ZodLiteral<"task">;
|
|
2025
|
-
name: z.ZodString;
|
|
2026
|
-
assignee: z.ZodOptional<z.ZodString>;
|
|
2027
|
-
due_date: z.ZodOptional<z.ZodString>;
|
|
2028
|
-
status: z.ZodDefault<z.ZodEnum<["open", "in-progress", "done", "cancelled"]>>;
|
|
2029
|
-
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
|
|
2030
|
-
project: z.ZodOptional<z.ZodString>;
|
|
2031
|
-
deliverable: z.ZodOptional<z.ZodString>;
|
|
2032
|
-
related_meeting: z.ZodOptional<z.ZodString>;
|
|
2033
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2034
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
2035
|
-
readonly brief: z.ZodObject<{
|
|
2036
|
-
entity_id: z.ZodString;
|
|
2037
|
-
created_at: z.ZodString;
|
|
2038
|
-
updated_at: z.ZodString;
|
|
2039
|
-
created_by: z.ZodString;
|
|
2040
|
-
updated_by: z.ZodString;
|
|
2041
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2042
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2043
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2044
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2045
|
-
} & {
|
|
2046
|
-
entity_type: z.ZodLiteral<"brief">;
|
|
2047
|
-
project_name: z.ZodString;
|
|
2048
|
-
client: z.ZodOptional<z.ZodString>;
|
|
2049
|
-
start_date: z.ZodOptional<z.ZodString>;
|
|
2050
|
-
target_completion: z.ZodOptional<z.ZodString>;
|
|
2051
|
-
status: z.ZodDefault<z.ZodEnum<["planning", "approved", "in-progress", "completed"]>>;
|
|
2052
|
-
objectives: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2053
|
-
target_users: z.ZodOptional<z.ZodString>;
|
|
2054
|
-
success_criteria: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2055
|
-
constraints: z.ZodOptional<z.ZodString>;
|
|
2056
|
-
stakeholders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2057
|
-
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2058
|
-
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2059
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2060
|
-
entity_id: z.ZodString;
|
|
2061
|
-
created_at: z.ZodString;
|
|
2062
|
-
updated_at: z.ZodString;
|
|
2063
|
-
created_by: z.ZodString;
|
|
2064
|
-
updated_by: z.ZodString;
|
|
2065
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2066
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2067
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2068
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2069
|
-
} & {
|
|
2070
|
-
entity_type: z.ZodLiteral<"brief">;
|
|
2071
|
-
project_name: z.ZodString;
|
|
2072
|
-
client: z.ZodOptional<z.ZodString>;
|
|
2073
|
-
start_date: z.ZodOptional<z.ZodString>;
|
|
2074
|
-
target_completion: z.ZodOptional<z.ZodString>;
|
|
2075
|
-
status: z.ZodDefault<z.ZodEnum<["planning", "approved", "in-progress", "completed"]>>;
|
|
2076
|
-
objectives: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2077
|
-
target_users: z.ZodOptional<z.ZodString>;
|
|
2078
|
-
success_criteria: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2079
|
-
constraints: z.ZodOptional<z.ZodString>;
|
|
2080
|
-
stakeholders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2081
|
-
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2082
|
-
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2083
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2084
|
-
entity_id: z.ZodString;
|
|
2085
|
-
created_at: z.ZodString;
|
|
2086
|
-
updated_at: z.ZodString;
|
|
2087
|
-
created_by: z.ZodString;
|
|
2088
|
-
updated_by: z.ZodString;
|
|
2089
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2090
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2091
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2092
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2093
|
-
} & {
|
|
2094
|
-
entity_type: z.ZodLiteral<"brief">;
|
|
2095
|
-
project_name: z.ZodString;
|
|
2096
|
-
client: z.ZodOptional<z.ZodString>;
|
|
2097
|
-
start_date: z.ZodOptional<z.ZodString>;
|
|
2098
|
-
target_completion: z.ZodOptional<z.ZodString>;
|
|
2099
|
-
status: z.ZodDefault<z.ZodEnum<["planning", "approved", "in-progress", "completed"]>>;
|
|
2100
|
-
objectives: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2101
|
-
target_users: z.ZodOptional<z.ZodString>;
|
|
2102
|
-
success_criteria: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2103
|
-
constraints: z.ZodOptional<z.ZodString>;
|
|
2104
|
-
stakeholders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2105
|
-
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2106
|
-
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2107
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
2108
|
-
readonly artifact: z.ZodObject<{
|
|
2109
|
-
entity_id: z.ZodString;
|
|
2110
|
-
created_at: z.ZodString;
|
|
2111
|
-
updated_at: z.ZodString;
|
|
2112
|
-
created_by: z.ZodString;
|
|
2113
|
-
updated_by: z.ZodString;
|
|
2114
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2115
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2116
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2117
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2118
|
-
} & {
|
|
2119
|
-
entity_type: z.ZodLiteral<"artifact">;
|
|
2120
|
-
name: z.ZodString;
|
|
2121
|
-
type: z.ZodOptional<z.ZodString>;
|
|
2122
|
-
project: z.ZodOptional<z.ZodString>;
|
|
2123
|
-
deliverable: z.ZodOptional<z.ZodString>;
|
|
2124
|
-
date_created: z.ZodOptional<z.ZodString>;
|
|
2125
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2126
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2127
|
-
version: z.ZodOptional<z.ZodString>;
|
|
2128
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2129
|
-
entity_id: z.ZodString;
|
|
2130
|
-
created_at: z.ZodString;
|
|
2131
|
-
updated_at: z.ZodString;
|
|
2132
|
-
created_by: z.ZodString;
|
|
2133
|
-
updated_by: z.ZodString;
|
|
2134
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2135
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2136
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2137
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2138
|
-
} & {
|
|
2139
|
-
entity_type: z.ZodLiteral<"artifact">;
|
|
2140
|
-
name: z.ZodString;
|
|
2141
|
-
type: z.ZodOptional<z.ZodString>;
|
|
2142
|
-
project: z.ZodOptional<z.ZodString>;
|
|
2143
|
-
deliverable: z.ZodOptional<z.ZodString>;
|
|
2144
|
-
date_created: z.ZodOptional<z.ZodString>;
|
|
2145
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2146
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2147
|
-
version: z.ZodOptional<z.ZodString>;
|
|
2148
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2149
|
-
entity_id: z.ZodString;
|
|
2150
|
-
created_at: z.ZodString;
|
|
2151
|
-
updated_at: z.ZodString;
|
|
2152
|
-
created_by: z.ZodString;
|
|
2153
|
-
updated_by: z.ZodString;
|
|
2154
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2155
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2156
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2157
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2158
|
-
} & {
|
|
2159
|
-
entity_type: z.ZodLiteral<"artifact">;
|
|
2160
|
-
name: z.ZodString;
|
|
2161
|
-
type: z.ZodOptional<z.ZodString>;
|
|
2162
|
-
project: z.ZodOptional<z.ZodString>;
|
|
2163
|
-
deliverable: z.ZodOptional<z.ZodString>;
|
|
2164
|
-
date_created: z.ZodOptional<z.ZodString>;
|
|
2165
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2166
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2167
|
-
version: z.ZodOptional<z.ZodString>;
|
|
2168
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
2169
|
-
readonly deliverable: z.ZodObject<{
|
|
1115
|
+
export declare const ENTITY_SCHEMAS: {
|
|
1116
|
+
readonly person: z.ZodObject<{
|
|
2170
1117
|
entity_id: z.ZodString;
|
|
2171
1118
|
created_at: z.ZodString;
|
|
2172
1119
|
updated_at: z.ZodString;
|
|
2173
1120
|
created_by: z.ZodString;
|
|
2174
1121
|
updated_by: z.ZodString;
|
|
2175
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2176
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2177
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2178
1122
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2179
1123
|
} & {
|
|
2180
|
-
entity_type: z.ZodLiteral<"
|
|
1124
|
+
entity_type: z.ZodLiteral<"person">;
|
|
2181
1125
|
name: z.ZodString;
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
1126
|
+
role: z.ZodOptional<z.ZodString>;
|
|
1127
|
+
status: z.ZodOptional<z.ZodEnum<["current", "former", "contractor", "client", "partner"]>>;
|
|
1128
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1129
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1130
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
1131
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
1132
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1133
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
1134
|
+
department: z.ZodOptional<z.ZodString>;
|
|
2190
1135
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2191
1136
|
entity_id: z.ZodString;
|
|
2192
1137
|
created_at: z.ZodString;
|
|
2193
1138
|
updated_at: z.ZodString;
|
|
2194
1139
|
created_by: z.ZodString;
|
|
2195
1140
|
updated_by: z.ZodString;
|
|
2196
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2197
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2198
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2199
1141
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2200
1142
|
} & {
|
|
2201
|
-
entity_type: z.ZodLiteral<"
|
|
1143
|
+
entity_type: z.ZodLiteral<"person">;
|
|
2202
1144
|
name: z.ZodString;
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
1145
|
+
role: z.ZodOptional<z.ZodString>;
|
|
1146
|
+
status: z.ZodOptional<z.ZodEnum<["current", "former", "contractor", "client", "partner"]>>;
|
|
1147
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1148
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
1151
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1152
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
1153
|
+
department: z.ZodOptional<z.ZodString>;
|
|
2211
1154
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2212
1155
|
entity_id: z.ZodString;
|
|
2213
1156
|
created_at: z.ZodString;
|
|
2214
1157
|
updated_at: z.ZodString;
|
|
2215
1158
|
created_by: z.ZodString;
|
|
2216
1159
|
updated_by: z.ZodString;
|
|
2217
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2218
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2219
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2220
1160
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2221
1161
|
} & {
|
|
2222
|
-
entity_type: z.ZodLiteral<"
|
|
1162
|
+
entity_type: z.ZodLiteral<"person">;
|
|
2223
1163
|
name: z.ZodString;
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
1164
|
+
role: z.ZodOptional<z.ZodString>;
|
|
1165
|
+
status: z.ZodOptional<z.ZodEnum<["current", "former", "contractor", "client", "partner"]>>;
|
|
1166
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1167
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1168
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
1169
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
1170
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1171
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
1172
|
+
department: z.ZodOptional<z.ZodString>;
|
|
2232
1173
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2233
|
-
readonly
|
|
1174
|
+
readonly organization: z.ZodObject<{
|
|
2234
1175
|
entity_id: z.ZodString;
|
|
2235
1176
|
created_at: z.ZodString;
|
|
2236
1177
|
updated_at: z.ZodString;
|
|
2237
1178
|
created_by: z.ZodString;
|
|
2238
1179
|
updated_by: z.ZodString;
|
|
2239
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2240
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2241
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2242
1180
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2243
1181
|
} & {
|
|
2244
|
-
entity_type: z.ZodLiteral<"
|
|
1182
|
+
entity_type: z.ZodLiteral<"organization">;
|
|
2245
1183
|
name: z.ZodString;
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
fees: z.ZodOptional<z.ZodString>;
|
|
2256
|
-
payment_terms: z.ZodOptional<z.ZodString>;
|
|
1184
|
+
type: z.ZodOptional<z.ZodEnum<["client", "vendor", "partner", "prospect", "industry-body", "other"]>>;
|
|
1185
|
+
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "prospect", "former"]>>;
|
|
1186
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
1187
|
+
website: z.ZodOptional<z.ZodString>;
|
|
1188
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1189
|
+
size: z.ZodOptional<z.ZodEnum<["small", "medium", "large", "enterprise"]>>;
|
|
1190
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1191
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1192
|
+
relationship_start: z.ZodOptional<z.ZodString>;
|
|
2257
1193
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2258
1194
|
entity_id: z.ZodString;
|
|
2259
1195
|
created_at: z.ZodString;
|
|
2260
1196
|
updated_at: z.ZodString;
|
|
2261
1197
|
created_by: z.ZodString;
|
|
2262
1198
|
updated_by: z.ZodString;
|
|
2263
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2264
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2265
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2266
1199
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2267
1200
|
} & {
|
|
2268
|
-
entity_type: z.ZodLiteral<"
|
|
1201
|
+
entity_type: z.ZodLiteral<"organization">;
|
|
2269
1202
|
name: z.ZodString;
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
fees: z.ZodOptional<z.ZodString>;
|
|
2280
|
-
payment_terms: z.ZodOptional<z.ZodString>;
|
|
1203
|
+
type: z.ZodOptional<z.ZodEnum<["client", "vendor", "partner", "prospect", "industry-body", "other"]>>;
|
|
1204
|
+
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "prospect", "former"]>>;
|
|
1205
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
1206
|
+
website: z.ZodOptional<z.ZodString>;
|
|
1207
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1208
|
+
size: z.ZodOptional<z.ZodEnum<["small", "medium", "large", "enterprise"]>>;
|
|
1209
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1210
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1211
|
+
relationship_start: z.ZodOptional<z.ZodString>;
|
|
2281
1212
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2282
1213
|
entity_id: z.ZodString;
|
|
2283
1214
|
created_at: z.ZodString;
|
|
2284
1215
|
updated_at: z.ZodString;
|
|
2285
1216
|
created_by: z.ZodString;
|
|
2286
1217
|
updated_by: z.ZodString;
|
|
2287
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2288
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2289
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2290
1218
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2291
1219
|
} & {
|
|
2292
|
-
entity_type: z.ZodLiteral<"
|
|
1220
|
+
entity_type: z.ZodLiteral<"organization">;
|
|
2293
1221
|
name: z.ZodString;
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
fees: z.ZodOptional<z.ZodString>;
|
|
2304
|
-
payment_terms: z.ZodOptional<z.ZodString>;
|
|
1222
|
+
type: z.ZodOptional<z.ZodEnum<["client", "vendor", "partner", "prospect", "industry-body", "other"]>>;
|
|
1223
|
+
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "prospect", "former"]>>;
|
|
1224
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
1225
|
+
website: z.ZodOptional<z.ZodString>;
|
|
1226
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1227
|
+
size: z.ZodOptional<z.ZodEnum<["small", "medium", "large", "enterprise"]>>;
|
|
1228
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1229
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1230
|
+
relationship_start: z.ZodOptional<z.ZodString>;
|
|
2305
1231
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2306
|
-
readonly
|
|
1232
|
+
readonly role: z.ZodObject<{
|
|
2307
1233
|
entity_id: z.ZodString;
|
|
2308
1234
|
created_at: z.ZodString;
|
|
2309
1235
|
updated_at: z.ZodString;
|
|
2310
1236
|
created_by: z.ZodString;
|
|
2311
1237
|
updated_by: z.ZodString;
|
|
2312
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2313
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2314
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2315
1238
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2316
1239
|
} & {
|
|
2317
|
-
entity_type: z.ZodLiteral<"
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
status: z.ZodDefault<z.ZodEnum<["draft", "pending", "signed", "completed", "terminated"]>>;
|
|
2326
|
-
value: z.ZodOptional<z.ZodString>;
|
|
2327
|
-
payment_terms: z.ZodOptional<z.ZodString>;
|
|
1240
|
+
entity_type: z.ZodLiteral<"role">;
|
|
1241
|
+
title: z.ZodString;
|
|
1242
|
+
department: z.ZodOptional<z.ZodString>;
|
|
1243
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
1244
|
+
type: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
1245
|
+
status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
|
|
1246
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1247
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
2328
1248
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2329
1249
|
entity_id: z.ZodString;
|
|
2330
1250
|
created_at: z.ZodString;
|
|
2331
1251
|
updated_at: z.ZodString;
|
|
2332
1252
|
created_by: z.ZodString;
|
|
2333
1253
|
updated_by: z.ZodString;
|
|
2334
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2335
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2336
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2337
1254
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2338
1255
|
} & {
|
|
2339
|
-
entity_type: z.ZodLiteral<"
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
status: z.ZodDefault<z.ZodEnum<["draft", "pending", "signed", "completed", "terminated"]>>;
|
|
2348
|
-
value: z.ZodOptional<z.ZodString>;
|
|
2349
|
-
payment_terms: z.ZodOptional<z.ZodString>;
|
|
1256
|
+
entity_type: z.ZodLiteral<"role">;
|
|
1257
|
+
title: z.ZodString;
|
|
1258
|
+
department: z.ZodOptional<z.ZodString>;
|
|
1259
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
1260
|
+
type: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
1261
|
+
status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
|
|
1262
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1263
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
2350
1264
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2351
1265
|
entity_id: z.ZodString;
|
|
2352
1266
|
created_at: z.ZodString;
|
|
2353
1267
|
updated_at: z.ZodString;
|
|
2354
1268
|
created_by: z.ZodString;
|
|
2355
1269
|
updated_by: z.ZodString;
|
|
2356
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2357
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2358
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2359
1270
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2360
1271
|
} & {
|
|
2361
|
-
entity_type: z.ZodLiteral<"
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
status: z.ZodDefault<z.ZodEnum<["draft", "pending", "signed", "completed", "terminated"]>>;
|
|
2370
|
-
value: z.ZodOptional<z.ZodString>;
|
|
2371
|
-
payment_terms: z.ZodOptional<z.ZodString>;
|
|
1272
|
+
entity_type: z.ZodLiteral<"role">;
|
|
1273
|
+
title: z.ZodString;
|
|
1274
|
+
department: z.ZodOptional<z.ZodString>;
|
|
1275
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
1276
|
+
type: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
1277
|
+
status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
|
|
1278
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1279
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
2372
1280
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2373
|
-
readonly
|
|
1281
|
+
readonly 'practice-area': z.ZodObject<{
|
|
2374
1282
|
entity_id: z.ZodString;
|
|
2375
1283
|
created_at: z.ZodString;
|
|
2376
1284
|
updated_at: z.ZodString;
|
|
2377
1285
|
created_by: z.ZodString;
|
|
2378
1286
|
updated_by: z.ZodString;
|
|
2379
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2380
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2381
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2382
1287
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2383
1288
|
} & {
|
|
2384
|
-
entity_type: z.ZodLiteral<"
|
|
1289
|
+
entity_type: z.ZodLiteral<"practice-area">;
|
|
2385
1290
|
name: z.ZodString;
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
organization: z.ZodOptional<z.ZodString>;
|
|
2391
|
-
years_experience: z.ZodOptional<z.ZodNumber>;
|
|
2392
|
-
bio: z.ZodOptional<z.ZodString>;
|
|
2393
|
-
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2394
|
-
reports_to: z.ZodOptional<z.ZodString>;
|
|
2395
|
-
department: z.ZodOptional<z.ZodString>;
|
|
1291
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1292
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1293
|
+
related_case_studies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1294
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2396
1295
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2397
1296
|
entity_id: z.ZodString;
|
|
2398
1297
|
created_at: z.ZodString;
|
|
2399
1298
|
updated_at: z.ZodString;
|
|
2400
1299
|
created_by: z.ZodString;
|
|
2401
1300
|
updated_by: z.ZodString;
|
|
2402
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2403
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2404
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2405
1301
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2406
1302
|
} & {
|
|
2407
|
-
entity_type: z.ZodLiteral<"
|
|
1303
|
+
entity_type: z.ZodLiteral<"practice-area">;
|
|
2408
1304
|
name: z.ZodString;
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
organization: z.ZodOptional<z.ZodString>;
|
|
2414
|
-
years_experience: z.ZodOptional<z.ZodNumber>;
|
|
2415
|
-
bio: z.ZodOptional<z.ZodString>;
|
|
2416
|
-
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2417
|
-
reports_to: z.ZodOptional<z.ZodString>;
|
|
2418
|
-
department: z.ZodOptional<z.ZodString>;
|
|
1305
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1306
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1307
|
+
related_case_studies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1308
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2419
1309
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2420
1310
|
entity_id: z.ZodString;
|
|
2421
1311
|
created_at: z.ZodString;
|
|
2422
1312
|
updated_at: z.ZodString;
|
|
2423
1313
|
created_by: z.ZodString;
|
|
2424
1314
|
updated_by: z.ZodString;
|
|
2425
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2426
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2427
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2428
1315
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2429
1316
|
} & {
|
|
2430
|
-
entity_type: z.ZodLiteral<"
|
|
1317
|
+
entity_type: z.ZodLiteral<"practice-area">;
|
|
2431
1318
|
name: z.ZodString;
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
organization: z.ZodOptional<z.ZodString>;
|
|
2437
|
-
years_experience: z.ZodOptional<z.ZodNumber>;
|
|
2438
|
-
bio: z.ZodOptional<z.ZodString>;
|
|
2439
|
-
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2440
|
-
reports_to: z.ZodOptional<z.ZodString>;
|
|
2441
|
-
department: z.ZodOptional<z.ZodString>;
|
|
1319
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1320
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1321
|
+
related_case_studies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1322
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2442
1323
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2443
|
-
readonly
|
|
1324
|
+
readonly project: z.ZodObject<{
|
|
2444
1325
|
entity_id: z.ZodString;
|
|
2445
1326
|
created_at: z.ZodString;
|
|
2446
1327
|
updated_at: z.ZodString;
|
|
2447
1328
|
created_by: z.ZodString;
|
|
2448
1329
|
updated_by: z.ZodString;
|
|
2449
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2450
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2451
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2452
1330
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2453
1331
|
} & {
|
|
2454
|
-
entity_type: z.ZodLiteral<"
|
|
1332
|
+
entity_type: z.ZodLiteral<"project">;
|
|
2455
1333
|
name: z.ZodString;
|
|
2456
|
-
type: z.ZodOptional<z.
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
1334
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1335
|
+
client: z.ZodOptional<z.ZodString>;
|
|
1336
|
+
website_url: z.ZodOptional<z.ZodString>;
|
|
1337
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
1338
|
+
end_date: z.ZodOptional<z.ZodString>;
|
|
1339
|
+
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
1340
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1341
|
+
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1342
|
+
team: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1343
|
+
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1344
|
+
deal: z.ZodOptional<z.ZodString>;
|
|
2466
1345
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2467
1346
|
entity_id: z.ZodString;
|
|
2468
1347
|
created_at: z.ZodString;
|
|
2469
1348
|
updated_at: z.ZodString;
|
|
2470
1349
|
created_by: z.ZodString;
|
|
2471
1350
|
updated_by: z.ZodString;
|
|
2472
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2473
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2474
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2475
1351
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2476
1352
|
} & {
|
|
2477
|
-
entity_type: z.ZodLiteral<"
|
|
1353
|
+
entity_type: z.ZodLiteral<"project">;
|
|
2478
1354
|
name: z.ZodString;
|
|
2479
|
-
type: z.ZodOptional<z.
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
1355
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1356
|
+
client: z.ZodOptional<z.ZodString>;
|
|
1357
|
+
website_url: z.ZodOptional<z.ZodString>;
|
|
1358
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
1359
|
+
end_date: z.ZodOptional<z.ZodString>;
|
|
1360
|
+
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
1361
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1362
|
+
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1363
|
+
team: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1364
|
+
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1365
|
+
deal: z.ZodOptional<z.ZodString>;
|
|
2489
1366
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2490
1367
|
entity_id: z.ZodString;
|
|
2491
1368
|
created_at: z.ZodString;
|
|
2492
1369
|
updated_at: z.ZodString;
|
|
2493
1370
|
created_by: z.ZodString;
|
|
2494
1371
|
updated_by: z.ZodString;
|
|
2495
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2496
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2497
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2498
1372
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2499
1373
|
} & {
|
|
2500
|
-
entity_type: z.ZodLiteral<"
|
|
1374
|
+
entity_type: z.ZodLiteral<"project">;
|
|
2501
1375
|
name: z.ZodString;
|
|
2502
|
-
type: z.ZodOptional<z.
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
1376
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1377
|
+
client: z.ZodOptional<z.ZodString>;
|
|
1378
|
+
website_url: z.ZodOptional<z.ZodString>;
|
|
1379
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
1380
|
+
end_date: z.ZodOptional<z.ZodString>;
|
|
1381
|
+
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
1382
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1383
|
+
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1384
|
+
team: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1385
|
+
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1386
|
+
deal: z.ZodOptional<z.ZodString>;
|
|
2512
1387
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2513
|
-
readonly
|
|
1388
|
+
readonly meeting: z.ZodObject<{
|
|
2514
1389
|
entity_id: z.ZodString;
|
|
2515
1390
|
created_at: z.ZodString;
|
|
2516
1391
|
updated_at: z.ZodString;
|
|
2517
1392
|
created_by: z.ZodString;
|
|
2518
1393
|
updated_by: z.ZodString;
|
|
2519
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2520
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2521
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2522
1394
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2523
1395
|
} & {
|
|
2524
|
-
entity_type: z.ZodLiteral<"
|
|
1396
|
+
entity_type: z.ZodLiteral<"meeting">;
|
|
2525
1397
|
name: z.ZodString;
|
|
2526
|
-
type: z.ZodOptional<z.
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
1398
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1399
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1400
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1401
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1402
|
+
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1403
|
+
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1404
|
+
agenda: z.ZodOptional<z.ZodString>;
|
|
1405
|
+
action_items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1406
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
2530
1407
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2531
1408
|
entity_id: z.ZodString;
|
|
2532
1409
|
created_at: z.ZodString;
|
|
2533
1410
|
updated_at: z.ZodString;
|
|
2534
1411
|
created_by: z.ZodString;
|
|
2535
1412
|
updated_by: z.ZodString;
|
|
2536
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2537
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2538
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2539
1413
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2540
1414
|
} & {
|
|
2541
|
-
entity_type: z.ZodLiteral<"
|
|
1415
|
+
entity_type: z.ZodLiteral<"meeting">;
|
|
2542
1416
|
name: z.ZodString;
|
|
2543
|
-
type: z.ZodOptional<z.
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
1417
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1418
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1419
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1420
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1421
|
+
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1422
|
+
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1423
|
+
agenda: z.ZodOptional<z.ZodString>;
|
|
1424
|
+
action_items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1425
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
2547
1426
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2548
1427
|
entity_id: z.ZodString;
|
|
2549
1428
|
created_at: z.ZodString;
|
|
2550
1429
|
updated_at: z.ZodString;
|
|
2551
1430
|
created_by: z.ZodString;
|
|
2552
1431
|
updated_by: z.ZodString;
|
|
2553
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2554
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2555
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2556
1432
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2557
1433
|
} & {
|
|
2558
|
-
entity_type: z.ZodLiteral<"
|
|
1434
|
+
entity_type: z.ZodLiteral<"meeting">;
|
|
2559
1435
|
name: z.ZodString;
|
|
2560
|
-
type: z.ZodOptional<z.
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
1436
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1437
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1438
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1439
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1440
|
+
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1441
|
+
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1442
|
+
agenda: z.ZodOptional<z.ZodString>;
|
|
1443
|
+
action_items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1444
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
2564
1445
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2565
|
-
readonly
|
|
1446
|
+
readonly decision: z.ZodObject<{
|
|
2566
1447
|
entity_id: z.ZodString;
|
|
2567
1448
|
created_at: z.ZodString;
|
|
2568
1449
|
updated_at: z.ZodString;
|
|
2569
1450
|
created_by: z.ZodString;
|
|
2570
1451
|
updated_by: z.ZodString;
|
|
2571
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2572
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2573
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2574
1452
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2575
1453
|
} & {
|
|
2576
|
-
entity_type: z.ZodLiteral<"
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
1454
|
+
entity_type: z.ZodLiteral<"decision">;
|
|
1455
|
+
title: z.ZodString;
|
|
1456
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1457
|
+
status: z.ZodDefault<z.ZodEnum<["proposed", "accepted", "rejected", "deprecated", "superseded"]>>;
|
|
1458
|
+
decision_makers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1459
|
+
stakeholders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1460
|
+
context: z.ZodOptional<z.ZodString>;
|
|
1461
|
+
alternatives: z.ZodOptional<z.ZodString>;
|
|
1462
|
+
decision: z.ZodOptional<z.ZodString>;
|
|
1463
|
+
rationale: z.ZodOptional<z.ZodString>;
|
|
1464
|
+
consequences: z.ZodOptional<z.ZodString>;
|
|
1465
|
+
supersedes: z.ZodOptional<z.ZodString>;
|
|
1466
|
+
superseded_by: z.ZodOptional<z.ZodString>;
|
|
2588
1467
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2589
1468
|
entity_id: z.ZodString;
|
|
2590
1469
|
created_at: z.ZodString;
|
|
2591
1470
|
updated_at: z.ZodString;
|
|
2592
1471
|
created_by: z.ZodString;
|
|
2593
1472
|
updated_by: z.ZodString;
|
|
2594
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2595
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2596
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2597
1473
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2598
1474
|
} & {
|
|
2599
|
-
entity_type: z.ZodLiteral<"
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
1475
|
+
entity_type: z.ZodLiteral<"decision">;
|
|
1476
|
+
title: z.ZodString;
|
|
1477
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1478
|
+
status: z.ZodDefault<z.ZodEnum<["proposed", "accepted", "rejected", "deprecated", "superseded"]>>;
|
|
1479
|
+
decision_makers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1480
|
+
stakeholders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1481
|
+
context: z.ZodOptional<z.ZodString>;
|
|
1482
|
+
alternatives: z.ZodOptional<z.ZodString>;
|
|
1483
|
+
decision: z.ZodOptional<z.ZodString>;
|
|
1484
|
+
rationale: z.ZodOptional<z.ZodString>;
|
|
1485
|
+
consequences: z.ZodOptional<z.ZodString>;
|
|
1486
|
+
supersedes: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
superseded_by: z.ZodOptional<z.ZodString>;
|
|
2611
1488
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2612
1489
|
entity_id: z.ZodString;
|
|
2613
1490
|
created_at: z.ZodString;
|
|
2614
1491
|
updated_at: z.ZodString;
|
|
2615
1492
|
created_by: z.ZodString;
|
|
2616
1493
|
updated_by: z.ZodString;
|
|
2617
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2618
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2619
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2620
1494
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2621
1495
|
} & {
|
|
2622
|
-
entity_type: z.ZodLiteral<"
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
1496
|
+
entity_type: z.ZodLiteral<"decision">;
|
|
1497
|
+
title: z.ZodString;
|
|
1498
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1499
|
+
status: z.ZodDefault<z.ZodEnum<["proposed", "accepted", "rejected", "deprecated", "superseded"]>>;
|
|
1500
|
+
decision_makers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1501
|
+
stakeholders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1502
|
+
context: z.ZodOptional<z.ZodString>;
|
|
1503
|
+
alternatives: z.ZodOptional<z.ZodString>;
|
|
1504
|
+
decision: z.ZodOptional<z.ZodString>;
|
|
1505
|
+
rationale: z.ZodOptional<z.ZodString>;
|
|
1506
|
+
consequences: z.ZodOptional<z.ZodString>;
|
|
1507
|
+
supersedes: z.ZodOptional<z.ZodString>;
|
|
1508
|
+
superseded_by: z.ZodOptional<z.ZodString>;
|
|
2634
1509
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2635
|
-
readonly
|
|
1510
|
+
readonly task: z.ZodObject<{
|
|
2636
1511
|
entity_id: z.ZodString;
|
|
2637
1512
|
created_at: z.ZodString;
|
|
2638
1513
|
updated_at: z.ZodString;
|
|
2639
1514
|
created_by: z.ZodString;
|
|
2640
1515
|
updated_by: z.ZodString;
|
|
2641
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2642
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2643
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2644
1516
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2645
1517
|
} & {
|
|
2646
|
-
entity_type: z.ZodLiteral<"
|
|
1518
|
+
entity_type: z.ZodLiteral<"task">;
|
|
2647
1519
|
name: z.ZodString;
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
1520
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
1521
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
1522
|
+
status: z.ZodDefault<z.ZodEnum<["open", "in-progress", "done", "cancelled"]>>;
|
|
1523
|
+
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
|
|
1524
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1525
|
+
deliverable: z.ZodOptional<z.ZodString>;
|
|
1526
|
+
related_meeting: z.ZodOptional<z.ZodString>;
|
|
1527
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2656
1528
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2657
1529
|
entity_id: z.ZodString;
|
|
2658
1530
|
created_at: z.ZodString;
|
|
2659
1531
|
updated_at: z.ZodString;
|
|
2660
1532
|
created_by: z.ZodString;
|
|
2661
1533
|
updated_by: z.ZodString;
|
|
2662
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2663
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2664
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2665
1534
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2666
1535
|
} & {
|
|
2667
|
-
entity_type: z.ZodLiteral<"
|
|
1536
|
+
entity_type: z.ZodLiteral<"task">;
|
|
2668
1537
|
name: z.ZodString;
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
1538
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
1539
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
1540
|
+
status: z.ZodDefault<z.ZodEnum<["open", "in-progress", "done", "cancelled"]>>;
|
|
1541
|
+
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
|
|
1542
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1543
|
+
deliverable: z.ZodOptional<z.ZodString>;
|
|
1544
|
+
related_meeting: z.ZodOptional<z.ZodString>;
|
|
1545
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2677
1546
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2678
1547
|
entity_id: z.ZodString;
|
|
2679
1548
|
created_at: z.ZodString;
|
|
2680
1549
|
updated_at: z.ZodString;
|
|
2681
1550
|
created_by: z.ZodString;
|
|
2682
1551
|
updated_by: z.ZodString;
|
|
2683
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2684
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2685
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2686
1552
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2687
1553
|
} & {
|
|
2688
|
-
entity_type: z.ZodLiteral<"
|
|
1554
|
+
entity_type: z.ZodLiteral<"task">;
|
|
2689
1555
|
name: z.ZodString;
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
1556
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
1557
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
1558
|
+
status: z.ZodDefault<z.ZodEnum<["open", "in-progress", "done", "cancelled"]>>;
|
|
1559
|
+
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
|
|
1560
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1561
|
+
deliverable: z.ZodOptional<z.ZodString>;
|
|
1562
|
+
related_meeting: z.ZodOptional<z.ZodString>;
|
|
1563
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2698
1564
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2699
|
-
readonly
|
|
1565
|
+
readonly document: z.ZodObject<{
|
|
2700
1566
|
entity_id: z.ZodString;
|
|
2701
1567
|
created_at: z.ZodString;
|
|
2702
1568
|
updated_at: z.ZodString;
|
|
2703
1569
|
created_by: z.ZodString;
|
|
2704
1570
|
updated_by: z.ZodString;
|
|
2705
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2706
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2707
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2708
1571
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2709
1572
|
} & {
|
|
2710
|
-
entity_type: z.ZodLiteral<"
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
1573
|
+
entity_type: z.ZodLiteral<"document">;
|
|
1574
|
+
name: z.ZodString;
|
|
1575
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1576
|
+
client: z.ZodOptional<z.ZodString>;
|
|
1577
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1578
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1580
|
+
status: z.ZodDefault<z.ZodEnum<["draft", "sent", "accepted", "rejected", "negotiating", "signed", "completed", "terminated"]>>;
|
|
1581
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2718
1582
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2719
1583
|
entity_id: z.ZodString;
|
|
2720
1584
|
created_at: z.ZodString;
|
|
2721
1585
|
updated_at: z.ZodString;
|
|
2722
1586
|
created_by: z.ZodString;
|
|
2723
1587
|
updated_by: z.ZodString;
|
|
2724
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2725
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2726
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2727
1588
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2728
1589
|
} & {
|
|
2729
|
-
entity_type: z.ZodLiteral<"
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
1590
|
+
entity_type: z.ZodLiteral<"document">;
|
|
1591
|
+
name: z.ZodString;
|
|
1592
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1593
|
+
client: z.ZodOptional<z.ZodString>;
|
|
1594
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1595
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1596
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1597
|
+
status: z.ZodDefault<z.ZodEnum<["draft", "sent", "accepted", "rejected", "negotiating", "signed", "completed", "terminated"]>>;
|
|
1598
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2737
1599
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2738
1600
|
entity_id: z.ZodString;
|
|
2739
1601
|
created_at: z.ZodString;
|
|
2740
1602
|
updated_at: z.ZodString;
|
|
2741
1603
|
created_by: z.ZodString;
|
|
2742
1604
|
updated_by: z.ZodString;
|
|
2743
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2744
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2745
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2746
1605
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2747
1606
|
} & {
|
|
2748
|
-
entity_type: z.ZodLiteral<"
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
1607
|
+
entity_type: z.ZodLiteral<"document">;
|
|
1608
|
+
name: z.ZodString;
|
|
1609
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1610
|
+
client: z.ZodOptional<z.ZodString>;
|
|
1611
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1612
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1613
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1614
|
+
status: z.ZodDefault<z.ZodEnum<["draft", "sent", "accepted", "rejected", "negotiating", "signed", "completed", "terminated"]>>;
|
|
1615
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2756
1616
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2757
|
-
readonly
|
|
1617
|
+
readonly dataset: z.ZodObject<{
|
|
2758
1618
|
entity_id: z.ZodString;
|
|
2759
1619
|
created_at: z.ZodString;
|
|
2760
1620
|
updated_at: z.ZodString;
|
|
2761
1621
|
created_by: z.ZodString;
|
|
2762
1622
|
updated_by: z.ZodString;
|
|
2763
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2764
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2765
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2766
1623
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2767
1624
|
} & {
|
|
2768
|
-
entity_type: z.ZodLiteral<"
|
|
1625
|
+
entity_type: z.ZodLiteral<"dataset">;
|
|
2769
1626
|
name: z.ZodString;
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
1627
|
+
schema: z.ZodArray<z.ZodObject<{
|
|
1628
|
+
name: z.ZodString;
|
|
1629
|
+
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
1630
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1631
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1632
|
+
}, "strip", z.ZodTypeAny, {
|
|
1633
|
+
name: string;
|
|
1634
|
+
type: "string" | "number" | "boolean" | "date";
|
|
1635
|
+
description?: string | undefined;
|
|
1636
|
+
required?: boolean | undefined;
|
|
1637
|
+
}, {
|
|
1638
|
+
name: string;
|
|
1639
|
+
type: "string" | "number" | "boolean" | "date";
|
|
1640
|
+
description?: string | undefined;
|
|
1641
|
+
required?: boolean | undefined;
|
|
1642
|
+
}>, "many">;
|
|
2774
1643
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2775
1644
|
entity_id: z.ZodString;
|
|
2776
1645
|
created_at: z.ZodString;
|
|
2777
1646
|
updated_at: z.ZodString;
|
|
2778
1647
|
created_by: z.ZodString;
|
|
2779
1648
|
updated_by: z.ZodString;
|
|
2780
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2781
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2782
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2783
1649
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2784
1650
|
} & {
|
|
2785
|
-
entity_type: z.ZodLiteral<"
|
|
1651
|
+
entity_type: z.ZodLiteral<"dataset">;
|
|
2786
1652
|
name: z.ZodString;
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
1653
|
+
schema: z.ZodArray<z.ZodObject<{
|
|
1654
|
+
name: z.ZodString;
|
|
1655
|
+
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
1656
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1657
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1658
|
+
}, "strip", z.ZodTypeAny, {
|
|
1659
|
+
name: string;
|
|
1660
|
+
type: "string" | "number" | "boolean" | "date";
|
|
1661
|
+
description?: string | undefined;
|
|
1662
|
+
required?: boolean | undefined;
|
|
1663
|
+
}, {
|
|
1664
|
+
name: string;
|
|
1665
|
+
type: "string" | "number" | "boolean" | "date";
|
|
1666
|
+
description?: string | undefined;
|
|
1667
|
+
required?: boolean | undefined;
|
|
1668
|
+
}>, "many">;
|
|
2791
1669
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2792
1670
|
entity_id: z.ZodString;
|
|
2793
1671
|
created_at: z.ZodString;
|
|
2794
1672
|
updated_at: z.ZodString;
|
|
2795
1673
|
created_by: z.ZodString;
|
|
2796
1674
|
updated_by: z.ZodString;
|
|
2797
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2798
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2799
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2800
1675
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2801
1676
|
} & {
|
|
2802
|
-
entity_type: z.ZodLiteral<"
|
|
1677
|
+
entity_type: z.ZodLiteral<"dataset">;
|
|
2803
1678
|
name: z.ZodString;
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
1679
|
+
schema: z.ZodArray<z.ZodObject<{
|
|
1680
|
+
name: z.ZodString;
|
|
1681
|
+
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
1682
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1683
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1684
|
+
}, "strip", z.ZodTypeAny, {
|
|
1685
|
+
name: string;
|
|
1686
|
+
type: "string" | "number" | "boolean" | "date";
|
|
1687
|
+
description?: string | undefined;
|
|
1688
|
+
required?: boolean | undefined;
|
|
1689
|
+
}, {
|
|
1690
|
+
name: string;
|
|
1691
|
+
type: "string" | "number" | "boolean" | "date";
|
|
1692
|
+
description?: string | undefined;
|
|
1693
|
+
required?: boolean | undefined;
|
|
1694
|
+
}>, "many">;
|
|
2808
1695
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2809
|
-
readonly
|
|
1696
|
+
readonly reference: z.ZodObject<{
|
|
2810
1697
|
entity_id: z.ZodString;
|
|
2811
1698
|
created_at: z.ZodString;
|
|
2812
1699
|
updated_at: z.ZodString;
|
|
2813
1700
|
created_by: z.ZodString;
|
|
2814
1701
|
updated_by: z.ZodString;
|
|
2815
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2816
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2817
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2818
1702
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2819
1703
|
} & {
|
|
2820
|
-
entity_type: z.ZodLiteral<"
|
|
1704
|
+
entity_type: z.ZodLiteral<"reference">;
|
|
2821
1705
|
name: z.ZodString;
|
|
2822
|
-
|
|
2823
|
-
|
|
1706
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1707
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1708
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1709
|
+
link: z.ZodOptional<z.ZodString>;
|
|
1710
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2824
1711
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2825
|
-
|
|
2826
|
-
owner: z.ZodOptional<z.ZodString>;
|
|
2827
|
-
review_cycle: z.ZodOptional<z.ZodEnum<["monthly", "quarterly", "annual", "as-needed"]>>;
|
|
1712
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2828
1713
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2829
1714
|
entity_id: z.ZodString;
|
|
2830
1715
|
created_at: z.ZodString;
|
|
2831
1716
|
updated_at: z.ZodString;
|
|
2832
1717
|
created_by: z.ZodString;
|
|
2833
1718
|
updated_by: z.ZodString;
|
|
2834
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2835
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2836
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2837
1719
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2838
1720
|
} & {
|
|
2839
|
-
entity_type: z.ZodLiteral<"
|
|
1721
|
+
entity_type: z.ZodLiteral<"reference">;
|
|
2840
1722
|
name: z.ZodString;
|
|
2841
|
-
|
|
2842
|
-
|
|
1723
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1724
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1725
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1726
|
+
link: z.ZodOptional<z.ZodString>;
|
|
1727
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2843
1728
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2844
|
-
|
|
2845
|
-
owner: z.ZodOptional<z.ZodString>;
|
|
2846
|
-
review_cycle: z.ZodOptional<z.ZodEnum<["monthly", "quarterly", "annual", "as-needed"]>>;
|
|
1729
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2847
1730
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2848
1731
|
entity_id: z.ZodString;
|
|
2849
1732
|
created_at: z.ZodString;
|
|
2850
1733
|
updated_at: z.ZodString;
|
|
2851
1734
|
created_by: z.ZodString;
|
|
2852
1735
|
updated_by: z.ZodString;
|
|
2853
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2854
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2855
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2856
1736
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2857
1737
|
} & {
|
|
2858
|
-
entity_type: z.ZodLiteral<"
|
|
1738
|
+
entity_type: z.ZodLiteral<"reference">;
|
|
2859
1739
|
name: z.ZodString;
|
|
2860
|
-
|
|
2861
|
-
|
|
1740
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1741
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1742
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1743
|
+
link: z.ZodOptional<z.ZodString>;
|
|
1744
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2862
1745
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2863
|
-
|
|
2864
|
-
owner: z.ZodOptional<z.ZodString>;
|
|
2865
|
-
review_cycle: z.ZodOptional<z.ZodEnum<["monthly", "quarterly", "annual", "as-needed"]>>;
|
|
1746
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2866
1747
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2867
|
-
readonly
|
|
1748
|
+
readonly note: z.ZodObject<{
|
|
2868
1749
|
entity_id: z.ZodString;
|
|
2869
1750
|
created_at: z.ZodString;
|
|
2870
1751
|
updated_at: z.ZodString;
|
|
2871
1752
|
created_by: z.ZodString;
|
|
2872
1753
|
updated_by: z.ZodString;
|
|
2873
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2874
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2875
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2876
1754
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2877
1755
|
} & {
|
|
2878
|
-
entity_type: z.ZodLiteral<"
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1756
|
+
entity_type: z.ZodLiteral<"note">;
|
|
1757
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1758
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1759
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1760
|
+
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2884
1761
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2885
1762
|
entity_id: z.ZodString;
|
|
2886
1763
|
created_at: z.ZodString;
|
|
2887
1764
|
updated_at: z.ZodString;
|
|
2888
1765
|
created_by: z.ZodString;
|
|
2889
1766
|
updated_by: z.ZodString;
|
|
2890
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2891
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2892
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2893
1767
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2894
1768
|
} & {
|
|
2895
|
-
entity_type: z.ZodLiteral<"
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1769
|
+
entity_type: z.ZodLiteral<"note">;
|
|
1770
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1771
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1772
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1773
|
+
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2901
1774
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2902
1775
|
entity_id: z.ZodString;
|
|
2903
1776
|
created_at: z.ZodString;
|
|
2904
1777
|
updated_at: z.ZodString;
|
|
2905
1778
|
created_by: z.ZodString;
|
|
2906
1779
|
updated_by: z.ZodString;
|
|
2907
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2908
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2909
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2910
1780
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2911
1781
|
} & {
|
|
2912
|
-
entity_type: z.ZodLiteral<"
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1782
|
+
entity_type: z.ZodLiteral<"note">;
|
|
1783
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1784
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1785
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1786
|
+
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2918
1787
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2919
|
-
readonly
|
|
1788
|
+
readonly deliverable: z.ZodObject<{
|
|
2920
1789
|
entity_id: z.ZodString;
|
|
2921
1790
|
created_at: z.ZodString;
|
|
2922
1791
|
updated_at: z.ZodString;
|
|
2923
1792
|
created_by: z.ZodString;
|
|
2924
1793
|
updated_by: z.ZodString;
|
|
2925
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2926
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2927
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2928
1794
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2929
1795
|
} & {
|
|
2930
|
-
entity_type: z.ZodLiteral<"
|
|
1796
|
+
entity_type: z.ZodLiteral<"deliverable">;
|
|
2931
1797
|
name: z.ZodString;
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2937
|
-
related_people: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2938
|
-
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1798
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1799
|
+
status: z.ZodDefault<z.ZodEnum<["planned", "in-progress", "delivered", "accepted", "rejected"]>>;
|
|
1800
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
1801
|
+
delivered_date: z.ZodOptional<z.ZodString>;
|
|
2939
1802
|
description: z.ZodOptional<z.ZodString>;
|
|
2940
1803
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2941
1804
|
entity_id: z.ZodString;
|
|
@@ -2943,20 +1806,14 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
2943
1806
|
updated_at: z.ZodString;
|
|
2944
1807
|
created_by: z.ZodString;
|
|
2945
1808
|
updated_by: z.ZodString;
|
|
2946
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2947
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2948
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2949
1809
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2950
1810
|
} & {
|
|
2951
|
-
entity_type: z.ZodLiteral<"
|
|
1811
|
+
entity_type: z.ZodLiteral<"deliverable">;
|
|
2952
1812
|
name: z.ZodString;
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2958
|
-
related_people: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2959
|
-
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1813
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1814
|
+
status: z.ZodDefault<z.ZodEnum<["planned", "in-progress", "delivered", "accepted", "rejected"]>>;
|
|
1815
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
1816
|
+
delivered_date: z.ZodOptional<z.ZodString>;
|
|
2960
1817
|
description: z.ZodOptional<z.ZodString>;
|
|
2961
1818
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2962
1819
|
entity_id: z.ZodString;
|
|
@@ -2964,337 +1821,276 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
2964
1821
|
updated_at: z.ZodString;
|
|
2965
1822
|
created_by: z.ZodString;
|
|
2966
1823
|
updated_by: z.ZodString;
|
|
2967
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2968
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2969
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2970
1824
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2971
1825
|
} & {
|
|
2972
|
-
entity_type: z.ZodLiteral<"
|
|
1826
|
+
entity_type: z.ZodLiteral<"deliverable">;
|
|
2973
1827
|
name: z.ZodString;
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2979
|
-
related_people: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2980
|
-
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1828
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1829
|
+
status: z.ZodDefault<z.ZodEnum<["planned", "in-progress", "delivered", "accepted", "rejected"]>>;
|
|
1830
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
1831
|
+
delivered_date: z.ZodOptional<z.ZodString>;
|
|
2981
1832
|
description: z.ZodOptional<z.ZodString>;
|
|
2982
1833
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2983
|
-
readonly
|
|
1834
|
+
readonly publication: z.ZodObject<{
|
|
2984
1835
|
entity_id: z.ZodString;
|
|
2985
1836
|
created_at: z.ZodString;
|
|
2986
1837
|
updated_at: z.ZodString;
|
|
2987
1838
|
created_by: z.ZodString;
|
|
2988
1839
|
updated_by: z.ZodString;
|
|
2989
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2990
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2991
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2992
1840
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2993
1841
|
} & {
|
|
2994
|
-
entity_type: z.ZodLiteral<"
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
1842
|
+
entity_type: z.ZodLiteral<"publication">;
|
|
1843
|
+
title: z.ZodString;
|
|
1844
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1845
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
1846
|
+
status: z.ZodDefault<z.ZodEnum<["draft", "review", "scheduled", "published"]>>;
|
|
1847
|
+
published_date: z.ZodOptional<z.ZodString>;
|
|
1848
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1849
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1850
|
+
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3001
1851
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3002
1852
|
entity_id: z.ZodString;
|
|
3003
1853
|
created_at: z.ZodString;
|
|
3004
1854
|
updated_at: z.ZodString;
|
|
3005
1855
|
created_by: z.ZodString;
|
|
3006
1856
|
updated_by: z.ZodString;
|
|
3007
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3008
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3009
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3010
1857
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3011
1858
|
} & {
|
|
3012
|
-
entity_type: z.ZodLiteral<"
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
1859
|
+
entity_type: z.ZodLiteral<"publication">;
|
|
1860
|
+
title: z.ZodString;
|
|
1861
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1862
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
1863
|
+
status: z.ZodDefault<z.ZodEnum<["draft", "review", "scheduled", "published"]>>;
|
|
1864
|
+
published_date: z.ZodOptional<z.ZodString>;
|
|
1865
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1866
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1867
|
+
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3019
1868
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3020
1869
|
entity_id: z.ZodString;
|
|
3021
1870
|
created_at: z.ZodString;
|
|
3022
1871
|
updated_at: z.ZodString;
|
|
3023
1872
|
created_by: z.ZodString;
|
|
3024
1873
|
updated_by: z.ZodString;
|
|
3025
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3026
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3027
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3028
1874
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3029
1875
|
} & {
|
|
3030
|
-
entity_type: z.ZodLiteral<"
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
1876
|
+
entity_type: z.ZodLiteral<"publication">;
|
|
1877
|
+
title: z.ZodString;
|
|
1878
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1879
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
1880
|
+
status: z.ZodDefault<z.ZodEnum<["draft", "review", "scheduled", "published"]>>;
|
|
1881
|
+
published_date: z.ZodOptional<z.ZodString>;
|
|
1882
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1883
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1884
|
+
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3037
1885
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3038
|
-
readonly
|
|
1886
|
+
readonly deal: z.ZodObject<{
|
|
3039
1887
|
entity_id: z.ZodString;
|
|
3040
1888
|
created_at: z.ZodString;
|
|
3041
1889
|
updated_at: z.ZodString;
|
|
3042
1890
|
created_by: z.ZodString;
|
|
3043
1891
|
updated_by: z.ZodString;
|
|
3044
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3045
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3046
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3047
1892
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3048
1893
|
} & {
|
|
3049
|
-
entity_type: z.ZodLiteral<"
|
|
1894
|
+
entity_type: z.ZodLiteral<"deal">;
|
|
3050
1895
|
name: z.ZodString;
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
1896
|
+
client: z.ZodOptional<z.ZodString>;
|
|
1897
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1898
|
+
stage: z.ZodDefault<z.ZodEnum<["scoping", "proposal", "negotiating", "won", "lost"]>>;
|
|
1899
|
+
deal_value: z.ZodOptional<z.ZodNumber>;
|
|
1900
|
+
probability: z.ZodOptional<z.ZodNumber>;
|
|
1901
|
+
expected_close: z.ZodOptional<z.ZodString>;
|
|
1902
|
+
source: z.ZodOptional<z.ZodEnum<["referral", "inbound", "outbound", "repeat", "partner", "other"]>>;
|
|
1903
|
+
proposals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1904
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1905
|
+
lost_reason: z.ZodOptional<z.ZodString>;
|
|
3055
1906
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3056
1907
|
entity_id: z.ZodString;
|
|
3057
1908
|
created_at: z.ZodString;
|
|
3058
1909
|
updated_at: z.ZodString;
|
|
3059
1910
|
created_by: z.ZodString;
|
|
3060
1911
|
updated_by: z.ZodString;
|
|
3061
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3062
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3063
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3064
1912
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3065
1913
|
} & {
|
|
3066
|
-
entity_type: z.ZodLiteral<"
|
|
1914
|
+
entity_type: z.ZodLiteral<"deal">;
|
|
3067
1915
|
name: z.ZodString;
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
1916
|
+
client: z.ZodOptional<z.ZodString>;
|
|
1917
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1918
|
+
stage: z.ZodDefault<z.ZodEnum<["scoping", "proposal", "negotiating", "won", "lost"]>>;
|
|
1919
|
+
deal_value: z.ZodOptional<z.ZodNumber>;
|
|
1920
|
+
probability: z.ZodOptional<z.ZodNumber>;
|
|
1921
|
+
expected_close: z.ZodOptional<z.ZodString>;
|
|
1922
|
+
source: z.ZodOptional<z.ZodEnum<["referral", "inbound", "outbound", "repeat", "partner", "other"]>>;
|
|
1923
|
+
proposals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1924
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1925
|
+
lost_reason: z.ZodOptional<z.ZodString>;
|
|
3072
1926
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3073
1927
|
entity_id: z.ZodString;
|
|
3074
1928
|
created_at: z.ZodString;
|
|
3075
1929
|
updated_at: z.ZodString;
|
|
3076
1930
|
created_by: z.ZodString;
|
|
3077
1931
|
updated_by: z.ZodString;
|
|
3078
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3079
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3080
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3081
1932
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3082
1933
|
} & {
|
|
3083
|
-
entity_type: z.ZodLiteral<"
|
|
1934
|
+
entity_type: z.ZodLiteral<"deal">;
|
|
3084
1935
|
name: z.ZodString;
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
1936
|
+
client: z.ZodOptional<z.ZodString>;
|
|
1937
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1938
|
+
stage: z.ZodDefault<z.ZodEnum<["scoping", "proposal", "negotiating", "won", "lost"]>>;
|
|
1939
|
+
deal_value: z.ZodOptional<z.ZodNumber>;
|
|
1940
|
+
probability: z.ZodOptional<z.ZodNumber>;
|
|
1941
|
+
expected_close: z.ZodOptional<z.ZodString>;
|
|
1942
|
+
source: z.ZodOptional<z.ZodEnum<["referral", "inbound", "outbound", "repeat", "partner", "other"]>>;
|
|
1943
|
+
proposals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1944
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1945
|
+
lost_reason: z.ZodOptional<z.ZodString>;
|
|
3089
1946
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3090
|
-
readonly
|
|
1947
|
+
readonly process: z.ZodObject<{
|
|
3091
1948
|
entity_id: z.ZodString;
|
|
3092
1949
|
created_at: z.ZodString;
|
|
3093
1950
|
updated_at: z.ZodString;
|
|
3094
1951
|
created_by: z.ZodString;
|
|
3095
1952
|
updated_by: z.ZodString;
|
|
3096
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3097
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3098
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3099
1953
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3100
1954
|
} & {
|
|
3101
|
-
entity_type: z.ZodLiteral<"
|
|
3102
|
-
|
|
3103
|
-
client: z.ZodOptional<z.ZodString>;
|
|
3104
|
-
year: z.ZodOptional<z.ZodNumber>;
|
|
3105
|
-
practice_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3106
|
-
sectors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3107
|
-
website_url: z.ZodOptional<z.ZodString>;
|
|
1955
|
+
entity_type: z.ZodLiteral<"process">;
|
|
1956
|
+
name: z.ZodString;
|
|
3108
1957
|
description: z.ZodOptional<z.ZodString>;
|
|
1958
|
+
steps: z.ZodOptional<z.ZodString>;
|
|
1959
|
+
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1960
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
1961
|
+
review_cycle: z.ZodOptional<z.ZodEnum<["monthly", "quarterly", "annual", "as-needed"]>>;
|
|
3109
1962
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3110
1963
|
entity_id: z.ZodString;
|
|
3111
1964
|
created_at: z.ZodString;
|
|
3112
1965
|
updated_at: z.ZodString;
|
|
3113
1966
|
created_by: z.ZodString;
|
|
3114
1967
|
updated_by: z.ZodString;
|
|
3115
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3116
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3117
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3118
1968
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3119
1969
|
} & {
|
|
3120
|
-
entity_type: z.ZodLiteral<"
|
|
3121
|
-
|
|
3122
|
-
client: z.ZodOptional<z.ZodString>;
|
|
3123
|
-
year: z.ZodOptional<z.ZodNumber>;
|
|
3124
|
-
practice_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3125
|
-
sectors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3126
|
-
website_url: z.ZodOptional<z.ZodString>;
|
|
1970
|
+
entity_type: z.ZodLiteral<"process">;
|
|
1971
|
+
name: z.ZodString;
|
|
3127
1972
|
description: z.ZodOptional<z.ZodString>;
|
|
1973
|
+
steps: z.ZodOptional<z.ZodString>;
|
|
1974
|
+
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1975
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
1976
|
+
review_cycle: z.ZodOptional<z.ZodEnum<["monthly", "quarterly", "annual", "as-needed"]>>;
|
|
3128
1977
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3129
1978
|
entity_id: z.ZodString;
|
|
3130
1979
|
created_at: z.ZodString;
|
|
3131
1980
|
updated_at: z.ZodString;
|
|
3132
1981
|
created_by: z.ZodString;
|
|
3133
1982
|
updated_by: z.ZodString;
|
|
3134
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3135
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3136
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3137
1983
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3138
1984
|
} & {
|
|
3139
|
-
entity_type: z.ZodLiteral<"
|
|
3140
|
-
|
|
3141
|
-
client: z.ZodOptional<z.ZodString>;
|
|
3142
|
-
year: z.ZodOptional<z.ZodNumber>;
|
|
3143
|
-
practice_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3144
|
-
sectors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3145
|
-
website_url: z.ZodOptional<z.ZodString>;
|
|
1985
|
+
entity_type: z.ZodLiteral<"process">;
|
|
1986
|
+
name: z.ZodString;
|
|
3146
1987
|
description: z.ZodOptional<z.ZodString>;
|
|
1988
|
+
steps: z.ZodOptional<z.ZodString>;
|
|
1989
|
+
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1990
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
1991
|
+
review_cycle: z.ZodOptional<z.ZodEnum<["monthly", "quarterly", "annual", "as-needed"]>>;
|
|
3147
1992
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3148
|
-
readonly
|
|
1993
|
+
readonly standard: z.ZodObject<{
|
|
3149
1994
|
entity_id: z.ZodString;
|
|
3150
1995
|
created_at: z.ZodString;
|
|
3151
1996
|
updated_at: z.ZodString;
|
|
3152
1997
|
created_by: z.ZodString;
|
|
3153
1998
|
updated_by: z.ZodString;
|
|
3154
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3155
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3156
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3157
1999
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3158
2000
|
} & {
|
|
3159
|
-
entity_type: z.ZodLiteral<"
|
|
2001
|
+
entity_type: z.ZodLiteral<"standard">;
|
|
3160
2002
|
name: z.ZodString;
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3166
|
-
}, "strip", z.ZodTypeAny, {
|
|
3167
|
-
name: string;
|
|
3168
|
-
type: "string" | "number" | "boolean" | "date";
|
|
3169
|
-
description?: string | undefined;
|
|
3170
|
-
required?: boolean | undefined;
|
|
3171
|
-
}, {
|
|
3172
|
-
name: string;
|
|
3173
|
-
type: "string" | "number" | "boolean" | "date";
|
|
3174
|
-
description?: string | undefined;
|
|
3175
|
-
required?: boolean | undefined;
|
|
3176
|
-
}>, "many">;
|
|
2003
|
+
category: z.ZodOptional<z.ZodString>;
|
|
2004
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2005
|
+
guidelines: z.ZodOptional<z.ZodString>;
|
|
2006
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3177
2007
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3178
2008
|
entity_id: z.ZodString;
|
|
3179
2009
|
created_at: z.ZodString;
|
|
3180
2010
|
updated_at: z.ZodString;
|
|
3181
2011
|
created_by: z.ZodString;
|
|
3182
2012
|
updated_by: z.ZodString;
|
|
3183
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3184
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3185
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3186
2013
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3187
2014
|
} & {
|
|
3188
|
-
entity_type: z.ZodLiteral<"
|
|
2015
|
+
entity_type: z.ZodLiteral<"standard">;
|
|
3189
2016
|
name: z.ZodString;
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3195
|
-
}, "strip", z.ZodTypeAny, {
|
|
3196
|
-
name: string;
|
|
3197
|
-
type: "string" | "number" | "boolean" | "date";
|
|
3198
|
-
description?: string | undefined;
|
|
3199
|
-
required?: boolean | undefined;
|
|
3200
|
-
}, {
|
|
3201
|
-
name: string;
|
|
3202
|
-
type: "string" | "number" | "boolean" | "date";
|
|
3203
|
-
description?: string | undefined;
|
|
3204
|
-
required?: boolean | undefined;
|
|
3205
|
-
}>, "many">;
|
|
2017
|
+
category: z.ZodOptional<z.ZodString>;
|
|
2018
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2019
|
+
guidelines: z.ZodOptional<z.ZodString>;
|
|
2020
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3206
2021
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3207
2022
|
entity_id: z.ZodString;
|
|
3208
2023
|
created_at: z.ZodString;
|
|
3209
2024
|
updated_at: z.ZodString;
|
|
3210
2025
|
created_by: z.ZodString;
|
|
3211
2026
|
updated_by: z.ZodString;
|
|
3212
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3213
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3214
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3215
2027
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3216
2028
|
} & {
|
|
3217
|
-
entity_type: z.ZodLiteral<"
|
|
2029
|
+
entity_type: z.ZodLiteral<"standard">;
|
|
3218
2030
|
name: z.ZodString;
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3224
|
-
}, "strip", z.ZodTypeAny, {
|
|
3225
|
-
name: string;
|
|
3226
|
-
type: "string" | "number" | "boolean" | "date";
|
|
3227
|
-
description?: string | undefined;
|
|
3228
|
-
required?: boolean | undefined;
|
|
3229
|
-
}, {
|
|
3230
|
-
name: string;
|
|
3231
|
-
type: "string" | "number" | "boolean" | "date";
|
|
3232
|
-
description?: string | undefined;
|
|
3233
|
-
required?: boolean | undefined;
|
|
3234
|
-
}>, "many">;
|
|
2031
|
+
category: z.ZodOptional<z.ZodString>;
|
|
2032
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2033
|
+
guidelines: z.ZodOptional<z.ZodString>;
|
|
2034
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3235
2035
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3236
|
-
readonly
|
|
2036
|
+
readonly 'case-study': z.ZodObject<{
|
|
3237
2037
|
entity_id: z.ZodString;
|
|
3238
2038
|
created_at: z.ZodString;
|
|
3239
2039
|
updated_at: z.ZodString;
|
|
3240
2040
|
created_by: z.ZodString;
|
|
3241
2041
|
updated_by: z.ZodString;
|
|
3242
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3243
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3244
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3245
2042
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3246
2043
|
} & {
|
|
3247
|
-
entity_type: z.ZodLiteral<"
|
|
2044
|
+
entity_type: z.ZodLiteral<"case-study">;
|
|
3248
2045
|
title: z.ZodString;
|
|
3249
2046
|
client: z.ZodOptional<z.ZodString>;
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
related_client: z.ZodOptional<z.ZodString>;
|
|
2047
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
2048
|
+
practice_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2049
|
+
sectors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2050
|
+
website_url: z.ZodOptional<z.ZodString>;
|
|
2051
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3256
2052
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3257
2053
|
entity_id: z.ZodString;
|
|
3258
2054
|
created_at: z.ZodString;
|
|
3259
2055
|
updated_at: z.ZodString;
|
|
3260
2056
|
created_by: z.ZodString;
|
|
3261
2057
|
updated_by: z.ZodString;
|
|
3262
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3263
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3264
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3265
2058
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3266
2059
|
} & {
|
|
3267
|
-
entity_type: z.ZodLiteral<"
|
|
2060
|
+
entity_type: z.ZodLiteral<"case-study">;
|
|
3268
2061
|
title: z.ZodString;
|
|
3269
2062
|
client: z.ZodOptional<z.ZodString>;
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
related_client: z.ZodOptional<z.ZodString>;
|
|
2063
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
2064
|
+
practice_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2065
|
+
sectors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2066
|
+
website_url: z.ZodOptional<z.ZodString>;
|
|
2067
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3276
2068
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3277
2069
|
entity_id: z.ZodString;
|
|
3278
2070
|
created_at: z.ZodString;
|
|
3279
2071
|
updated_at: z.ZodString;
|
|
3280
2072
|
created_by: z.ZodString;
|
|
3281
2073
|
updated_by: z.ZodString;
|
|
3282
|
-
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3283
|
-
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3284
|
-
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3285
2074
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3286
2075
|
} & {
|
|
3287
|
-
entity_type: z.ZodLiteral<"
|
|
2076
|
+
entity_type: z.ZodLiteral<"case-study">;
|
|
3288
2077
|
title: z.ZodString;
|
|
3289
2078
|
client: z.ZodOptional<z.ZodString>;
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
related_client: z.ZodOptional<z.ZodString>;
|
|
2079
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
2080
|
+
practice_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2081
|
+
sectors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2082
|
+
website_url: z.ZodOptional<z.ZodString>;
|
|
2083
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3296
2084
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3297
2085
|
};
|
|
2086
|
+
/**
|
|
2087
|
+
* Plural subfolder name → singular entity_type mapping
|
|
2088
|
+
*/
|
|
2089
|
+
export declare const PLURAL_TO_SINGULAR: Record<string, string>;
|
|
2090
|
+
/**
|
|
2091
|
+
* Singular entity_type → plural subfolder name mapping
|
|
2092
|
+
*/
|
|
2093
|
+
export declare const SINGULAR_TO_PLURAL: Record<string, string>;
|
|
3298
2094
|
export type EntityType = keyof typeof ENTITY_SCHEMAS;
|
|
3299
2095
|
export type Entity = z.infer<typeof ENTITY_SCHEMAS[EntityType]>;
|
|
3300
2096
|
export type EntityData = Entity;
|
|
@@ -3307,6 +2103,6 @@ export declare function validateEntity<T extends EntityType>(entityType: T, data
|
|
|
3307
2103
|
*/
|
|
3308
2104
|
export declare function validateCustomEntity(data: unknown): EntityBase;
|
|
3309
2105
|
/**
|
|
3310
|
-
* Check if
|
|
2106
|
+
* Check if a type is a known built-in entity type
|
|
3311
2107
|
*/
|
|
3312
2108
|
export declare function isKnownEntityType(type: string): type is EntityType;
|