@shipfox/api-definitions-dto 11.0.0 → 12.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
1
  $ shipfox-swc
2
- Successfully compiled: 7 files with swc (192.76ms)
2
+ Successfully compiled: 7 files with swc (190.94ms)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,52 @@
1
1
  # @shipfox/api-definitions-dto
2
2
 
3
+ ## 12.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - adf07e7: Cut over workflow and job display names to literal-only `name` fields, with runtime interpolation supported through `run_name` and `execution_name`.
8
+
9
+ ### Minor Changes
10
+
11
+ - ee2ce67: Accept a `${{ }}` interpolation in an agent step's `thinking` field. The schema
12
+ still offers the per-harness enum for editor completion, and the dispatcher
13
+ checks the resolved value against the harness levels. An unsupported
14
+ resolved level fails the step.
15
+ - 5d2c9cf: Carry checkout steps from workflow normalization through step materialization and surface their setup error category.
16
+ - 89f2c18: Expose non-fatal definition validation warnings from the `/validate` response without
17
+ preventing workflow synchronization. Persistence and surfacing for repo-synced definitions
18
+ remain a follow-up.
19
+ - 9e1d599: Carry first-checkout intent through workflow normalization and step materialization for the upcoming runner checkout execution, including implicit-checkout suppression, checkout opt-out, and position-based primary checkout placement.
20
+ - 3f781ee: Add workflow run and job execution naming fields to the authoring, expression, and normalized definition contracts.
21
+ - 9fdd5e4: Persist definition validation warnings from repository syncs and surface them on the workflow page without changing sync success or run creation behavior.
22
+ - 35a42bd: Resolve run and agent step working directories against the runner job workspace.
23
+ - c2a8e54: Normalize checkout target fields for step-dispatch resolution, reject unsupported job-level checkout fields, and keep the workflow model and runtime checkout contracts aligned.
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [ee2ce67]
28
+ - Updated dependencies [7c4116e]
29
+ - Updated dependencies [e95fdf4]
30
+ - Updated dependencies [3d91d1d]
31
+ - Updated dependencies [045895c]
32
+ - Updated dependencies [f78740d]
33
+ - Updated dependencies [dea1ffd]
34
+ - Updated dependencies [adf07e7]
35
+ - Updated dependencies [3f781ee]
36
+ - Updated dependencies [285fff2]
37
+ - Updated dependencies [4d246d4]
38
+ - Updated dependencies [4444079]
39
+ - Updated dependencies [d77baaa]
40
+ - Updated dependencies [41d558c]
41
+ - Updated dependencies [032d316]
42
+ - Updated dependencies [c2a8e54]
43
+ - Updated dependencies [cb0abfa]
44
+ - Updated dependencies [ee2ce67]
45
+ - Updated dependencies [7f90b0c]
46
+ - @shipfox/workflow-document@3.0.0
47
+ - @shipfox/expression@2.0.0
48
+ - @shipfox/inter-module@0.2.3
49
+
3
50
  ## 11.0.0
4
51
 
5
52
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { type CreateDefinitionBodyDto, createDefinitionBodySchema, type DefinitionDto, type DefinitionListQueryDto, type DefinitionListResponseDto, type DefinitionResponseDto, type DefinitionSyncSummaryDto, type DefinitionValidationErrorDto, definitionDtoSchema, definitionListQuerySchema, definitionListResponseSchema, definitionResponseSchema, definitionSyncSummarySchema, definitionValidationErrorSchema, type TriggerDto, } from '#schemas/index.js';
1
+ export { type CreateDefinitionBodyDto, createDefinitionBodySchema, DEFINITION_SYNC_WARNING_CODE_MAX_LENGTH, DEFINITION_SYNC_WARNING_MESSAGE_MAX_LENGTH, DEFINITION_SYNC_WARNING_PATH_MAX_LENGTH, DEFINITION_SYNC_WARNINGS_MAX_COUNT, type DefinitionDto, type DefinitionListQueryDto, type DefinitionListResponseDto, type DefinitionResponseDto, type DefinitionSyncSummaryDto, type DefinitionValidationErrorDto, type DefinitionValidationWarningDto, definitionDtoSchema, definitionListQuerySchema, definitionListResponseSchema, definitionResponseSchema, definitionSyncSummarySchema, definitionValidationErrorSchema, definitionValidationWarningSchema, type TriggerDto, } from '#schemas/index.js';
2
2
  export { DEFINITION_DELETED, DEFINITION_INVALID, DEFINITION_RESOLVED, type DefinitionDeletedEvent, type DefinitionInvalidEvent, type DefinitionResolvedEvent, type DefinitionsEventMap, definitionDeletedEventSchema, definitionInvalidEventSchema, definitionResolvedEventSchema, definitionsEventSchemas, } from './events.js';
3
3
  export type * from './workflow-model.js';
