@contentful/experience-design-system-types 2.37.1-dev-build-5bd13138.0 → 2.37.1-dev-build-97b615d3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-types",
3
- "version": "2.37.1-dev-build-5bd13138.0",
3
+ "version": "2.37.1-dev-build-97b615d3.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "./dist/src/index.js",
@@ -1,20 +1,14 @@
1
1
  import * as z from 'zod/mini';
2
2
  export declare const HANDOFF_ENV = "EDS_IMPORT_HANDOFF";
3
3
  declare const ImportHandoffSchema: z.ZodMiniObject<{
4
- /** The user skipped the credentials screen, so nothing is fetched from or pushed to Contentful. */
5
4
  credentialsSkipped: z.ZodMiniBoolean<boolean>;
6
5
  tokens: z.ZodMiniObject<{
7
- /**
8
- * What to do about an existing `tokens.json`.
9
- * reuse: keep it. regenerate: build it again with the cache off. generate: nothing was asked, build it as usual.
10
- */
11
6
  strategy: z.ZodMiniEnum<{
12
7
  reuse: "reuse";
13
8
  regenerate: "regenerate";
14
9
  generate: "generate";
15
10
  }>;
16
11
  }, z.core.$strip>;
17
- /** Present once the CLI has run the extraction stage; the wizard then starts at the scope gate. */
18
12
  extraction: z.ZodMiniOptional<z.ZodMiniObject<{
19
13
  sessionId: z.ZodMiniString<string>;
20
14
  outDir: z.ZodMiniString<string>;
@@ -22,34 +16,21 @@ declare const ImportHandoffSchema: z.ZodMiniObject<{
22
16
  tokenSessionId: z.ZodMiniNullable<z.ZodMiniString<string>>;
23
17
  tokenCount: z.ZodMiniNumber<number>;
24
18
  existingEntitiesPath: z.ZodMiniNullable<z.ZodMiniString<string>>;
25
- /** Never 'running': the wizard starts its background cache check only once this has settled. */
26
19
  existingEntitiesStatus: z.ZodMiniEnum<{
27
20
  failed: "failed";
28
21
  idle: "idle";
29
22
  complete: "complete";
30
23
  }>;
31
- /** The only phases the scope gate can start from. */
32
24
  compositionPhase: z.ZodMiniEnum<{
33
25
  done: "done";
34
26
  "cache-hit": "cache-hit";
35
27
  }>;
36
28
  }, z.core.$strip>>;
37
- /**
38
- * Present once the CLI has shown the scope gate, saved the decisions and generated the definitions; the wizard then
39
- * starts at the review screen (or goes straight to pushing when nothing was accepted).
40
- */
41
29
  generation: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
42
30
  route: z.ZodMiniLiteral<"review">;
43
- /** The session the generated definitions are in. The review screen opens it, and saving and pushing read it. */
44
31
  sessionId: z.ZodMiniString<string>;
45
- /** How many components the user accepted at the scope gate. */
46
32
  acceptedCount: z.ZodMiniNumber<number>;
47
- /** How many definitions were generated, which can differ from the accepted count. */
48
33
  generatedCount: z.ZodMiniNumber<number>;
49
- /**
50
- * Whether token mapping was worth running (there were design props that are tokens, and tokens to map them from).
51
- * The step count the wizard shows depends on it.
52
- */
53
34
  mapTokensEligible: z.ZodMiniBoolean<boolean>;
54
35
  }, z.core.$strip>, z.ZodMiniObject<{
55
36
  route: z.ZodMiniLiteral<"push">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-types",
3
- "version": "2.37.1-dev-build-5bd13138.0",
3
+ "version": "2.37.1-dev-build-97b615d3.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "./dist/src/index.js",