@anchrd/colab-sdk 0.1.41 → 0.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/actions.d.ts +28 -61
- package/dist/actions/actions.js +1 -6
- package/dist/boards/boards.d.ts +32 -167
- package/dist/boards/boards.js +4 -23
- package/dist/card-kinds/card-kinds.js +1 -1
- package/dist/columns/columns.d.ts +4 -4
- package/dist/columns/columns.js +3 -3
- package/dist/documents/documents.d.ts +0 -2
- package/dist/instructions/instructions.d.ts +0 -4
- package/dist/instructions/instructions.js +5 -13
- package/dist/mcps/mcps.d.ts +3 -3
- package/dist/nodes/nodes.d.ts +3 -115
- package/dist/nodes/nodes.js +11 -41
- package/dist/operators/operators.d.ts +0 -7
- package/dist/operators/operators.js +1 -6
- package/dist/roles/roles.d.ts +0 -14
- package/dist/roles/roles.js +2 -10
- package/dist/runs/runs.d.ts +9 -12
- package/dist/runs/runs.js +5 -6
- package/dist/schedule/schedule.js +1 -1
- package/dist/sdk.d.ts +5 -6
- package/dist/sdk.js +5 -6
- package/dist/sources/sources.d.ts +6 -6
- package/dist/versions/versions.d.ts +32 -71
- package/dist/versions/versions.js +0 -6
- package/dist/written/written.d.ts +0 -2
- package/dist/written/written.js +0 -2
- package/package.json +1 -1
- package/dist/validation/validation.d.ts +0 -60
- package/dist/validation/validation.js +0 -26
package/dist/sdk.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export { type Action, actions, hasRoute, isAction, isPackage, isWord, type Packa
|
|
|
23
23
|
export { GrantId, GrantRight, NodeGrant, NodeGrantList, NodeGrantListInput, NodeGrantRevoked, NodeGrantRevokeInput, NodeShared, NodeShareInput, } from "./grants/grants.js";
|
|
24
24
|
export { ColabNews, Home, HomeGetInput, HomeSetupState, HomeSetupStep, homeIncludes, homePersonSteps, homeSetupSteps, } from "./home/home.js";
|
|
25
25
|
export { createId, type Id, idSchema } from "./ids/ids.js";
|
|
26
|
-
export { Digest, InstructionRead, Instructions, InstructionsLink, InstructionsRead, InstructionText, instructionsNames, isInstructionsName, isKnownText, Known, KnownText, maxKnown,
|
|
26
|
+
export { Digest, InstructionRead, Instructions, InstructionsLink, InstructionsRead, InstructionText, instructionsNames, isInstructionsName, isKnownText, Known, KnownText, maxKnown, } from "./instructions/instructions.js";
|
|
27
27
|
export { FunctionNames, InterfaceRemoved, ServiceInterfaceCreateInput, ServiceInterfaceDeclared, ServiceInterfaceDeclareInput, ServiceInterfaceRemoveInput, ServiceInterfaceUndeclared, ServiceInterfaceUpdateInput, } from "./interfaces/interfaces.js";
|
|
28
28
|
export { Delivery, Invitation, InvitationAcceptInput, InvitationCreateInput, InvitationId, InvitationLookup, InvitationLookupQuery, InvitationResendInput, InvitationRevokeInput, InvitationSent, InvitationSocialInput, InvitationStatus, RoleChip, } from "./invitations/invitations.js";
|
|
29
29
|
export { defaultLinkDays, GadgetLink, GadgetLinkCallInput, GadgetLinkCodeInput, GadgetLinkCreateInput, GadgetLinkList, GadgetLinkListInput, GadgetLinkPage, GadgetLinkRevokeInput, GadgetLinkVisit, GadgetLinkVisitInput, gadgetLinkLimits, gadgetLinkPath, LinkId, LinkStatus, maxLinkDays, NodeLink, NodeLinkCreateInput, NodeLinkList, NodeLinkListInput, NodeLinkRevokeInput, NodeLinkUpdateInput, publicLinkPath, } from "./links/links.js";
|
|
@@ -32,14 +32,14 @@ export { MachineArchiveInput, MachineCreateInput, MachineId, MachineKey, Machine
|
|
|
32
32
|
export { Mcp, McpAuth, McpCall, McpCallAction, McpCallList, McpCallListInput, type McpCatalogEntry, McpCatalogId, McpCreateInput, McpGetInput, McpId, McpList, McpListInput, McpRevokeInput, McpState, McpTestInput, McpTool, McpUpdateInput, mcpCatalog, } from "./mcps/mcps.js";
|
|
33
33
|
export { ChatRead, ChatTopic, ChatUpdateInput, Message, MessageAuthor, MessageCreateInput, MessageId, MessageList, MessageListInput, messageMaxLength, TopicName, topicMaxLength, topicOf, } from "./messages/messages.js";
|
|
34
34
|
export { Missing, MissingCall, MissingCode, missingCodes, Reached, } from "./missing/missing.js";
|
|
35
|
-
export { BoardShownKind,
|
|
36
|
-
export { ChangeTrigger, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, compactRunLimit, type GatewayModel, type GatewayModelEntry, GatewayModelEntrySchema, type GatewayOutputLimit, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, inCatalog, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, modelsOfVendor, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, type OperatorProviderEntry, OperatorRun, OperatorRunAgents, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, OperatorVendor, type OperatorVendorEntry, offeredModels, operatorDefaults, operatorProviders, operatorVendors, outputLimitOf, PauseReason, planAnswerOf, type RetiredGatewayModel, RunCancelInput, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningEffortOf, retiredGatewayModels, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger,
|
|
35
|
+
export { BoardShownKind, FolderCreated, FolderCreateInput, IntelligenceUser, IntelligenceUserList, IntelligenceUserListInput, NodeDetail, NodeGetInput, NodeHit, NodeHitFoundIn, NodeHitGroup, NodeId, NodeKind, NodeKindRead, NodeList, NodeListInput, NodeListItem, NodeMoved, NodeMoveInput, NodePath, NodePerson, NodeQuery, NodeReader, NodeSearch, NodeSection, NodeSort, NodeUpdateInput, nodeKinds, responsibleKinds, SearchIndexState, SecretFields, SecretId, unknownNodeKind, } from "./nodes/nodes.js";
|
|
36
|
+
export { ChangeTrigger, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, compactRunLimit, type GatewayModel, type GatewayModelEntry, GatewayModelEntrySchema, type GatewayOutputLimit, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, inCatalog, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, modelsOfVendor, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, type OperatorProviderEntry, OperatorRun, OperatorRunAgents, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, OperatorVendor, type OperatorVendorEntry, offeredModels, operatorDefaults, operatorProviders, operatorVendors, outputLimitOf, PauseReason, planAnswerOf, type RetiredGatewayModel, RunCancelInput, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningEffortOf, retiredGatewayModels, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger, vendorOfModel, } from "./operators/operators.js";
|
|
37
37
|
export { Currency, CurrencyRate, currencies, Organisation, OrganisationGetInput, OrganisationUpdateInput, } from "./organisation/organisation.js";
|
|
38
38
|
export { PageDetail, PageGetInput, PageHead, PageHeading, PageId, PageList, PageListInput, PageSummary, } from "./pages/pages.js";
|
|
39
39
|
export { AgentName, gatewayAgentsMax, IdempotencyKey, PlanSubstep, planEvidenceMax, Rev, } from "./primitives/primitives.js";
|
|
40
40
|
export { Locale, locales, Name, ProfileImageResponse, ProfileUpdateInput, profileImageMaxBytes, profileImageTypes, Theme, TimeZone, themes, } from "./profile/profile.js";
|
|
41
41
|
export { offersSignIn, Provider, ProviderId, ProviderList, ProviderListInput, ProviderRemoveInput, ProviderSource, ProviderTest, ProviderTestInput, ProviderUpdateInput, providerEndpoints, providerIds, SignInProviderId, SignInProviders, signInProviderIds, } from "./providers/providers.js";
|
|
42
|
-
export { GrantChange, PermissionsResponse,
|
|
42
|
+
export { GrantChange, PermissionsResponse, RightPath, RightTree, Role, RoleArchiveInput, RoleCreateInput, RoleDetail, RoleGetInput, RoleGrantCreateInput, RoleGrantRevokeInput, RoleId, RoleList, RoleListInput, RoleRestoreInput, RoleUpdateInput, } from "./roles/roles.js";
|
|
43
43
|
export { RunDetail, RunGetInput, RunId, RunItem, RunList, RunListInput, RunStatus, runStatuses, } from "./runs/runs.js";
|
|
44
44
|
export { RuntimeConfig } from "./runtime-config.js";
|
|
45
45
|
export { rhythms, Schedule, WhileOpen, weekdays, weeksOfMonth, whileOpenModes, } from "./schedule/schedule.js";
|
|
@@ -53,6 +53,5 @@ export { type Actor, defineTool, type Permission, type Tool, type ToolAnnotation
|
|
|
53
53
|
export { compareTreeNames, treeKindOrder, treeKindRank, } from "./tree-order/tree-order.js";
|
|
54
54
|
export { IntelligenceUserGetInput, IntelligenceUserUpdateInput, NotifyMode, notifyModes, UserSettings, } from "./user-settings/user-settings.js";
|
|
55
55
|
export { MachineFacts, MachineKeyFacts, MachineKind, MessageMachine, OperatorProvider, OwnRoleList, SignInMethod, User, UserDetail, UserDisableInput, UserEnableInput, UserGetInput, UserId, UserKind, UserList, UserListInput, UserListItem, UserStatus, UserTestInput, UserTestResult, UserUpdateInput, } from "./users/users.js";
|
|
56
|
-
export {
|
|
57
|
-
export { MoveColumn, NodeVersion, NodeVersionCreateInput, NodeVersionDetail, NodeVersionExcerpt, NodeVersionGetInput, NodeVersionList, NodeVersionListInput, TaskMove, TaskVersionChange, taskVersionChanges, VersionId, VersionMove, versionKinds, } from "./versions/versions.js";
|
|
56
|
+
export { MoveColumn, NodeVersion, NodeVersionCreateInput, NodeVersionDetail, NodeVersionExcerpt, NodeVersionGetInput, NodeVersionList, NodeVersionListInput, TaskVersionChange, taskVersionChanges, VersionId, VersionMove, versionKinds, } from "./versions/versions.js";
|
|
58
57
|
export { Changed, Effects, Unblocked, Written, } from "./written/written.js";
|
package/dist/sdk.js
CHANGED
|
@@ -26,7 +26,7 @@ export { actions, hasRoute, isAction, isPackage, isWord, packages, parseConnecto
|
|
|
26
26
|
export { GrantId, GrantRight, NodeGrant, NodeGrantList, NodeGrantListInput, NodeGrantRevoked, NodeGrantRevokeInput, NodeShared, NodeShareInput, } from "./grants/grants.js";
|
|
27
27
|
export { ColabNews, Home, HomeGetInput, HomeSetupState, HomeSetupStep, homeIncludes, homePersonSteps, homeSetupSteps, } from "./home/home.js";
|
|
28
28
|
export { createId, idSchema } from "./ids/ids.js";
|
|
29
|
-
export { Digest, InstructionRead, Instructions, InstructionsLink, InstructionsRead, InstructionText, instructionsNames, isInstructionsName, isKnownText, Known, KnownText, maxKnown,
|
|
29
|
+
export { Digest, InstructionRead, Instructions, InstructionsLink, InstructionsRead, InstructionText, instructionsNames, isInstructionsName, isKnownText, Known, KnownText, maxKnown, } from "./instructions/instructions.js";
|
|
30
30
|
export { FunctionNames, InterfaceRemoved, ServiceInterfaceCreateInput, ServiceInterfaceDeclared, ServiceInterfaceDeclareInput, ServiceInterfaceRemoveInput, ServiceInterfaceUndeclared, ServiceInterfaceUpdateInput, } from "./interfaces/interfaces.js";
|
|
31
31
|
export { Delivery, Invitation, InvitationAcceptInput, InvitationCreateInput, InvitationId, InvitationLookup, InvitationLookupQuery, InvitationResendInput, InvitationRevokeInput, InvitationSent, InvitationSocialInput, InvitationStatus, RoleChip, } from "./invitations/invitations.js";
|
|
32
32
|
export { defaultLinkDays, GadgetLink, GadgetLinkCallInput, GadgetLinkCodeInput, GadgetLinkCreateInput, GadgetLinkList, GadgetLinkListInput, GadgetLinkPage, GadgetLinkRevokeInput, GadgetLinkVisit, GadgetLinkVisitInput, gadgetLinkLimits, gadgetLinkPath, LinkId, LinkStatus, maxLinkDays, NodeLink, NodeLinkCreateInput, NodeLinkList, NodeLinkListInput, NodeLinkRevokeInput, NodeLinkUpdateInput, publicLinkPath, } from "./links/links.js";
|
|
@@ -35,14 +35,14 @@ export { MachineArchiveInput, MachineCreateInput, MachineId, MachineKey, Machine
|
|
|
35
35
|
export { Mcp, McpAuth, McpCall, McpCallAction, McpCallList, McpCallListInput, McpCatalogId, McpCreateInput, McpGetInput, McpId, McpList, McpListInput, McpRevokeInput, McpState, McpTestInput, McpTool, McpUpdateInput, mcpCatalog, } from "./mcps/mcps.js";
|
|
36
36
|
export { ChatRead, ChatTopic, ChatUpdateInput, Message, MessageAuthor, MessageCreateInput, MessageId, MessageList, MessageListInput, messageMaxLength, TopicName, topicMaxLength, topicOf, } from "./messages/messages.js";
|
|
37
37
|
export { Missing, MissingCall, MissingCode, missingCodes, Reached, } from "./missing/missing.js";
|
|
38
|
-
export { BoardShownKind,
|
|
39
|
-
export { ChangeTrigger, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, compactRunLimit, GatewayModelEntrySchema, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, inCatalog, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, modelsOfVendor, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, OperatorRun, OperatorRunAgents, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, OperatorVendor, offeredModels, operatorDefaults, operatorProviders, operatorVendors, outputLimitOf, PauseReason, planAnswerOf, RunCancelInput, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningEffortOf, retiredGatewayModels, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger,
|
|
38
|
+
export { BoardShownKind, FolderCreated, FolderCreateInput, IntelligenceUser, IntelligenceUserList, IntelligenceUserListInput, NodeDetail, NodeGetInput, NodeHit, NodeHitFoundIn, NodeHitGroup, NodeId, NodeKind, NodeKindRead, NodeList, NodeListInput, NodeListItem, NodeMoved, NodeMoveInput, NodePath, NodePerson, NodeQuery, NodeReader, NodeSearch, NodeSection, NodeSort, NodeUpdateInput, nodeKinds, responsibleKinds, SearchIndexState, SecretFields, SecretId, unknownNodeKind, } from "./nodes/nodes.js";
|
|
39
|
+
export { ChangeTrigger, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, compactRunLimit, GatewayModelEntrySchema, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, inCatalog, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, modelsOfVendor, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, OperatorRun, OperatorRunAgents, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, OperatorVendor, offeredModels, operatorDefaults, operatorProviders, operatorVendors, outputLimitOf, PauseReason, planAnswerOf, RunCancelInput, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningEffortOf, retiredGatewayModels, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger, vendorOfModel, } from "./operators/operators.js";
|
|
40
40
|
export { Currency, CurrencyRate, currencies, Organisation, OrganisationGetInput, OrganisationUpdateInput, } from "./organisation/organisation.js";
|
|
41
41
|
export { PageDetail, PageGetInput, PageHead, PageHeading, PageId, PageList, PageListInput, PageSummary, } from "./pages/pages.js";
|
|
42
42
|
export { AgentName, gatewayAgentsMax, IdempotencyKey, PlanSubstep, planEvidenceMax, Rev, } from "./primitives/primitives.js";
|
|
43
43
|
export { Locale, locales, Name, ProfileImageResponse, ProfileUpdateInput, profileImageMaxBytes, profileImageTypes, Theme, TimeZone, themes, } from "./profile/profile.js";
|
|
44
44
|
export { offersSignIn, Provider, ProviderId, ProviderList, ProviderListInput, ProviderRemoveInput, ProviderSource, ProviderTest, ProviderTestInput, ProviderUpdateInput, providerEndpoints, providerIds, SignInProviderId, SignInProviders, signInProviderIds, } from "./providers/providers.js";
|
|
45
|
-
export { GrantChange, PermissionsResponse,
|
|
45
|
+
export { GrantChange, PermissionsResponse, RightPath, RightTree, Role, RoleArchiveInput, RoleCreateInput, RoleDetail, RoleGetInput, RoleGrantCreateInput, RoleGrantRevokeInput, RoleId, RoleList, RoleListInput, RoleRestoreInput, RoleUpdateInput, } from "./roles/roles.js";
|
|
46
46
|
export { RunDetail, RunGetInput, RunId, RunItem, RunList, RunListInput, RunStatus, runStatuses, } from "./runs/runs.js";
|
|
47
47
|
export { RuntimeConfig } from "./runtime-config.js";
|
|
48
48
|
export { rhythms, Schedule, WhileOpen, weekdays, weeksOfMonth, whileOpenModes, } from "./schedule/schedule.js";
|
|
@@ -56,6 +56,5 @@ export { defineTool, } from "./tool.js";
|
|
|
56
56
|
export { compareTreeNames, treeKindOrder, treeKindRank, } from "./tree-order/tree-order.js";
|
|
57
57
|
export { IntelligenceUserGetInput, IntelligenceUserUpdateInput, NotifyMode, notifyModes, UserSettings, } from "./user-settings/user-settings.js";
|
|
58
58
|
export { MachineFacts, MachineKeyFacts, MachineKind, MessageMachine, OperatorProvider, OwnRoleList, SignInMethod, User, UserDetail, UserDisableInput, UserEnableInput, UserGetInput, UserId, UserKind, UserList, UserListInput, UserListItem, UserStatus, UserTestInput, UserTestResult, UserUpdateInput, } from "./users/users.js";
|
|
59
|
-
export {
|
|
60
|
-
export { MoveColumn, NodeVersion, NodeVersionCreateInput, NodeVersionDetail, NodeVersionExcerpt, NodeVersionGetInput, NodeVersionList, NodeVersionListInput, TaskMove, TaskVersionChange, taskVersionChanges, VersionId, VersionMove, versionKinds, } from "./versions/versions.js";
|
|
59
|
+
export { MoveColumn, NodeVersion, NodeVersionCreateInput, NodeVersionDetail, NodeVersionExcerpt, NodeVersionGetInput, NodeVersionList, NodeVersionListInput, TaskVersionChange, taskVersionChanges, VersionId, VersionMove, versionKinds, } from "./versions/versions.js";
|
|
61
60
|
export { Changed, Effects, Unblocked, Written, } from "./written/written.js";
|
|
@@ -192,11 +192,11 @@ export type SourceSchedule = z.infer<typeof SourceSchedule>;
|
|
|
192
192
|
export declare const SourceWhere: z.ZodObject<{
|
|
193
193
|
field: z.ZodString;
|
|
194
194
|
op: z.ZodEnum<{
|
|
195
|
-
contains: "contains";
|
|
196
195
|
eq: "eq";
|
|
197
196
|
ne: "ne";
|
|
198
197
|
gte: "gte";
|
|
199
198
|
lte: "lte";
|
|
199
|
+
contains: "contains";
|
|
200
200
|
}>;
|
|
201
201
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
202
202
|
}, z.core.$strict>;
|
|
@@ -302,11 +302,11 @@ export declare const SourceQueryCreateInput: z.ZodObject<{
|
|
|
302
302
|
where: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
303
303
|
field: z.ZodString;
|
|
304
304
|
op: z.ZodEnum<{
|
|
305
|
-
contains: "contains";
|
|
306
305
|
eq: "eq";
|
|
307
306
|
ne: "ne";
|
|
308
307
|
gte: "gte";
|
|
309
308
|
lte: "lte";
|
|
309
|
+
contains: "contains";
|
|
310
310
|
}>;
|
|
311
311
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
312
312
|
}, z.core.$strict>>>;
|
|
@@ -340,11 +340,11 @@ export declare const SourceQueryUpdateInput: z.ZodObject<{
|
|
|
340
340
|
where: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
341
341
|
field: z.ZodString;
|
|
342
342
|
op: z.ZodEnum<{
|
|
343
|
-
contains: "contains";
|
|
344
343
|
eq: "eq";
|
|
345
344
|
ne: "ne";
|
|
346
345
|
gte: "gte";
|
|
347
346
|
lte: "lte";
|
|
347
|
+
contains: "contains";
|
|
348
348
|
}>;
|
|
349
349
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
350
350
|
}, z.core.$strict>>>;
|
|
@@ -397,11 +397,11 @@ export declare const SourceItemListInput: z.ZodObject<{
|
|
|
397
397
|
where: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodObject<{
|
|
398
398
|
field: z.ZodString;
|
|
399
399
|
op: z.ZodEnum<{
|
|
400
|
-
contains: "contains";
|
|
401
400
|
eq: "eq";
|
|
402
401
|
ne: "ne";
|
|
403
402
|
gte: "gte";
|
|
404
403
|
lte: "lte";
|
|
404
|
+
contains: "contains";
|
|
405
405
|
}>;
|
|
406
406
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
407
407
|
}, z.core.$strict>>, unknown>>;
|
|
@@ -598,11 +598,11 @@ export declare const SourceQuery: z.ZodObject<{
|
|
|
598
598
|
where: z.ZodArray<z.ZodObject<{
|
|
599
599
|
field: z.ZodString;
|
|
600
600
|
op: z.ZodEnum<{
|
|
601
|
-
contains: "contains";
|
|
602
601
|
eq: "eq";
|
|
603
602
|
ne: "ne";
|
|
604
603
|
gte: "gte";
|
|
605
604
|
lte: "lte";
|
|
605
|
+
contains: "contains";
|
|
606
606
|
}>;
|
|
607
607
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
608
608
|
}, z.core.$strict>>;
|
|
@@ -650,11 +650,11 @@ export declare const SourceQueryList: z.ZodObject<{
|
|
|
650
650
|
where: z.ZodArray<z.ZodObject<{
|
|
651
651
|
field: z.ZodString;
|
|
652
652
|
op: z.ZodEnum<{
|
|
653
|
-
contains: "contains";
|
|
654
653
|
eq: "eq";
|
|
655
654
|
ne: "ne";
|
|
656
655
|
gte: "gte";
|
|
657
656
|
lte: "lte";
|
|
657
|
+
contains: "contains";
|
|
658
658
|
}>;
|
|
659
659
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
660
660
|
}, z.core.$strict>>;
|
|
@@ -6,13 +6,13 @@ export declare const MoveColumn: z.ZodObject<{
|
|
|
6
6
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
7
7
|
name: z.ZodNullable<z.ZodString>;
|
|
8
8
|
type: z.ZodNullable<z.ZodEnum<{
|
|
9
|
+
archive: "archive";
|
|
10
|
+
done: "done";
|
|
9
11
|
backlog: "backlog";
|
|
10
12
|
open: "open";
|
|
11
13
|
progress: "progress";
|
|
12
|
-
done: "done";
|
|
13
14
|
discarded: "discarded";
|
|
14
15
|
blocked: "blocked";
|
|
15
|
-
archive: "archive";
|
|
16
16
|
}>>;
|
|
17
17
|
}, z.core.$strip>;
|
|
18
18
|
export type MoveColumn = z.infer<typeof MoveColumn>;
|
|
@@ -21,26 +21,26 @@ export declare const VersionMove: z.ZodObject<{
|
|
|
21
21
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
22
22
|
name: z.ZodNullable<z.ZodString>;
|
|
23
23
|
type: z.ZodNullable<z.ZodEnum<{
|
|
24
|
+
archive: "archive";
|
|
25
|
+
done: "done";
|
|
24
26
|
backlog: "backlog";
|
|
25
27
|
open: "open";
|
|
26
28
|
progress: "progress";
|
|
27
|
-
done: "done";
|
|
28
29
|
discarded: "discarded";
|
|
29
30
|
blocked: "blocked";
|
|
30
|
-
archive: "archive";
|
|
31
31
|
}>>;
|
|
32
32
|
}, z.core.$strip>>;
|
|
33
33
|
to: z.ZodObject<{
|
|
34
34
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
35
35
|
name: z.ZodNullable<z.ZodString>;
|
|
36
36
|
type: z.ZodNullable<z.ZodEnum<{
|
|
37
|
+
archive: "archive";
|
|
38
|
+
done: "done";
|
|
37
39
|
backlog: "backlog";
|
|
38
40
|
open: "open";
|
|
39
41
|
progress: "progress";
|
|
40
|
-
done: "done";
|
|
41
42
|
discarded: "discarded";
|
|
42
43
|
blocked: "blocked";
|
|
43
|
-
archive: "archive";
|
|
44
44
|
}>>;
|
|
45
45
|
}, z.core.$strip>;
|
|
46
46
|
comment: z.ZodNullable<z.ZodString>;
|
|
@@ -53,51 +53,12 @@ export declare const TaskVersionChange: z.ZodEnum<{
|
|
|
53
53
|
fields: "fields";
|
|
54
54
|
dates: "dates";
|
|
55
55
|
waiting: "waiting";
|
|
56
|
-
assignee: "assignee";
|
|
57
56
|
labels: "labels";
|
|
58
|
-
|
|
57
|
+
assignee: "assignee";
|
|
59
58
|
dependencies: "dependencies";
|
|
59
|
+
parent: "parent";
|
|
60
60
|
}>;
|
|
61
61
|
export type TaskVersionChange = z.infer<typeof TaskVersionChange>;
|
|
62
|
-
export declare const TaskMove: z.ZodObject<{
|
|
63
|
-
from: z.ZodNullable<z.ZodObject<{
|
|
64
|
-
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
65
|
-
name: z.ZodNullable<z.ZodString>;
|
|
66
|
-
type: z.ZodNullable<z.ZodEnum<{
|
|
67
|
-
backlog: "backlog";
|
|
68
|
-
open: "open";
|
|
69
|
-
progress: "progress";
|
|
70
|
-
done: "done";
|
|
71
|
-
discarded: "discarded";
|
|
72
|
-
blocked: "blocked";
|
|
73
|
-
archive: "archive";
|
|
74
|
-
}>>;
|
|
75
|
-
}, z.core.$strip>>;
|
|
76
|
-
to: z.ZodObject<{
|
|
77
|
-
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
78
|
-
name: z.ZodNullable<z.ZodString>;
|
|
79
|
-
type: z.ZodNullable<z.ZodEnum<{
|
|
80
|
-
backlog: "backlog";
|
|
81
|
-
open: "open";
|
|
82
|
-
progress: "progress";
|
|
83
|
-
done: "done";
|
|
84
|
-
discarded: "discarded";
|
|
85
|
-
blocked: "blocked";
|
|
86
|
-
archive: "archive";
|
|
87
|
-
}>>;
|
|
88
|
-
}, z.core.$strip>;
|
|
89
|
-
comment: z.ZodNullable<z.ZodString>;
|
|
90
|
-
movedBy: z.ZodObject<{
|
|
91
|
-
userId: z.ZodString;
|
|
92
|
-
name: z.ZodNullable<z.ZodString>;
|
|
93
|
-
kind: z.ZodNullable<z.ZodEnum<{
|
|
94
|
-
machine: "machine";
|
|
95
|
-
human: "human";
|
|
96
|
-
}>>;
|
|
97
|
-
}, z.core.$strip>;
|
|
98
|
-
movedAt: z.ZodISODateTime;
|
|
99
|
-
}, z.core.$strip>;
|
|
100
|
-
export type TaskMove = z.infer<typeof TaskMove>;
|
|
101
62
|
export declare const NodeVersionListInput: z.ZodObject<{
|
|
102
63
|
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
103
64
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -139,26 +100,26 @@ export declare const NodeVersion: z.ZodObject<{
|
|
|
139
100
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
140
101
|
name: z.ZodNullable<z.ZodString>;
|
|
141
102
|
type: z.ZodNullable<z.ZodEnum<{
|
|
103
|
+
archive: "archive";
|
|
104
|
+
done: "done";
|
|
142
105
|
backlog: "backlog";
|
|
143
106
|
open: "open";
|
|
144
107
|
progress: "progress";
|
|
145
|
-
done: "done";
|
|
146
108
|
discarded: "discarded";
|
|
147
109
|
blocked: "blocked";
|
|
148
|
-
archive: "archive";
|
|
149
110
|
}>>;
|
|
150
111
|
}, z.core.$strip>>;
|
|
151
112
|
to: z.ZodObject<{
|
|
152
113
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
153
114
|
name: z.ZodNullable<z.ZodString>;
|
|
154
115
|
type: z.ZodNullable<z.ZodEnum<{
|
|
116
|
+
archive: "archive";
|
|
117
|
+
done: "done";
|
|
155
118
|
backlog: "backlog";
|
|
156
119
|
open: "open";
|
|
157
120
|
progress: "progress";
|
|
158
|
-
done: "done";
|
|
159
121
|
discarded: "discarded";
|
|
160
122
|
blocked: "blocked";
|
|
161
|
-
archive: "archive";
|
|
162
123
|
}>>;
|
|
163
124
|
}, z.core.$strip>;
|
|
164
125
|
comment: z.ZodNullable<z.ZodString>;
|
|
@@ -169,10 +130,10 @@ export declare const NodeVersion: z.ZodObject<{
|
|
|
169
130
|
fields: "fields";
|
|
170
131
|
dates: "dates";
|
|
171
132
|
waiting: "waiting";
|
|
172
|
-
assignee: "assignee";
|
|
173
133
|
labels: "labels";
|
|
174
|
-
|
|
134
|
+
assignee: "assignee";
|
|
175
135
|
dependencies: "dependencies";
|
|
136
|
+
parent: "parent";
|
|
176
137
|
}>>>;
|
|
177
138
|
}, z.core.$strip>;
|
|
178
139
|
export type NodeVersion = z.infer<typeof NodeVersion>;
|
|
@@ -200,26 +161,26 @@ export declare const NodeVersionList: z.ZodObject<{
|
|
|
200
161
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
201
162
|
name: z.ZodNullable<z.ZodString>;
|
|
202
163
|
type: z.ZodNullable<z.ZodEnum<{
|
|
164
|
+
archive: "archive";
|
|
165
|
+
done: "done";
|
|
203
166
|
backlog: "backlog";
|
|
204
167
|
open: "open";
|
|
205
168
|
progress: "progress";
|
|
206
|
-
done: "done";
|
|
207
169
|
discarded: "discarded";
|
|
208
170
|
blocked: "blocked";
|
|
209
|
-
archive: "archive";
|
|
210
171
|
}>>;
|
|
211
172
|
}, z.core.$strip>>;
|
|
212
173
|
to: z.ZodObject<{
|
|
213
174
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
214
175
|
name: z.ZodNullable<z.ZodString>;
|
|
215
176
|
type: z.ZodNullable<z.ZodEnum<{
|
|
177
|
+
archive: "archive";
|
|
178
|
+
done: "done";
|
|
216
179
|
backlog: "backlog";
|
|
217
180
|
open: "open";
|
|
218
181
|
progress: "progress";
|
|
219
|
-
done: "done";
|
|
220
182
|
discarded: "discarded";
|
|
221
183
|
blocked: "blocked";
|
|
222
|
-
archive: "archive";
|
|
223
184
|
}>>;
|
|
224
185
|
}, z.core.$strip>;
|
|
225
186
|
comment: z.ZodNullable<z.ZodString>;
|
|
@@ -230,10 +191,10 @@ export declare const NodeVersionList: z.ZodObject<{
|
|
|
230
191
|
fields: "fields";
|
|
231
192
|
dates: "dates";
|
|
232
193
|
waiting: "waiting";
|
|
233
|
-
assignee: "assignee";
|
|
234
194
|
labels: "labels";
|
|
235
|
-
|
|
195
|
+
assignee: "assignee";
|
|
236
196
|
dependencies: "dependencies";
|
|
197
|
+
parent: "parent";
|
|
237
198
|
}>>>;
|
|
238
199
|
}, z.core.$strip>>;
|
|
239
200
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
@@ -263,26 +224,26 @@ export declare const NodeVersionDetail: z.ZodObject<{
|
|
|
263
224
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
264
225
|
name: z.ZodNullable<z.ZodString>;
|
|
265
226
|
type: z.ZodNullable<z.ZodEnum<{
|
|
227
|
+
archive: "archive";
|
|
228
|
+
done: "done";
|
|
266
229
|
backlog: "backlog";
|
|
267
230
|
open: "open";
|
|
268
231
|
progress: "progress";
|
|
269
|
-
done: "done";
|
|
270
232
|
discarded: "discarded";
|
|
271
233
|
blocked: "blocked";
|
|
272
|
-
archive: "archive";
|
|
273
234
|
}>>;
|
|
274
235
|
}, z.core.$strip>>;
|
|
275
236
|
to: z.ZodObject<{
|
|
276
237
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
277
238
|
name: z.ZodNullable<z.ZodString>;
|
|
278
239
|
type: z.ZodNullable<z.ZodEnum<{
|
|
240
|
+
archive: "archive";
|
|
241
|
+
done: "done";
|
|
279
242
|
backlog: "backlog";
|
|
280
243
|
open: "open";
|
|
281
244
|
progress: "progress";
|
|
282
|
-
done: "done";
|
|
283
245
|
discarded: "discarded";
|
|
284
246
|
blocked: "blocked";
|
|
285
|
-
archive: "archive";
|
|
286
247
|
}>>;
|
|
287
248
|
}, z.core.$strip>;
|
|
288
249
|
comment: z.ZodNullable<z.ZodString>;
|
|
@@ -293,10 +254,10 @@ export declare const NodeVersionDetail: z.ZodObject<{
|
|
|
293
254
|
fields: "fields";
|
|
294
255
|
dates: "dates";
|
|
295
256
|
waiting: "waiting";
|
|
296
|
-
assignee: "assignee";
|
|
297
257
|
labels: "labels";
|
|
298
|
-
|
|
258
|
+
assignee: "assignee";
|
|
299
259
|
dependencies: "dependencies";
|
|
260
|
+
parent: "parent";
|
|
300
261
|
}>>>;
|
|
301
262
|
secret: z.ZodOptional<z.ZodLiteral<true>>;
|
|
302
263
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -414,26 +375,26 @@ export declare const NodeVersionExcerpt: z.ZodObject<{
|
|
|
414
375
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
415
376
|
name: z.ZodNullable<z.ZodString>;
|
|
416
377
|
type: z.ZodNullable<z.ZodEnum<{
|
|
378
|
+
archive: "archive";
|
|
379
|
+
done: "done";
|
|
417
380
|
backlog: "backlog";
|
|
418
381
|
open: "open";
|
|
419
382
|
progress: "progress";
|
|
420
|
-
done: "done";
|
|
421
383
|
discarded: "discarded";
|
|
422
384
|
blocked: "blocked";
|
|
423
|
-
archive: "archive";
|
|
424
385
|
}>>;
|
|
425
386
|
}, z.core.$strip>>;
|
|
426
387
|
to: z.ZodObject<{
|
|
427
388
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
428
389
|
name: z.ZodNullable<z.ZodString>;
|
|
429
390
|
type: z.ZodNullable<z.ZodEnum<{
|
|
391
|
+
archive: "archive";
|
|
392
|
+
done: "done";
|
|
430
393
|
backlog: "backlog";
|
|
431
394
|
open: "open";
|
|
432
395
|
progress: "progress";
|
|
433
|
-
done: "done";
|
|
434
396
|
discarded: "discarded";
|
|
435
397
|
blocked: "blocked";
|
|
436
|
-
archive: "archive";
|
|
437
398
|
}>>;
|
|
438
399
|
}, z.core.$strip>;
|
|
439
400
|
comment: z.ZodNullable<z.ZodString>;
|
|
@@ -444,10 +405,10 @@ export declare const NodeVersionExcerpt: z.ZodObject<{
|
|
|
444
405
|
fields: "fields";
|
|
445
406
|
dates: "dates";
|
|
446
407
|
waiting: "waiting";
|
|
447
|
-
assignee: "assignee";
|
|
448
408
|
labels: "labels";
|
|
449
|
-
|
|
409
|
+
assignee: "assignee";
|
|
450
410
|
dependencies: "dependencies";
|
|
411
|
+
parent: "parent";
|
|
451
412
|
}>>>;
|
|
452
413
|
secret: z.ZodOptional<z.ZodLiteral<true>>;
|
|
453
414
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -46,12 +46,6 @@ export const taskVersionChanges = [
|
|
|
46
46
|
"fields",
|
|
47
47
|
];
|
|
48
48
|
export const TaskVersionChange = z.enum(taskVersionChanges);
|
|
49
|
-
// The last move of a task (E117): what the ticket of the validation shows in its bar ("Neu → Offen ·
|
|
50
|
-
// Operator · 3. Okt."), read from its versions.
|
|
51
|
-
export const TaskMove = VersionMove.extend({
|
|
52
|
-
movedBy: NodePerson,
|
|
53
|
-
movedAt: z.iso.datetime(),
|
|
54
|
-
});
|
|
55
49
|
export const NodeVersionListInput = z.strictObject({
|
|
56
50
|
nodeId: NodeId.describe("The document, table, file or task whose versions to list."),
|
|
57
51
|
cursor: z
|
|
@@ -70,7 +70,6 @@ export declare const Effects: z.ZodObject<{
|
|
|
70
70
|
rev: z.ZodNumber;
|
|
71
71
|
own: z.ZodOptional<z.ZodLiteral<true>>;
|
|
72
72
|
}, z.core.$strip>>>;
|
|
73
|
-
validationReset: z.ZodOptional<z.ZodArray<z.ZodTemplateLiteral<`node_${string}`>>>;
|
|
74
73
|
readers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
75
74
|
userId: z.ZodString;
|
|
76
75
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -152,7 +151,6 @@ export declare const Written: z.ZodObject<{
|
|
|
152
151
|
rev: z.ZodNumber;
|
|
153
152
|
own: z.ZodOptional<z.ZodLiteral<true>>;
|
|
154
153
|
}, z.core.$strip>>>;
|
|
155
|
-
validationReset: z.ZodOptional<z.ZodArray<z.ZodTemplateLiteral<`node_${string}`>>>;
|
|
156
154
|
readers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
157
155
|
userId: z.ZodString;
|
|
158
156
|
name: z.ZodNullable<z.ZodString>;
|
package/dist/written/written.js
CHANGED
|
@@ -85,8 +85,6 @@ export const Effects = z.object({
|
|
|
85
85
|
notified: z.array(Reached).optional(),
|
|
86
86
|
// Tasks ready now, because the last thing they waited on was closed by this call.
|
|
87
87
|
unblocked: z.array(Unblocked).optional(),
|
|
88
|
-
// Nodes whose validation went back to new (#47): their new version is unchecked.
|
|
89
|
-
validationReset: z.array(NodeId).optional(),
|
|
90
88
|
// Who reads a moved node now (#36): a move takes the grants of its new folder.
|
|
91
89
|
readers: z.array(NodeReader).optional(),
|
|
92
90
|
});
|
package/package.json
CHANGED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const validationBoardId: "node_0000000000000000000000VA1D";
|
|
3
|
-
export declare const ValidationBoardId: z.ZodLiteral<"node_0000000000000000000000VA1D">;
|
|
4
|
-
export type ValidationBoardId = z.infer<typeof ValidationBoardId>;
|
|
5
|
-
export declare const validationGoalId: "node_0000000000000000000000VA1G";
|
|
6
|
-
export declare const TicketSubject: z.ZodObject<{
|
|
7
|
-
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
8
|
-
kind: z.ZodEnum<{
|
|
9
|
-
file: "file";
|
|
10
|
-
folder: "folder";
|
|
11
|
-
document: "document";
|
|
12
|
-
table: "table";
|
|
13
|
-
board: "board";
|
|
14
|
-
task: "task";
|
|
15
|
-
gadget: "gadget";
|
|
16
|
-
goal: "goal";
|
|
17
|
-
skill: "skill";
|
|
18
|
-
source: "source";
|
|
19
|
-
}>;
|
|
20
|
-
name: z.ZodString;
|
|
21
|
-
path: z.ZodObject<{
|
|
22
|
-
section: z.ZodEnum<{
|
|
23
|
-
users: "users";
|
|
24
|
-
own: "own";
|
|
25
|
-
shared: "shared";
|
|
26
|
-
}>;
|
|
27
|
-
items: z.ZodArray<z.ZodObject<{
|
|
28
|
-
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
29
|
-
name: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>;
|
|
31
|
-
}, z.core.$strip>;
|
|
32
|
-
}, z.core.$strip>;
|
|
33
|
-
export type TicketSubject = z.infer<typeof TicketSubject>;
|
|
34
|
-
export declare const TicketSubjectRef: z.ZodObject<{
|
|
35
|
-
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
36
|
-
kind: z.ZodEnum<{
|
|
37
|
-
file: "file";
|
|
38
|
-
folder: "folder";
|
|
39
|
-
document: "document";
|
|
40
|
-
table: "table";
|
|
41
|
-
board: "board";
|
|
42
|
-
task: "task";
|
|
43
|
-
gadget: "gadget";
|
|
44
|
-
goal: "goal";
|
|
45
|
-
skill: "skill";
|
|
46
|
-
source: "source";
|
|
47
|
-
}>;
|
|
48
|
-
path: z.ZodObject<{
|
|
49
|
-
section: z.ZodEnum<{
|
|
50
|
-
users: "users";
|
|
51
|
-
own: "own";
|
|
52
|
-
shared: "shared";
|
|
53
|
-
}>;
|
|
54
|
-
items: z.ZodArray<z.ZodObject<{
|
|
55
|
-
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
56
|
-
name: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>;
|
|
58
|
-
}, z.core.$strip>;
|
|
59
|
-
}, z.core.$strip>;
|
|
60
|
-
export type TicketSubjectRef = z.infer<typeof TicketSubjectRef>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { NodeId, NodeKind, NodePath } from "../nodes/nodes.js";
|
|
3
|
-
// The validation (#47, Seiten › Validierung, E33, E48, E67): one board per Colab and a ticket per
|
|
4
|
-
// document, table and file; a ticket's history stands in its versions (E117). The board is a node with a fixed id
|
|
5
|
-
// that stands in no area of the tree; its tickets are tasks whose node is the one they validate. A
|
|
6
|
-
// node's own status is `NodeValidation` in `nodes.ts`, beside the node it describes.
|
|
7
|
-
// ⚠️ The board's fixed id: the same in every Colab, made on its first use (`ensureValidationBoard`
|
|
8
|
-
// in `intelligence`), never in a folder. A ULID of zeros and `VA1D`, so no `createId` makes it.
|
|
9
|
-
export const validationBoardId = "node_0000000000000000000000VA1D";
|
|
10
|
-
export const ValidationBoardId = z
|
|
11
|
-
.literal(validationBoardId)
|
|
12
|
-
.describe("The validation board, the same id in every Colab.");
|
|
13
|
-
// ⚠️ The system goal of the validation (#814, E139): when and how the board is worked, a goal with
|
|
14
|
-
// rhythm, budget and runs like any. Exactly one per Colab, a node of kind `goal` that stands in no
|
|
15
|
-
// area of the tree, made beside the board on its first use, never archived. A ULID of zeros and `VA1G`.
|
|
16
|
-
export const validationGoalId = "node_0000000000000000000000VA1G";
|
|
17
|
-
// The node a ticket validates, as the caller can read it.
|
|
18
|
-
export const TicketSubject = z.object({
|
|
19
|
-
nodeId: NodeId,
|
|
20
|
-
kind: NodeKind,
|
|
21
|
-
name: z.string(),
|
|
22
|
-
path: NodePath,
|
|
23
|
-
});
|
|
24
|
-
// A ticket on a card: which node it validates, and where it stands as the caller reads it (#209:
|
|
25
|
-
// three `.INSTRUCTIONS` on one board are told apart by their place).
|
|
26
|
-
export const TicketSubjectRef = z.object({ nodeId: NodeId, kind: NodeKind, path: NodePath });
|