4
- export { createWorkflowModelSnapshot, DEFAULT_JOB_CHECKOUT, DEFAULT_JOB_SUCCESS, DEFAULT_RUN_TIMEOUT_MS, readPersistedWorkflowModel, workflowModelFromSnapshot, workflowModelSnapshotSchema, } from './workflow-model.js';
4
+ export { createWorkflowModelSnapshot, DEFAULT_JOB_CHECKOUT, DEFAULT_JOB_SUCCESS, DEFAULT_RUN_TIMEOUT_MS, readPersistedWorkflowModel, WORKFLOW_MODEL_CHECKOUT_TARGET_FIELDS, workflowModelFromSnapshot, workflowModelSnapshotSchema, } from './workflow-model.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,uBAAuB,EAC5B,0BAA0B,EAC1B,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,wBAAwB,EACxB,2BAA2B,EAC3B,+BAA+B,EAC/B,KAAK,UAAU,GAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,uBAAuB,GACxB,MAAM,aAAa,CAAC;AACrB,mBAAmB,qBAAqB,CAAC;AACzC,OAAO,EACL,2BAA2B,EAC3B,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,yBAAyB,EACzB,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,uBAAuB,EAC5B,0BAA0B,EAC1B,uCAAuC,EACvC,0CAA0C,EAC1C,uCAAuC,EACvC,kCAAkC,EAClC,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,wBAAwB,EACxB,2BAA2B,EAC3B,+BAA+B,EAC/B,iCAAiC,EACjC,KAAK,UAAU,GAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,uBAAuB,GACxB,MAAM,aAAa,CAAC;AACrB,mBAAmB,qBAAqB,CAAC;AACzC,OAAO,EACL,2BAA2B,EAC3B,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,qCAAqC,EACrC,yBAAyB,EACzB,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC"}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export { createDefinitionBodySchema, definitionDtoSchema, definitionListQuerySchema, definitionListResponseSchema, definitionResponseSchema, definitionSyncSummarySchema, definitionValidationErrorSchema } from '#schemas/index.js';
1
+ export { createDefinitionBodySchema, DEFINITION_SYNC_WARNING_CODE_MAX_LENGTH, DEFINITION_SYNC_WARNING_MESSAGE_MAX_LENGTH, DEFINITION_SYNC_WARNING_PATH_MAX_LENGTH, DEFINITION_SYNC_WARNINGS_MAX_COUNT, definitionDtoSchema, definitionListQuerySchema, definitionListResponseSchema, definitionResponseSchema, definitionSyncSummarySchema, definitionValidationErrorSchema, definitionValidationWarningSchema } from '#schemas/index.js';
2
2
  export { DEFINITION_DELETED, DEFINITION_INVALID, DEFINITION_RESOLVED, definitionDeletedEventSchema, definitionInvalidEventSchema, definitionResolvedEventSchema, definitionsEventSchemas } from './events.js';
3
- export { createWorkflowModelSnapshot, DEFAULT_JOB_CHECKOUT, DEFAULT_JOB_SUCCESS, DEFAULT_RUN_TIMEOUT_MS, readPersistedWorkflowModel, workflowModelFromSnapshot, workflowModelSnapshotSchema } from './workflow-model.js';
3
+ export { createWorkflowModelSnapshot, DEFAULT_JOB_CHECKOUT, DEFAULT_JOB_SUCCESS, DEFAULT_RUN_TIMEOUT_MS, readPersistedWorkflowModel, WORKFLOW_MODEL_CHECKOUT_TARGET_FIELDS, workflowModelFromSnapshot, workflowModelSnapshotSchema } from './workflow-model.js';
4
4
 
