@junejuly-lockstep/model 0.1.0 → 0.1.1

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/api.d.ts CHANGED
@@ -7264,8 +7264,8 @@ export declare const ModelSyncPayload: z.ZodObject<{
7264
7264
  context?: Record<string, unknown> | undefined;
7265
7265
  };
7266
7266
  }[];
7267
- schemaVersion: 1;
7268
7267
  projectKey: string;
7268
+ schemaVersion: 1;
7269
7269
  ref: string;
7270
7270
  commitSha: string;
7271
7271
  reconcilerVersion: string;
@@ -7323,8 +7323,8 @@ export declare const ModelSyncPayload: z.ZodObject<{
7323
7323
  context?: Record<string, unknown> | undefined;
7324
7324
  };
7325
7325
  }[];
7326
- schemaVersion: 1;
7327
7326
  projectKey: string;
7327
+ schemaVersion: 1;
7328
7328
  ref: string;
7329
7329
  commitSha: string;
7330
7330
  reconcilerVersion: string;
package/dist/config.d.ts CHANGED
@@ -30,11 +30,11 @@ export declare const LockstepConfig: z.ZodObject<{
30
30
  codegenOutput: string;
31
31
  }>>;
32
32
  }, "strip", z.ZodTypeAny, {
33
+ seams: string[];
33
34
  projectKey: string;
34
35
  apiBaseUrl: string;
35
36
  journeysGlob: string;
36
37
  scenariosPath: string;
37
- seams: string[];
38
38
  visualDiffThreshold: number;
39
39
  bootCommand: string;
40
40
  port: number;
@@ -45,9 +45,9 @@ export declare const LockstepConfig: z.ZodObject<{
45
45
  codegenOutput: string;
46
46
  } | undefined;
47
47
  }, {
48
+ seams: string[];
48
49
  projectKey: string;
49
50
  apiBaseUrl: string;
50
- seams: string[];
51
51
  bootCommand: string;
52
52
  port: number;
53
53
  journeysGlob?: string | undefined;
package/dist/run.d.ts CHANGED
@@ -1231,8 +1231,8 @@ export declare const RunPayload: z.ZodObject<{
1231
1231
  context?: Record<string, unknown> | undefined;
1232
1232
  };
1233
1233
  }[];
1234
- schemaVersion: 1;
1235
1234
  projectKey: string;
1235
+ schemaVersion: 1;
1236
1236
  ref: string;
1237
1237
  commitSha: string;
1238
1238
  prNumber: number | null;
@@ -1360,8 +1360,8 @@ export declare const RunPayload: z.ZodObject<{
1360
1360
  context?: Record<string, unknown> | undefined;
1361
1361
  };
1362
1362
  }[];
1363
- schemaVersion: 1;
1364
1363
  projectKey: string;
1364
+ schemaVersion: 1;
1365
1365
  ref: string;
1366
1366
  commitSha: string;
1367
1367
  env: "staging" | "prod" | "preview";
package/dist/verdict.d.ts CHANGED
@@ -14,18 +14,18 @@ export declare const Verdict: z.ZodObject<{
14
14
  value: z.ZodEnum<["matched", "missing", "undeclared", "changed", "held", "planned"]>;
15
15
  detail: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16
16
  }, "strip", z.ZodTypeAny, {
17
- value: "matched" | "missing" | "undeclared" | "changed" | "held" | "planned";
17
+ value: "planned" | "matched" | "missing" | "undeclared" | "changed" | "held";
18
18
  journeyKey: string | null;
19
+ family: "structural" | "visual" | "contract" | "executable";
19
20
  elementKind: "state" | "transition" | "screenshot" | "operation";
20
21
  elementKey: string;
21
- family: "structural" | "executable" | "visual" | "contract";
22
22
  detail: Record<string, unknown>;
23
23
  }, {
24
- value: "matched" | "missing" | "undeclared" | "changed" | "held" | "planned";
24
+ value: "planned" | "matched" | "missing" | "undeclared" | "changed" | "held";
25
25
  journeyKey: string | null;
26
+ family: "structural" | "visual" | "contract" | "executable";
26
27
  elementKind: "state" | "transition" | "screenshot" | "operation";
27
28
  elementKey: string;
28
- family: "structural" | "executable" | "visual" | "contract";
29
29
  detail?: Record<string, unknown> | undefined;
30
30
  }>;
31
31
  export type Verdict = z.infer<typeof Verdict>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junejuly-lockstep/model",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Shared zod schemas and types for Lockstep: journey model, run payload, verdicts, cards, API request and response shapes.",
5
5
  "license": "MIT",
6
6
  "repository": {