studiograph 1.3.48-next.13 → 1.3.48-next.131
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 +7 -7
- package/dist/agent/agent-pool.d.ts +27 -1
- package/dist/agent/agent-pool.js +55 -12
- package/dist/agent/agent-pool.js.map +1 -1
- package/dist/agent/followups.d.ts +34 -0
- package/dist/agent/followups.js +52 -0
- package/dist/agent/followups.js.map +1 -0
- package/dist/agent/orchestrator.d.ts +29 -2
- package/dist/agent/orchestrator.js +251 -38
- package/dist/agent/orchestrator.js.map +1 -1
- package/dist/agent/prompts/entity-types-section.d.ts +30 -0
- package/dist/agent/prompts/entity-types-section.js +83 -0
- package/dist/agent/prompts/entity-types-section.js.map +1 -0
- package/dist/agent/prompts/system.md +106 -47
- package/dist/agent/skill-loader.d.ts +30 -17
- package/dist/agent/skill-loader.js +63 -30
- package/dist/agent/skill-loader.js.map +1 -1
- package/dist/agent/skills/entity-schema.md +79 -343
- package/dist/agent/skills/interview/entity-templates.md +38 -37
- package/dist/agent/skills/interview/question-domains.md +54 -49
- package/dist/agent/skills/interview/skill.md +89 -14
- package/dist/agent/tools/capture-tools.d.ts +31 -0
- package/dist/agent/tools/capture-tools.js +40 -0
- package/dist/agent/tools/capture-tools.js.map +1 -0
- package/dist/agent/tools/folder-tools.d.ts +47 -0
- package/dist/agent/tools/folder-tools.js +249 -0
- package/dist/agent/tools/folder-tools.js.map +1 -0
- package/dist/agent/tools/fs-tools.d.ts +6 -5
- package/dist/agent/tools/fs-tools.js +5 -5
- package/dist/agent/tools/fs-tools.js.map +1 -1
- package/dist/agent/tools/graph-tools.d.ts +25 -72
- package/dist/agent/tools/graph-tools.js +362 -366
- package/dist/agent/tools/graph-tools.js.map +1 -1
- package/dist/agent/tools/history-tools.d.ts +95 -0
- package/dist/agent/tools/history-tools.js +461 -0
- package/dist/agent/tools/history-tools.js.map +1 -0
- package/dist/agent/tools/load-skill.d.ts +6 -5
- package/dist/agent/tools/load-skill.js +3 -3
- package/dist/agent/tools/load-skill.js.map +1 -1
- package/dist/agent/tools/message-tools.d.ts +13 -11
- package/dist/agent/tools/message-tools.js +31 -39
- package/dist/agent/tools/message-tools.js.map +1 -1
- package/dist/agent/tools/ops-tools.d.ts +5 -4
- package/dist/agent/tools/ops-tools.js +99 -212
- package/dist/agent/tools/ops-tools.js.map +1 -1
- package/dist/agent/tools/permission-tools.d.ts +39 -16
- package/dist/agent/tools/permission-tools.js +66 -41
- package/dist/agent/tools/permission-tools.js.map +1 -1
- package/dist/agent/tools/tool-loader.js +5 -4
- package/dist/agent/tools/tool-loader.js.map +1 -1
- package/dist/agent/tools/web-tools.js +58 -9
- package/dist/agent/tools/web-tools.js.map +1 -1
- package/dist/cli/commands/about.d.ts +1 -0
- package/dist/cli/commands/about.js +55 -3
- package/dist/cli/commands/about.js.map +1 -1
- package/dist/cli/commands/audit.d.ts +21 -0
- package/dist/cli/commands/audit.js +174 -0
- package/dist/cli/commands/audit.js.map +1 -0
- package/dist/cli/commands/clear.d.ts +5 -0
- package/dist/cli/commands/clear.js +144 -1
- package/dist/cli/commands/clear.js.map +1 -1
- package/dist/cli/commands/clone.d.ts +1 -1
- package/dist/cli/commands/clone.js +82 -23
- package/dist/cli/commands/clone.js.map +1 -1
- package/dist/cli/commands/deploy.js +79 -18
- package/dist/cli/commands/deploy.js.map +1 -1
- package/dist/cli/commands/folder.d.ts +11 -0
- package/dist/cli/commands/folder.js +186 -0
- package/dist/cli/commands/folder.js.map +1 -0
- package/dist/cli/commands/index.js +2 -2
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/init.js +16 -14
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/join.d.ts +1 -1
- package/dist/cli/commands/join.js +26 -14
- package/dist/cli/commands/join.js.map +1 -1
- package/dist/cli/commands/mcp.js +12 -4
- package/dist/cli/commands/mcp.js.map +1 -1
- package/dist/cli/commands/r2.d.ts +3 -0
- package/dist/cli/commands/r2.js +196 -1
- package/dist/cli/commands/r2.js.map +1 -1
- package/dist/cli/commands/redeploy.js +41 -1
- package/dist/cli/commands/redeploy.js.map +1 -1
- package/dist/cli/commands/secrets.d.ts +23 -0
- package/dist/cli/commands/secrets.js +256 -0
- package/dist/cli/commands/secrets.js.map +1 -0
- package/dist/cli/commands/serve.js +143 -24
- package/dist/cli/commands/serve.js.map +1 -1
- package/dist/cli/commands/start.js +140 -71
- package/dist/cli/commands/start.js.map +1 -1
- package/dist/cli/commands/sync.d.ts +1 -1
- package/dist/cli/commands/sync.js +509 -163
- package/dist/cli/commands/sync.js.map +1 -1
- package/dist/cli/commands/user.js +8 -24
- package/dist/cli/commands/user.js.map +1 -1
- package/dist/cli/index.js +8 -7
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/railway-provisioning.d.ts +53 -0
- package/dist/cli/railway-provisioning.js +85 -0
- package/dist/cli/railway-provisioning.js.map +1 -0
- package/dist/cli/scaffolding.d.ts +4 -2
- package/dist/cli/scaffolding.js +42 -47
- package/dist/cli/scaffolding.js.map +1 -1
- package/dist/cli/setup-wizard.d.ts +30 -49
- package/dist/cli/setup-wizard.js +35 -38
- package/dist/cli/setup-wizard.js.map +1 -1
- package/dist/core/accent-palette.d.ts +22 -0
- package/dist/core/accent-palette.js +47 -0
- package/dist/core/accent-palette.js.map +1 -0
- package/dist/core/entity-body-templates.d.ts +21 -0
- package/dist/core/entity-body-templates.js +48 -0
- package/dist/core/entity-body-templates.js.map +1 -0
- package/dist/core/entity-types-catalog.d.ts +65 -0
- package/dist/core/entity-types-catalog.js +136 -0
- package/dist/core/entity-types-catalog.js.map +1 -0
- package/dist/core/feature-flags.d.ts +22 -0
- package/dist/core/feature-flags.js +15 -0
- package/dist/core/feature-flags.js.map +1 -0
- package/dist/core/features.d.ts +16 -0
- package/dist/core/features.js +48 -0
- package/dist/core/features.js.map +1 -0
- package/dist/core/folder-paths.d.ts +41 -0
- package/dist/core/folder-paths.js +95 -0
- package/dist/core/folder-paths.js.map +1 -0
- package/dist/core/folder-sidecar.d.ts +16 -0
- package/dist/core/folder-sidecar.js +45 -0
- package/dist/core/folder-sidecar.js.map +1 -0
- package/dist/core/graph.d.ts +471 -19
- package/dist/core/graph.js +1411 -284
- package/dist/core/graph.js.map +1 -1
- package/dist/core/schema-registry.js +1 -19
- package/dist/core/schema-registry.js.map +1 -1
- package/dist/core/schemas/connector.d.ts +67 -0
- package/dist/core/schemas/connector.js +100 -0
- package/dist/core/schemas/connector.js.map +1 -0
- package/dist/core/schemas/workspace.d.ts +122 -0
- package/dist/core/schemas/workspace.js +211 -0
- package/dist/core/schemas/workspace.js.map +1 -0
- package/dist/core/secrets/SecretStore.d.ts +77 -0
- package/dist/core/secrets/SecretStore.js +13 -0
- package/dist/core/secrets/SecretStore.js.map +1 -0
- package/dist/core/secrets/SettingsResolver.d.ts +54 -0
- package/dist/core/secrets/SettingsResolver.js +80 -0
- package/dist/core/secrets/SettingsResolver.js.map +1 -0
- package/dist/core/secrets/SettingsStore.d.ts +30 -0
- package/dist/core/secrets/SettingsStore.js +9 -0
- package/dist/core/secrets/SettingsStore.js.map +1 -0
- package/dist/core/secrets/SqliteEncryptedStore.d.ts +78 -0
- package/dist/core/secrets/SqliteEncryptedStore.js +581 -0
- package/dist/core/secrets/SqliteEncryptedStore.js.map +1 -0
- package/dist/core/secrets/audit.d.ts +36 -0
- package/dist/core/secrets/audit.js +60 -0
- package/dist/core/secrets/audit.js.map +1 -0
- package/dist/core/secrets/auth-db-migration.d.ts +129 -0
- package/dist/core/secrets/auth-db-migration.js +653 -0
- package/dist/core/secrets/auth-db-migration.js.map +1 -0
- package/dist/core/secrets/bundle.d.ts +141 -0
- package/dist/core/secrets/bundle.js +435 -0
- package/dist/core/secrets/bundle.js.map +1 -0
- package/dist/core/secrets/dual-write.d.ts +76 -0
- package/dist/core/secrets/dual-write.js +236 -0
- package/dist/core/secrets/dual-write.js.map +1 -0
- package/dist/core/secrets/encryption.d.ts +44 -0
- package/dist/core/secrets/encryption.js +97 -0
- package/dist/core/secrets/encryption.js.map +1 -0
- package/dist/core/secrets/importer.d.ts +94 -0
- package/dist/core/secrets/importer.js +319 -0
- package/dist/core/secrets/importer.js.map +1 -0
- package/dist/core/secrets/index.d.ts +49 -0
- package/dist/core/secrets/index.js +74 -0
- package/dist/core/secrets/index.js.map +1 -0
- package/dist/core/secrets/master-key.d.ts +38 -0
- package/dist/core/secrets/master-key.js +122 -0
- package/dist/core/secrets/master-key.js.map +1 -0
- package/dist/core/secrets/probes/anthropic.d.ts +98 -0
- package/dist/core/secrets/probes/anthropic.js +300 -0
- package/dist/core/secrets/probes/anthropic.js.map +1 -0
- package/dist/core/secrets/probes/brave.d.ts +9 -0
- package/dist/core/secrets/probes/brave.js +15 -0
- package/dist/core/secrets/probes/brave.js.map +1 -0
- package/dist/core/secrets/probes/r2.d.ts +15 -0
- package/dist/core/secrets/probes/r2.js +14 -0
- package/dist/core/secrets/probes/r2.js.map +1 -0
- package/dist/core/secrets/probes/voyage.d.ts +13 -0
- package/dist/core/secrets/probes/voyage.js +52 -0
- package/dist/core/secrets/probes/voyage.js.map +1 -0
- package/dist/core/secrets/read-flip.d.ts +59 -0
- package/dist/core/secrets/read-flip.js +87 -0
- package/dist/core/secrets/read-flip.js.map +1 -0
- package/dist/core/secrets/registry.d.ts +188 -0
- package/dist/core/secrets/registry.js +531 -0
- package/dist/core/secrets/registry.js.map +1 -0
- package/dist/core/types.d.ts +70 -483
- package/dist/core/types.js +6 -3
- package/dist/core/types.js.map +1 -1
- package/dist/core/user-config.d.ts +52 -12
- package/dist/core/user-config.js +119 -14
- package/dist/core/user-config.js.map +1 -1
- package/dist/core/validation.d.ts +603 -1409
- package/dist/core/validation.js +248 -146
- package/dist/core/validation.js.map +1 -1
- package/dist/core/workspace-manager.d.ts +35 -14
- package/dist/core/workspace-manager.js +105 -56
- package/dist/core/workspace-manager.js.map +1 -1
- package/dist/core/workspace.d.ts +19 -5
- package/dist/core/workspace.js +66 -39
- package/dist/core/workspace.js.map +1 -1
- package/dist/mcp/connector-manager.d.ts +16 -1
- package/dist/mcp/connector-manager.js +44 -5
- package/dist/mcp/connector-manager.js.map +1 -1
- package/dist/mcp/server.d.ts +11 -3
- package/dist/mcp/server.js +30 -5
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tools.d.ts +27 -2
- package/dist/mcp/tools.js +544 -113
- package/dist/mcp/tools.js.map +1 -1
- package/dist/server/__tests__/helpers/graph-api.d.ts +18 -0
- package/dist/server/__tests__/helpers/graph-api.js +16 -0
- package/dist/server/__tests__/helpers/graph-api.js.map +1 -0
- package/dist/server/commit-audit.d.ts +26 -0
- package/dist/server/commit-audit.js +30 -0
- package/dist/server/commit-audit.js.map +1 -0
- package/dist/server/index.d.ts +14 -3
- package/dist/server/index.js +385 -177
- package/dist/server/index.js.map +1 -1
- package/dist/server/middleware/sanitize.d.ts +46 -0
- package/dist/server/middleware/sanitize.js +171 -0
- package/dist/server/middleware/sanitize.js.map +1 -0
- package/dist/server/routes/asset-api.js +217 -65
- package/dist/server/routes/asset-api.js.map +1 -1
- package/dist/server/routes/audit-api.d.ts +24 -0
- package/dist/server/routes/audit-api.js +117 -0
- package/dist/server/routes/audit-api.js.map +1 -0
- package/dist/server/routes/auth-api.js +220 -44
- package/dist/server/routes/auth-api.js.map +1 -1
- package/dist/server/routes/capture-api.d.ts +10 -3
- package/dist/server/routes/capture-api.js +180 -24
- package/dist/server/routes/capture-api.js.map +1 -1
- package/dist/server/routes/chat.d.ts +4 -1
- package/dist/server/routes/chat.js +178 -46
- package/dist/server/routes/chat.js.map +1 -1
- package/dist/server/routes/config-api.d.ts +21 -0
- package/dist/server/routes/config-api.js +256 -0
- package/dist/server/routes/config-api.js.map +1 -0
- package/dist/server/routes/connectors-api.js +24 -18
- package/dist/server/routes/connectors-api.js.map +1 -1
- package/dist/server/routes/event-ingest-api.d.ts +15 -0
- package/dist/server/routes/event-ingest-api.js +125 -0
- package/dist/server/routes/event-ingest-api.js.map +1 -0
- package/dist/server/routes/features-api.d.ts +19 -0
- package/dist/server/routes/features-api.js +28 -0
- package/dist/server/routes/features-api.js.map +1 -0
- package/dist/server/routes/git-http.d.ts +2 -2
- package/dist/server/routes/git-http.js +69 -34
- package/dist/server/routes/git-http.js.map +1 -1
- package/dist/server/routes/graph-api-access.d.ts +35 -0
- package/dist/server/routes/graph-api-access.js +93 -0
- package/dist/server/routes/graph-api-access.js.map +1 -0
- package/dist/server/routes/graph-api.d.ts +3 -2
- package/dist/server/routes/graph-api.js +1014 -315
- package/dist/server/routes/graph-api.js.map +1 -1
- package/dist/server/routes/health.d.ts +18 -0
- package/dist/server/routes/health.js +74 -0
- package/dist/server/routes/health.js.map +1 -0
- package/dist/server/routes/insights-api.js +156 -33
- package/dist/server/routes/insights-api.js.map +1 -1
- package/dist/server/routes/mcp.d.ts +6 -3
- package/dist/server/routes/mcp.js +22 -6
- package/dist/server/routes/mcp.js.map +1 -1
- package/dist/server/routes/messages-api.d.ts +3 -3
- package/dist/server/routes/messages-api.js +308 -120
- package/dist/server/routes/messages-api.js.map +1 -1
- package/dist/server/routes/permissions-api.d.ts +9 -2
- package/dist/server/routes/permissions-api.js +87 -31
- package/dist/server/routes/permissions-api.js.map +1 -1
- package/dist/server/routes/secrets-api.d.ts +36 -0
- package/dist/server/routes/secrets-api.js +308 -0
- package/dist/server/routes/secrets-api.js.map +1 -0
- package/dist/server/routes/settings-api.d.ts +29 -0
- package/dist/server/routes/settings-api.js +180 -0
- package/dist/server/routes/settings-api.js.map +1 -0
- package/dist/server/routes/workspace-api.d.ts +2 -1
- package/dist/server/routes/workspace-api.js +131 -20
- package/dist/server/routes/workspace-api.js.map +1 -1
- package/dist/server/routes/ws.d.ts +3 -2
- package/dist/server/routes/ws.js +68 -18
- package/dist/server/routes/ws.js.map +1 -1
- package/dist/server/session-manager.d.ts +48 -5
- package/dist/server/session-manager.js +175 -11
- package/dist/server/session-manager.js.map +1 -1
- package/dist/server/ws-hub.d.ts +134 -22
- package/dist/server/ws-hub.js +0 -0
- package/dist/server/ws-hub.js.map +1 -1
- package/dist/server/yjs-manager.d.ts +107 -7
- package/dist/server/yjs-manager.js +444 -38
- package/dist/server/yjs-manager.js.map +1 -1
- package/dist/server/yjs-persistence.d.ts +143 -0
- package/dist/server/yjs-persistence.js +543 -0
- package/dist/server/yjs-persistence.js.map +1 -0
- package/dist/server/yjs-text-diff.d.ts +32 -0
- package/dist/server/yjs-text-diff.js +61 -0
- package/dist/server/yjs-text-diff.js.map +1 -0
- package/dist/services/access-control.d.ts +53 -0
- package/dist/services/access-control.js +132 -0
- package/dist/services/access-control.js.map +1 -0
- package/dist/services/asset-upload-service.d.ts +53 -0
- package/dist/services/asset-upload-service.js +200 -0
- package/dist/services/asset-upload-service.js.map +1 -0
- package/dist/services/assets/base.d.ts +38 -0
- package/dist/services/assets/base.js +55 -0
- package/dist/services/assets/base.js.map +1 -1
- package/dist/services/assets/index.d.ts +41 -1
- package/dist/services/assets/index.js +65 -0
- package/dist/services/assets/index.js.map +1 -1
- package/dist/services/assets/local.d.ts +7 -1
- package/dist/services/assets/local.js +83 -0
- package/dist/services/assets/local.js.map +1 -1
- package/dist/services/assets/r2.d.ts +28 -1
- package/dist/services/assets/r2.js +75 -1
- package/dist/services/assets/r2.js.map +1 -1
- package/dist/services/auth-service.d.ts +184 -36
- package/dist/services/auth-service.js +763 -138
- package/dist/services/auth-service.js.map +1 -1
- package/dist/services/briefing.d.ts +1 -1
- package/dist/services/briefing.js +12 -35
- package/dist/services/briefing.js.map +1 -1
- package/dist/services/event-processor.d.ts +104 -0
- package/dist/services/event-processor.js +443 -0
- package/dist/services/event-processor.js.map +1 -0
- package/dist/services/folder-creation.d.ts +33 -0
- package/dist/services/folder-creation.js +103 -0
- package/dist/services/folder-creation.js.map +1 -0
- package/dist/services/git.d.ts +44 -0
- package/dist/services/git.js +162 -55
- package/dist/services/git.js.map +1 -1
- package/dist/services/heartbeat.d.ts +19 -12
- package/dist/services/heartbeat.js +162 -107
- package/dist/services/heartbeat.js.map +1 -1
- package/dist/services/import-service.d.ts +37 -2
- package/dist/services/import-service.js +222 -123
- package/dist/services/import-service.js.map +1 -1
- package/dist/services/lint-service.js +7 -14
- package/dist/services/lint-service.js.map +1 -1
- package/dist/services/markdown.js +6 -2
- package/dist/services/markdown.js.map +1 -1
- package/dist/services/message-service.d.ts +62 -21
- package/dist/services/message-service.js +160 -43
- package/dist/services/message-service.js.map +1 -1
- package/dist/services/personal-folder.d.ts +40 -0
- package/dist/services/personal-folder.js +101 -0
- package/dist/services/personal-folder.js.map +1 -0
- package/dist/services/vector-service.d.ts +73 -3
- package/dist/services/vector-service.js +106 -7
- package/dist/services/vector-service.js.map +1 -1
- package/dist/services/workspace-access.d.ts +106 -0
- package/dist/services/workspace-access.js +149 -0
- package/dist/services/workspace-access.js.map +1 -0
- package/dist/utils/git.js +3 -3
- package/dist/utils/git.js.map +1 -1
- package/dist/utils/log.d.ts +42 -0
- package/dist/utils/log.js +137 -0
- package/dist/utils/log.js.map +1 -0
- package/dist/utils/preflight.js +2 -2
- package/dist/utils/preflight.js.map +1 -1
- package/dist/utils/version-checker.d.ts +4 -1
- package/dist/utils/version-checker.js +8 -8
- package/dist/utils/version-checker.js.map +1 -1
- package/dist/web/_app/immutable/assets/0.Bp6xXZUi.css +2 -0
- package/dist/web/_app/immutable/assets/11.DlIf1mKh.css +1 -0
- package/dist/web/_app/immutable/assets/12.Dmlt28l2.css +1 -0
- package/dist/web/_app/immutable/assets/13.CmLrbzZp.css +1 -0
- package/dist/web/_app/immutable/assets/2.oo1ac0x_.css +1 -0
- package/dist/web/_app/immutable/assets/3.DJJsQzDb.css +1 -0
- package/dist/web/_app/immutable/assets/4.CZ-fNJ91.css +1 -0
- package/dist/web/_app/immutable/assets/AgentOverlay.BfWESlQU.css +1 -0
- package/dist/web/_app/immutable/assets/AssetManagerModal.ZfasE2L3.css +1 -0
- package/dist/web/_app/immutable/assets/CalendarView.CeNagvyK.css +1 -0
- package/dist/web/_app/immutable/assets/ChatPanel.po0gYtVH.css +1 -0
- package/dist/web/_app/immutable/assets/FolderMembersPanel.Bepw-r0F.css +1 -0
- package/dist/web/_app/immutable/assets/FolderMutationDialogs.BMRF6Z3z.css +1 -0
- package/dist/web/_app/immutable/assets/FolderPicker.B5KdvRYl.css +1 -0
- package/dist/web/_app/immutable/assets/GalleryView.Dy-qQjEc.css +1 -0
- package/dist/web/_app/immutable/assets/GraphView.BHnGIltS.css +1 -0
- package/dist/web/_app/immutable/assets/KanbanView.G3NZ0uHb.css +1 -0
- package/dist/web/_app/immutable/assets/SettingsDialog.tBn8y9DD.css +1 -0
- package/dist/web/_app/immutable/assets/Spinner.UBfl0pab.css +1 -0
- package/dist/web/_app/immutable/assets/TagFilter.DNipjifq.css +1 -0
- package/dist/web/_app/immutable/assets/TagPickerSheet.DJPuqnTg.css +1 -0
- package/dist/web/_app/immutable/assets/WorkspaceView.B9zA92UB.css +1 -0
- package/dist/web/_app/immutable/assets/button.BlLm4Dg1.css +1 -0
- package/dist/web/_app/immutable/assets/dialog.BxVal_19.css +1 -0
- package/dist/web/_app/immutable/assets/dist.B5hGjnfj.css +1 -0
- package/dist/web/_app/immutable/assets/dist.DDCWxn3B.css +1 -0
- package/dist/web/_app/immutable/assets/dropdown-menu.BSsUUQ3o.css +1 -0
- package/dist/web/_app/immutable/assets/entity-row.Bl5FyNCt.css +1 -0
- package/dist/web/_app/immutable/assets/greeting.Bm7lTneV.css +1 -0
- package/dist/web/_app/immutable/assets/ibm-plex-mono-latin-400-normal.CvHOgSBP.woff +0 -0
- package/dist/web/_app/immutable/assets/ibm-plex-mono-latin-400-normal.DMJ8VG8y.woff2 +0 -0
- package/dist/web/_app/immutable/assets/ibm-plex-mono-latin-500-normal.CB9ihrfo.woff +0 -0
- package/dist/web/_app/immutable/assets/ibm-plex-mono-latin-500-normal.DSY6xOcd.woff2 +0 -0
- package/dist/web/_app/immutable/assets/ibm-plex-sans-latin-400-italic.CZTNEAuW.woff2 +0 -0
- package/dist/web/_app/immutable/assets/ibm-plex-sans-latin-400-italic.CsGl1sm0.woff +0 -0
- package/dist/web/_app/immutable/assets/ibm-plex-sans-latin-400-normal.CDDApCn2.woff2 +0 -0
- package/dist/web/_app/immutable/assets/ibm-plex-sans-latin-400-normal.CYLoc0-x.woff +0 -0
- package/dist/web/_app/immutable/assets/ibm-plex-sans-latin-500-italic.BNK2_mGO.woff2 +0 -0
- package/dist/web/_app/immutable/assets/ibm-plex-sans-latin-500-italic.DpEwFAQM.woff +0 -0
- package/dist/web/_app/immutable/assets/ibm-plex-sans-latin-500-normal.6ng42L7E.woff2 +0 -0
- package/dist/web/_app/immutable/assets/ibm-plex-sans-latin-500-normal.BgVn5rGT.woff +0 -0
- package/dist/web/_app/immutable/assets/ibm-plex-sans-latin-600-normal.Cu4Hd6ag.woff +0 -0
- package/dist/web/_app/immutable/assets/ibm-plex-sans-latin-600-normal.CuJfVYMP.woff2 +0 -0
- package/dist/web/_app/immutable/assets/inline-list.DORLo4xF.css +1 -0
- package/dist/web/_app/immutable/assets/notifications.clodJdp5.css +1 -0
- package/dist/web/_app/immutable/assets/radio-group.GJJRVPUJ.css +1 -0
- package/dist/web/_app/immutable/assets/select.D_AV992j.css +1 -0
- package/dist/web/_app/immutable/chunks/-KAQXGuI2.js +1 -0
- package/dist/web/_app/immutable/chunks/-wzwcH00.js +1 -0
- package/dist/web/_app/immutable/chunks/07l_1Zpm2.js +1 -0
- package/dist/web/_app/immutable/chunks/38oWKNzM2.js +6 -0
- package/dist/web/_app/immutable/chunks/54VmiJfH.js +1 -0
- package/dist/web/_app/immutable/chunks/6LRpFvjo.js +185 -0
- package/dist/web/_app/immutable/chunks/7R0Rp3Mz.js +1 -0
- package/dist/web/_app/immutable/chunks/9bCTHkeS.js +1 -0
- package/dist/web/_app/immutable/chunks/B-822WnD2.js +22 -0
- package/dist/web/_app/immutable/chunks/B0HUvliX2.js +2 -0
- package/dist/web/_app/immutable/chunks/B12eXGpE.js +1 -0
- package/dist/web/_app/immutable/chunks/B5af0X0p2.js +1 -0
- package/dist/web/_app/immutable/chunks/B6iYNwo72.js +1 -0
- package/dist/web/_app/immutable/chunks/B7EMtoAB.js +1 -0
- package/dist/web/_app/immutable/chunks/B7L4gmPR.js +2 -0
- package/dist/web/_app/immutable/chunks/B9qBGxh62.js +3 -0
- package/dist/web/_app/immutable/chunks/BDJYj9yi.js +2 -0
- package/dist/web/_app/immutable/chunks/BEpMEjHO.js +1 -0
- package/dist/web/_app/immutable/chunks/BErNpj-S2.js +1 -0
- package/dist/web/_app/immutable/chunks/BHBk4zfV.js +1 -0
- package/dist/web/_app/immutable/chunks/BHH-JGNF.js +1 -0
- package/dist/web/_app/immutable/chunks/BKe5wPiN.js +1 -0
- package/dist/web/_app/immutable/chunks/BNTlsKDJ.js +1 -0
- package/dist/web/_app/immutable/chunks/BOgcXgis2.js +1 -0
- package/dist/web/_app/immutable/chunks/BOyyDrjn2.js +1 -0
- package/dist/web/_app/immutable/chunks/BPR_ufQ0.js +41 -0
- package/dist/web/_app/immutable/chunks/BRcFsc6v.js +5 -0
- package/dist/web/_app/immutable/chunks/BT3KAag_.js +3 -0
- package/dist/web/_app/immutable/chunks/BX2T6xiZ.js +224 -0
- package/dist/web/_app/immutable/chunks/BZnJ8tbJ.js +1 -0
- package/dist/web/_app/immutable/chunks/Ba1Yzb7u.js +1 -0
- package/dist/web/_app/immutable/chunks/BcsvgA3B2.js +1 -0
- package/dist/web/_app/immutable/chunks/BfbS7rGT.js +1 -0
- package/dist/web/_app/immutable/chunks/BgagL41Z.js +1 -0
- package/dist/web/_app/immutable/chunks/BiUh0Sik.js +1 -0
- package/dist/web/_app/immutable/chunks/Biajc_oU.js +1 -0
- package/dist/web/_app/immutable/chunks/Bl9Pzopy.js +1 -0
- package/dist/web/_app/immutable/chunks/BmcU05mO.js +1 -0
- package/dist/web/_app/immutable/chunks/Bmgp0jlT.js +1 -0
- package/dist/web/_app/immutable/chunks/BmgyOoEp.js +1 -0
- package/dist/web/_app/immutable/chunks/Bq0-jBGC2.js +1 -0
- package/dist/web/_app/immutable/chunks/BqGj0_GS.js +1 -0
- package/dist/web/_app/immutable/chunks/Bsc9K3Pz.js +1 -0
- package/dist/web/_app/immutable/chunks/Bssb691Q.js +1 -0
- package/dist/web/_app/immutable/chunks/BuzQceOn.js +1 -0
- package/dist/web/_app/immutable/chunks/BzeVNab0.js +1 -0
- package/dist/web/_app/immutable/chunks/C-OaypFN.js +1 -0
- package/dist/web/_app/immutable/chunks/C0fjDjvE2.js +1 -0
- package/dist/web/_app/immutable/chunks/C0pTXwEX.js +2 -0
- package/dist/web/_app/immutable/chunks/C3Enww9L2.js +1 -0
- package/dist/web/_app/immutable/chunks/C3oa0Cks.js +1 -0
- package/dist/web/_app/immutable/chunks/CC-YWp-f.js +1 -0
- package/dist/web/_app/immutable/chunks/CGdKvXV92.js +1 -0
- package/dist/web/_app/immutable/chunks/CH0siYFL.js +1 -0
- package/dist/web/_app/immutable/chunks/CIchr8Tk2.js +1 -0
- package/dist/web/_app/immutable/chunks/CK_yXDQI.js +1 -0
- package/dist/web/_app/immutable/chunks/CLPtMig0.js +1 -0
- package/dist/web/_app/immutable/chunks/CLSxJmTj.js +2 -0
- package/dist/web/_app/immutable/chunks/CPQNcHIB.js +3 -0
- package/dist/web/_app/immutable/chunks/CPt2D5aU.js +1 -0
- package/dist/web/_app/immutable/chunks/CQ-2yccd.js +7 -0
- package/dist/web/_app/immutable/chunks/CS6VEwn7.js +1 -0
- package/dist/web/_app/immutable/chunks/CSGIGrrK.js +1 -0
- package/dist/web/_app/immutable/chunks/CSsDOIrk.js +1 -0
- package/dist/web/_app/immutable/chunks/CVXvEWhv2.js +1 -0
- package/dist/web/_app/immutable/chunks/CaChtuYU2.js +1 -0
- package/dist/web/_app/immutable/chunks/CbiwvM3R2.js +1 -0
- package/dist/web/_app/immutable/chunks/CdCuBMLm.js +156 -0
- package/dist/web/_app/immutable/chunks/CfqjDDMu.js +1 -0
- package/dist/web/_app/immutable/chunks/CjGzUnEF2.js +1 -0
- package/dist/web/_app/immutable/chunks/Cjgbiel7.js +1 -0
- package/dist/web/_app/immutable/chunks/ClNEskRf.js +1 -0
- package/dist/web/_app/immutable/chunks/CnqSKqA62.js +1 -0
- package/dist/web/_app/immutable/chunks/CqyqKPuh2.js +1 -0
- package/dist/web/_app/immutable/chunks/CrnX-oFV.js +1 -0
- package/dist/web/_app/immutable/chunks/CsGahE3a.js +1 -0
- package/dist/web/_app/immutable/chunks/CsXIliss.js +1 -0
- package/dist/web/_app/immutable/chunks/Ct3quP0F.js +1 -0
- package/dist/web/_app/immutable/chunks/CvZaxjRC.js +1 -0
- package/dist/web/_app/immutable/chunks/CwD4G56R.js +5 -0
- package/dist/web/_app/immutable/chunks/CxalqrMB.js +1 -0
- package/dist/web/_app/immutable/chunks/D1Ap3evT2.js +1 -0
- package/dist/web/_app/immutable/chunks/D7qgUfnr.js +2487 -0
- package/dist/web/_app/immutable/chunks/D9-_Euza2.js +1 -0
- package/dist/web/_app/immutable/chunks/DCCaoKt42.js +1 -0
- package/dist/web/_app/immutable/chunks/DDKweOZr2.js +23 -0
- package/dist/web/_app/immutable/chunks/DHeU-hHI2.js +2 -0
- package/dist/web/_app/immutable/chunks/DHepUItL.js +1 -0
- package/dist/web/_app/immutable/chunks/DL_KbCKq.js +8 -0
- package/dist/web/_app/immutable/chunks/DNtqqgv32.js +1 -0
- package/dist/web/_app/immutable/chunks/DRl7vwNC2.js +184 -0
- package/dist/web/_app/immutable/chunks/DTc5W_V6.js +1 -0
- package/dist/web/_app/immutable/chunks/DZetJu9k2.js +1 -0
- package/dist/web/_app/immutable/chunks/DaiJs3St.js +1 -0
- package/dist/web/_app/immutable/chunks/DhuJRrEX2.js +1 -0
- package/dist/web/_app/immutable/chunks/DiP2EplP.js +3 -0
- package/dist/web/_app/immutable/chunks/Dm25ot5x2.js +1 -0
- package/dist/web/_app/immutable/chunks/DqOcb9RX2.js +83 -0
- package/dist/web/_app/immutable/chunks/DrbUJCAE.js +1 -0
- package/dist/web/_app/immutable/chunks/Dt4HY2cT2.js +2 -0
- package/dist/web/_app/immutable/chunks/DtGUCMv8.js +6 -0
- package/dist/web/_app/immutable/chunks/Du2-B3c8.js +1 -0
- package/dist/web/_app/immutable/chunks/DwdkE4UD2.js +1 -0
- package/dist/web/_app/immutable/chunks/DxWesPbn.js +1 -0
- package/dist/web/_app/immutable/chunks/DyYZqUV72.js +1 -0
- package/dist/web/_app/immutable/chunks/HfUnhvrv2.js +1 -0
- package/dist/web/_app/immutable/chunks/Je8-BtCk2.js +1 -0
- package/dist/web/_app/immutable/chunks/LAN53VbP2.js +5 -0
- package/dist/web/_app/immutable/chunks/MSB7eA4_.js +1 -0
- package/dist/web/_app/immutable/chunks/NPe9WyW1.js +1 -0
- package/dist/web/_app/immutable/chunks/O6IzcxXJ.js +2 -0
- package/dist/web/_app/immutable/chunks/SXhc9rJW.js +1 -0
- package/dist/web/_app/immutable/chunks/TuBvdkhV2.js +1 -0
- package/dist/web/_app/immutable/chunks/U40J2SnU.js +1 -0
- package/dist/web/_app/immutable/chunks/VS3l21Gu.js +1 -0
- package/dist/web/_app/immutable/chunks/YEPEvlbU2.js +1 -0
- package/dist/web/_app/immutable/chunks/Z7TNRcgK.js +11 -0
- package/dist/web/_app/immutable/chunks/ZCekGjo6.js +5 -0
- package/dist/web/_app/immutable/chunks/_rnxQ655.js +4 -0
- package/dist/web/_app/immutable/chunks/dTXrX5Bw.js +2 -0
- package/dist/web/_app/immutable/chunks/gNXLhsdy.js +1 -0
- package/dist/web/_app/immutable/chunks/hKSTEN36.js +1 -0
- package/dist/web/_app/immutable/chunks/jZZTbzL5.js +1 -0
- package/dist/web/_app/immutable/chunks/l4FIBKss.js +1 -0
- package/dist/web/_app/immutable/chunks/l_4snZnh2.js +1 -0
- package/dist/web/_app/immutable/chunks/q6R6T-lK.js +1 -0
- package/dist/web/_app/immutable/chunks/qgprkMcL.js +1 -0
- package/dist/web/_app/immutable/chunks/rOisBLC62.js +14 -0
- package/dist/web/_app/immutable/chunks/t08TznXc2.js +1 -0
- package/dist/web/_app/immutable/chunks/t62M88qj.js +1 -0
- package/dist/web/_app/immutable/chunks/uCohGWC42.js +1 -0
- package/dist/web/_app/immutable/chunks/uqxmB78b.js +1 -0
- package/dist/web/_app/immutable/chunks/vwTMEIJQ.js +1 -0
- package/dist/web/_app/immutable/chunks/w1FCELam.js +64 -0
- package/dist/web/_app/immutable/chunks/zmjgin7A.js +1 -0
- package/dist/web/_app/immutable/chunks/zumDjcgJ.js +1 -0
- package/dist/web/_app/immutable/entry/app.B3JEO5sy.js +2 -0
- package/dist/web/_app/immutable/entry/start.Dk84vnrL.js +1 -0
- package/dist/web/_app/immutable/nodes/0.BKLFgYTV.js +2 -0
- package/dist/web/_app/immutable/nodes/1.Djf_1kN1.js +1 -0
- package/dist/web/_app/immutable/nodes/10.De6eGWLx.js +1 -0
- package/dist/web/_app/immutable/nodes/11.CDsfSRTw.js +1 -0
- package/dist/web/_app/immutable/nodes/12.BeKkKpkY.js +1 -0
- package/dist/web/_app/immutable/nodes/13.BcI8xwSy.js +1 -0
- package/dist/web/_app/immutable/nodes/2.ZMZ-QAZ7.js +106 -0
- package/dist/web/_app/immutable/nodes/3.C1ZiAfle.js +2 -0
- package/dist/web/_app/immutable/nodes/4.Chmqy9KF.js +2 -0
- package/dist/web/_app/immutable/nodes/5.Bpvr_Vcq.js +1 -0
- package/dist/web/_app/immutable/nodes/6.BHa_gOs3.js +1 -0
- package/dist/web/_app/immutable/nodes/7.D0hg4Eap.js +1 -0
- package/dist/web/_app/immutable/nodes/8.3ZUUxJqR.js +1 -0
- package/dist/web/_app/immutable/nodes/9.Ducy-oqR.js +1 -0
- package/dist/web/_app/version.json +1 -1
- package/dist/web/favicon-16.png +0 -0
- package/dist/web/favicon-180.png +0 -0
- package/dist/web/favicon-32.png +0 -0
- package/dist/web/favicon-48.png +0 -0
- package/dist/web/favicon-512.png +0 -0
- package/dist/web/favicon.ico +0 -0
- package/dist/web/favicon.svg +8 -0
- package/dist/web/index.html +64 -21
- package/dist/web/studiograph-logomark.svg +29 -0
- package/package.json +28 -14
- package/dist/agent/role-loader.d.ts +0 -24
- package/dist/agent/role-loader.js +0 -67
- package/dist/agent/role-loader.js.map +0 -1
- package/dist/agent/skills/enrich-entities.md +0 -136
- package/dist/agent/skills/obsidian-source-setup.md +0 -246
- package/dist/agent/skills/skill-loader.d.ts +0 -48
- package/dist/agent/skills/skill-loader.js +0 -166
- package/dist/agent/skills/skill-loader.js.map +0 -1
- package/dist/agent/skills/sync-configuration.md +0 -119
- package/dist/agent/skills/sync-setup.md +0 -82
- package/dist/agent/tools/sync-tools.d.ts +0 -35
- package/dist/agent/tools/sync-tools.js +0 -992
- package/dist/agent/tools/sync-tools.js.map +0 -1
- package/dist/auth/github.d.ts +0 -56
- package/dist/auth/github.js +0 -169
- package/dist/auth/github.js.map +0 -1
- package/dist/cli/commands/access.d.ts +0 -11
- package/dist/cli/commands/access.js +0 -156
- package/dist/cli/commands/access.js.map +0 -1
- package/dist/cli/commands/app.d.ts +0 -7
- package/dist/cli/commands/app.js +0 -268
- package/dist/cli/commands/app.js.map +0 -1
- package/dist/cli/commands/auth.d.ts +0 -10
- package/dist/cli/commands/auth.js +0 -79
- package/dist/cli/commands/auth.js.map +0 -1
- package/dist/cli/commands/collection.d.ts +0 -10
- package/dist/cli/commands/collection.js +0 -185
- package/dist/cli/commands/collection.js.map +0 -1
- package/dist/cli/commands/enrich.d.ts +0 -11
- package/dist/cli/commands/enrich.js +0 -135
- package/dist/cli/commands/enrich.js.map +0 -1
- package/dist/cli/commands/graphrag.d.ts +0 -12
- package/dist/cli/commands/graphrag.js +0 -122
- package/dist/cli/commands/graphrag.js.map +0 -1
- package/dist/cli/commands/members.d.ts +0 -11
- package/dist/cli/commands/members.js +0 -230
- package/dist/cli/commands/members.js.map +0 -1
- package/dist/cli/commands/org.d.ts +0 -10
- package/dist/cli/commands/org.js +0 -132
- package/dist/cli/commands/org.js.map +0 -1
- package/dist/cli/commands/provision.d.ts +0 -8
- package/dist/cli/commands/provision.js +0 -116
- package/dist/cli/commands/provision.js.map +0 -1
- package/dist/cli/commands/resolve.d.ts +0 -8
- package/dist/cli/commands/resolve.js +0 -85
- package/dist/cli/commands/resolve.js.map +0 -1
- package/dist/cli/commands/review.d.ts +0 -19
- package/dist/cli/commands/review.js +0 -128
- package/dist/cli/commands/review.js.map +0 -1
- package/dist/cli/commands/source.d.ts +0 -16
- package/dist/cli/commands/source.js +0 -159
- package/dist/cli/commands/source.js.map +0 -1
- package/dist/cli/commands/sync-collection.d.ts +0 -14
- package/dist/cli/commands/sync-collection.js +0 -355
- package/dist/cli/commands/sync-collection.js.map +0 -1
- package/dist/cli/commands/sync-entities.d.ts +0 -13
- package/dist/cli/commands/sync-entities.js +0 -242
- package/dist/cli/commands/sync-entities.js.map +0 -1
- package/dist/cli/commands/team.d.ts +0 -12
- package/dist/cli/commands/team.js +0 -185
- package/dist/cli/commands/team.js.map +0 -1
- package/dist/cli/sync-review-interactive.d.ts +0 -31
- package/dist/cli/sync-review-interactive.js +0 -393
- package/dist/cli/sync-review-interactive.js.map +0 -1
- package/dist/core/migration-runner.d.ts +0 -42
- package/dist/core/migration-runner.js +0 -232
- package/dist/core/migration-runner.js.map +0 -1
- package/dist/core/migration-types.d.ts +0 -101
- package/dist/core/migration-types.js +0 -21
- package/dist/core/migration-types.js.map +0 -1
- package/dist/core/migrations/20260219-formalize-memory-location.d.ts +0 -2
- package/dist/core/migrations/20260219-formalize-memory-location.js +0 -35
- package/dist/core/migrations/20260219-formalize-memory-location.js.map +0 -1
- package/dist/core/migrations/20260220-add-workspace-metadata.d.ts +0 -12
- package/dist/core/migrations/20260220-add-workspace-metadata.js +0 -65
- package/dist/core/migrations/20260220-add-workspace-metadata.js.map +0 -1
- package/dist/core/migrations/20260220-add-workspace-readme.d.ts +0 -11
- package/dist/core/migrations/20260220-add-workspace-readme.js +0 -82
- package/dist/core/migrations/20260220-add-workspace-readme.js.map +0 -1
- package/dist/core/migrations/20260220-migrate-yaml-to-json.d.ts +0 -9
- package/dist/core/migrations/20260220-migrate-yaml-to-json.js +0 -64
- package/dist/core/migrations/20260220-migrate-yaml-to-json.js.map +0 -1
- package/dist/core/migrations/index.d.ts +0 -11
- package/dist/core/migrations/index.js +0 -23
- package/dist/core/migrations/index.js.map +0 -1
- package/dist/integrations/asana.d.ts +0 -26
- package/dist/integrations/asana.js +0 -78
- package/dist/integrations/asana.js.map +0 -1
- package/dist/integrations/figma-local.d.ts +0 -16
- package/dist/integrations/figma-local.js +0 -10
- package/dist/integrations/figma-local.js.map +0 -1
- package/dist/integrations/figma.d.ts +0 -17
- package/dist/integrations/figma.js +0 -17
- package/dist/integrations/figma.js.map +0 -1
- package/dist/integrations/granola.d.ts +0 -24
- package/dist/integrations/granola.js +0 -60
- package/dist/integrations/granola.js.map +0 -1
- package/dist/integrations/linear.d.ts +0 -14
- package/dist/integrations/linear.js +0 -80
- package/dist/integrations/linear.js.map +0 -1
- package/dist/integrations/paper-local.d.ts +0 -14
- package/dist/integrations/paper-local.js +0 -10
- package/dist/integrations/paper-local.js.map +0 -1
- package/dist/integrations/paper.d.ts +0 -2
- package/dist/integrations/paper.js +0 -10
- package/dist/integrations/paper.js.map +0 -1
- package/dist/integrations/pipedrive.d.ts +0 -26
- package/dist/integrations/pipedrive.js +0 -97
- package/dist/integrations/pipedrive.js.map +0 -1
- package/dist/integrations/registry.d.ts +0 -8
- package/dist/integrations/registry.js +0 -7
- package/dist/integrations/registry.js.map +0 -1
- package/dist/integrations/types.d.ts +0 -43
- package/dist/integrations/types.js +0 -5
- package/dist/integrations/types.js.map +0 -1
- package/dist/lib/lib/utils.d.ts +0 -2
- package/dist/lib/lib/utils.js +0 -6
- package/dist/lib/lib/utils.js.map +0 -1
- package/dist/mcp/connectors/asana.d.ts +0 -2
- package/dist/mcp/connectors/asana.js +0 -20
- package/dist/mcp/connectors/asana.js.map +0 -1
- package/dist/mcp/connectors/definitions.d.ts +0 -45
- package/dist/mcp/connectors/definitions.js +0 -32
- package/dist/mcp/connectors/definitions.js.map +0 -1
- package/dist/mcp/connectors/figma.d.ts +0 -5
- package/dist/mcp/connectors/figma.js +0 -21
- package/dist/mcp/connectors/figma.js.map +0 -1
- package/dist/mcp/connectors/gdrive.d.ts +0 -2
- package/dist/mcp/connectors/gdrive.js +0 -20
- package/dist/mcp/connectors/gdrive.js.map +0 -1
- package/dist/mcp/connectors/granola.d.ts +0 -2
- package/dist/mcp/connectors/granola.js +0 -12
- package/dist/mcp/connectors/granola.js.map +0 -1
- package/dist/mcp/connectors/linear.d.ts +0 -2
- package/dist/mcp/connectors/linear.js +0 -19
- package/dist/mcp/connectors/linear.js.map +0 -1
- package/dist/mcp/connectors/obsidian.d.ts +0 -2
- package/dist/mcp/connectors/obsidian.js +0 -19
- package/dist/mcp/connectors/obsidian.js.map +0 -1
- package/dist/mcp/connectors/pipedrive.d.ts +0 -2
- package/dist/mcp/connectors/pipedrive.js +0 -20
- package/dist/mcp/connectors/pipedrive.js.map +0 -1
- package/dist/mcp/connectors/slack.d.ts +0 -2
- package/dist/mcp/connectors/slack.js +0 -21
- package/dist/mcp/connectors/slack.js.map +0 -1
- package/dist/mcp/server-oauth-provider.d.ts +0 -56
- package/dist/mcp/server-oauth-provider.js +0 -142
- package/dist/mcp/server-oauth-provider.js.map +0 -1
- package/dist/server/agents/agent-loader.d.ts +0 -16
- package/dist/server/agents/agent-loader.js +0 -175
- package/dist/server/agents/agent-loader.js.map +0 -1
- package/dist/server/agents/agent-runner.d.ts +0 -33
- package/dist/server/agents/agent-runner.js +0 -187
- package/dist/server/agents/agent-runner.js.map +0 -1
- package/dist/server/agents/agent-runtime.d.ts +0 -39
- package/dist/server/agents/agent-runtime.js +0 -214
- package/dist/server/agents/agent-runtime.js.map +0 -1
- package/dist/server/agents/base-agent.d.ts +0 -30
- package/dist/server/agents/base-agent.js +0 -88
- package/dist/server/agents/base-agent.js.map +0 -1
- package/dist/server/agents/executive-digest.d.ts +0 -16
- package/dist/server/agents/executive-digest.js +0 -115
- package/dist/server/agents/executive-digest.js.map +0 -1
- package/dist/server/agents/graph-steward.d.ts +0 -16
- package/dist/server/agents/graph-steward.js +0 -59
- package/dist/server/agents/graph-steward.js.map +0 -1
- package/dist/server/agents/meeting-followup.d.ts +0 -16
- package/dist/server/agents/meeting-followup.js +0 -88
- package/dist/server/agents/meeting-followup.js.map +0 -1
- package/dist/server/agents/pipeline-monitor.d.ts +0 -15
- package/dist/server/agents/pipeline-monitor.js +0 -86
- package/dist/server/agents/pipeline-monitor.js.map +0 -1
- package/dist/server/agents/types.d.ts +0 -81
- package/dist/server/agents/types.js +0 -41
- package/dist/server/agents/types.js.map +0 -1
- package/dist/server/chrome/chrome.css +0 -691
- package/dist/server/chrome/chrome.js +0 -374
- package/dist/server/collab-authority.d.ts +0 -70
- package/dist/server/collab-authority.js +0 -218
- package/dist/server/collab-authority.js.map +0 -1
- package/dist/server/collab.d.ts +0 -29
- package/dist/server/collab.js +0 -195
- package/dist/server/collab.js.map +0 -1
- package/dist/server/commit-scheduler.d.ts +0 -39
- package/dist/server/commit-scheduler.js +0 -113
- package/dist/server/commit-scheduler.js.map +0 -1
- package/dist/server/plugin-loader.d.ts +0 -53
- package/dist/server/plugin-loader.js +0 -155
- package/dist/server/plugin-loader.js.map +0 -1
- package/dist/server/routes/agents-api.d.ts +0 -10
- package/dist/server/routes/agents-api.js +0 -25
- package/dist/server/routes/agents-api.js.map +0 -1
- package/dist/server/routes/collab.d.ts +0 -6
- package/dist/server/routes/collab.js +0 -10
- package/dist/server/routes/collab.js.map +0 -1
- package/dist/server/routes/git-api.d.ts +0 -9
- package/dist/server/routes/git-api.js +0 -82
- package/dist/server/routes/git-api.js.map +0 -1
- package/dist/server/routes/meeting-ingest-api.d.ts +0 -14
- package/dist/server/routes/meeting-ingest-api.js +0 -98
- package/dist/server/routes/meeting-ingest-api.js.map +0 -1
- package/dist/server/routes/sync-api.d.ts +0 -26
- package/dist/server/routes/sync-api.js +0 -848
- package/dist/server/routes/sync-api.js.map +0 -1
- package/dist/server/routes/webhook.d.ts +0 -14
- package/dist/server/routes/webhook.js +0 -102
- package/dist/server/routes/webhook.js.map +0 -1
- package/dist/services/batch-processor.d.ts +0 -49
- package/dist/services/batch-processor.js +0 -166
- package/dist/services/batch-processor.js.map +0 -1
- package/dist/services/csv-service.d.ts +0 -36
- package/dist/services/csv-service.js +0 -143
- package/dist/services/csv-service.js.map +0 -1
- package/dist/services/github-provisioner.d.ts +0 -36
- package/dist/services/github-provisioner.js +0 -126
- package/dist/services/github-provisioner.js.map +0 -1
- package/dist/services/github-service.d.ts +0 -99
- package/dist/services/github-service.js +0 -310
- package/dist/services/github-service.js.map +0 -1
- package/dist/services/image-import-service.d.ts +0 -24
- package/dist/services/image-import-service.js +0 -108
- package/dist/services/image-import-service.js.map +0 -1
- package/dist/services/insights.d.ts +0 -38
- package/dist/services/insights.js +0 -269
- package/dist/services/insights.js.map +0 -1
- package/dist/services/meeting-processor.d.ts +0 -91
- package/dist/services/meeting-processor.js +0 -331
- package/dist/services/meeting-processor.js.map +0 -1
- package/dist/services/sync/collection-sync.d.ts +0 -60
- package/dist/services/sync/collection-sync.js +0 -509
- package/dist/services/sync/collection-sync.js.map +0 -1
- package/dist/services/sync/commit.d.ts +0 -60
- package/dist/services/sync/commit.js +0 -354
- package/dist/services/sync/commit.js.map +0 -1
- package/dist/services/sync/context-index.d.ts +0 -69
- package/dist/services/sync/context-index.js +0 -280
- package/dist/services/sync/context-index.js.map +0 -1
- package/dist/services/sync/data-fetcher.d.ts +0 -31
- package/dist/services/sync/data-fetcher.js +0 -12
- package/dist/services/sync/data-fetcher.js.map +0 -1
- package/dist/services/sync/derive.d.ts +0 -34
- package/dist/services/sync/derive.js +0 -164
- package/dist/services/sync/derive.js.map +0 -1
- package/dist/services/sync/enrichment-state.d.ts +0 -31
- package/dist/services/sync/enrichment-state.js +0 -63
- package/dist/services/sync/enrichment-state.js.map +0 -1
- package/dist/services/sync/enrichment.d.ts +0 -25
- package/dist/services/sync/enrichment.js +0 -121
- package/dist/services/sync/enrichment.js.map +0 -1
- package/dist/services/sync/entity-refresh.d.ts +0 -30
- package/dist/services/sync/entity-refresh.js +0 -275
- package/dist/services/sync/entity-refresh.js.map +0 -1
- package/dist/services/sync/frontmatter-extractor.d.ts +0 -40
- package/dist/services/sync/frontmatter-extractor.js +0 -279
- package/dist/services/sync/frontmatter-extractor.js.map +0 -1
- package/dist/services/sync/graph-match-state.d.ts +0 -33
- package/dist/services/sync/graph-match-state.js +0 -61
- package/dist/services/sync/graph-match-state.js.map +0 -1
- package/dist/services/sync/graph-match.d.ts +0 -53
- package/dist/services/sync/graph-match.js +0 -316
- package/dist/services/sync/graph-match.js.map +0 -1
- package/dist/services/sync/graphrag-client.d.ts +0 -43
- package/dist/services/sync/graphrag-client.js +0 -94
- package/dist/services/sync/graphrag-client.js.map +0 -1
- package/dist/services/sync/graphrag-config.d.ts +0 -16
- package/dist/services/sync/graphrag-config.js +0 -39
- package/dist/services/sync/graphrag-config.js.map +0 -1
- package/dist/services/sync/graphrag-context.d.ts +0 -14
- package/dist/services/sync/graphrag-context.js +0 -109
- package/dist/services/sync/graphrag-context.js.map +0 -1
- package/dist/services/sync/graphrag-indexer.d.ts +0 -30
- package/dist/services/sync/graphrag-indexer.js +0 -358
- package/dist/services/sync/graphrag-indexer.js.map +0 -1
- package/dist/services/sync/llm.d.ts +0 -32
- package/dist/services/sync/llm.js +0 -115
- package/dist/services/sync/llm.js.map +0 -1
- package/dist/services/sync/mcp-client.d.ts +0 -71
- package/dist/services/sync/mcp-client.js +0 -299
- package/dist/services/sync/mcp-client.js.map +0 -1
- package/dist/services/sync/model-factory.d.ts +0 -13
- package/dist/services/sync/model-factory.js +0 -38
- package/dist/services/sync/model-factory.js.map +0 -1
- package/dist/services/sync/name-quality.d.ts +0 -31
- package/dist/services/sync/name-quality.js +0 -60
- package/dist/services/sync/name-quality.js.map +0 -1
- package/dist/services/sync/output-schemas.d.ts +0 -92
- package/dist/services/sync/output-schemas.js +0 -43
- package/dist/services/sync/output-schemas.js.map +0 -1
- package/dist/services/sync/prompts.d.ts +0 -19
- package/dist/services/sync/prompts.js +0 -128
- package/dist/services/sync/prompts.js.map +0 -1
- package/dist/services/sync/reconciler.d.ts +0 -48
- package/dist/services/sync/reconciler.js +0 -294
- package/dist/services/sync/reconciler.js.map +0 -1
- package/dist/services/sync/rest-client.d.ts +0 -40
- package/dist/services/sync/rest-client.js +0 -100
- package/dist/services/sync/rest-client.js.map +0 -1
- package/dist/services/sync/source-config.d.ts +0 -67
- package/dist/services/sync/source-config.js +0 -304
- package/dist/services/sync/source-config.js.map +0 -1
- package/dist/services/sync/source-definitions/asana.d.ts +0 -14
- package/dist/services/sync/source-definitions/asana.js +0 -42
- package/dist/services/sync/source-definitions/asana.js.map +0 -1
- package/dist/services/sync/source-definitions/definitions.d.ts +0 -8
- package/dist/services/sync/source-definitions/definitions.js +0 -8
- package/dist/services/sync/source-definitions/definitions.js.map +0 -1
- package/dist/services/sync/source-definitions/gdrive.d.ts +0 -16
- package/dist/services/sync/source-definitions/gdrive.js +0 -68
- package/dist/services/sync/source-definitions/gdrive.js.map +0 -1
- package/dist/services/sync/source-definitions/granola.d.ts +0 -2
- package/dist/services/sync/source-definitions/granola.js +0 -21
- package/dist/services/sync/source-definitions/granola.js.map +0 -1
- package/dist/services/sync/source-definitions/linear.d.ts +0 -2
- package/dist/services/sync/source-definitions/linear.js +0 -62
- package/dist/services/sync/source-definitions/linear.js.map +0 -1
- package/dist/services/sync/source-definitions/obsidian.d.ts +0 -2
- package/dist/services/sync/source-definitions/obsidian.js +0 -55
- package/dist/services/sync/source-definitions/obsidian.js.map +0 -1
- package/dist/services/sync/source-definitions/pipedrive.d.ts +0 -2
- package/dist/services/sync/source-definitions/pipedrive.js +0 -43
- package/dist/services/sync/source-definitions/pipedrive.js.map +0 -1
- package/dist/services/sync/staging.d.ts +0 -53
- package/dist/services/sync/staging.js +0 -130
- package/dist/services/sync/staging.js.map +0 -1
- package/dist/services/sync/structured-extractor.d.ts +0 -57
- package/dist/services/sync/structured-extractor.js +0 -584
- package/dist/services/sync/structured-extractor.js.map +0 -1
- package/dist/services/sync/sync-runner.d.ts +0 -32
- package/dist/services/sync/sync-runner.js +0 -195
- package/dist/services/sync/sync-runner.js.map +0 -1
- package/dist/services/sync/sync-state.d.ts +0 -43
- package/dist/services/sync/sync-state.js +0 -154
- package/dist/services/sync/sync-state.js.map +0 -1
- package/dist/services/sync/types.d.ts +0 -381
- package/dist/services/sync/types.js +0 -8
- package/dist/services/sync/types.js.map +0 -1
- package/dist/services/sync/unstructured-extractor.d.ts +0 -27
- package/dist/services/sync/unstructured-extractor.js +0 -185
- package/dist/services/sync/unstructured-extractor.js.map +0 -1
- package/dist/utils/merge-resolver.d.ts +0 -59
- package/dist/utils/merge-resolver.js +0 -303
- package/dist/utils/merge-resolver.js.map +0 -1
- package/dist/utils/workspace-config.d.ts +0 -8
- package/dist/utils/workspace-config.js +0 -22
- package/dist/utils/workspace-config.js.map +0 -1
- package/dist/web/_app/immutable/assets/0.QUqBcyuu.css +0 -1
- package/dist/web/_app/immutable/assets/11.2jzI3cZY.css +0 -1
- package/dist/web/_app/immutable/assets/12.CT4xL4K3.css +0 -1
- package/dist/web/_app/immutable/assets/13.BUrHkYry.css +0 -1
- package/dist/web/_app/immutable/assets/2.5jNm7Pm1.css +0 -1
- package/dist/web/_app/immutable/assets/3.BxdqT7zi.css +0 -1
- package/dist/web/_app/immutable/assets/4.BjPwtpNd.css +0 -1
- package/dist/web/_app/immutable/assets/5.DFeGxLYf.css +0 -1
- package/dist/web/_app/immutable/assets/6.DXZr_rI_.css +0 -1
- package/dist/web/_app/immutable/assets/GraphView.D9ePpZez.css +0 -1
- package/dist/web/_app/immutable/assets/Toaster.rN8r_Hzv.css +0 -1
- package/dist/web/_app/immutable/assets/ViewToolbar.CZjsdjy4.css +0 -1
- package/dist/web/_app/immutable/assets/WorkspaceView.B-1DbivC.css +0 -1
- package/dist/web/_app/immutable/assets/wikilinks.CtSydmQl.css +0 -1
- package/dist/web/_app/immutable/chunks/3--t-YNA.js +0 -1
- package/dist/web/_app/immutable/chunks/5OU-4caN.js +0 -1
- package/dist/web/_app/immutable/chunks/7S2LGqoP.js +0 -2
- package/dist/web/_app/immutable/chunks/B6FUcAv5.js +0 -1
- package/dist/web/_app/immutable/chunks/B9gDgSlp.js +0 -1
- package/dist/web/_app/immutable/chunks/BB_5th5W.js +0 -3383
- package/dist/web/_app/immutable/chunks/BFtIWl5z.js +0 -1
- package/dist/web/_app/immutable/chunks/BHKpz6_7.js +0 -1
- package/dist/web/_app/immutable/chunks/BNfrhBeA.js +0 -1
- package/dist/web/_app/immutable/chunks/BgO5HlCg.js +0 -2
- package/dist/web/_app/immutable/chunks/BqnODQDb.js +0 -1
- package/dist/web/_app/immutable/chunks/BrebtJNG.js +0 -18
- package/dist/web/_app/immutable/chunks/BvIFhEn7.js +0 -2
- package/dist/web/_app/immutable/chunks/BvfdTHv8.js +0 -1
- package/dist/web/_app/immutable/chunks/BxGm65PH.js +0 -1
- package/dist/web/_app/immutable/chunks/BxyxnEKw.js +0 -1
- package/dist/web/_app/immutable/chunks/BygFIGq4.js +0 -1
- package/dist/web/_app/immutable/chunks/Bz0ZjVQE.js +0 -2
- package/dist/web/_app/immutable/chunks/C0LVZhvn.js +0 -1
- package/dist/web/_app/immutable/chunks/CIb_hHMy.js +0 -1
- package/dist/web/_app/immutable/chunks/CNKK6nZb.js +0 -1
- package/dist/web/_app/immutable/chunks/CQ5FjHZK.js +0 -1
- package/dist/web/_app/immutable/chunks/CSVbGg_b.js +0 -5
- package/dist/web/_app/immutable/chunks/CX_61fY8.js +0 -5
- package/dist/web/_app/immutable/chunks/CYrVHOHA.js +0 -1
- package/dist/web/_app/immutable/chunks/CaEaeeKb.js +0 -1
- package/dist/web/_app/immutable/chunks/Ch6e_wpP.js +0 -1
- package/dist/web/_app/immutable/chunks/Ci4zzCVB.js +0 -2
- package/dist/web/_app/immutable/chunks/CknqBVQE.js +0 -1
- package/dist/web/_app/immutable/chunks/Cmfiirqp.js +0 -4
- package/dist/web/_app/immutable/chunks/CqkleIqs.js +0 -1
- package/dist/web/_app/immutable/chunks/CrFpCC6p.js +0 -1
- package/dist/web/_app/immutable/chunks/CxX8hcT6.js +0 -1
- package/dist/web/_app/immutable/chunks/D0T1ps1G.js +0 -1
- package/dist/web/_app/immutable/chunks/D2ZEj9xD.js +0 -1
- package/dist/web/_app/immutable/chunks/D3sy0IkA.js +0 -2
- package/dist/web/_app/immutable/chunks/DFYOFE3o.js +0 -1
- package/dist/web/_app/immutable/chunks/DHWoAC4y.js +0 -1
- package/dist/web/_app/immutable/chunks/DYYBfXU3.js +0 -1
- package/dist/web/_app/immutable/chunks/DiNPRA8T.js +0 -1
- package/dist/web/_app/immutable/chunks/DkjsqHkM.js +0 -1
- package/dist/web/_app/immutable/chunks/DnL9f0lc.js +0 -7
- package/dist/web/_app/immutable/chunks/DpMCynC3.js +0 -1
- package/dist/web/_app/immutable/chunks/DqrybUuA.js +0 -1
- package/dist/web/_app/immutable/chunks/DsnmJJEf.js +0 -1
- package/dist/web/_app/immutable/chunks/KyjzlWRN.js +0 -2
- package/dist/web/_app/immutable/chunks/O9MAeAgV.js +0 -5
- package/dist/web/_app/immutable/chunks/PPVm8Dsz.js +0 -1
- package/dist/web/_app/immutable/chunks/SKSQ4m85.js +0 -2
- package/dist/web/_app/immutable/chunks/WEBTyD-H.js +0 -1
- package/dist/web/_app/immutable/chunks/WSUKABI_.js +0 -1
- package/dist/web/_app/immutable/chunks/bBXT5iJP.js +0 -1
- package/dist/web/_app/immutable/chunks/vxEtkL8z.js +0 -1
- package/dist/web/_app/immutable/chunks/wDIGUaoU.js +0 -3
- package/dist/web/_app/immutable/chunks/xkNhbnff.js +0 -1
- package/dist/web/_app/immutable/chunks/zoVX1Zab.js +0 -1
- package/dist/web/_app/immutable/entry/app.GfE4z2GO.js +0 -2
- package/dist/web/_app/immutable/entry/start.H-LFJK9u.js +0 -1
- package/dist/web/_app/immutable/nodes/0.Bwi7tTNC.js +0 -2
- package/dist/web/_app/immutable/nodes/1.DgNJPEWk.js +0 -1
- package/dist/web/_app/immutable/nodes/10.BW_XCD2O.js +0 -1
- package/dist/web/_app/immutable/nodes/11.DM7RX3Ms.js +0 -1
- package/dist/web/_app/immutable/nodes/12.DKgssZo8.js +0 -1
- package/dist/web/_app/immutable/nodes/13.DCdmTre-.js +0 -1
- package/dist/web/_app/immutable/nodes/2.DOA5QBVG.js +0 -266
- package/dist/web/_app/immutable/nodes/3.bpoHQwAI.js +0 -5
- package/dist/web/_app/immutable/nodes/4.ye0Vy7A1.js +0 -11
- package/dist/web/_app/immutable/nodes/5.rxpnYrx_.js +0 -4
- package/dist/web/_app/immutable/nodes/6.DP8HSxtc.js +0 -1
- package/dist/web/_app/immutable/nodes/7.C1h4Bf-E.js +0 -1
- package/dist/web/_app/immutable/nodes/8.BzmQ7S7Y.js +0 -1
- package/dist/web/_app/immutable/nodes/9.CEakpXpF.js +0 -1
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Entity validation schemas for Studiograph
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* -
|
|
6
|
-
* -
|
|
7
|
-
* -
|
|
4
|
+
* 16 canonical entity types post-redesign:
|
|
5
|
+
* - CRM (4): person, organization, position, deal
|
|
6
|
+
* - PM (4): project, event, task, deliverable
|
|
7
|
+
* - KM authored (6): document, deck, publication, case-study, service, skill
|
|
8
|
+
* - Capture (2): note, reference
|
|
9
|
+
* - System (1): asset
|
|
8
10
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
+
* "An object earns first-class entity status only if it earns its own view
|
|
12
|
+
* behavior across the six primary views (List, Gallery, Kanban, Calendar,
|
|
13
|
+
* Timeline, Graph). Objects that are mostly useful because they're attached
|
|
14
|
+
* to something else become categories, fields, or inline blocks — not types."
|
|
15
|
+
*
|
|
16
|
+
* Workspaces can define additional custom types via schema_extensions.
|
|
11
17
|
*/
|
|
12
18
|
import { z } from 'zod';
|
|
13
19
|
/**
|
|
@@ -21,29 +27,15 @@ export declare const EntityBaseSchema: z.ZodObject<{
|
|
|
21
27
|
created_by: z.ZodString;
|
|
22
28
|
updated_by: z.ZodString;
|
|
23
29
|
date: z.ZodOptional<z.ZodString>;
|
|
24
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
25
|
-
},
|
|
26
|
-
entity_type: z.ZodString;
|
|
27
|
-
entity_id: z.ZodString;
|
|
28
|
-
created_at: z.ZodString;
|
|
29
|
-
updated_at: z.ZodString;
|
|
30
|
-
created_by: z.ZodString;
|
|
31
|
-
updated_by: z.ZodString;
|
|
32
|
-
date: z.ZodOptional<z.ZodString>;
|
|
33
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
34
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
35
|
-
entity_type: z.ZodString;
|
|
36
|
-
entity_id: z.ZodString;
|
|
37
|
-
created_at: z.ZodString;
|
|
38
|
-
updated_at: z.ZodString;
|
|
39
|
-
created_by: z.ZodString;
|
|
40
|
-
updated_by: z.ZodString;
|
|
41
|
-
date: z.ZodOptional<z.ZodString>;
|
|
42
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
30
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
|
+
}, z.core.$loose>;
|
|
44
32
|
export type EntityBase = z.infer<typeof EntityBaseSchema>;
|
|
45
33
|
/**
|
|
46
|
-
* Person — team members, client contacts, any individual
|
|
34
|
+
* Person — team members, client contacts, any individual.
|
|
35
|
+
*
|
|
36
|
+
* `category` and `status` are split: category is the relationship type
|
|
37
|
+
* (employee/contractor/client/partner) and status is whether that
|
|
38
|
+
* relationship is current or historical. Mirrors organization.
|
|
47
39
|
*/
|
|
48
40
|
export declare const PersonSchema: z.ZodObject<{
|
|
49
41
|
entity_id: z.ZodString;
|
|
@@ -52,51 +44,29 @@ export declare const PersonSchema: z.ZodObject<{
|
|
|
52
44
|
created_by: z.ZodString;
|
|
53
45
|
updated_by: z.ZodString;
|
|
54
46
|
date: z.ZodOptional<z.ZodString>;
|
|
55
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
56
|
-
} & {
|
|
57
|
-
entity_type: z.ZodLiteral<"person">;
|
|
58
|
-
name: z.ZodString;
|
|
59
|
-
role: z.ZodOptional<z.ZodString>;
|
|
60
|
-
status: z.ZodOptional<z.ZodEnum<["current", "former", "contractor", "client", "partner"]>>;
|
|
61
|
-
email: z.ZodOptional<z.ZodString>;
|
|
62
|
-
location: z.ZodOptional<z.ZodString>;
|
|
63
|
-
organization: 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
|
-
date: z.ZodOptional<z.ZodString>;
|
|
71
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
72
|
-
} & {
|
|
73
|
-
entity_type: z.ZodLiteral<"person">;
|
|
74
|
-
name: z.ZodString;
|
|
75
|
-
role: z.ZodOptional<z.ZodString>;
|
|
76
|
-
status: z.ZodOptional<z.ZodEnum<["current", "former", "contractor", "client", "partner"]>>;
|
|
77
|
-
email: z.ZodOptional<z.ZodString>;
|
|
78
|
-
location: z.ZodOptional<z.ZodString>;
|
|
79
|
-
organization: z.ZodOptional<z.ZodString>;
|
|
80
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
81
|
-
entity_id: z.ZodString;
|
|
82
|
-
created_at: z.ZodString;
|
|
83
|
-
updated_at: z.ZodString;
|
|
84
|
-
created_by: z.ZodString;
|
|
85
|
-
updated_by: z.ZodString;
|
|
86
|
-
date: z.ZodOptional<z.ZodString>;
|
|
87
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
88
|
-
} & {
|
|
47
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
89
48
|
entity_type: z.ZodLiteral<"person">;
|
|
90
49
|
name: z.ZodString;
|
|
91
50
|
role: z.ZodOptional<z.ZodString>;
|
|
92
|
-
|
|
51
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
52
|
+
employee: "employee";
|
|
53
|
+
contractor: "contractor";
|
|
54
|
+
client: "client";
|
|
55
|
+
partner: "partner";
|
|
56
|
+
other: "other";
|
|
57
|
+
}>>;
|
|
58
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
59
|
+
current: "current";
|
|
60
|
+
former: "former";
|
|
61
|
+
}>>;
|
|
93
62
|
email: z.ZodOptional<z.ZodString>;
|
|
94
63
|
location: z.ZodOptional<z.ZodString>;
|
|
95
64
|
organization: z.ZodOptional<z.ZodString>;
|
|
96
|
-
}, z.
|
|
65
|
+
}, z.core.$loose>;
|
|
97
66
|
export type Person = z.infer<typeof PersonSchema>;
|
|
98
67
|
/**
|
|
99
|
-
* Organization — clients, vendors, partners, prospects,
|
|
68
|
+
* Organization — clients, vendors, partners, prospects, professional
|
|
69
|
+
* associations.
|
|
100
70
|
*/
|
|
101
71
|
export declare const OrganizationSchema: z.ZodObject<{
|
|
102
72
|
entity_id: z.ZodString;
|
|
@@ -105,133 +75,88 @@ export declare const OrganizationSchema: z.ZodObject<{
|
|
|
105
75
|
created_by: z.ZodString;
|
|
106
76
|
updated_by: z.ZodString;
|
|
107
77
|
date: z.ZodOptional<z.ZodString>;
|
|
108
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
109
|
-
} & {
|
|
110
|
-
entity_type: z.ZodLiteral<"organization">;
|
|
111
|
-
name: z.ZodString;
|
|
112
|
-
category: z.ZodOptional<z.ZodEnum<["client", "vendor", "partner", "prospect", "industry-body", "other"]>>;
|
|
113
|
-
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "former"]>>;
|
|
114
|
-
industry: z.ZodOptional<z.ZodString>;
|
|
115
|
-
website: z.ZodOptional<z.ZodString>;
|
|
116
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
117
|
-
entity_id: z.ZodString;
|
|
118
|
-
created_at: z.ZodString;
|
|
119
|
-
updated_at: z.ZodString;
|
|
120
|
-
created_by: z.ZodString;
|
|
121
|
-
updated_by: z.ZodString;
|
|
122
|
-
date: z.ZodOptional<z.ZodString>;
|
|
123
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
124
|
-
} & {
|
|
125
|
-
entity_type: z.ZodLiteral<"organization">;
|
|
126
|
-
name: z.ZodString;
|
|
127
|
-
category: z.ZodOptional<z.ZodEnum<["client", "vendor", "partner", "prospect", "industry-body", "other"]>>;
|
|
128
|
-
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "former"]>>;
|
|
129
|
-
industry: z.ZodOptional<z.ZodString>;
|
|
130
|
-
website: z.ZodOptional<z.ZodString>;
|
|
131
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
132
|
-
entity_id: z.ZodString;
|
|
133
|
-
created_at: z.ZodString;
|
|
134
|
-
updated_at: z.ZodString;
|
|
135
|
-
created_by: z.ZodString;
|
|
136
|
-
updated_by: z.ZodString;
|
|
137
|
-
date: z.ZodOptional<z.ZodString>;
|
|
138
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
139
|
-
} & {
|
|
78
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
140
79
|
entity_type: z.ZodLiteral<"organization">;
|
|
141
80
|
name: z.ZodString;
|
|
142
|
-
category: z.ZodOptional<z.ZodEnum<
|
|
143
|
-
|
|
81
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
82
|
+
client: "client";
|
|
83
|
+
partner: "partner";
|
|
84
|
+
other: "other";
|
|
85
|
+
vendor: "vendor";
|
|
86
|
+
prospect: "prospect";
|
|
87
|
+
"professional-association": "professional-association";
|
|
88
|
+
}>>;
|
|
89
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
90
|
+
former: "former";
|
|
91
|
+
active: "active";
|
|
92
|
+
dormant: "dormant";
|
|
93
|
+
}>>;
|
|
144
94
|
industry: z.ZodOptional<z.ZodString>;
|
|
145
95
|
website: z.ZodOptional<z.ZodString>;
|
|
146
|
-
}, z.
|
|
96
|
+
}, z.core.$loose>;
|
|
147
97
|
export type Organization = z.infer<typeof OrganizationSchema>;
|
|
148
98
|
/**
|
|
149
|
-
*
|
|
99
|
+
* Position — a position spec or open job. Renamed from `role` to avoid
|
|
100
|
+
* collision with `person.role` (the free-text title field). Reframes from
|
|
101
|
+
* "the person's seat" to "the spec for a position."
|
|
150
102
|
*/
|
|
151
|
-
export declare const
|
|
152
|
-
entity_id: z.ZodString;
|
|
153
|
-
created_at: z.ZodString;
|
|
154
|
-
updated_at: z.ZodString;
|
|
155
|
-
created_by: z.ZodString;
|
|
156
|
-
updated_by: z.ZodString;
|
|
157
|
-
date: z.ZodOptional<z.ZodString>;
|
|
158
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
159
|
-
} & {
|
|
160
|
-
entity_type: z.ZodLiteral<"role">;
|
|
161
|
-
name: z.ZodString;
|
|
162
|
-
department: z.ZodOptional<z.ZodString>;
|
|
163
|
-
category: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
164
|
-
status: z.ZodDefault<z.ZodEnum<["active", "open", "filled", "archived"]>>;
|
|
165
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
166
|
-
entity_id: z.ZodString;
|
|
167
|
-
created_at: z.ZodString;
|
|
168
|
-
updated_at: z.ZodString;
|
|
169
|
-
created_by: z.ZodString;
|
|
170
|
-
updated_by: z.ZodString;
|
|
171
|
-
date: z.ZodOptional<z.ZodString>;
|
|
172
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
173
|
-
} & {
|
|
174
|
-
entity_type: z.ZodLiteral<"role">;
|
|
175
|
-
name: z.ZodString;
|
|
176
|
-
department: z.ZodOptional<z.ZodString>;
|
|
177
|
-
category: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
178
|
-
status: z.ZodDefault<z.ZodEnum<["active", "open", "filled", "archived"]>>;
|
|
179
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
103
|
+
export declare const PositionSchema: z.ZodObject<{
|
|
180
104
|
entity_id: z.ZodString;
|
|
181
105
|
created_at: z.ZodString;
|
|
182
106
|
updated_at: z.ZodString;
|
|
183
107
|
created_by: z.ZodString;
|
|
184
108
|
updated_by: z.ZodString;
|
|
185
109
|
date: z.ZodOptional<z.ZodString>;
|
|
186
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
187
|
-
|
|
188
|
-
entity_type: z.ZodLiteral<"role">;
|
|
110
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
111
|
+
entity_type: z.ZodLiteral<"position">;
|
|
189
112
|
name: z.ZodString;
|
|
190
113
|
department: z.ZodOptional<z.ZodString>;
|
|
191
|
-
category: z.ZodOptional<z.ZodEnum<
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
114
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
115
|
+
contractor: "contractor";
|
|
116
|
+
staff: "staff";
|
|
117
|
+
intern: "intern";
|
|
118
|
+
}>>;
|
|
119
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
120
|
+
draft: "draft";
|
|
121
|
+
open: "open";
|
|
122
|
+
filled: "filled";
|
|
123
|
+
closed: "closed";
|
|
124
|
+
}>>;
|
|
125
|
+
}, z.core.$loose>;
|
|
126
|
+
export type Position = z.infer<typeof PositionSchema>;
|
|
195
127
|
/**
|
|
196
|
-
*
|
|
128
|
+
* Deal — pre-project opportunity in the sales pipeline.
|
|
197
129
|
*/
|
|
198
|
-
export declare const
|
|
199
|
-
entity_id: z.ZodString;
|
|
200
|
-
created_at: z.ZodString;
|
|
201
|
-
updated_at: z.ZodString;
|
|
202
|
-
created_by: z.ZodString;
|
|
203
|
-
updated_by: z.ZodString;
|
|
204
|
-
date: z.ZodOptional<z.ZodString>;
|
|
205
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
206
|
-
} & {
|
|
207
|
-
entity_type: z.ZodLiteral<"practice-area">;
|
|
208
|
-
name: z.ZodString;
|
|
209
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
210
|
-
entity_id: z.ZodString;
|
|
211
|
-
created_at: z.ZodString;
|
|
212
|
-
updated_at: z.ZodString;
|
|
213
|
-
created_by: z.ZodString;
|
|
214
|
-
updated_by: z.ZodString;
|
|
215
|
-
date: z.ZodOptional<z.ZodString>;
|
|
216
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
217
|
-
} & {
|
|
218
|
-
entity_type: z.ZodLiteral<"practice-area">;
|
|
219
|
-
name: z.ZodString;
|
|
220
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
130
|
+
export declare const DealSchema: z.ZodObject<{
|
|
221
131
|
entity_id: z.ZodString;
|
|
222
132
|
created_at: z.ZodString;
|
|
223
133
|
updated_at: z.ZodString;
|
|
224
134
|
created_by: z.ZodString;
|
|
225
135
|
updated_by: z.ZodString;
|
|
226
136
|
date: z.ZodOptional<z.ZodString>;
|
|
227
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
228
|
-
|
|
229
|
-
entity_type: z.ZodLiteral<"practice-area">;
|
|
137
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
138
|
+
entity_type: z.ZodLiteral<"deal">;
|
|
230
139
|
name: z.ZodString;
|
|
231
|
-
|
|
232
|
-
|
|
140
|
+
client: z.ZodOptional<z.ZodString>;
|
|
141
|
+
contact: z.ZodOptional<z.ZodString>;
|
|
142
|
+
stage: z.ZodDefault<z.ZodEnum<{
|
|
143
|
+
qualification: "qualification";
|
|
144
|
+
scoping: "scoping";
|
|
145
|
+
proposal: "proposal";
|
|
146
|
+
negotiation: "negotiation";
|
|
147
|
+
"pending-signature": "pending-signature";
|
|
148
|
+
won: "won";
|
|
149
|
+
lost: "lost";
|
|
150
|
+
}>>;
|
|
151
|
+
deal_value: z.ZodOptional<z.ZodNumber>;
|
|
152
|
+
expected_close: z.ZodOptional<z.ZodString>;
|
|
153
|
+
}, z.core.$loose>;
|
|
154
|
+
export type Deal = z.infer<typeof DealSchema>;
|
|
233
155
|
/**
|
|
234
|
-
* Project — a client engagement or internal initiative
|
|
156
|
+
* Project — a client engagement or internal initiative.
|
|
157
|
+
*
|
|
158
|
+
* `services` is a wikilink array to `service` entities the project includes
|
|
159
|
+
* (replaces the previous `practice_area` concept).
|
|
235
160
|
*/
|
|
236
161
|
export declare const ProjectSchema: z.ZodObject<{
|
|
237
162
|
entity_id: z.ZodString;
|
|
@@ -240,139 +165,66 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
240
165
|
created_by: z.ZodString;
|
|
241
166
|
updated_by: z.ZodString;
|
|
242
167
|
date: z.ZodOptional<z.ZodString>;
|
|
243
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
244
|
-
} & {
|
|
245
|
-
entity_type: z.ZodLiteral<"project">;
|
|
246
|
-
name: z.ZodString;
|
|
247
|
-
category: z.ZodOptional<z.ZodEnum<["client", "internal"]>>;
|
|
248
|
-
project_type: z.ZodOptional<z.ZodString>;
|
|
249
|
-
client: z.ZodOptional<z.ZodString>;
|
|
250
|
-
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
251
|
-
start_date: z.ZodOptional<z.ZodString>;
|
|
252
|
-
end_date: z.ZodOptional<z.ZodString>;
|
|
253
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
254
|
-
entity_id: z.ZodString;
|
|
255
|
-
created_at: z.ZodString;
|
|
256
|
-
updated_at: z.ZodString;
|
|
257
|
-
created_by: z.ZodString;
|
|
258
|
-
updated_by: z.ZodString;
|
|
259
|
-
date: z.ZodOptional<z.ZodString>;
|
|
260
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
261
|
-
} & {
|
|
262
|
-
entity_type: z.ZodLiteral<"project">;
|
|
263
|
-
name: z.ZodString;
|
|
264
|
-
category: z.ZodOptional<z.ZodEnum<["client", "internal"]>>;
|
|
265
|
-
project_type: z.ZodOptional<z.ZodString>;
|
|
266
|
-
client: z.ZodOptional<z.ZodString>;
|
|
267
|
-
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
268
|
-
start_date: z.ZodOptional<z.ZodString>;
|
|
269
|
-
end_date: z.ZodOptional<z.ZodString>;
|
|
270
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
271
|
-
entity_id: z.ZodString;
|
|
272
|
-
created_at: z.ZodString;
|
|
273
|
-
updated_at: z.ZodString;
|
|
274
|
-
created_by: z.ZodString;
|
|
275
|
-
updated_by: z.ZodString;
|
|
276
|
-
date: z.ZodOptional<z.ZodString>;
|
|
277
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
278
|
-
} & {
|
|
168
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
279
169
|
entity_type: z.ZodLiteral<"project">;
|
|
280
170
|
name: z.ZodString;
|
|
281
|
-
category: z.ZodOptional<z.ZodEnum<
|
|
171
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
172
|
+
client: "client";
|
|
173
|
+
internal: "internal";
|
|
174
|
+
}>>;
|
|
282
175
|
project_type: z.ZodOptional<z.ZodString>;
|
|
283
176
|
client: z.ZodOptional<z.ZodString>;
|
|
284
|
-
|
|
177
|
+
services: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
178
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
179
|
+
planning: "planning";
|
|
180
|
+
"in-progress": "in-progress";
|
|
181
|
+
paused: "paused";
|
|
182
|
+
complete: "complete";
|
|
183
|
+
archived: "archived";
|
|
184
|
+
}>>;
|
|
285
185
|
start_date: z.ZodOptional<z.ZodString>;
|
|
286
186
|
end_date: z.ZodOptional<z.ZodString>;
|
|
287
|
-
}, z.
|
|
187
|
+
}, z.core.$loose>;
|
|
288
188
|
export type Project = z.infer<typeof ProjectSchema>;
|
|
289
189
|
/**
|
|
290
|
-
*
|
|
190
|
+
* Event — any scheduled gathering (meeting, call, workshop, review, etc.).
|
|
191
|
+
* `type` discriminates the kind of gathering for grouping/filtering. The
|
|
192
|
+
* default `meeting` preserves semantics for legacy meeting captures.
|
|
193
|
+
*
|
|
194
|
+
* Note: `deadline` is intentionally NOT a `type` value — deadlines are
|
|
195
|
+
* `task` entries with a `due_date`. Events are things you attend.
|
|
291
196
|
*/
|
|
292
|
-
export declare const
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
updated_at: z.ZodString;
|
|
296
|
-
created_by: z.ZodString;
|
|
297
|
-
updated_by: z.ZodString;
|
|
298
|
-
date: z.ZodOptional<z.ZodString>;
|
|
299
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
300
|
-
} & {
|
|
301
|
-
entity_type: z.ZodLiteral<"meeting">;
|
|
302
|
-
name: z.ZodString;
|
|
303
|
-
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
304
|
-
location: z.ZodOptional<z.ZodString>;
|
|
305
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
306
|
-
entity_id: z.ZodString;
|
|
307
|
-
created_at: z.ZodString;
|
|
308
|
-
updated_at: z.ZodString;
|
|
309
|
-
created_by: z.ZodString;
|
|
310
|
-
updated_by: z.ZodString;
|
|
311
|
-
date: z.ZodOptional<z.ZodString>;
|
|
312
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
313
|
-
} & {
|
|
314
|
-
entity_type: z.ZodLiteral<"meeting">;
|
|
315
|
-
name: z.ZodString;
|
|
316
|
-
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
317
|
-
location: z.ZodOptional<z.ZodString>;
|
|
318
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
197
|
+
export declare const EVENT_TYPES: readonly ["meeting", "call", "review", "workshop", "presentation", "conference", "other"];
|
|
198
|
+
export type EventType = (typeof EVENT_TYPES)[number];
|
|
199
|
+
export declare const EventSchema: z.ZodObject<{
|
|
319
200
|
entity_id: z.ZodString;
|
|
320
201
|
created_at: z.ZodString;
|
|
321
202
|
updated_at: z.ZodString;
|
|
322
203
|
created_by: z.ZodString;
|
|
323
204
|
updated_by: z.ZodString;
|
|
324
205
|
date: z.ZodOptional<z.ZodString>;
|
|
325
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
326
|
-
|
|
327
|
-
entity_type: z.ZodLiteral<"meeting">;
|
|
206
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
207
|
+
entity_type: z.ZodLiteral<"event">;
|
|
328
208
|
name: z.ZodString;
|
|
329
|
-
|
|
209
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
210
|
+
other: "other";
|
|
211
|
+
meeting: "meeting";
|
|
212
|
+
call: "call";
|
|
213
|
+
review: "review";
|
|
214
|
+
workshop: "workshop";
|
|
215
|
+
presentation: "presentation";
|
|
216
|
+
conference: "conference";
|
|
217
|
+
}>>;
|
|
218
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
330
219
|
location: z.ZodOptional<z.ZodString>;
|
|
331
|
-
}, z.
|
|
332
|
-
export type
|
|
333
|
-
/**
|
|
334
|
-
* Decision — structured decision records (ADR-style)
|
|
335
|
-
*/
|
|
336
|
-
export declare const DecisionSchema: z.ZodObject<{
|
|
337
|
-
entity_id: z.ZodString;
|
|
338
|
-
created_at: z.ZodString;
|
|
339
|
-
updated_at: z.ZodString;
|
|
340
|
-
created_by: z.ZodString;
|
|
341
|
-
updated_by: z.ZodString;
|
|
342
|
-
date: z.ZodOptional<z.ZodString>;
|
|
343
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
344
|
-
} & {
|
|
345
|
-
entity_type: z.ZodLiteral<"decision">;
|
|
346
|
-
name: z.ZodString;
|
|
347
|
-
status: z.ZodDefault<z.ZodEnum<["proposed", "accepted", "rejected", "deprecated", "superseded"]>>;
|
|
348
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
349
|
-
entity_id: z.ZodString;
|
|
350
|
-
created_at: z.ZodString;
|
|
351
|
-
updated_at: z.ZodString;
|
|
352
|
-
created_by: z.ZodString;
|
|
353
|
-
updated_by: z.ZodString;
|
|
354
|
-
date: z.ZodOptional<z.ZodString>;
|
|
355
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
356
|
-
} & {
|
|
357
|
-
entity_type: z.ZodLiteral<"decision">;
|
|
358
|
-
name: z.ZodString;
|
|
359
|
-
status: z.ZodDefault<z.ZodEnum<["proposed", "accepted", "rejected", "deprecated", "superseded"]>>;
|
|
360
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
361
|
-
entity_id: z.ZodString;
|
|
362
|
-
created_at: z.ZodString;
|
|
363
|
-
updated_at: z.ZodString;
|
|
364
|
-
created_by: z.ZodString;
|
|
365
|
-
updated_by: z.ZodString;
|
|
366
|
-
date: z.ZodOptional<z.ZodString>;
|
|
367
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
368
|
-
} & {
|
|
369
|
-
entity_type: z.ZodLiteral<"decision">;
|
|
370
|
-
name: z.ZodString;
|
|
371
|
-
status: z.ZodDefault<z.ZodEnum<["proposed", "accepted", "rejected", "deprecated", "superseded"]>>;
|
|
372
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
373
|
-
export type Decision = z.infer<typeof DecisionSchema>;
|
|
220
|
+
}, z.core.$loose>;
|
|
221
|
+
export type Event = z.infer<typeof EventSchema>;
|
|
374
222
|
/**
|
|
375
|
-
* Task — lightweight action items and to-dos
|
|
223
|
+
* Task — lightweight action items and to-dos.
|
|
224
|
+
*
|
|
225
|
+
* `phase` is intentionally free-text (not a separate entity type or workspace
|
|
226
|
+
* config list). Phases vary widely across project types; the Timeline view
|
|
227
|
+
* auto-discovers distinct values per-project for grouping.
|
|
376
228
|
*/
|
|
377
229
|
export declare const TaskSchema: z.ZodObject<{
|
|
378
230
|
entity_id: z.ZodString;
|
|
@@ -381,48 +233,58 @@ export declare const TaskSchema: z.ZodObject<{
|
|
|
381
233
|
created_by: z.ZodString;
|
|
382
234
|
updated_by: z.ZodString;
|
|
383
235
|
date: z.ZodOptional<z.ZodString>;
|
|
384
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
385
|
-
} & {
|
|
386
|
-
entity_type: z.ZodLiteral<"task">;
|
|
387
|
-
name: z.ZodString;
|
|
388
|
-
status: z.ZodDefault<z.ZodEnum<["open", "in-progress", "done", "cancelled"]>>;
|
|
389
|
-
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
|
|
390
|
-
assignee: z.ZodOptional<z.ZodString>;
|
|
391
|
-
due_date: z.ZodOptional<z.ZodString>;
|
|
392
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
393
|
-
entity_id: z.ZodString;
|
|
394
|
-
created_at: z.ZodString;
|
|
395
|
-
updated_at: z.ZodString;
|
|
396
|
-
created_by: z.ZodString;
|
|
397
|
-
updated_by: z.ZodString;
|
|
398
|
-
date: z.ZodOptional<z.ZodString>;
|
|
399
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
400
|
-
} & {
|
|
236
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
401
237
|
entity_type: z.ZodLiteral<"task">;
|
|
402
238
|
name: z.ZodString;
|
|
403
|
-
status: z.ZodDefault<z.ZodEnum<
|
|
404
|
-
|
|
239
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
240
|
+
"in-progress": "in-progress";
|
|
241
|
+
backlog: "backlog";
|
|
242
|
+
todo: "todo";
|
|
243
|
+
"in-review": "in-review";
|
|
244
|
+
done: "done";
|
|
245
|
+
cancelled: "cancelled";
|
|
246
|
+
}>>;
|
|
247
|
+
priority: z.ZodOptional<z.ZodEnum<{
|
|
248
|
+
low: "low";
|
|
249
|
+
medium: "medium";
|
|
250
|
+
high: "high";
|
|
251
|
+
urgent: "urgent";
|
|
252
|
+
}>>;
|
|
405
253
|
assignee: z.ZodOptional<z.ZodString>;
|
|
254
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
255
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
406
256
|
due_date: z.ZodOptional<z.ZodString>;
|
|
407
|
-
}, z.
|
|
257
|
+
}, z.core.$loose>;
|
|
258
|
+
export type Task = z.infer<typeof TaskSchema>;
|
|
259
|
+
/**
|
|
260
|
+
* Deliverable — a scoped output promised to a client.
|
|
261
|
+
*/
|
|
262
|
+
export declare const DeliverableSchema: z.ZodObject<{
|
|
408
263
|
entity_id: z.ZodString;
|
|
409
264
|
created_at: z.ZodString;
|
|
410
265
|
updated_at: z.ZodString;
|
|
411
266
|
created_by: z.ZodString;
|
|
412
267
|
updated_by: z.ZodString;
|
|
413
268
|
date: z.ZodOptional<z.ZodString>;
|
|
414
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
415
|
-
|
|
416
|
-
entity_type: z.ZodLiteral<"task">;
|
|
269
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
270
|
+
entity_type: z.ZodLiteral<"deliverable">;
|
|
417
271
|
name: z.ZodString;
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
272
|
+
project: z.ZodOptional<z.ZodString>;
|
|
273
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
274
|
+
"in-progress": "in-progress";
|
|
275
|
+
planned: "planned";
|
|
276
|
+
delivered: "delivered";
|
|
277
|
+
accepted: "accepted";
|
|
278
|
+
rejected: "rejected";
|
|
279
|
+
}>>;
|
|
280
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
281
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
421
282
|
due_date: z.ZodOptional<z.ZodString>;
|
|
422
|
-
}, z.
|
|
423
|
-
export type
|
|
283
|
+
}, z.core.$loose>;
|
|
284
|
+
export type Deliverable = z.infer<typeof DeliverableSchema>;
|
|
424
285
|
/**
|
|
425
|
-
* Document — any authored document
|
|
286
|
+
* Document — any authored document. The `guideline` category absorbs the
|
|
287
|
+
* former standalone `guideline` entity type.
|
|
426
288
|
*/
|
|
427
289
|
export declare const DocumentSchema: z.ZodObject<{
|
|
428
290
|
entity_id: z.ZodString;
|
|
@@ -431,1047 +293,429 @@ export declare const DocumentSchema: z.ZodObject<{
|
|
|
431
293
|
created_by: z.ZodString;
|
|
432
294
|
updated_by: z.ZodString;
|
|
433
295
|
date: z.ZodOptional<z.ZodString>;
|
|
434
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
435
|
-
} & {
|
|
436
|
-
entity_type: z.ZodLiteral<"document">;
|
|
437
|
-
name: z.ZodString;
|
|
438
|
-
category: z.ZodOptional<z.ZodEnum<["proposal", "contract", "brief", "memo", "report", "template", "other"]>>;
|
|
439
|
-
status: z.ZodDefault<z.ZodEnum<["draft", "review", "final", "archived"]>>;
|
|
440
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
441
|
-
entity_id: z.ZodString;
|
|
442
|
-
created_at: z.ZodString;
|
|
443
|
-
updated_at: z.ZodString;
|
|
444
|
-
created_by: z.ZodString;
|
|
445
|
-
updated_by: z.ZodString;
|
|
446
|
-
date: z.ZodOptional<z.ZodString>;
|
|
447
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
448
|
-
} & {
|
|
296
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
449
297
|
entity_type: z.ZodLiteral<"document">;
|
|
450
298
|
name: z.ZodString;
|
|
451
|
-
category: z.ZodOptional<z.ZodEnum<
|
|
452
|
-
|
|
453
|
-
|
|
299
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
300
|
+
other: "other";
|
|
301
|
+
proposal: "proposal";
|
|
302
|
+
contract: "contract";
|
|
303
|
+
brief: "brief";
|
|
304
|
+
memo: "memo";
|
|
305
|
+
report: "report";
|
|
306
|
+
template: "template";
|
|
307
|
+
guideline: "guideline";
|
|
308
|
+
}>>;
|
|
309
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
310
|
+
draft: "draft";
|
|
311
|
+
archived: "archived";
|
|
312
|
+
review: "review";
|
|
313
|
+
final: "final";
|
|
314
|
+
}>>;
|
|
315
|
+
}, z.core.$loose>;
|
|
316
|
+
export type Document = z.infer<typeof DocumentSchema>;
|
|
317
|
+
/**
|
|
318
|
+
* Deck — a slide deck or presentation. Stays its own type alongside
|
|
319
|
+
* `document` because of the dedicated slides renderer + agent skills that
|
|
320
|
+
* pattern-match on `entity_type === 'deck'`.
|
|
321
|
+
*/
|
|
322
|
+
export declare const DeckSchema: z.ZodObject<{
|
|
454
323
|
entity_id: z.ZodString;
|
|
455
324
|
created_at: z.ZodString;
|
|
456
325
|
updated_at: z.ZodString;
|
|
457
326
|
created_by: z.ZodString;
|
|
458
327
|
updated_by: z.ZodString;
|
|
459
328
|
date: z.ZodOptional<z.ZodString>;
|
|
460
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
461
|
-
|
|
462
|
-
entity_type: z.ZodLiteral<"document">;
|
|
329
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
330
|
+
entity_type: z.ZodLiteral<"deck">;
|
|
463
331
|
name: z.ZodString;
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
332
|
+
audience: z.ZodOptional<z.ZodEnum<{
|
|
333
|
+
external: "external";
|
|
334
|
+
client: "client";
|
|
335
|
+
other: "other";
|
|
336
|
+
team: "team";
|
|
337
|
+
board: "board";
|
|
338
|
+
}>>;
|
|
339
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
340
|
+
draft: "draft";
|
|
341
|
+
archived: "archived";
|
|
342
|
+
review: "review";
|
|
343
|
+
final: "final";
|
|
344
|
+
}>>;
|
|
345
|
+
presentation_date: z.ZodOptional<z.ZodString>;
|
|
346
|
+
}, z.core.$loose>;
|
|
347
|
+
export type Deck = z.infer<typeof DeckSchema>;
|
|
468
348
|
/**
|
|
469
|
-
*
|
|
349
|
+
* Publication — authored content published externally.
|
|
470
350
|
*/
|
|
471
|
-
export declare const
|
|
472
|
-
name: z.ZodString;
|
|
473
|
-
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
474
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
475
|
-
description: z.ZodOptional<z.ZodString>;
|
|
476
|
-
}, "strip", z.ZodTypeAny, {
|
|
477
|
-
type: "string" | "number" | "boolean" | "date";
|
|
478
|
-
name: string;
|
|
479
|
-
required?: boolean | undefined;
|
|
480
|
-
description?: string | undefined;
|
|
481
|
-
}, {
|
|
482
|
-
type: "string" | "number" | "boolean" | "date";
|
|
483
|
-
name: string;
|
|
484
|
-
required?: boolean | undefined;
|
|
485
|
-
description?: string | undefined;
|
|
486
|
-
}>;
|
|
487
|
-
export type ColumnDefinition = z.infer<typeof ColumnDefinitionSchema>;
|
|
488
|
-
export declare const DatasetSchema: z.ZodObject<{
|
|
351
|
+
export declare const PublicationSchema: z.ZodObject<{
|
|
489
352
|
entity_id: z.ZodString;
|
|
490
353
|
created_at: z.ZodString;
|
|
491
354
|
updated_at: z.ZodString;
|
|
492
355
|
created_by: z.ZodString;
|
|
493
356
|
updated_by: z.ZodString;
|
|
494
357
|
date: z.ZodOptional<z.ZodString>;
|
|
495
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
496
|
-
|
|
497
|
-
entity_type: z.ZodLiteral<"dataset">;
|
|
358
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
359
|
+
entity_type: z.ZodLiteral<"publication">;
|
|
498
360
|
name: z.ZodString;
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
description?: string | undefined;
|
|
514
|
-
}>, "many">;
|
|
515
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
361
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
362
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
363
|
+
draft: "draft";
|
|
364
|
+
review: "review";
|
|
365
|
+
scheduled: "scheduled";
|
|
366
|
+
published: "published";
|
|
367
|
+
}>>;
|
|
368
|
+
url: z.ZodOptional<z.ZodString>;
|
|
369
|
+
}, z.core.$loose>;
|
|
370
|
+
export type Publication = z.infer<typeof PublicationSchema>;
|
|
371
|
+
/**
|
|
372
|
+
* Case Study — portfolio narratives for completed projects.
|
|
373
|
+
*/
|
|
374
|
+
export declare const CaseStudySchema: z.ZodObject<{
|
|
516
375
|
entity_id: z.ZodString;
|
|
517
376
|
created_at: z.ZodString;
|
|
518
377
|
updated_at: z.ZodString;
|
|
519
378
|
created_by: z.ZodString;
|
|
520
379
|
updated_by: z.ZodString;
|
|
521
380
|
date: z.ZodOptional<z.ZodString>;
|
|
522
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
523
|
-
|
|
524
|
-
entity_type: z.ZodLiteral<"dataset">;
|
|
381
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
382
|
+
entity_type: z.ZodLiteral<"case-study">;
|
|
525
383
|
name: z.ZodString;
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
384
|
+
client: z.ZodOptional<z.ZodString>;
|
|
385
|
+
services: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
386
|
+
date_range: z.ZodOptional<z.ZodString>;
|
|
387
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
388
|
+
draft: "draft";
|
|
389
|
+
review: "review";
|
|
390
|
+
final: "final";
|
|
391
|
+
published: "published";
|
|
392
|
+
}>>;
|
|
393
|
+
}, z.core.$loose>;
|
|
394
|
+
export type CaseStudy = z.infer<typeof CaseStudySchema>;
|
|
395
|
+
/**
|
|
396
|
+
* Service — the firm's offerings + methodologies. Replaces the old
|
|
397
|
+
* `process` type and absorbs `practice-area` (top-level services replace
|
|
398
|
+
* what practice-area was trying to be).
|
|
399
|
+
*
|
|
400
|
+
* `sprint` links a granular service to its parent service (top-level
|
|
401
|
+
* services have none). `depends_on` / `enables` form a directed graph
|
|
402
|
+
* across the service set — the Graph view's most valuable use case.
|
|
403
|
+
*/
|
|
404
|
+
export declare const ServiceSchema: z.ZodObject<{
|
|
543
405
|
entity_id: z.ZodString;
|
|
544
406
|
created_at: z.ZodString;
|
|
545
407
|
updated_at: z.ZodString;
|
|
546
408
|
created_by: z.ZodString;
|
|
547
409
|
updated_by: z.ZodString;
|
|
548
410
|
date: z.ZodOptional<z.ZodString>;
|
|
549
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
550
|
-
|
|
551
|
-
entity_type: z.ZodLiteral<"dataset">;
|
|
411
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
412
|
+
entity_type: z.ZodLiteral<"service">;
|
|
552
413
|
name: z.ZodString;
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
name: string;
|
|
566
|
-
required?: boolean | undefined;
|
|
567
|
-
description?: string | undefined;
|
|
568
|
-
}>, "many">;
|
|
569
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
570
|
-
export type Dataset = z.infer<typeof DatasetSchema>;
|
|
571
|
-
export type DatasetRow = Record<string, string | number | boolean | null>;
|
|
414
|
+
service_id: z.ZodOptional<z.ZodString>;
|
|
415
|
+
sprint: z.ZodOptional<z.ZodString>;
|
|
416
|
+
depends_on: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
417
|
+
enables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
418
|
+
deliverables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
419
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
420
|
+
offered: "offered";
|
|
421
|
+
"in-development": "in-development";
|
|
422
|
+
retired: "retired";
|
|
423
|
+
}>>;
|
|
424
|
+
}, z.core.$loose>;
|
|
425
|
+
export type Service = z.infer<typeof ServiceSchema>;
|
|
572
426
|
/**
|
|
573
|
-
*
|
|
427
|
+
* Skill — prompt-level instructions the agent can load to teach it how to
|
|
428
|
+
* do a specific job. The entity id is the skill name used by `load_skill`.
|
|
429
|
+
* The body markdown is the instruction content.
|
|
430
|
+
*
|
|
431
|
+
* `applies_to` lets the agent load deck-skills when working on a deck,
|
|
432
|
+
* proposal-skills when on a `document.category=proposal`, etc. Empty /
|
|
433
|
+
* unset = generally applicable.
|
|
434
|
+
*
|
|
435
|
+
* The previous `loading: eager | on-demand` field is gone for graph-authored
|
|
436
|
+
* skills. Filesystem skills (shipped with the product in `src/agent/skills/`)
|
|
437
|
+
* keep their own loading mechanism via skill-loader.ts and orchestrator.ts.
|
|
438
|
+
*
|
|
439
|
+
* `name` and `description` are optional at creation so the sidebar new-entry
|
|
440
|
+
* flow works — the user fills them in afterward via the property panel.
|
|
574
441
|
*/
|
|
575
|
-
export declare const
|
|
442
|
+
export declare const SkillSchema: z.ZodObject<{
|
|
576
443
|
entity_id: z.ZodString;
|
|
577
444
|
created_at: z.ZodString;
|
|
578
445
|
updated_at: z.ZodString;
|
|
579
446
|
created_by: z.ZodString;
|
|
580
447
|
updated_by: z.ZodString;
|
|
581
448
|
date: z.ZodOptional<z.ZodString>;
|
|
582
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
449
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
450
|
+
entity_type: z.ZodLiteral<"skill">;
|
|
451
|
+
name: z.ZodOptional<z.ZodString>;
|
|
452
|
+
description: z.ZodOptional<z.ZodString>;
|
|
453
|
+
applies_to: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
454
|
+
}, z.core.$loose>;
|
|
455
|
+
export type Skill = z.infer<typeof SkillSchema>;
|
|
456
|
+
/**
|
|
457
|
+
* Note — freeform thinking, research, scratch, daily notes.
|
|
458
|
+
*
|
|
459
|
+
* Decisions migrated from the cut `decision` type land here as plain
|
|
460
|
+
* notes; operators may manually convert specific entries to `task` if they
|
|
461
|
+
* read better as work items.
|
|
462
|
+
*/
|
|
463
|
+
export declare const NoteSchema: z.ZodObject<{
|
|
589
464
|
entity_id: z.ZodString;
|
|
590
465
|
created_at: z.ZodString;
|
|
591
466
|
updated_at: z.ZodString;
|
|
592
467
|
created_by: z.ZodString;
|
|
593
468
|
updated_by: z.ZodString;
|
|
594
469
|
date: z.ZodOptional<z.ZodString>;
|
|
595
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
596
|
-
|
|
597
|
-
entity_type: z.ZodLiteral<"reference">;
|
|
470
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
471
|
+
entity_type: z.ZodLiteral<"note">;
|
|
598
472
|
name: z.ZodString;
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
473
|
+
}, z.core.$loose>;
|
|
474
|
+
export type Note = z.infer<typeof NoteSchema>;
|
|
475
|
+
/**
|
|
476
|
+
* Reference — external resources and inspiration.
|
|
477
|
+
*/
|
|
478
|
+
export declare const ReferenceSchema: z.ZodObject<{
|
|
602
479
|
entity_id: z.ZodString;
|
|
603
480
|
created_at: z.ZodString;
|
|
604
481
|
updated_at: z.ZodString;
|
|
605
482
|
created_by: z.ZodString;
|
|
606
483
|
updated_by: z.ZodString;
|
|
607
484
|
date: z.ZodOptional<z.ZodString>;
|
|
608
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
609
|
-
} & {
|
|
485
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
610
486
|
entity_type: z.ZodLiteral<"reference">;
|
|
611
487
|
name: z.ZodString;
|
|
612
488
|
source: z.ZodOptional<z.ZodString>;
|
|
613
489
|
link: z.ZodOptional<z.ZodString>;
|
|
614
|
-
}, z.
|
|
490
|
+
}, z.core.$loose>;
|
|
615
491
|
export type Reference = z.infer<typeof ReferenceSchema>;
|
|
616
492
|
/**
|
|
617
|
-
*
|
|
493
|
+
* Asset — a hosted binary the workspace owns. The frontmatter is the
|
|
494
|
+
* entity; the body is optional user notes. The binary itself lives in
|
|
495
|
+
* the asset backend (R2 or local volume) at `asset/{entity_id}/{file}`.
|
|
496
|
+
*
|
|
497
|
+
* Distinct from `reference`, which points at an external URL the
|
|
498
|
+
* workspace doesn't own. Per-kind UI (icon, viewer, thumbnail) is
|
|
499
|
+
* driven by `asset_kind`; see `detectAssetKind` in
|
|
500
|
+
* src/services/assets/base.ts.
|
|
501
|
+
*
|
|
502
|
+
* Asset is graph-visible (search, history, wikilinks) but hidden from the
|
|
503
|
+
* New Entry picker — it's created via the upload/drag-drop flow.
|
|
618
504
|
*/
|
|
619
|
-
export declare const
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
updated_at: z.ZodString;
|
|
623
|
-
created_by: z.ZodString;
|
|
624
|
-
updated_by: z.ZodString;
|
|
625
|
-
date: z.ZodOptional<z.ZodString>;
|
|
626
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
627
|
-
} & {
|
|
628
|
-
entity_type: z.ZodLiteral<"note">;
|
|
629
|
-
name: z.ZodString;
|
|
630
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
505
|
+
export declare const ASSET_KINDS: readonly ["image", "video", "audio", "pdf", "spreadsheet", "other"];
|
|
506
|
+
export type AssetKind = (typeof ASSET_KINDS)[number];
|
|
507
|
+
export declare const AssetSchema: z.ZodObject<{
|
|
631
508
|
entity_id: z.ZodString;
|
|
632
509
|
created_at: z.ZodString;
|
|
633
510
|
updated_at: z.ZodString;
|
|
634
511
|
created_by: z.ZodString;
|
|
635
512
|
updated_by: z.ZodString;
|
|
636
513
|
date: z.ZodOptional<z.ZodString>;
|
|
637
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
638
|
-
|
|
639
|
-
entity_type: z.ZodLiteral<"note">;
|
|
514
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
515
|
+
entity_type: z.ZodLiteral<"asset">;
|
|
640
516
|
name: z.ZodString;
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
name: z.ZodString;
|
|
668
|
-
project: z.ZodOptional<z.ZodString>;
|
|
669
|
-
status: z.ZodDefault<z.ZodEnum<["planned", "in-progress", "delivered", "accepted", "rejected"]>>;
|
|
670
|
-
due_date: z.ZodOptional<z.ZodString>;
|
|
671
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
672
|
-
entity_id: z.ZodString;
|
|
673
|
-
created_at: z.ZodString;
|
|
674
|
-
updated_at: z.ZodString;
|
|
675
|
-
created_by: z.ZodString;
|
|
676
|
-
updated_by: z.ZodString;
|
|
677
|
-
date: z.ZodOptional<z.ZodString>;
|
|
678
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
679
|
-
} & {
|
|
680
|
-
entity_type: z.ZodLiteral<"deliverable">;
|
|
681
|
-
name: z.ZodString;
|
|
682
|
-
project: z.ZodOptional<z.ZodString>;
|
|
683
|
-
status: z.ZodDefault<z.ZodEnum<["planned", "in-progress", "delivered", "accepted", "rejected"]>>;
|
|
684
|
-
due_date: z.ZodOptional<z.ZodString>;
|
|
685
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
686
|
-
entity_id: z.ZodString;
|
|
687
|
-
created_at: z.ZodString;
|
|
688
|
-
updated_at: z.ZodString;
|
|
689
|
-
created_by: z.ZodString;
|
|
690
|
-
updated_by: z.ZodString;
|
|
691
|
-
date: z.ZodOptional<z.ZodString>;
|
|
692
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
693
|
-
} & {
|
|
694
|
-
entity_type: z.ZodLiteral<"deliverable">;
|
|
695
|
-
name: z.ZodString;
|
|
696
|
-
project: z.ZodOptional<z.ZodString>;
|
|
697
|
-
status: z.ZodDefault<z.ZodEnum<["planned", "in-progress", "delivered", "accepted", "rejected"]>>;
|
|
698
|
-
due_date: z.ZodOptional<z.ZodString>;
|
|
699
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
700
|
-
export type Deliverable = z.infer<typeof DeliverableSchema>;
|
|
701
|
-
/**
|
|
702
|
-
* Publication — authored content published externally
|
|
703
|
-
*/
|
|
704
|
-
export declare const PublicationSchema: z.ZodObject<{
|
|
705
|
-
entity_id: z.ZodString;
|
|
706
|
-
created_at: z.ZodString;
|
|
707
|
-
updated_at: z.ZodString;
|
|
708
|
-
created_by: z.ZodString;
|
|
709
|
-
updated_by: z.ZodString;
|
|
710
|
-
date: z.ZodOptional<z.ZodString>;
|
|
711
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
712
|
-
} & {
|
|
713
|
-
entity_type: z.ZodLiteral<"publication">;
|
|
714
|
-
name: z.ZodString;
|
|
715
|
-
platform: z.ZodOptional<z.ZodString>;
|
|
716
|
-
status: z.ZodDefault<z.ZodEnum<["draft", "review", "scheduled", "published"]>>;
|
|
717
|
-
url: z.ZodOptional<z.ZodString>;
|
|
718
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
719
|
-
entity_id: z.ZodString;
|
|
720
|
-
created_at: z.ZodString;
|
|
721
|
-
updated_at: z.ZodString;
|
|
722
|
-
created_by: z.ZodString;
|
|
723
|
-
updated_by: z.ZodString;
|
|
724
|
-
date: z.ZodOptional<z.ZodString>;
|
|
725
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
726
|
-
} & {
|
|
727
|
-
entity_type: z.ZodLiteral<"publication">;
|
|
728
|
-
name: z.ZodString;
|
|
729
|
-
platform: z.ZodOptional<z.ZodString>;
|
|
730
|
-
status: z.ZodDefault<z.ZodEnum<["draft", "review", "scheduled", "published"]>>;
|
|
731
|
-
url: z.ZodOptional<z.ZodString>;
|
|
732
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
733
|
-
entity_id: z.ZodString;
|
|
734
|
-
created_at: z.ZodString;
|
|
735
|
-
updated_at: z.ZodString;
|
|
736
|
-
created_by: z.ZodString;
|
|
737
|
-
updated_by: z.ZodString;
|
|
738
|
-
date: z.ZodOptional<z.ZodString>;
|
|
739
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
740
|
-
} & {
|
|
741
|
-
entity_type: z.ZodLiteral<"publication">;
|
|
742
|
-
name: z.ZodString;
|
|
743
|
-
platform: z.ZodOptional<z.ZodString>;
|
|
744
|
-
status: z.ZodDefault<z.ZodEnum<["draft", "review", "scheduled", "published"]>>;
|
|
745
|
-
url: z.ZodOptional<z.ZodString>;
|
|
746
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
747
|
-
export type Publication = z.infer<typeof PublicationSchema>;
|
|
748
|
-
/**
|
|
749
|
-
* Deal — pre-project opportunity in the sales pipeline
|
|
750
|
-
*/
|
|
751
|
-
export declare const DealSchema: z.ZodObject<{
|
|
752
|
-
entity_id: z.ZodString;
|
|
753
|
-
created_at: z.ZodString;
|
|
754
|
-
updated_at: z.ZodString;
|
|
755
|
-
created_by: z.ZodString;
|
|
756
|
-
updated_by: z.ZodString;
|
|
757
|
-
date: z.ZodOptional<z.ZodString>;
|
|
758
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
759
|
-
} & {
|
|
760
|
-
entity_type: z.ZodLiteral<"deal">;
|
|
761
|
-
name: z.ZodString;
|
|
762
|
-
client: z.ZodOptional<z.ZodString>;
|
|
763
|
-
contact: z.ZodOptional<z.ZodString>;
|
|
764
|
-
stage: z.ZodDefault<z.ZodEnum<["scoping", "proposal", "negotiating", "won", "lost"]>>;
|
|
765
|
-
deal_value: z.ZodOptional<z.ZodNumber>;
|
|
766
|
-
expected_close: z.ZodOptional<z.ZodString>;
|
|
767
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
768
|
-
entity_id: z.ZodString;
|
|
769
|
-
created_at: z.ZodString;
|
|
770
|
-
updated_at: z.ZodString;
|
|
771
|
-
created_by: z.ZodString;
|
|
772
|
-
updated_by: z.ZodString;
|
|
773
|
-
date: z.ZodOptional<z.ZodString>;
|
|
774
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
775
|
-
} & {
|
|
776
|
-
entity_type: z.ZodLiteral<"deal">;
|
|
777
|
-
name: z.ZodString;
|
|
778
|
-
client: z.ZodOptional<z.ZodString>;
|
|
779
|
-
contact: z.ZodOptional<z.ZodString>;
|
|
780
|
-
stage: z.ZodDefault<z.ZodEnum<["scoping", "proposal", "negotiating", "won", "lost"]>>;
|
|
781
|
-
deal_value: z.ZodOptional<z.ZodNumber>;
|
|
782
|
-
expected_close: z.ZodOptional<z.ZodString>;
|
|
783
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
784
|
-
entity_id: z.ZodString;
|
|
785
|
-
created_at: z.ZodString;
|
|
786
|
-
updated_at: z.ZodString;
|
|
787
|
-
created_by: z.ZodString;
|
|
788
|
-
updated_by: z.ZodString;
|
|
789
|
-
date: z.ZodOptional<z.ZodString>;
|
|
790
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
791
|
-
} & {
|
|
792
|
-
entity_type: z.ZodLiteral<"deal">;
|
|
793
|
-
name: z.ZodString;
|
|
794
|
-
client: z.ZodOptional<z.ZodString>;
|
|
795
|
-
contact: z.ZodOptional<z.ZodString>;
|
|
796
|
-
stage: z.ZodDefault<z.ZodEnum<["scoping", "proposal", "negotiating", "won", "lost"]>>;
|
|
797
|
-
deal_value: z.ZodOptional<z.ZodNumber>;
|
|
798
|
-
expected_close: z.ZodOptional<z.ZodString>;
|
|
799
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
800
|
-
export type Deal = z.infer<typeof DealSchema>;
|
|
801
|
-
/**
|
|
802
|
-
* Process — workflows, SOPs, and methodologies
|
|
803
|
-
*/
|
|
804
|
-
export declare const ProcessSchema: z.ZodObject<{
|
|
805
|
-
entity_id: z.ZodString;
|
|
806
|
-
created_at: z.ZodString;
|
|
807
|
-
updated_at: z.ZodString;
|
|
808
|
-
created_by: z.ZodString;
|
|
809
|
-
updated_by: z.ZodString;
|
|
810
|
-
date: z.ZodOptional<z.ZodString>;
|
|
811
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
812
|
-
} & {
|
|
813
|
-
entity_type: z.ZodLiteral<"process">;
|
|
814
|
-
name: z.ZodString;
|
|
815
|
-
owner: z.ZodOptional<z.ZodString>;
|
|
816
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
817
|
-
entity_id: z.ZodString;
|
|
818
|
-
created_at: z.ZodString;
|
|
819
|
-
updated_at: z.ZodString;
|
|
820
|
-
created_by: z.ZodString;
|
|
821
|
-
updated_by: z.ZodString;
|
|
822
|
-
date: z.ZodOptional<z.ZodString>;
|
|
823
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
824
|
-
} & {
|
|
825
|
-
entity_type: z.ZodLiteral<"process">;
|
|
826
|
-
name: z.ZodString;
|
|
827
|
-
owner: z.ZodOptional<z.ZodString>;
|
|
828
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
829
|
-
entity_id: z.ZodString;
|
|
830
|
-
created_at: z.ZodString;
|
|
831
|
-
updated_at: z.ZodString;
|
|
832
|
-
created_by: z.ZodString;
|
|
833
|
-
updated_by: z.ZodString;
|
|
834
|
-
date: z.ZodOptional<z.ZodString>;
|
|
835
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
836
|
-
} & {
|
|
837
|
-
entity_type: z.ZodLiteral<"process">;
|
|
838
|
-
name: z.ZodString;
|
|
839
|
-
owner: z.ZodOptional<z.ZodString>;
|
|
840
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
841
|
-
export type Process = z.infer<typeof ProcessSchema>;
|
|
842
|
-
/**
|
|
843
|
-
* Guideline — guidelines, standards, and best practices
|
|
844
|
-
*/
|
|
845
|
-
export declare const GuidelineSchema: z.ZodObject<{
|
|
846
|
-
entity_id: z.ZodString;
|
|
847
|
-
created_at: z.ZodString;
|
|
848
|
-
updated_at: z.ZodString;
|
|
849
|
-
created_by: z.ZodString;
|
|
850
|
-
updated_by: z.ZodString;
|
|
851
|
-
date: z.ZodOptional<z.ZodString>;
|
|
852
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
853
|
-
} & {
|
|
854
|
-
entity_type: z.ZodLiteral<"guideline">;
|
|
855
|
-
name: z.ZodString;
|
|
856
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
857
|
-
entity_id: z.ZodString;
|
|
858
|
-
created_at: z.ZodString;
|
|
859
|
-
updated_at: z.ZodString;
|
|
860
|
-
created_by: z.ZodString;
|
|
861
|
-
updated_by: z.ZodString;
|
|
862
|
-
date: z.ZodOptional<z.ZodString>;
|
|
863
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
864
|
-
} & {
|
|
865
|
-
entity_type: z.ZodLiteral<"guideline">;
|
|
866
|
-
name: z.ZodString;
|
|
867
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
868
|
-
entity_id: z.ZodString;
|
|
869
|
-
created_at: z.ZodString;
|
|
870
|
-
updated_at: z.ZodString;
|
|
871
|
-
created_by: z.ZodString;
|
|
872
|
-
updated_by: z.ZodString;
|
|
873
|
-
date: z.ZodOptional<z.ZodString>;
|
|
874
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
875
|
-
} & {
|
|
876
|
-
entity_type: z.ZodLiteral<"guideline">;
|
|
877
|
-
name: z.ZodString;
|
|
878
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
879
|
-
export type Guideline = z.infer<typeof GuidelineSchema>;
|
|
880
|
-
/**
|
|
881
|
-
* Case Study — portfolio narratives for completed projects
|
|
882
|
-
*/
|
|
883
|
-
export declare const CaseStudySchema: z.ZodObject<{
|
|
884
|
-
entity_id: z.ZodString;
|
|
885
|
-
created_at: z.ZodString;
|
|
886
|
-
updated_at: z.ZodString;
|
|
887
|
-
created_by: z.ZodString;
|
|
888
|
-
updated_by: z.ZodString;
|
|
889
|
-
date: z.ZodOptional<z.ZodString>;
|
|
890
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
891
|
-
} & {
|
|
892
|
-
entity_type: z.ZodLiteral<"case-study">;
|
|
893
|
-
name: z.ZodString;
|
|
894
|
-
client: z.ZodOptional<z.ZodString>;
|
|
895
|
-
date_range: z.ZodOptional<z.ZodString>;
|
|
896
|
-
status: z.ZodOptional<z.ZodEnum<["draft", "published"]>>;
|
|
897
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
898
|
-
entity_id: z.ZodString;
|
|
899
|
-
created_at: z.ZodString;
|
|
900
|
-
updated_at: z.ZodString;
|
|
901
|
-
created_by: z.ZodString;
|
|
902
|
-
updated_by: z.ZodString;
|
|
903
|
-
date: z.ZodOptional<z.ZodString>;
|
|
904
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
905
|
-
} & {
|
|
906
|
-
entity_type: z.ZodLiteral<"case-study">;
|
|
907
|
-
name: z.ZodString;
|
|
908
|
-
client: z.ZodOptional<z.ZodString>;
|
|
909
|
-
date_range: z.ZodOptional<z.ZodString>;
|
|
910
|
-
status: z.ZodOptional<z.ZodEnum<["draft", "published"]>>;
|
|
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
|
-
date: z.ZodOptional<z.ZodString>;
|
|
918
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
919
|
-
} & {
|
|
920
|
-
entity_type: z.ZodLiteral<"case-study">;
|
|
921
|
-
name: z.ZodString;
|
|
922
|
-
client: z.ZodOptional<z.ZodString>;
|
|
923
|
-
date_range: z.ZodOptional<z.ZodString>;
|
|
924
|
-
status: z.ZodOptional<z.ZodEnum<["draft", "published"]>>;
|
|
925
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
926
|
-
export type CaseStudy = z.infer<typeof CaseStudySchema>;
|
|
927
|
-
/**
|
|
928
|
-
* Maps entity types to their Zod schemas.
|
|
929
|
-
* 17 built-in types. App plugins register additional types at runtime via SchemaRegistry.
|
|
930
|
-
*/
|
|
931
|
-
export declare const ENTITY_SCHEMAS: {
|
|
932
|
-
readonly person: z.ZodObject<{
|
|
933
|
-
entity_id: z.ZodString;
|
|
934
|
-
created_at: z.ZodString;
|
|
935
|
-
updated_at: z.ZodString;
|
|
936
|
-
created_by: z.ZodString;
|
|
937
|
-
updated_by: z.ZodString;
|
|
938
|
-
date: z.ZodOptional<z.ZodString>;
|
|
939
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
940
|
-
} & {
|
|
941
|
-
entity_type: z.ZodLiteral<"person">;
|
|
942
|
-
name: z.ZodString;
|
|
943
|
-
role: z.ZodOptional<z.ZodString>;
|
|
944
|
-
status: z.ZodOptional<z.ZodEnum<["current", "former", "contractor", "client", "partner"]>>;
|
|
945
|
-
email: z.ZodOptional<z.ZodString>;
|
|
946
|
-
location: z.ZodOptional<z.ZodString>;
|
|
947
|
-
organization: z.ZodOptional<z.ZodString>;
|
|
948
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
949
|
-
entity_id: z.ZodString;
|
|
950
|
-
created_at: z.ZodString;
|
|
951
|
-
updated_at: z.ZodString;
|
|
952
|
-
created_by: z.ZodString;
|
|
953
|
-
updated_by: z.ZodString;
|
|
954
|
-
date: z.ZodOptional<z.ZodString>;
|
|
955
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
956
|
-
} & {
|
|
957
|
-
entity_type: z.ZodLiteral<"person">;
|
|
958
|
-
name: z.ZodString;
|
|
959
|
-
role: z.ZodOptional<z.ZodString>;
|
|
960
|
-
status: z.ZodOptional<z.ZodEnum<["current", "former", "contractor", "client", "partner"]>>;
|
|
961
|
-
email: z.ZodOptional<z.ZodString>;
|
|
962
|
-
location: z.ZodOptional<z.ZodString>;
|
|
963
|
-
organization: z.ZodOptional<z.ZodString>;
|
|
964
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
965
|
-
entity_id: z.ZodString;
|
|
966
|
-
created_at: z.ZodString;
|
|
967
|
-
updated_at: z.ZodString;
|
|
968
|
-
created_by: z.ZodString;
|
|
969
|
-
updated_by: z.ZodString;
|
|
970
|
-
date: z.ZodOptional<z.ZodString>;
|
|
971
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
972
|
-
} & {
|
|
973
|
-
entity_type: z.ZodLiteral<"person">;
|
|
974
|
-
name: z.ZodString;
|
|
975
|
-
role: z.ZodOptional<z.ZodString>;
|
|
976
|
-
status: z.ZodOptional<z.ZodEnum<["current", "former", "contractor", "client", "partner"]>>;
|
|
977
|
-
email: z.ZodOptional<z.ZodString>;
|
|
978
|
-
location: z.ZodOptional<z.ZodString>;
|
|
979
|
-
organization: z.ZodOptional<z.ZodString>;
|
|
980
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
981
|
-
readonly organization: z.ZodObject<{
|
|
982
|
-
entity_id: z.ZodString;
|
|
983
|
-
created_at: z.ZodString;
|
|
984
|
-
updated_at: z.ZodString;
|
|
985
|
-
created_by: z.ZodString;
|
|
986
|
-
updated_by: z.ZodString;
|
|
987
|
-
date: z.ZodOptional<z.ZodString>;
|
|
988
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
989
|
-
} & {
|
|
990
|
-
entity_type: z.ZodLiteral<"organization">;
|
|
991
|
-
name: z.ZodString;
|
|
992
|
-
category: z.ZodOptional<z.ZodEnum<["client", "vendor", "partner", "prospect", "industry-body", "other"]>>;
|
|
993
|
-
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "former"]>>;
|
|
994
|
-
industry: z.ZodOptional<z.ZodString>;
|
|
995
|
-
website: z.ZodOptional<z.ZodString>;
|
|
996
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
997
|
-
entity_id: z.ZodString;
|
|
998
|
-
created_at: z.ZodString;
|
|
999
|
-
updated_at: z.ZodString;
|
|
1000
|
-
created_by: z.ZodString;
|
|
1001
|
-
updated_by: z.ZodString;
|
|
1002
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1003
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1004
|
-
} & {
|
|
1005
|
-
entity_type: z.ZodLiteral<"organization">;
|
|
1006
|
-
name: z.ZodString;
|
|
1007
|
-
category: z.ZodOptional<z.ZodEnum<["client", "vendor", "partner", "prospect", "industry-body", "other"]>>;
|
|
1008
|
-
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "former"]>>;
|
|
1009
|
-
industry: z.ZodOptional<z.ZodString>;
|
|
1010
|
-
website: z.ZodOptional<z.ZodString>;
|
|
1011
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
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
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1018
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1019
|
-
} & {
|
|
1020
|
-
entity_type: z.ZodLiteral<"organization">;
|
|
1021
|
-
name: z.ZodString;
|
|
1022
|
-
category: z.ZodOptional<z.ZodEnum<["client", "vendor", "partner", "prospect", "industry-body", "other"]>>;
|
|
1023
|
-
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "former"]>>;
|
|
1024
|
-
industry: z.ZodOptional<z.ZodString>;
|
|
1025
|
-
website: z.ZodOptional<z.ZodString>;
|
|
1026
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1027
|
-
readonly role: z.ZodObject<{
|
|
1028
|
-
entity_id: z.ZodString;
|
|
1029
|
-
created_at: z.ZodString;
|
|
1030
|
-
updated_at: z.ZodString;
|
|
1031
|
-
created_by: z.ZodString;
|
|
1032
|
-
updated_by: z.ZodString;
|
|
1033
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1034
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1035
|
-
} & {
|
|
1036
|
-
entity_type: z.ZodLiteral<"role">;
|
|
1037
|
-
name: z.ZodString;
|
|
1038
|
-
department: z.ZodOptional<z.ZodString>;
|
|
1039
|
-
category: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
1040
|
-
status: z.ZodDefault<z.ZodEnum<["active", "open", "filled", "archived"]>>;
|
|
1041
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1042
|
-
entity_id: z.ZodString;
|
|
1043
|
-
created_at: z.ZodString;
|
|
1044
|
-
updated_at: z.ZodString;
|
|
1045
|
-
created_by: z.ZodString;
|
|
1046
|
-
updated_by: z.ZodString;
|
|
1047
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1048
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1049
|
-
} & {
|
|
1050
|
-
entity_type: z.ZodLiteral<"role">;
|
|
1051
|
-
name: z.ZodString;
|
|
1052
|
-
department: z.ZodOptional<z.ZodString>;
|
|
1053
|
-
category: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
1054
|
-
status: z.ZodDefault<z.ZodEnum<["active", "open", "filled", "archived"]>>;
|
|
1055
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1056
|
-
entity_id: z.ZodString;
|
|
1057
|
-
created_at: z.ZodString;
|
|
1058
|
-
updated_at: z.ZodString;
|
|
1059
|
-
created_by: z.ZodString;
|
|
1060
|
-
updated_by: z.ZodString;
|
|
1061
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1062
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1063
|
-
} & {
|
|
1064
|
-
entity_type: z.ZodLiteral<"role">;
|
|
1065
|
-
name: z.ZodString;
|
|
1066
|
-
department: z.ZodOptional<z.ZodString>;
|
|
1067
|
-
category: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
1068
|
-
status: z.ZodDefault<z.ZodEnum<["active", "open", "filled", "archived"]>>;
|
|
1069
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1070
|
-
readonly 'practice-area': z.ZodObject<{
|
|
1071
|
-
entity_id: z.ZodString;
|
|
1072
|
-
created_at: z.ZodString;
|
|
1073
|
-
updated_at: z.ZodString;
|
|
1074
|
-
created_by: z.ZodString;
|
|
1075
|
-
updated_by: z.ZodString;
|
|
1076
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1077
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1078
|
-
} & {
|
|
1079
|
-
entity_type: z.ZodLiteral<"practice-area">;
|
|
1080
|
-
name: z.ZodString;
|
|
1081
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1082
|
-
entity_id: z.ZodString;
|
|
1083
|
-
created_at: z.ZodString;
|
|
1084
|
-
updated_at: z.ZodString;
|
|
1085
|
-
created_by: z.ZodString;
|
|
1086
|
-
updated_by: z.ZodString;
|
|
1087
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1088
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1089
|
-
} & {
|
|
1090
|
-
entity_type: z.ZodLiteral<"practice-area">;
|
|
1091
|
-
name: z.ZodString;
|
|
1092
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1093
|
-
entity_id: z.ZodString;
|
|
1094
|
-
created_at: z.ZodString;
|
|
1095
|
-
updated_at: z.ZodString;
|
|
1096
|
-
created_by: z.ZodString;
|
|
1097
|
-
updated_by: z.ZodString;
|
|
1098
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1099
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1100
|
-
} & {
|
|
1101
|
-
entity_type: z.ZodLiteral<"practice-area">;
|
|
1102
|
-
name: z.ZodString;
|
|
1103
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1104
|
-
readonly project: z.ZodObject<{
|
|
1105
|
-
entity_id: z.ZodString;
|
|
1106
|
-
created_at: z.ZodString;
|
|
1107
|
-
updated_at: z.ZodString;
|
|
1108
|
-
created_by: z.ZodString;
|
|
1109
|
-
updated_by: z.ZodString;
|
|
1110
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1111
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1112
|
-
} & {
|
|
1113
|
-
entity_type: z.ZodLiteral<"project">;
|
|
1114
|
-
name: z.ZodString;
|
|
1115
|
-
category: z.ZodOptional<z.ZodEnum<["client", "internal"]>>;
|
|
1116
|
-
project_type: z.ZodOptional<z.ZodString>;
|
|
1117
|
-
client: z.ZodOptional<z.ZodString>;
|
|
1118
|
-
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
1119
|
-
start_date: z.ZodOptional<z.ZodString>;
|
|
1120
|
-
end_date: z.ZodOptional<z.ZodString>;
|
|
1121
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1122
|
-
entity_id: z.ZodString;
|
|
1123
|
-
created_at: z.ZodString;
|
|
1124
|
-
updated_at: z.ZodString;
|
|
1125
|
-
created_by: z.ZodString;
|
|
1126
|
-
updated_by: z.ZodString;
|
|
1127
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1128
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1129
|
-
} & {
|
|
1130
|
-
entity_type: z.ZodLiteral<"project">;
|
|
1131
|
-
name: z.ZodString;
|
|
1132
|
-
category: z.ZodOptional<z.ZodEnum<["client", "internal"]>>;
|
|
1133
|
-
project_type: z.ZodOptional<z.ZodString>;
|
|
1134
|
-
client: z.ZodOptional<z.ZodString>;
|
|
1135
|
-
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
1136
|
-
start_date: z.ZodOptional<z.ZodString>;
|
|
1137
|
-
end_date: z.ZodOptional<z.ZodString>;
|
|
1138
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1139
|
-
entity_id: z.ZodString;
|
|
1140
|
-
created_at: z.ZodString;
|
|
1141
|
-
updated_at: z.ZodString;
|
|
1142
|
-
created_by: z.ZodString;
|
|
1143
|
-
updated_by: z.ZodString;
|
|
1144
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1145
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1146
|
-
} & {
|
|
1147
|
-
entity_type: z.ZodLiteral<"project">;
|
|
1148
|
-
name: z.ZodString;
|
|
1149
|
-
category: z.ZodOptional<z.ZodEnum<["client", "internal"]>>;
|
|
1150
|
-
project_type: z.ZodOptional<z.ZodString>;
|
|
1151
|
-
client: z.ZodOptional<z.ZodString>;
|
|
1152
|
-
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
1153
|
-
start_date: z.ZodOptional<z.ZodString>;
|
|
1154
|
-
end_date: z.ZodOptional<z.ZodString>;
|
|
1155
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1156
|
-
readonly meeting: z.ZodObject<{
|
|
1157
|
-
entity_id: z.ZodString;
|
|
1158
|
-
created_at: z.ZodString;
|
|
1159
|
-
updated_at: z.ZodString;
|
|
1160
|
-
created_by: z.ZodString;
|
|
1161
|
-
updated_by: z.ZodString;
|
|
1162
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1163
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1164
|
-
} & {
|
|
1165
|
-
entity_type: z.ZodLiteral<"meeting">;
|
|
1166
|
-
name: z.ZodString;
|
|
1167
|
-
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1168
|
-
location: z.ZodOptional<z.ZodString>;
|
|
1169
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1170
|
-
entity_id: z.ZodString;
|
|
1171
|
-
created_at: z.ZodString;
|
|
1172
|
-
updated_at: z.ZodString;
|
|
1173
|
-
created_by: z.ZodString;
|
|
1174
|
-
updated_by: z.ZodString;
|
|
1175
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1176
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1177
|
-
} & {
|
|
1178
|
-
entity_type: z.ZodLiteral<"meeting">;
|
|
1179
|
-
name: z.ZodString;
|
|
1180
|
-
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1181
|
-
location: z.ZodOptional<z.ZodString>;
|
|
1182
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
517
|
+
asset_url: z.ZodString;
|
|
518
|
+
asset_kind: z.ZodEnum<{
|
|
519
|
+
other: "other";
|
|
520
|
+
image: "image";
|
|
521
|
+
video: "video";
|
|
522
|
+
audio: "audio";
|
|
523
|
+
pdf: "pdf";
|
|
524
|
+
spreadsheet: "spreadsheet";
|
|
525
|
+
}>;
|
|
526
|
+
asset_extension: z.ZodString;
|
|
527
|
+
asset_size: z.ZodNumber;
|
|
528
|
+
asset_mime: z.ZodOptional<z.ZodString>;
|
|
529
|
+
pages: z.ZodOptional<z.ZodNumber>;
|
|
530
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
531
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
532
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
533
|
+
checksum: z.ZodOptional<z.ZodString>;
|
|
534
|
+
}, z.core.$loose>;
|
|
535
|
+
export type Asset = z.infer<typeof AssetSchema>;
|
|
536
|
+
/**
|
|
537
|
+
* Maps entity types to their Zod schemas. 16 canonical built-in types
|
|
538
|
+
* (15 user-facing + 1 system). Workspaces can register additional custom
|
|
539
|
+
* types via SchemaRegistry (schema_extensions).
|
|
540
|
+
*/
|
|
541
|
+
export declare const ENTITY_SCHEMAS: {
|
|
542
|
+
readonly person: z.ZodObject<{
|
|
1183
543
|
entity_id: z.ZodString;
|
|
1184
544
|
created_at: z.ZodString;
|
|
1185
545
|
updated_at: z.ZodString;
|
|
1186
546
|
created_by: z.ZodString;
|
|
1187
547
|
updated_by: z.ZodString;
|
|
1188
548
|
date: z.ZodOptional<z.ZodString>;
|
|
1189
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1190
|
-
|
|
1191
|
-
entity_type: z.ZodLiteral<"meeting">;
|
|
549
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
550
|
+
entity_type: z.ZodLiteral<"person">;
|
|
1192
551
|
name: z.ZodString;
|
|
1193
|
-
|
|
552
|
+
role: z.ZodOptional<z.ZodString>;
|
|
553
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
554
|
+
employee: "employee";
|
|
555
|
+
contractor: "contractor";
|
|
556
|
+
client: "client";
|
|
557
|
+
partner: "partner";
|
|
558
|
+
other: "other";
|
|
559
|
+
}>>;
|
|
560
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
561
|
+
current: "current";
|
|
562
|
+
former: "former";
|
|
563
|
+
}>>;
|
|
564
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1194
565
|
location: z.ZodOptional<z.ZodString>;
|
|
1195
|
-
|
|
1196
|
-
|
|
566
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
567
|
+
}, z.core.$loose>;
|
|
568
|
+
readonly organization: z.ZodObject<{
|
|
1197
569
|
entity_id: z.ZodString;
|
|
1198
570
|
created_at: z.ZodString;
|
|
1199
571
|
updated_at: z.ZodString;
|
|
1200
572
|
created_by: z.ZodString;
|
|
1201
573
|
updated_by: z.ZodString;
|
|
1202
574
|
date: z.ZodOptional<z.ZodString>;
|
|
1203
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1204
|
-
|
|
1205
|
-
entity_type: z.ZodLiteral<"decision">;
|
|
575
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
576
|
+
entity_type: z.ZodLiteral<"organization">;
|
|
1206
577
|
name: z.ZodString;
|
|
1207
|
-
|
|
1208
|
-
|
|
578
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
579
|
+
client: "client";
|
|
580
|
+
partner: "partner";
|
|
581
|
+
other: "other";
|
|
582
|
+
vendor: "vendor";
|
|
583
|
+
prospect: "prospect";
|
|
584
|
+
"professional-association": "professional-association";
|
|
585
|
+
}>>;
|
|
586
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
587
|
+
former: "former";
|
|
588
|
+
active: "active";
|
|
589
|
+
dormant: "dormant";
|
|
590
|
+
}>>;
|
|
591
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
592
|
+
website: z.ZodOptional<z.ZodString>;
|
|
593
|
+
}, z.core.$loose>;
|
|
594
|
+
readonly position: z.ZodObject<{
|
|
1209
595
|
entity_id: z.ZodString;
|
|
1210
596
|
created_at: z.ZodString;
|
|
1211
597
|
updated_at: z.ZodString;
|
|
1212
598
|
created_by: z.ZodString;
|
|
1213
599
|
updated_by: z.ZodString;
|
|
1214
600
|
date: z.ZodOptional<z.ZodString>;
|
|
1215
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1216
|
-
|
|
1217
|
-
entity_type: z.ZodLiteral<"decision">;
|
|
601
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
602
|
+
entity_type: z.ZodLiteral<"position">;
|
|
1218
603
|
name: z.ZodString;
|
|
1219
|
-
|
|
1220
|
-
|
|
604
|
+
department: z.ZodOptional<z.ZodString>;
|
|
605
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
606
|
+
contractor: "contractor";
|
|
607
|
+
staff: "staff";
|
|
608
|
+
intern: "intern";
|
|
609
|
+
}>>;
|
|
610
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
611
|
+
draft: "draft";
|
|
612
|
+
open: "open";
|
|
613
|
+
filled: "filled";
|
|
614
|
+
closed: "closed";
|
|
615
|
+
}>>;
|
|
616
|
+
}, z.core.$loose>;
|
|
617
|
+
readonly deal: z.ZodObject<{
|
|
1221
618
|
entity_id: z.ZodString;
|
|
1222
619
|
created_at: z.ZodString;
|
|
1223
620
|
updated_at: z.ZodString;
|
|
1224
621
|
created_by: z.ZodString;
|
|
1225
622
|
updated_by: z.ZodString;
|
|
1226
623
|
date: z.ZodOptional<z.ZodString>;
|
|
1227
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1228
|
-
|
|
1229
|
-
entity_type: z.ZodLiteral<"decision">;
|
|
624
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
625
|
+
entity_type: z.ZodLiteral<"deal">;
|
|
1230
626
|
name: z.ZodString;
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
627
|
+
client: z.ZodOptional<z.ZodString>;
|
|
628
|
+
contact: z.ZodOptional<z.ZodString>;
|
|
629
|
+
stage: z.ZodDefault<z.ZodEnum<{
|
|
630
|
+
qualification: "qualification";
|
|
631
|
+
scoping: "scoping";
|
|
632
|
+
proposal: "proposal";
|
|
633
|
+
negotiation: "negotiation";
|
|
634
|
+
"pending-signature": "pending-signature";
|
|
635
|
+
won: "won";
|
|
636
|
+
lost: "lost";
|
|
637
|
+
}>>;
|
|
638
|
+
deal_value: z.ZodOptional<z.ZodNumber>;
|
|
639
|
+
expected_close: z.ZodOptional<z.ZodString>;
|
|
640
|
+
}, z.core.$loose>;
|
|
641
|
+
readonly project: z.ZodObject<{
|
|
1234
642
|
entity_id: z.ZodString;
|
|
1235
643
|
created_at: z.ZodString;
|
|
1236
644
|
updated_at: z.ZodString;
|
|
1237
645
|
created_by: z.ZodString;
|
|
1238
646
|
updated_by: z.ZodString;
|
|
1239
647
|
date: z.ZodOptional<z.ZodString>;
|
|
1240
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1241
|
-
|
|
1242
|
-
entity_type: z.ZodLiteral<"task">;
|
|
648
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
649
|
+
entity_type: z.ZodLiteral<"project">;
|
|
1243
650
|
name: z.ZodString;
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
651
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
652
|
+
client: "client";
|
|
653
|
+
internal: "internal";
|
|
654
|
+
}>>;
|
|
655
|
+
project_type: z.ZodOptional<z.ZodString>;
|
|
656
|
+
client: z.ZodOptional<z.ZodString>;
|
|
657
|
+
services: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
658
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
659
|
+
planning: "planning";
|
|
660
|
+
"in-progress": "in-progress";
|
|
661
|
+
paused: "paused";
|
|
662
|
+
complete: "complete";
|
|
663
|
+
archived: "archived";
|
|
664
|
+
}>>;
|
|
665
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
666
|
+
end_date: z.ZodOptional<z.ZodString>;
|
|
667
|
+
}, z.core.$loose>;
|
|
668
|
+
readonly event: z.ZodObject<{
|
|
1249
669
|
entity_id: z.ZodString;
|
|
1250
670
|
created_at: z.ZodString;
|
|
1251
671
|
updated_at: z.ZodString;
|
|
1252
672
|
created_by: z.ZodString;
|
|
1253
673
|
updated_by: z.ZodString;
|
|
1254
674
|
date: z.ZodOptional<z.ZodString>;
|
|
1255
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1256
|
-
|
|
1257
|
-
entity_type: z.ZodLiteral<"task">;
|
|
675
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
676
|
+
entity_type: z.ZodLiteral<"event">;
|
|
1258
677
|
name: z.ZodString;
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
678
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
679
|
+
other: "other";
|
|
680
|
+
meeting: "meeting";
|
|
681
|
+
call: "call";
|
|
682
|
+
review: "review";
|
|
683
|
+
workshop: "workshop";
|
|
684
|
+
presentation: "presentation";
|
|
685
|
+
conference: "conference";
|
|
686
|
+
}>>;
|
|
687
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
688
|
+
location: z.ZodOptional<z.ZodString>;
|
|
689
|
+
}, z.core.$loose>;
|
|
690
|
+
readonly task: z.ZodObject<{
|
|
1264
691
|
entity_id: z.ZodString;
|
|
1265
692
|
created_at: z.ZodString;
|
|
1266
693
|
updated_at: z.ZodString;
|
|
1267
694
|
created_by: z.ZodString;
|
|
1268
695
|
updated_by: z.ZodString;
|
|
1269
696
|
date: z.ZodOptional<z.ZodString>;
|
|
1270
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1271
|
-
} & {
|
|
697
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1272
698
|
entity_type: z.ZodLiteral<"task">;
|
|
1273
699
|
name: z.ZodString;
|
|
1274
|
-
status: z.ZodDefault<z.ZodEnum<
|
|
1275
|
-
|
|
700
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
701
|
+
"in-progress": "in-progress";
|
|
702
|
+
backlog: "backlog";
|
|
703
|
+
todo: "todo";
|
|
704
|
+
"in-review": "in-review";
|
|
705
|
+
done: "done";
|
|
706
|
+
cancelled: "cancelled";
|
|
707
|
+
}>>;
|
|
708
|
+
priority: z.ZodOptional<z.ZodEnum<{
|
|
709
|
+
low: "low";
|
|
710
|
+
medium: "medium";
|
|
711
|
+
high: "high";
|
|
712
|
+
urgent: "urgent";
|
|
713
|
+
}>>;
|
|
1276
714
|
assignee: z.ZodOptional<z.ZodString>;
|
|
715
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
716
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
1277
717
|
due_date: z.ZodOptional<z.ZodString>;
|
|
1278
|
-
}, z.
|
|
1279
|
-
readonly document: z.ZodObject<{
|
|
1280
|
-
entity_id: z.ZodString;
|
|
1281
|
-
created_at: z.ZodString;
|
|
1282
|
-
updated_at: z.ZodString;
|
|
1283
|
-
created_by: z.ZodString;
|
|
1284
|
-
updated_by: z.ZodString;
|
|
1285
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1286
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1287
|
-
} & {
|
|
1288
|
-
entity_type: z.ZodLiteral<"document">;
|
|
1289
|
-
name: z.ZodString;
|
|
1290
|
-
category: z.ZodOptional<z.ZodEnum<["proposal", "contract", "brief", "memo", "report", "template", "other"]>>;
|
|
1291
|
-
status: z.ZodDefault<z.ZodEnum<["draft", "review", "final", "archived"]>>;
|
|
1292
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1293
|
-
entity_id: z.ZodString;
|
|
1294
|
-
created_at: z.ZodString;
|
|
1295
|
-
updated_at: z.ZodString;
|
|
1296
|
-
created_by: z.ZodString;
|
|
1297
|
-
updated_by: z.ZodString;
|
|
1298
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1299
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1300
|
-
} & {
|
|
1301
|
-
entity_type: z.ZodLiteral<"document">;
|
|
1302
|
-
name: z.ZodString;
|
|
1303
|
-
category: z.ZodOptional<z.ZodEnum<["proposal", "contract", "brief", "memo", "report", "template", "other"]>>;
|
|
1304
|
-
status: z.ZodDefault<z.ZodEnum<["draft", "review", "final", "archived"]>>;
|
|
1305
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1306
|
-
entity_id: z.ZodString;
|
|
1307
|
-
created_at: z.ZodString;
|
|
1308
|
-
updated_at: z.ZodString;
|
|
1309
|
-
created_by: z.ZodString;
|
|
1310
|
-
updated_by: z.ZodString;
|
|
1311
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1312
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1313
|
-
} & {
|
|
1314
|
-
entity_type: z.ZodLiteral<"document">;
|
|
1315
|
-
name: z.ZodString;
|
|
1316
|
-
category: z.ZodOptional<z.ZodEnum<["proposal", "contract", "brief", "memo", "report", "template", "other"]>>;
|
|
1317
|
-
status: z.ZodDefault<z.ZodEnum<["draft", "review", "final", "archived"]>>;
|
|
1318
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1319
|
-
readonly dataset: z.ZodObject<{
|
|
1320
|
-
entity_id: z.ZodString;
|
|
1321
|
-
created_at: z.ZodString;
|
|
1322
|
-
updated_at: z.ZodString;
|
|
1323
|
-
created_by: z.ZodString;
|
|
1324
|
-
updated_by: z.ZodString;
|
|
1325
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1326
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1327
|
-
} & {
|
|
1328
|
-
entity_type: z.ZodLiteral<"dataset">;
|
|
1329
|
-
name: z.ZodString;
|
|
1330
|
-
schema: z.ZodArray<z.ZodObject<{
|
|
1331
|
-
name: z.ZodString;
|
|
1332
|
-
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
1333
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
1334
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1335
|
-
}, "strip", z.ZodTypeAny, {
|
|
1336
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1337
|
-
name: string;
|
|
1338
|
-
required?: boolean | undefined;
|
|
1339
|
-
description?: string | undefined;
|
|
1340
|
-
}, {
|
|
1341
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1342
|
-
name: string;
|
|
1343
|
-
required?: boolean | undefined;
|
|
1344
|
-
description?: string | undefined;
|
|
1345
|
-
}>, "many">;
|
|
1346
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1347
|
-
entity_id: z.ZodString;
|
|
1348
|
-
created_at: z.ZodString;
|
|
1349
|
-
updated_at: z.ZodString;
|
|
1350
|
-
created_by: z.ZodString;
|
|
1351
|
-
updated_by: z.ZodString;
|
|
1352
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1353
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1354
|
-
} & {
|
|
1355
|
-
entity_type: z.ZodLiteral<"dataset">;
|
|
1356
|
-
name: z.ZodString;
|
|
1357
|
-
schema: z.ZodArray<z.ZodObject<{
|
|
1358
|
-
name: z.ZodString;
|
|
1359
|
-
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
1360
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
1361
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1362
|
-
}, "strip", z.ZodTypeAny, {
|
|
1363
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1364
|
-
name: string;
|
|
1365
|
-
required?: boolean | undefined;
|
|
1366
|
-
description?: string | undefined;
|
|
1367
|
-
}, {
|
|
1368
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1369
|
-
name: string;
|
|
1370
|
-
required?: boolean | undefined;
|
|
1371
|
-
description?: string | undefined;
|
|
1372
|
-
}>, "many">;
|
|
1373
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1374
|
-
entity_id: z.ZodString;
|
|
1375
|
-
created_at: z.ZodString;
|
|
1376
|
-
updated_at: z.ZodString;
|
|
1377
|
-
created_by: z.ZodString;
|
|
1378
|
-
updated_by: z.ZodString;
|
|
1379
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1380
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1381
|
-
} & {
|
|
1382
|
-
entity_type: z.ZodLiteral<"dataset">;
|
|
1383
|
-
name: z.ZodString;
|
|
1384
|
-
schema: z.ZodArray<z.ZodObject<{
|
|
1385
|
-
name: z.ZodString;
|
|
1386
|
-
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
1387
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
1388
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1389
|
-
}, "strip", z.ZodTypeAny, {
|
|
1390
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1391
|
-
name: string;
|
|
1392
|
-
required?: boolean | undefined;
|
|
1393
|
-
description?: string | undefined;
|
|
1394
|
-
}, {
|
|
1395
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1396
|
-
name: string;
|
|
1397
|
-
required?: boolean | undefined;
|
|
1398
|
-
description?: string | undefined;
|
|
1399
|
-
}>, "many">;
|
|
1400
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1401
|
-
readonly reference: z.ZodObject<{
|
|
1402
|
-
entity_id: z.ZodString;
|
|
1403
|
-
created_at: z.ZodString;
|
|
1404
|
-
updated_at: z.ZodString;
|
|
1405
|
-
created_by: z.ZodString;
|
|
1406
|
-
updated_by: z.ZodString;
|
|
1407
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1408
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1409
|
-
} & {
|
|
1410
|
-
entity_type: z.ZodLiteral<"reference">;
|
|
1411
|
-
name: z.ZodString;
|
|
1412
|
-
source: z.ZodOptional<z.ZodString>;
|
|
1413
|
-
link: z.ZodOptional<z.ZodString>;
|
|
1414
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1415
|
-
entity_id: z.ZodString;
|
|
1416
|
-
created_at: z.ZodString;
|
|
1417
|
-
updated_at: z.ZodString;
|
|
1418
|
-
created_by: z.ZodString;
|
|
1419
|
-
updated_by: z.ZodString;
|
|
1420
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1421
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1422
|
-
} & {
|
|
1423
|
-
entity_type: z.ZodLiteral<"reference">;
|
|
1424
|
-
name: z.ZodString;
|
|
1425
|
-
source: z.ZodOptional<z.ZodString>;
|
|
1426
|
-
link: z.ZodOptional<z.ZodString>;
|
|
1427
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1428
|
-
entity_id: z.ZodString;
|
|
1429
|
-
created_at: z.ZodString;
|
|
1430
|
-
updated_at: z.ZodString;
|
|
1431
|
-
created_by: z.ZodString;
|
|
1432
|
-
updated_by: z.ZodString;
|
|
1433
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1434
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1435
|
-
} & {
|
|
1436
|
-
entity_type: z.ZodLiteral<"reference">;
|
|
1437
|
-
name: z.ZodString;
|
|
1438
|
-
source: z.ZodOptional<z.ZodString>;
|
|
1439
|
-
link: z.ZodOptional<z.ZodString>;
|
|
1440
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1441
|
-
readonly note: z.ZodObject<{
|
|
1442
|
-
entity_id: z.ZodString;
|
|
1443
|
-
created_at: z.ZodString;
|
|
1444
|
-
updated_at: z.ZodString;
|
|
1445
|
-
created_by: z.ZodString;
|
|
1446
|
-
updated_by: z.ZodString;
|
|
1447
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1448
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1449
|
-
} & {
|
|
1450
|
-
entity_type: z.ZodLiteral<"note">;
|
|
1451
|
-
name: z.ZodString;
|
|
1452
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1453
|
-
entity_id: z.ZodString;
|
|
1454
|
-
created_at: z.ZodString;
|
|
1455
|
-
updated_at: z.ZodString;
|
|
1456
|
-
created_by: z.ZodString;
|
|
1457
|
-
updated_by: z.ZodString;
|
|
1458
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1459
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1460
|
-
} & {
|
|
1461
|
-
entity_type: z.ZodLiteral<"note">;
|
|
1462
|
-
name: z.ZodString;
|
|
1463
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1464
|
-
entity_id: z.ZodString;
|
|
1465
|
-
created_at: z.ZodString;
|
|
1466
|
-
updated_at: z.ZodString;
|
|
1467
|
-
created_by: z.ZodString;
|
|
1468
|
-
updated_by: z.ZodString;
|
|
1469
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1470
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1471
|
-
} & {
|
|
1472
|
-
entity_type: z.ZodLiteral<"note">;
|
|
1473
|
-
name: z.ZodString;
|
|
1474
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
718
|
+
}, z.core.$loose>;
|
|
1475
719
|
readonly deliverable: z.ZodObject<{
|
|
1476
720
|
entity_id: z.ZodString;
|
|
1477
721
|
created_at: z.ZodString;
|
|
@@ -1479,42 +723,73 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
1479
723
|
created_by: z.ZodString;
|
|
1480
724
|
updated_by: z.ZodString;
|
|
1481
725
|
date: z.ZodOptional<z.ZodString>;
|
|
1482
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1483
|
-
} & {
|
|
1484
|
-
entity_type: z.ZodLiteral<"deliverable">;
|
|
1485
|
-
name: z.ZodString;
|
|
1486
|
-
project: z.ZodOptional<z.ZodString>;
|
|
1487
|
-
status: z.ZodDefault<z.ZodEnum<["planned", "in-progress", "delivered", "accepted", "rejected"]>>;
|
|
1488
|
-
due_date: z.ZodOptional<z.ZodString>;
|
|
1489
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1490
|
-
entity_id: z.ZodString;
|
|
1491
|
-
created_at: z.ZodString;
|
|
1492
|
-
updated_at: z.ZodString;
|
|
1493
|
-
created_by: z.ZodString;
|
|
1494
|
-
updated_by: z.ZodString;
|
|
1495
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1496
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1497
|
-
} & {
|
|
726
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1498
727
|
entity_type: z.ZodLiteral<"deliverable">;
|
|
1499
728
|
name: z.ZodString;
|
|
1500
729
|
project: z.ZodOptional<z.ZodString>;
|
|
1501
|
-
status: z.ZodDefault<z.ZodEnum<
|
|
730
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
731
|
+
"in-progress": "in-progress";
|
|
732
|
+
planned: "planned";
|
|
733
|
+
delivered: "delivered";
|
|
734
|
+
accepted: "accepted";
|
|
735
|
+
rejected: "rejected";
|
|
736
|
+
}>>;
|
|
737
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
738
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
1502
739
|
due_date: z.ZodOptional<z.ZodString>;
|
|
1503
|
-
}, z.
|
|
740
|
+
}, z.core.$loose>;
|
|
741
|
+
readonly document: z.ZodObject<{
|
|
1504
742
|
entity_id: z.ZodString;
|
|
1505
743
|
created_at: z.ZodString;
|
|
1506
744
|
updated_at: z.ZodString;
|
|
1507
745
|
created_by: z.ZodString;
|
|
1508
746
|
updated_by: z.ZodString;
|
|
1509
747
|
date: z.ZodOptional<z.ZodString>;
|
|
1510
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1511
|
-
|
|
1512
|
-
entity_type: z.ZodLiteral<"deliverable">;
|
|
748
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
749
|
+
entity_type: z.ZodLiteral<"document">;
|
|
1513
750
|
name: z.ZodString;
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
751
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
752
|
+
other: "other";
|
|
753
|
+
proposal: "proposal";
|
|
754
|
+
contract: "contract";
|
|
755
|
+
brief: "brief";
|
|
756
|
+
memo: "memo";
|
|
757
|
+
report: "report";
|
|
758
|
+
template: "template";
|
|
759
|
+
guideline: "guideline";
|
|
760
|
+
}>>;
|
|
761
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
762
|
+
draft: "draft";
|
|
763
|
+
archived: "archived";
|
|
764
|
+
review: "review";
|
|
765
|
+
final: "final";
|
|
766
|
+
}>>;
|
|
767
|
+
}, z.core.$loose>;
|
|
768
|
+
readonly deck: z.ZodObject<{
|
|
769
|
+
entity_id: z.ZodString;
|
|
770
|
+
created_at: z.ZodString;
|
|
771
|
+
updated_at: z.ZodString;
|
|
772
|
+
created_by: z.ZodString;
|
|
773
|
+
updated_by: z.ZodString;
|
|
774
|
+
date: z.ZodOptional<z.ZodString>;
|
|
775
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
776
|
+
entity_type: z.ZodLiteral<"deck">;
|
|
777
|
+
name: z.ZodString;
|
|
778
|
+
audience: z.ZodOptional<z.ZodEnum<{
|
|
779
|
+
external: "external";
|
|
780
|
+
client: "client";
|
|
781
|
+
other: "other";
|
|
782
|
+
team: "team";
|
|
783
|
+
board: "board";
|
|
784
|
+
}>>;
|
|
785
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
786
|
+
draft: "draft";
|
|
787
|
+
archived: "archived";
|
|
788
|
+
review: "review";
|
|
789
|
+
final: "final";
|
|
790
|
+
}>>;
|
|
791
|
+
presentation_date: z.ZodOptional<z.ZodString>;
|
|
792
|
+
}, z.core.$loose>;
|
|
1518
793
|
readonly publication: z.ZodObject<{
|
|
1519
794
|
entity_id: z.ZodString;
|
|
1520
795
|
created_at: z.ZodString;
|
|
@@ -1522,205 +797,124 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
1522
797
|
created_by: z.ZodString;
|
|
1523
798
|
updated_by: z.ZodString;
|
|
1524
799
|
date: z.ZodOptional<z.ZodString>;
|
|
1525
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1526
|
-
} & {
|
|
1527
|
-
entity_type: z.ZodLiteral<"publication">;
|
|
1528
|
-
name: z.ZodString;
|
|
1529
|
-
platform: z.ZodOptional<z.ZodString>;
|
|
1530
|
-
status: z.ZodDefault<z.ZodEnum<["draft", "review", "scheduled", "published"]>>;
|
|
1531
|
-
url: z.ZodOptional<z.ZodString>;
|
|
1532
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1533
|
-
entity_id: z.ZodString;
|
|
1534
|
-
created_at: z.ZodString;
|
|
1535
|
-
updated_at: z.ZodString;
|
|
1536
|
-
created_by: z.ZodString;
|
|
1537
|
-
updated_by: z.ZodString;
|
|
1538
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1539
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1540
|
-
} & {
|
|
1541
|
-
entity_type: z.ZodLiteral<"publication">;
|
|
1542
|
-
name: z.ZodString;
|
|
1543
|
-
platform: z.ZodOptional<z.ZodString>;
|
|
1544
|
-
status: z.ZodDefault<z.ZodEnum<["draft", "review", "scheduled", "published"]>>;
|
|
1545
|
-
url: z.ZodOptional<z.ZodString>;
|
|
1546
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1547
|
-
entity_id: z.ZodString;
|
|
1548
|
-
created_at: z.ZodString;
|
|
1549
|
-
updated_at: z.ZodString;
|
|
1550
|
-
created_by: z.ZodString;
|
|
1551
|
-
updated_by: z.ZodString;
|
|
1552
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1553
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1554
|
-
} & {
|
|
800
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1555
801
|
entity_type: z.ZodLiteral<"publication">;
|
|
1556
802
|
name: z.ZodString;
|
|
1557
803
|
platform: z.ZodOptional<z.ZodString>;
|
|
1558
|
-
status: z.ZodDefault<z.ZodEnum<
|
|
804
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
805
|
+
draft: "draft";
|
|
806
|
+
review: "review";
|
|
807
|
+
scheduled: "scheduled";
|
|
808
|
+
published: "published";
|
|
809
|
+
}>>;
|
|
1559
810
|
url: z.ZodOptional<z.ZodString>;
|
|
1560
|
-
}, z.
|
|
1561
|
-
readonly
|
|
1562
|
-
entity_id: z.ZodString;
|
|
1563
|
-
created_at: z.ZodString;
|
|
1564
|
-
updated_at: z.ZodString;
|
|
1565
|
-
created_by: z.ZodString;
|
|
1566
|
-
updated_by: z.ZodString;
|
|
1567
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1568
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1569
|
-
} & {
|
|
1570
|
-
entity_type: z.ZodLiteral<"deal">;
|
|
1571
|
-
name: z.ZodString;
|
|
1572
|
-
client: z.ZodOptional<z.ZodString>;
|
|
1573
|
-
contact: z.ZodOptional<z.ZodString>;
|
|
1574
|
-
stage: z.ZodDefault<z.ZodEnum<["scoping", "proposal", "negotiating", "won", "lost"]>>;
|
|
1575
|
-
deal_value: z.ZodOptional<z.ZodNumber>;
|
|
1576
|
-
expected_close: z.ZodOptional<z.ZodString>;
|
|
1577
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1578
|
-
entity_id: z.ZodString;
|
|
1579
|
-
created_at: z.ZodString;
|
|
1580
|
-
updated_at: z.ZodString;
|
|
1581
|
-
created_by: z.ZodString;
|
|
1582
|
-
updated_by: z.ZodString;
|
|
1583
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1584
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1585
|
-
} & {
|
|
1586
|
-
entity_type: z.ZodLiteral<"deal">;
|
|
1587
|
-
name: z.ZodString;
|
|
1588
|
-
client: z.ZodOptional<z.ZodString>;
|
|
1589
|
-
contact: z.ZodOptional<z.ZodString>;
|
|
1590
|
-
stage: z.ZodDefault<z.ZodEnum<["scoping", "proposal", "negotiating", "won", "lost"]>>;
|
|
1591
|
-
deal_value: z.ZodOptional<z.ZodNumber>;
|
|
1592
|
-
expected_close: z.ZodOptional<z.ZodString>;
|
|
1593
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
811
|
+
}, z.core.$loose>;
|
|
812
|
+
readonly 'case-study': z.ZodObject<{
|
|
1594
813
|
entity_id: z.ZodString;
|
|
1595
814
|
created_at: z.ZodString;
|
|
1596
815
|
updated_at: z.ZodString;
|
|
1597
816
|
created_by: z.ZodString;
|
|
1598
817
|
updated_by: z.ZodString;
|
|
1599
818
|
date: z.ZodOptional<z.ZodString>;
|
|
1600
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1601
|
-
|
|
1602
|
-
entity_type: z.ZodLiteral<"deal">;
|
|
819
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
820
|
+
entity_type: z.ZodLiteral<"case-study">;
|
|
1603
821
|
name: z.ZodString;
|
|
1604
822
|
client: z.ZodOptional<z.ZodString>;
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
updated_by: z.ZodString;
|
|
1616
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1617
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1618
|
-
} & {
|
|
1619
|
-
entity_type: z.ZodLiteral<"process">;
|
|
1620
|
-
name: z.ZodString;
|
|
1621
|
-
owner: z.ZodOptional<z.ZodString>;
|
|
1622
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1623
|
-
entity_id: z.ZodString;
|
|
1624
|
-
created_at: z.ZodString;
|
|
1625
|
-
updated_at: z.ZodString;
|
|
1626
|
-
created_by: z.ZodString;
|
|
1627
|
-
updated_by: z.ZodString;
|
|
1628
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1629
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1630
|
-
} & {
|
|
1631
|
-
entity_type: z.ZodLiteral<"process">;
|
|
1632
|
-
name: z.ZodString;
|
|
1633
|
-
owner: z.ZodOptional<z.ZodString>;
|
|
1634
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1635
|
-
entity_id: z.ZodString;
|
|
1636
|
-
created_at: z.ZodString;
|
|
1637
|
-
updated_at: z.ZodString;
|
|
1638
|
-
created_by: z.ZodString;
|
|
1639
|
-
updated_by: z.ZodString;
|
|
1640
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1641
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1642
|
-
} & {
|
|
1643
|
-
entity_type: z.ZodLiteral<"process">;
|
|
1644
|
-
name: z.ZodString;
|
|
1645
|
-
owner: z.ZodOptional<z.ZodString>;
|
|
1646
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1647
|
-
readonly guideline: z.ZodObject<{
|
|
1648
|
-
entity_id: z.ZodString;
|
|
1649
|
-
created_at: z.ZodString;
|
|
1650
|
-
updated_at: z.ZodString;
|
|
1651
|
-
created_by: z.ZodString;
|
|
1652
|
-
updated_by: z.ZodString;
|
|
1653
|
-
date: z.ZodOptional<z.ZodString>;
|
|
1654
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1655
|
-
} & {
|
|
1656
|
-
entity_type: z.ZodLiteral<"guideline">;
|
|
1657
|
-
name: z.ZodString;
|
|
1658
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
823
|
+
services: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
824
|
+
date_range: z.ZodOptional<z.ZodString>;
|
|
825
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
826
|
+
draft: "draft";
|
|
827
|
+
review: "review";
|
|
828
|
+
final: "final";
|
|
829
|
+
published: "published";
|
|
830
|
+
}>>;
|
|
831
|
+
}, z.core.$loose>;
|
|
832
|
+
readonly service: z.ZodObject<{
|
|
1659
833
|
entity_id: z.ZodString;
|
|
1660
834
|
created_at: z.ZodString;
|
|
1661
835
|
updated_at: z.ZodString;
|
|
1662
836
|
created_by: z.ZodString;
|
|
1663
837
|
updated_by: z.ZodString;
|
|
1664
838
|
date: z.ZodOptional<z.ZodString>;
|
|
1665
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1666
|
-
|
|
1667
|
-
entity_type: z.ZodLiteral<"guideline">;
|
|
839
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
840
|
+
entity_type: z.ZodLiteral<"service">;
|
|
1668
841
|
name: z.ZodString;
|
|
1669
|
-
|
|
842
|
+
service_id: z.ZodOptional<z.ZodString>;
|
|
843
|
+
sprint: z.ZodOptional<z.ZodString>;
|
|
844
|
+
depends_on: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
845
|
+
enables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
846
|
+
deliverables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
847
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
848
|
+
offered: "offered";
|
|
849
|
+
"in-development": "in-development";
|
|
850
|
+
retired: "retired";
|
|
851
|
+
}>>;
|
|
852
|
+
}, z.core.$loose>;
|
|
853
|
+
readonly skill: z.ZodObject<{
|
|
1670
854
|
entity_id: z.ZodString;
|
|
1671
855
|
created_at: z.ZodString;
|
|
1672
856
|
updated_at: z.ZodString;
|
|
1673
857
|
created_by: z.ZodString;
|
|
1674
858
|
updated_by: z.ZodString;
|
|
1675
859
|
date: z.ZodOptional<z.ZodString>;
|
|
1676
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
860
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
861
|
+
entity_type: z.ZodLiteral<"skill">;
|
|
862
|
+
name: z.ZodOptional<z.ZodString>;
|
|
863
|
+
description: z.ZodOptional<z.ZodString>;
|
|
864
|
+
applies_to: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
865
|
+
}, z.core.$loose>;
|
|
866
|
+
readonly note: z.ZodObject<{
|
|
1682
867
|
entity_id: z.ZodString;
|
|
1683
868
|
created_at: z.ZodString;
|
|
1684
869
|
updated_at: z.ZodString;
|
|
1685
870
|
created_by: z.ZodString;
|
|
1686
871
|
updated_by: z.ZodString;
|
|
1687
872
|
date: z.ZodOptional<z.ZodString>;
|
|
1688
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1689
|
-
|
|
1690
|
-
entity_type: z.ZodLiteral<"case-study">;
|
|
873
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
874
|
+
entity_type: z.ZodLiteral<"note">;
|
|
1691
875
|
name: z.ZodString;
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
status: z.ZodOptional<z.ZodEnum<["draft", "published"]>>;
|
|
1695
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
876
|
+
}, z.core.$loose>;
|
|
877
|
+
readonly reference: z.ZodObject<{
|
|
1696
878
|
entity_id: z.ZodString;
|
|
1697
879
|
created_at: z.ZodString;
|
|
1698
880
|
updated_at: z.ZodString;
|
|
1699
881
|
created_by: z.ZodString;
|
|
1700
882
|
updated_by: z.ZodString;
|
|
1701
883
|
date: z.ZodOptional<z.ZodString>;
|
|
1702
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1703
|
-
|
|
1704
|
-
entity_type: z.ZodLiteral<"case-study">;
|
|
884
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
885
|
+
entity_type: z.ZodLiteral<"reference">;
|
|
1705
886
|
name: z.ZodString;
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
887
|
+
source: z.ZodOptional<z.ZodString>;
|
|
888
|
+
link: z.ZodOptional<z.ZodString>;
|
|
889
|
+
}, z.core.$loose>;
|
|
890
|
+
readonly asset: z.ZodObject<{
|
|
1710
891
|
entity_id: z.ZodString;
|
|
1711
892
|
created_at: z.ZodString;
|
|
1712
893
|
updated_at: z.ZodString;
|
|
1713
894
|
created_by: z.ZodString;
|
|
1714
895
|
updated_by: z.ZodString;
|
|
1715
896
|
date: z.ZodOptional<z.ZodString>;
|
|
1716
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1717
|
-
|
|
1718
|
-
entity_type: z.ZodLiteral<"case-study">;
|
|
897
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
898
|
+
entity_type: z.ZodLiteral<"asset">;
|
|
1719
899
|
name: z.ZodString;
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
900
|
+
asset_url: z.ZodString;
|
|
901
|
+
asset_kind: z.ZodEnum<{
|
|
902
|
+
other: "other";
|
|
903
|
+
image: "image";
|
|
904
|
+
video: "video";
|
|
905
|
+
audio: "audio";
|
|
906
|
+
pdf: "pdf";
|
|
907
|
+
spreadsheet: "spreadsheet";
|
|
908
|
+
}>;
|
|
909
|
+
asset_extension: z.ZodString;
|
|
910
|
+
asset_size: z.ZodNumber;
|
|
911
|
+
asset_mime: z.ZodOptional<z.ZodString>;
|
|
912
|
+
pages: z.ZodOptional<z.ZodNumber>;
|
|
913
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
914
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
915
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
916
|
+
checksum: z.ZodOptional<z.ZodString>;
|
|
917
|
+
}, z.core.$loose>;
|
|
1724
918
|
};
|
|
1725
919
|
/**
|
|
1726
920
|
* Plural subfolder name → singular entity_type mapping
|