5
5
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n type CreateDefinitionBodyDto,\n createDefinitionBodySchema,\n type DefinitionDto,\n type DefinitionListQueryDto,\n type DefinitionListResponseDto,\n type DefinitionResponseDto,\n type DefinitionSyncSummaryDto,\n type DefinitionValidationErrorDto,\n definitionDtoSchema,\n definitionListQuerySchema,\n definitionListResponseSchema,\n definitionResponseSchema,\n definitionSyncSummarySchema,\n definitionValidationErrorSchema,\n type TriggerDto,\n} from '#schemas/index.js';\nexport {\n DEFINITION_DELETED,\n DEFINITION_INVALID,\n DEFINITION_RESOLVED,\n type DefinitionDeletedEvent,\n type DefinitionInvalidEvent,\n type DefinitionResolvedEvent,\n type DefinitionsEventMap,\n definitionDeletedEventSchema,\n definitionInvalidEventSchema,\n definitionResolvedEventSchema,\n definitionsEventSchemas,\n} from './events.js';\nexport type * from './workflow-model.js';\nexport {\n createWorkflowModelSnapshot,\n DEFAULT_JOB_CHECKOUT,\n DEFAULT_JOB_SUCCESS,\n DEFAULT_RUN_TIMEOUT_MS,\n readPersistedWorkflowModel,\n workflowModelFromSnapshot,\n workflowModelSnapshotSchema,\n} from './workflow-model.js';\n"],"names":["createDefinitionBodySchema","definitionDtoSchema","definitionListQuerySchema","definitionListResponseSchema","definitionResponseSchema","definitionSyncSummarySchema","definitionValidationErrorSchema","DEFINITION_DELETED","DEFINITION_INVALID","DEFINITION_RESOLVED","definitionDeletedEventSchema","definitionInvalidEventSchema","definitionResolvedEventSchema","definitionsEventSchemas","createWorkflowModelSnapshot","DEFAULT_JOB_CHECKOUT","DEFAULT_JOB_SUCCESS","DEFAULT_RUN_TIMEOUT_MS","readPersistedWorkflowModel","workflowModelFromSnapshot","workflowModelSnapshotSchema"],"mappings":"AAAA,SAEEA,0BAA0B,EAO1BC,mBAAmB,EACnBC,yBAAyB,EACzBC,4BAA4B,EAC5BC,wBAAwB,EACxBC,2BAA2B,EAC3BC,+BAA+B,QAE1B,oBAAoB;AAC3B,SACEC,kBAAkB,EAClBC,kBAAkB,EAClBC,mBAAmB,EAKnBC,4BAA4B,EAC5BC,4BAA4B,EAC5BC,6BAA6B,EAC7BC,uBAAuB,QAClB,cAAc;AAErB,SACEC,2BAA2B,EAC3BC,oBAAoB,EACpBC,mBAAmB,EACnBC,sBAAsB,EACtBC,0BAA0B,EAC1BC,yBAAyB,EACzBC,2BAA2B,QACtB,sBAAsB"}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n type CreateDefinitionBodyDto,\n createDefinitionBodySchema,\n DEFINITION_SYNC_WARNING_CODE_MAX_LENGTH,\n DEFINITION_SYNC_WARNING_MESSAGE_MAX_LENGTH,\n DEFINITION_SYNC_WARNING_PATH_MAX_LENGTH,\n DEFINITION_SYNC_WARNINGS_MAX_COUNT,\n type DefinitionDto,\n type DefinitionListQueryDto,\n type DefinitionListResponseDto,\n type DefinitionResponseDto,\n type DefinitionSyncSummaryDto,\n type DefinitionValidationErrorDto,\n type DefinitionValidationWarningDto,\n definitionDtoSchema,\n definitionListQuerySchema,\n definitionListResponseSchema,\n definitionResponseSchema,\n definitionSyncSummarySchema,\n definitionValidationErrorSchema,\n definitionValidationWarningSchema,\n type TriggerDto,\n} from '#schemas/index.js';\nexport {\n DEFINITION_DELETED,\n DEFINITION_INVALID,\n DEFINITION_RESOLVED,\n type DefinitionDeletedEvent,\n type DefinitionInvalidEvent,\n type DefinitionResolvedEvent,\n type DefinitionsEventMap,\n definitionDeletedEventSchema,\n definitionInvalidEventSchema,\n definitionResolvedEventSchema,\n definitionsEventSchemas,\n} from './events.js';\nexport type * from './workflow-model.js';\nexport {\n createWorkflowModelSnapshot,\n DEFAULT_JOB_CHECKOUT,\n DEFAULT_JOB_SUCCESS,\n DEFAULT_RUN_TIMEOUT_MS,\n readPersistedWorkflowModel,\n WORKFLOW_MODEL_CHECKOUT_TARGET_FIELDS,\n workflowModelFromSnapshot,\n workflowModelSnapshotSchema,\n} from './workflow-model.js';\n"],"names":["createDefinitionBodySchema","DEFINITION_SYNC_WARNING_CODE_MAX_LENGTH","DEFINITION_SYNC_WARNING_MESSAGE_MAX_LENGTH","DEFINITION_SYNC_WARNING_PATH_MAX_LENGTH","DEFINITION_SYNC_WARNINGS_MAX_COUNT","definitionDtoSchema","definitionListQuerySchema","definitionListResponseSchema","definitionResponseSchema","definitionSyncSummarySchema","definitionValidationErrorSchema","definitionValidationWarningSchema","DEFINITION_DELETED","DEFINITION_INVALID","DEFINITION_RESOLVED","definitionDeletedEventSchema","definitionInvalidEventSchema","definitionResolvedEventSchema","definitionsEventSchemas","createWorkflowModelSnapshot","DEFAULT_JOB_CHECKOUT","DEFAULT_JOB_SUCCESS","DEFAULT_RUN_TIMEOUT_MS","readPersistedWorkflowModel","WORKFLOW_MODEL_CHECKOUT_TARGET_FIELDS","workflowModelFromSnapshot","workflowModelSnapshotSchema"],"mappings":"AAAA,SAEEA,0BAA0B,EAC1BC,uCAAuC,EACvCC,0CAA0C,EAC1CC,uCAAuC,EACvCC,kCAAkC,EAQlCC,mBAAmB,EACnBC,yBAAyB,EACzBC,4BAA4B,EAC5BC,wBAAwB,EACxBC,2BAA2B,EAC3BC,+BAA+B,EAC/BC,iCAAiC,QAE5B,oBAAoB;AAC3B,SACEC,kBAAkB,EAClBC,kBAAkB,EAClBC,mBAAmB,EAKnBC,4BAA4B,EAC5BC,4BAA4B,EAC5BC,6BAA6B,EAC7BC,uBAAuB,QAClB,cAAc;AAErB,SACEC,2BAA2B,EAC3BC,oBAAoB,EACpBC,mBAAmB,EACnBC,sBAAsB,EACtBC,0BAA0B,EAC1BC,qCAAqC,EACrCC,yBAAyB,EACzBC,2BAA2B,QACtB,sBAAsB"}
@@ -5,7 +5,7 @@ declare const definitionSnapshotSchema: z.ZodObject<{
5
5
  projectId: z.ZodString;
6
6
  name: z.ZodString;
7
7
  model: z.ZodObject<{
8
- version: z.ZodLiteral<1>;
8
+ version: z.ZodLiteral<2>;
9
9
  model: z.ZodCustom<import("./workflow-model.js").WorkflowModel, import("./workflow-model.js").WorkflowModel>;
10
10
  }, z.core.$strip>;
11
11
  sourceSnapshot: z.ZodNullable<z.ZodObject<{
@@ -26,7 +26,7 @@ export declare const definitionsInterModuleContract: import("@shipfox/inter-modu
26
26
  projectId: z.ZodString;
27
27
  name: z.ZodString;
28
28
  model: z.ZodObject<{
29
- version: z.ZodLiteral<1>;
29
+ version: z.ZodLiteral<2>;
30
30
  model: z.ZodCustom<import("./workflow-model.js").WorkflowModel, import("./workflow-model.js").WorkflowModel>;
31
31
  }, z.core.$strip>;
32
32
  sourceSnapshot: z.ZodNullable<z.ZodObject<{
@@ -1,4 +1,8 @@
1
1
  import { z } from 'zod';
2
+ export declare const DEFINITION_SYNC_WARNINGS_MAX_COUNT = 100;
3
+ export declare const DEFINITION_SYNC_WARNING_CODE_MAX_LENGTH = 128;
4
+ export declare const DEFINITION_SYNC_WARNING_MESSAGE_MAX_LENGTH = 2048;
5
+ export declare const DEFINITION_SYNC_WARNING_PATH_MAX_LENGTH = 512;
2
6
  export declare const createDefinitionBodySchema: z.ZodObject<{
3
7
  project_id: z.ZodString;
4
8
  config_path: z.ZodOptional<z.ZodString>;
@@ -58,6 +62,12 @@ export declare const definitionValidationErrorSchema: z.ZodObject<{
58
62
  path: z.ZodOptional<z.ZodString>;
59
63
  }, z.core.$strip>;
60
64
  export type DefinitionValidationErrorDto = z.infer<typeof definitionValidationErrorSchema>;
65
+ export declare const definitionValidationWarningSchema: z.ZodObject<{
66
+ code: z.ZodString;
67
+ message: z.ZodString;
68
+ path: z.ZodOptional<z.ZodString>;
69
+ }, z.core.$strip>;
70
+ export type DefinitionValidationWarningDto = z.infer<typeof definitionValidationWarningSchema>;
61
71
  export declare const definitionListQuerySchema: z.ZodObject<{
62
72
  project_id: z.ZodString;
63
73
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -91,6 +101,11 @@ export declare const definitionSyncSummarySchema: z.ZodObject<{
91
101
  "connection-unavailable": "connection-unavailable";
92
102
  }>>;
93
103
  last_error_message: z.ZodNullable<z.ZodString>;
104
+ warnings: z.ZodArray<z.ZodObject<{
105
+ code: z.ZodString;
106
+ message: z.ZodString;
107
+ path: z.ZodOptional<z.ZodString>;
108
+ }, z.core.$strip>>;
94
109
  }, z.core.$strip>;
95
110
  export type DefinitionSyncSummaryDto = z.infer<typeof definitionSyncSummarySchema>;
96
111
  export declare const definitionListResponseSchema: z.ZodObject<{
@@ -141,6 +156,11 @@ export declare const definitionListResponseSchema: z.ZodObject<{
141
156
  "connection-unavailable": "connection-unavailable";
142
157
  }>>;
143
158
  last_error_message: z.ZodNullable<z.ZodString>;
159
+ warnings: z.ZodArray<z.ZodObject<{
160
+ code: z.ZodString;
161
+ message: z.ZodString;
162
+ path: z.ZodOptional<z.ZodString>;
163
+ }, z.core.$strip>>;
144
164
  }, z.core.$strip>>;
145
165
  next_cursor: z.ZodNullable<z.ZodString>;
146
166
  }, z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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIvC,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
@@ -1,4 +1,8 @@
1
1
  import { z } from 'zod';
2
+ export const DEFINITION_SYNC_WARNINGS_MAX_COUNT = 100;
3
+ export const DEFINITION_SYNC_WARNING_CODE_MAX_LENGTH = 128;
4
+ export const DEFINITION_SYNC_WARNING_MESSAGE_MAX_LENGTH = 2048;
5
+ export const DEFINITION_SYNC_WARNING_PATH_MAX_LENGTH = 512;
2
6
  export const createDefinitionBodySchema = z.object({
3
7
  project_id: z.string().uuid(),
4
8
  config_path: z.string().min(1).optional(),
@@ -67,6 +71,11 @@ export const definitionValidationErrorSchema = z.object({
67
71
  message: z.string(),
68
72
  path: z.string().optional()
69
73
  });
74
+ export const definitionValidationWarningSchema = z.object({
75
+ code: z.string().max(DEFINITION_SYNC_WARNING_CODE_MAX_LENGTH),
76
+ message: z.string().max(DEFINITION_SYNC_WARNING_MESSAGE_MAX_LENGTH),
77
+ path: z.string().max(DEFINITION_SYNC_WARNING_PATH_MAX_LENGTH).optional()
78
+ });
70
79
  export const definitionListQuerySchema = z.object({
71
80
  project_id: z.string().uuid(),
72
81
  limit: z.coerce.number().int().min(1).max(100).default(50),
@@ -98,7 +107,8 @@ export const definitionSyncSummarySchema = z.object({
98
107
  'connection-unavailable',
99
108
  'unknown'
100
109
  ]).nullable(),
101
- last_error_message: z.string().nullable()
110
+ last_error_message: z.string().nullable(),
111
+ warnings: z.array(definitionValidationWarningSchema).max(DEFINITION_SYNC_WARNINGS_MAX_COUNT)
102
112
  });
103
113
  export const definitionListResponseSchema = z.object({
104
114
  definitions: z.array(definitionResponseSchema),
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/schemas/dto.ts"],"sourcesContent":["import {z} from 'zod';\n\nexport const createDefinitionBodySchema = z\n .object({\n project_id: z.string().uuid(),\n config_path: z.string().min(1).optional(),\n source: z.enum(['manual', 'vcs']).optional(),\n yaml: z.string().min(1).max(1_000_000),\n sha: z.string().optional(),\n ref: z.string().optional(),\n })\n .superRefine((value, ctx) => {\n const source = value.source ?? 'manual';\n if (source === 'vcs' && !value.config_path) {\n ctx.addIssue({\n code: 'custom',\n message: 'config_path is required for VCS definitions',\n path: ['config_path'],\n });\n }\n const hasRefOrSha = value.ref != null || value.sha != null;\n if (source === 'vcs' && !hasRefOrSha) {\n ctx.addIssue({\n code: 'custom',\n message: 'VCS definitions require a ref or sha',\n path: ['ref'],\n });\n }\n if (source === 'manual' && hasRefOrSha) {\n ctx.addIssue({\n code: 'custom',\n message: 'manual definitions must not set ref or sha',\n path: value.ref != null ? ['ref'] : ['sha'],\n });\n }\n });\n\nexport type CreateDefinitionBodyDto = z.infer<typeof createDefinitionBodySchema>;\n\nexport const definitionDtoSchema = z.object({\n id: z.string().uuid(),\n project_id: z.string().uuid(),\n config_path: z.string().nullable(),\n source: z.enum(['manual', 'vcs']),\n sha: z.string().nullable(),\n ref: z.string().nullable(),\n name: z.string(),\n workflow_document: z.unknown(),\n workflow_model: z.unknown(),\n manual_trigger: z\n .object({\n name: z.string(),\n })\n .nullable(),\n fetched_at: z.string(),\n created_at: z.string(),\n updated_at: z.string(),\n});\n\nexport type DefinitionDto = z.infer<typeof definitionDtoSchema>;\n\nexport const definitionResponseSchema = definitionDtoSchema;\n\nexport type DefinitionResponseDto = z.infer<typeof definitionResponseSchema>;\n\nexport const definitionValidationErrorSchema = z.object({\n message: z.string(),\n path: z.string().optional(),\n});\n\nexport type DefinitionValidationErrorDto = z.infer<typeof definitionValidationErrorSchema>;\n\nexport const definitionListQuerySchema = z.object({\n project_id: z.string().uuid(),\n limit: z.coerce.number().int().min(1).max(100).default(50),\n cursor: z.string().optional(),\n});\n\nexport type DefinitionListQueryDto = z.infer<typeof definitionListQuerySchema>;\n\nexport const definitionSyncSummarySchema = z.object({\n ref: z.string().nullable(),\n status: z.enum(['pending', 'syncing', 'succeeded', 'failed']),\n last_sync_at: z.string(),\n started_at: z.string().nullable(),\n finished_at: z.string().nullable(),\n last_error_code: z\n .enum([\n 'no-workflow-files',\n 'invalid-definition',\n 'provider-repository-not-found',\n 'provider-file-not-found',\n 'provider-access-denied',\n 'provider-rate-limited',\n 'provider-timeout',\n 'provider-unavailable',\n 'provider-malformed-response',\n 'content-too-large',\n 'too-many-files',\n 'connection-unavailable',\n 'unknown',\n ])\n .nullable(),\n last_error_message: z.string().nullable(),\n});\n\nexport type DefinitionSyncSummaryDto = z.infer<typeof definitionSyncSummarySchema>;\n\nexport const definitionListResponseSchema = z.object({\n definitions: z.array(definitionResponseSchema),\n sync: definitionSyncSummarySchema.nullable(),\n next_cursor: z.string().nullable(),\n});\n\nexport type DefinitionListResponseDto = z.infer<typeof definitionListResponseSchema>;\n"],"names":["z","createDefinitionBodySchema","object","project_id","string","uuid","config_path","min","optional","source","enum","yaml","max","sha","ref","superRefine","value","ctx","addIssue","code","message","path","hasRefOrSha","definitionDtoSchema","id","nullable","name","workflow_document","unknown","workflow_model","manual_trigger","fetched_at","created_at","updated_at","definitionResponseSchema","definitionValidationErrorSchema","definitionListQuerySchema","limit","coerce","number","int","default","cursor","definitionSyncSummarySchema","status","last_sync_at","started_at","finished_at","last_error_code","last_error_message","definitionListResponseSchema","definitions","array","sync","next_cursor"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AAEtB,OAAO,MAAMC,6BAA6BD,EACvCE,MAAM,CAAC;IACNC,YAAYH,EAAEI,MAAM,GAAGC,IAAI;IAC3BC,aAAaN,EAAEI,MAAM,GAAGG,GAAG,CAAC,GAAGC,QAAQ;IACvCC,QAAQT,EAAEU,IAAI,CAAC;QAAC;QAAU;KAAM,EAAEF,QAAQ;IAC1CG,MAAMX,EAAEI,MAAM,GAAGG,GAAG,CAAC,GAAGK,GAAG,CAAC;IAC5BC,KAAKb,EAAEI,MAAM,GAAGI,QAAQ;IACxB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AAM8B,2BAA2BX,oBAAoB;AAI5D,OAAO,MAAMY,kCAAkCnC,EAAEE,MAAM,CAAC;IACtDkB,SAASpB,EAAEI,MAAM;IACjBiB,MAAMrB,EAAEI,MAAM,GAAGI,QAAQ;AAC3B,GAAG;AAIH,OAAO,MAAM4B,4BAA4BpC,EAAEE,MAAM,CAAC;IAChDC,YAAYH,EAAEI,MAAM,GAAGC,IAAI;IAC3BgC,OAAOrC,EAAEsC,MAAM,CAACC,MAAM,GAAGC,GAAG,GAAGjC,GAAG,CAAC,GAAGK,GAAG,CAAC,KAAK6B,OAAO,CAAC;IACvDC,QAAQ1C,EAAEI,MAAM,GAAGI,QAAQ;AAC7B,GAAG;AAIH,OAAO,MAAMmC,8BAA8B3C,EAAEE,MAAM,CAAC;IAClDY,KAAKd,EAAEI,MAAM,GAAGqB,QAAQ;IACxBmB,QAAQ5C,EAAEU,IAAI,CAAC;QAAC;QAAW;QAAW;QAAa;KAAS;IAC5DmC,cAAc7C,EAAEI,MAAM;IACtB0C,YAAY9C,EAAEI,MAAM,GAAGqB,QAAQ;IAC/BsB,aAAa/C,EAAEI,MAAM,GAAGqB,QAAQ;IAChCuB,iBAAiBhD,EACdU,IAAI,CAAC;QACJ;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;KACD,EACAe,QAAQ;IACXwB,oBAAoBjD,EAAEI,MAAM,GAAGqB,QAAQ;AACzC,GAAG;AAIH,OAAO,MAAMyB,+BAA+BlD,EAAEE,MAAM,CAAC;IACnDiD,aAAanD,EAAEoD,KAAK,CAAClB;IACrBmB,MAAMV,4BAA4BlB,QAAQ;IAC1C6B,aAAatD,EAAEI,MAAM,GAAGqB,QAAQ;AAClC,GAAG"}
1
+ {"version":3,"sources":["../../src/schemas/dto.ts"],"sourcesContent":["import {z} from 'zod';\n\nexport const DEFINITION_SYNC_WARNINGS_MAX_COUNT = 100;\nexport const DEFINITION_SYNC_WARNING_CODE_MAX_LENGTH = 128;\nexport const DEFINITION_SYNC_WARNING_MESSAGE_MAX_LENGTH = 2048;\nexport const DEFINITION_SYNC_WARNING_PATH_MAX_LENGTH = 512;\n\nexport const createDefinitionBodySchema = z\n .object({\n project_id: z.string().uuid(),\n config_path: z.string().min(1).optional(),\n source: z.enum(['manual', 'vcs']).optional(),\n yaml: z.string().min(1).max(1_000_000),\n sha: z.string().optional(),\n ref: z.string().optional(),\n })\n .superRefine((value, ctx) => {\n const source = value.source ?? 'manual';\n if (source === 'vcs' && !value.config_path) {\n ctx.addIssue({\n code: 'custom',\n message: 'config_path is required for VCS definitions',\n path: ['config_path'],\n });\n }\n const hasRefOrSha = value.ref != null || value.sha != null;\n if (source === 'vcs' && !hasRefOrSha) {\n ctx.addIssue({\n code: 'custom',\n message: 'VCS definitions require a ref or sha',\n path: ['ref'],\n });\n }\n if (source === 'manual' && hasRefOrSha) {\n ctx.addIssue({\n code: 'custom',\n message: 'manual definitions must not set ref or sha',\n path: value.ref != null ? ['ref'] : ['sha'],\n });\n }\n });\n\nexport type CreateDefinitionBodyDto = z.infer<typeof createDefinitionBodySchema>;\n\nexport const definitionDtoSchema = z.object({\n id: z.string().uuid(),\n project_id: z.string().uuid(),\n config_path: z.string().nullable(),\n source: z.enum(['manual', 'vcs']),\n sha: z.string().nullable(),\n ref: z.string().nullable(),\n name: z.string(),\n workflow_document: z.unknown(),\n workflow_model: z.unknown(),\n manual_trigger: z\n .object({\n name: z.string(),\n })\n .nullable(),\n fetched_at: z.string(),\n created_at: z.string(),\n updated_at: z.string(),\n});\n\nexport type DefinitionDto = z.infer<typeof definitionDtoSchema>;\n\nexport const definitionResponseSchema = definitionDtoSchema;\n\nexport type DefinitionResponseDto = z.infer<typeof definitionResponseSchema>;\n\nexport const definitionValidationErrorSchema = z.object({\n message: z.string(),\n path: z.string().optional(),\n});\n\nexport type DefinitionValidationErrorDto = z.infer<typeof definitionValidationErrorSchema>;\n\nexport const definitionValidationWarningSchema = z.object({\n code: z.string().max(DEFINITION_SYNC_WARNING_CODE_MAX_LENGTH),\n message: z.string().max(DEFINITION_SYNC_WARNING_MESSAGE_MAX_LENGTH),\n path: z.string().max(DEFINITION_SYNC_WARNING_PATH_MAX_LENGTH).optional(),\n});\n\nexport type DefinitionValidationWarningDto = z.infer<typeof definitionValidationWarningSchema>;\n\nexport const definitionListQuerySchema = z.object({\n project_id: z.string().uuid(),\n limit: z.coerce.number().int().min(1).max(100).default(50),\n cursor: z.string().optional(),\n});\n\nexport type DefinitionListQueryDto = z.infer<typeof definitionListQuerySchema>;\n\nexport const definitionSyncSummarySchema = z.object({\n ref: z.string().nullable(),\n status: z.enum(['pending', 'syncing', 'succeeded', 'failed']),\n last_sync_at: z.string(),\n started_at: z.string().nullable(),\n finished_at: z.string().nullable(),\n last_error_code: z\n .enum([\n 'no-workflow-files',\n 'invalid-definition',\n 'provider-repository-not-found',\n 'provider-file-not-found',\n 'provider-access-denied',\n 'provider-rate-limited',\n 'provider-timeout',\n 'provider-unavailable',\n 'provider-malformed-response',\n 'content-too-large',\n 'too-many-files',\n 'connection-unavailable',\n 'unknown',\n ])\n .nullable(),\n last_error_message: z.string().nullable(),\n warnings: z.array(definitionValidationWarningSchema).max(DEFINITION_SYNC_WARNINGS_MAX_COUNT),\n});\n\nexport type DefinitionSyncSummaryDto = z.infer<typeof definitionSyncSummarySchema>;\n\nexport const definitionListResponseSchema = z.object({\n definitions: z.array(definitionResponseSchema),\n sync: definitionSyncSummarySchema.nullable(),\n next_cursor: z.string().nullable(),\n});\n\nexport type DefinitionListResponseDto = z.infer<typeof definitionListResponseSchema>;\n"],"names":["z","DEFINITION_SYNC_WARNINGS_MAX_COUNT","DEFINITION_SYNC_WARNING_CODE_MAX_LENGTH","DEFINITION_SYNC_WARNING_MESSAGE_MAX_LENGTH","DEFINITION_SYNC_WARNING_PATH_MAX_LENGTH","createDefinitionBodySchema","object","project_id","string","uuid","config_path","min","optional","source","enum","yaml","max","sha","ref","superRefine","value","ctx","addIssue","code","message","path","hasRefOrSha","definitionDtoSchema","id","nullable","name","workflow_document","unknown","workflow_model","manual_trigger","fetched_at","created_at","updated_at","definitionResponseSchema","definitionValidationErrorSchema","definitionValidationWarningSchema","definitionListQuerySchema","limit","coerce","number","int","default","cursor","definitionSyncSummarySchema","status","last_sync_at","started_at","finished_at","last_error_code","last_error_message","warnings","array","definitionListResponseSchema","definitions","sync","next_cursor"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AAEtB,OAAO,MAAMC,qCAAqC,IAAI;AACtD,OAAO,MAAMC,0CAA0C,IAAI;AAC3D,OAAO,MAAMC,6CAA6C,KAAK;AAC/D,OAAO,MAAMC,0CAA0C,IAAI;AAE3D,OAAO,MAAMC,6BAA6BL,EACvCM,MAAM,CAAC;IACNC,YAAYP,EAAEQ,MAAM,GAAGC,IAAI;IAC3BC,aAAaV,EAAEQ,MAAM,GAAGG,GAAG,CAAC,GAAGC,QAAQ;IACvCC,QAAQb,EAAEc,IAAI,CAAC;QAAC;QAAU;KAAM,EAAEF,QAAQ;IAC1CG,MAAMf,EAAEQ,MAAM,GAAGG,GAAG,CAAC,GAAGK,GAAG,CAAC;IAC5BC,KAAKjB,EAAEQ,MAAM,GAAGI,QAAQ;IACxBM,KAAKlB,EAAEQ,MAAM,GAAGI,QAAQ;AAC1B,GACCO,WAAW,CAAC,CAACC,OAAOC;IACnB,MAAMR,SAASO,MAAMP,MAAM,IAAI;IAC/B,IAAIA,WAAW,SAAS,CAACO,MAAMV,WAAW,EAAE;QAC1CW,IAAIC,QAAQ,CAAC;YACXC,MAAM;YACNC,SAAS;YACTC,MAAM;gBAAC;aAAc;QACvB;IACF;IACA,MAAMC,cAAcN,MAAMF,GAAG,IAAI,QAAQE,MAAMH,GAAG,IAAI;IACtD,IAAIJ,WAAW,SAAS,CAACa,aAAa;QACpCL,IAAIC,QAAQ,CAAC;YACXC,MAAM;YACNC,SAAS;YACTC,MAAM;gBAAC;aAAM;QACf;IACF;IACA,IAAIZ,WAAW,YAAYa,aAAa;QACtC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AEQ,MAAM,GAAGC,IAAI;IAC3BiC,OAAO1C,EAAE2C,MAAM,CAACC,MAAM,GAAGC,GAAG,GAAGlC,GAAG,CAAC,GAAGK,GAAG,CAAC,KAAK8B,OAAO,CAAC;IACvDC,QAAQ/C,EAAEQ,MAAM,GAAGI,QAAQ;AAC7B,GAAG;AAIH,OAAO,MAAMoC,8BAA8BhD,EAAEM,MAAM,CAAC;IAClDY,KAAKlB,EAAEQ,MAAM,GAAGqB,QAAQ;IACxBoB,QAAQjD,EAAEc,IAAI,CAAC;QAAC;QAAW;QAAW;QAAa;KAAS;IAC5DoC,cAAclD,EAAEQ,MAAM;IACtB2C,YAAYnD,EAAEQ,MAAM,GAAGqB,QAAQ;IAC/BuB,aAAapD,EAAEQ,MAAM,GAAGqB,QAAQ;IAChCwB,iBAAiBrD,EACdc,IAAI,CAAC;QACJ;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;KACD,EACAe,QAAQ;IACXyB,oBAAoBtD,EAAEQ,MAAM,GAAGqB,QAAQ;IACvC0B,UAAUvD,EAAEwD,KAAK,CAAChB,mCAAmCxB,GAAG,CAACf;AAC3D,GAAG;AAIH,OAAO,MAAMwD,+BAA+BzD,EAAEM,MAAM,CAAC;IACnDoD,aAAa1D,EAAEwD,KAAK,CAAClB;IACrBqB,MAAMX,4BAA4BnB,QAAQ;IAC1C+B,aAAa5D,EAAEQ,MAAM,GAAGqB,QAAQ;AAClC,GAAG"}
@@ -1,3 +1,3 @@
1
- export { type CreateDefinitionBodyDto, createDefinitionBodySchema, type DefinitionDto, type DefinitionListQueryDto, type DefinitionListResponseDto, type DefinitionResponseDto, type DefinitionSyncSummaryDto, type DefinitionValidationErrorDto, definitionDtoSchema, definitionListQuerySchema, definitionListResponseSchema, definitionResponseSchema, definitionSyncSummarySchema, definitionValidationErrorSchema, } from './dto.js';
1
+ export { type CreateDefinitionBodyDto, createDefinitionBodySchema, DEFINITION_SYNC_WARNING_CODE_MAX_LENGTH, DEFINITION_SYNC_WARNING_MESSAGE_MAX_LENGTH, DEFINITION_SYNC_WARNING_PATH_MAX_LENGTH, DEFINITION_SYNC_WARNINGS_MAX_COUNT, type DefinitionDto, type DefinitionListQueryDto, type DefinitionListResponseDto, type DefinitionResponseDto, type DefinitionSyncSummaryDto, type DefinitionValidationErrorDto, type DefinitionValidationWarningDto, definitionDtoSchema, definitionListQuerySchema, definitionListResponseSchema, definitionResponseSchema, definitionSyncSummarySchema, definitionValidationErrorSchema, definitionValidationWarningSchema, } from './dto.js';
2
2
  export type { TriggerDto } from './trigger.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,uBAAuB,EAC5B,0BAA0B,EAC1B,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,wBAAwB,EACxB,2BAA2B,EAC3B,+BAA+B,GAChC,MAAM,UAAU,CAAC;AAClB,YAAY,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,uBAAuB,EAC5B,0BAA0B,EAC1B,uCAAuC,EACvC,0CAA0C,EAC1C,uCAAuC,EACvC,kCAAkC,EAClC,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,wBAAwB,EACxB,2BAA2B,EAC3B,+BAA+B,EAC/B,iCAAiC,GAClC,MAAM,UAAU,CAAC;AAClB,YAAY,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC"}
@@ -1,3 +1,3 @@
1
- export { createDefinitionBodySchema, definitionDtoSchema, definitionListQuerySchema, definitionListResponseSchema, definitionResponseSchema, definitionSyncSummarySchema, definitionValidationErrorSchema } from './dto.js';
1
+ export { createDefinitionBodySchema, DEFINITION_SYNC_WARNING_CODE_MAX_LENGTH, DEFINITION_SYNC_WARNING_MESSAGE_MAX_LENGTH, DEFINITION_SYNC_WARNING_PATH_MAX_LENGTH, DEFINITION_SYNC_WARNINGS_MAX_COUNT, definitionDtoSchema, definitionListQuerySchema, definitionListResponseSchema, definitionResponseSchema, definitionSyncSummarySchema, definitionValidationErrorSchema, definitionValidationWarningSchema } from './dto.js';
2
2
 
3
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/schemas/index.ts"],"sourcesContent":["export {\n type CreateDefinitionBodyDto,\n createDefinitionBodySchema,\n type DefinitionDto,\n type DefinitionListQueryDto,\n type DefinitionListResponseDto,\n type DefinitionResponseDto,\n type DefinitionSyncSummaryDto,\n type DefinitionValidationErrorDto,\n definitionDtoSchema,\n definitionListQuerySchema,\n definitionListResponseSchema,\n definitionResponseSchema,\n definitionSyncSummarySchema,\n definitionValidationErrorSchema,\n} from './dto.js';\nexport type {TriggerDto} from './trigger.js';\n"],"names":["createDefinitionBodySchema","definitionDtoSchema","definitionListQuerySchema","definitionListResponseSchema","definitionResponseSchema","definitionSyncSummarySchema","definitionValidationErrorSchema"],"mappings":"AAAA,SAEEA,0BAA0B,EAO1BC,mBAAmB,EACnBC,yBAAyB,EACzBC,4BAA4B,EAC5BC,wBAAwB,EACxBC,2BAA2B,EAC3BC,+BAA+B,QAC1B,WAAW"}
1
+ {"version":3,"sources":["../../src/schemas/index.ts"],"sourcesContent":["export {\n type CreateDefinitionBodyDto,\n createDefinitionBodySchema,\n DEFINITION_SYNC_WARNING_CODE_MAX_LENGTH,\n DEFINITION_SYNC_WARNING_MESSAGE_MAX_LENGTH,\n DEFINITION_SYNC_WARNING_PATH_MAX_LENGTH,\n DEFINITION_SYNC_WARNINGS_MAX_COUNT,\n type DefinitionDto,\n type DefinitionListQueryDto,\n type DefinitionListResponseDto,\n type DefinitionResponseDto,\n type DefinitionSyncSummaryDto,\n type DefinitionValidationErrorDto,\n type DefinitionValidationWarningDto,\n definitionDtoSchema,\n definitionListQuerySchema,\n definitionListResponseSchema,\n definitionResponseSchema,\n definitionSyncSummarySchema,\n definitionValidationErrorSchema,\n definitionValidationWarningSchema,\n} from './dto.js';\nexport type {TriggerDto} from './trigger.js';\n"],"names":["createDefinitionBodySchema","DEFINITION_SYNC_WARNING_CODE_MAX_LENGTH","DEFINITION_SYNC_WARNING_MESSAGE_MAX_LENGTH","DEFINITION_SYNC_WARNING_PATH_MAX_LENGTH","DEFINITION_SYNC_WARNINGS_MAX_COUNT","definitionDtoSchema","definitionListQuerySchema","definitionListResponseSchema","definitionResponseSchema","definitionSyncSummarySchema","definitionValidationErrorSchema","definitionValidationWarningSchema"],"mappings":"AAAA,SAEEA,0BAA0B,EAC1BC,uCAAuC,EACvCC,0CAA0C,EAC1CC,uCAAuC,EACvCC,kCAAkC,EAQlCC,mBAAmB,EACnBC,yBAAyB,EACzBC,4BAA4B,EAC5BC,wBAAwB,EACxBC,2BAA2B,EAC3BC,+BAA+B,EAC/BC,iCAAiC,QAC5B,WAAW"}