polen 0.11.0-next.24 → 0.11.0-next.25

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.
Files changed (188) hide show
  1. package/build/api/config/input.d.ts +76 -77
  2. package/build/api/config/input.d.ts.map +1 -1
  3. package/build/api/config/normalized.d.ts +136 -143
  4. package/build/api/config/normalized.d.ts.map +1 -1
  5. package/build/api/config-template/template.d.ts +110 -121
  6. package/build/api/config-template/template.d.ts.map +1 -1
  7. package/build/api/examples/diagnostic/diagnostic.d.ts +0 -23
  8. package/build/api/examples/diagnostic/diagnostic.d.ts.map +1 -1
  9. package/build/api/examples/diagnostic/diagnostic.js +1 -3
  10. package/build/api/examples/diagnostic/diagnostic.js.map +1 -1
  11. package/build/api/examples/scanner.d.ts +27 -1
  12. package/build/api/examples/scanner.d.ts.map +1 -1
  13. package/build/api/examples/scanner.js +19 -17
  14. package/build/api/examples/scanner.js.map +1 -1
  15. package/build/api/examples/schemas/catalog.d.ts +20 -12
  16. package/build/api/examples/schemas/catalog.d.ts.map +1 -1
  17. package/build/api/examples/schemas/example/example.d.ts +17 -11
  18. package/build/api/examples/schemas/example/example.d.ts.map +1 -1
  19. package/build/api/schema/augmentations/$$.d.ts +7 -0
  20. package/build/api/schema/augmentations/$$.d.ts.map +1 -0
  21. package/build/api/schema/augmentations/$$.js +7 -0
  22. package/build/api/schema/augmentations/$$.js.map +1 -0
  23. package/build/api/schema/augmentations/$.d.ts +1 -1
  24. package/build/api/schema/augmentations/$.d.ts.map +1 -1
  25. package/build/api/schema/augmentations/$.js +1 -1
  26. package/build/api/schema/augmentations/$.js.map +1 -1
  27. package/build/api/schema/augmentations/apply.d.ts +29 -0
  28. package/build/api/schema/augmentations/apply.d.ts.map +1 -0
  29. package/build/api/schema/augmentations/apply.js +181 -0
  30. package/build/api/schema/augmentations/apply.js.map +1 -0
  31. package/build/api/schema/augmentations/augmentation.d.ts +31 -0
  32. package/build/api/schema/augmentations/augmentation.d.ts.map +1 -0
  33. package/build/api/schema/augmentations/augmentation.js +22 -0
  34. package/build/api/schema/augmentations/augmentation.js.map +1 -0
  35. package/build/api/schema/augmentations/config.d.ts +24 -0
  36. package/build/api/schema/augmentations/config.d.ts.map +1 -0
  37. package/build/api/schema/augmentations/config.js +9 -0
  38. package/build/api/schema/augmentations/config.js.map +1 -0
  39. package/build/api/schema/augmentations/diagnostics/diagnostic.d.ts +67 -0
  40. package/build/api/schema/augmentations/diagnostics/diagnostic.d.ts.map +1 -0
  41. package/build/api/schema/augmentations/diagnostics/diagnostic.js +13 -0
  42. package/build/api/schema/augmentations/diagnostics/diagnostic.js.map +1 -0
  43. package/build/api/schema/augmentations/diagnostics/duplicate-version.d.ts +45 -0
  44. package/build/api/schema/augmentations/diagnostics/duplicate-version.d.ts.map +1 -0
  45. package/build/api/schema/augmentations/diagnostics/duplicate-version.js +17 -0
  46. package/build/api/schema/augmentations/diagnostics/duplicate-version.js.map +1 -0
  47. package/build/api/schema/augmentations/diagnostics/invalid-path.d.ts +46 -0
  48. package/build/api/schema/augmentations/diagnostics/invalid-path.d.ts.map +1 -0
  49. package/build/api/schema/augmentations/diagnostics/invalid-path.js +18 -0
  50. package/build/api/schema/augmentations/diagnostics/invalid-path.js.map +1 -0
  51. package/build/api/schema/augmentations/diagnostics/version-mismatch.d.ts +46 -0
  52. package/build/api/schema/augmentations/diagnostics/version-mismatch.d.ts.map +1 -0
  53. package/build/api/schema/augmentations/diagnostics/version-mismatch.js +18 -0
  54. package/build/api/schema/augmentations/diagnostics/version-mismatch.js.map +1 -0
  55. package/build/api/schema/augmentations/input.d.ts +145 -0
  56. package/build/api/schema/augmentations/input.d.ts.map +1 -0
  57. package/build/api/schema/augmentations/input.js +191 -0
  58. package/build/api/schema/augmentations/input.js.map +1 -0
  59. package/build/api/schema/augmentations/placement.d.ts +8 -0
  60. package/build/api/schema/augmentations/placement.d.ts.map +1 -0
  61. package/build/api/schema/augmentations/placement.js +7 -0
  62. package/build/api/schema/augmentations/placement.js.map +1 -0
  63. package/build/api/schema/config-schema.d.ts +66 -66
  64. package/build/api/schema/config-schema.d.ts.map +1 -1
  65. package/build/api/schema/config-schema.js +2 -2
  66. package/build/api/schema/config-schema.js.map +1 -1
  67. package/build/api/schema/input-source/load.d.ts +2 -0
  68. package/build/api/schema/input-source/load.d.ts.map +1 -1
  69. package/build/api/schema/input-source/load.js.map +1 -1
  70. package/build/api/schema/input-sources/directory.d.ts +39 -39
  71. package/build/api/schema/input-sources/file.d.ts +39 -39
  72. package/build/api/schema/input-sources/introspection-file.d.ts +39 -39
  73. package/build/api/schema/input-sources/introspection.d.ts +39 -39
  74. package/build/api/schema/input-sources/memory.d.ts +39 -39
  75. package/build/api/schema/input-sources/versioned-directory.d.ts +79 -79
  76. package/build/api/schema/load.d.ts.map +1 -1
  77. package/build/api/schema/load.js +9 -2
  78. package/build/api/schema/load.js.map +1 -1
  79. package/build/lib/catalog/catalog.d.ts +1181 -1181
  80. package/build/lib/catalog/unversioned.d.ts +312 -312
  81. package/build/lib/catalog/versioned.d.ts +634 -634
  82. package/build/lib/change/change.d.ts +238 -238
  83. package/build/lib/document/document.d.ts +14 -8
  84. package/build/lib/document/document.d.ts.map +1 -1
  85. package/build/lib/document/versioned.d.ts +17 -10
  86. package/build/lib/document/versioned.d.ts.map +1 -1
  87. package/build/lib/grafaid/schema/KindMap/_.d.ts +1 -1
  88. package/build/lib/graphql-path/$$.d.ts +7 -13
  89. package/build/lib/graphql-path/$$.d.ts.map +1 -1
  90. package/build/lib/graphql-path/$$.js +7 -13
  91. package/build/lib/graphql-path/$$.js.map +1 -1
  92. package/build/lib/graphql-path/definition.d.ts +104 -94
  93. package/build/lib/graphql-path/definition.d.ts.map +1 -1
  94. package/build/lib/graphql-path/definition.js +126 -125
  95. package/build/lib/graphql-path/definition.js.map +1 -1
  96. package/build/lib/graphql-path/query.d.ts +25 -57
  97. package/build/lib/graphql-path/query.d.ts.map +1 -1
  98. package/build/lib/graphql-path/query.js +15 -93
  99. package/build/lib/graphql-path/query.js.map +1 -1
  100. package/build/lib/graphql-path/schema.d.ts +49 -0
  101. package/build/lib/graphql-path/schema.d.ts.map +1 -0
  102. package/build/lib/graphql-path/schema.js +89 -0
  103. package/build/lib/graphql-path/schema.js.map +1 -0
  104. package/build/lib/graphql-path/types.d.ts +76 -28
  105. package/build/lib/graphql-path/types.d.ts.map +1 -1
  106. package/build/lib/graphql-path/types.js +101 -2
  107. package/build/lib/graphql-path/types.js.map +1 -1
  108. package/build/lib/revision/revision.d.ts +1170 -1170
  109. package/build/lib/schema/schema.d.ts +708 -708
  110. package/build/lib/schema/unversioned.d.ts +1092 -1092
  111. package/build/lib/schema/versioned.d.ts +634 -634
  112. package/build/lib/semver/official-release.d.ts +10 -10
  113. package/build/lib/semver/pre-release.d.ts +10 -10
  114. package/build/lib/semver/semver.d.ts +50 -50
  115. package/build/lib/version-coverage/version-coverage.d.ts +43 -11
  116. package/build/lib/version-coverage/version-coverage.d.ts.map +1 -1
  117. package/build/lib/version-coverage/version-coverage.js +40 -6
  118. package/build/lib/version-coverage/version-coverage.js.map +1 -1
  119. package/build/template/hooks/use-examples.d.ts +1 -1
  120. package/build/template/routes/changelog/ChangelogSidebar.d.ts +2 -2
  121. package/build/template/routes/changelog/ChangelogSidebar.d.ts.map +1 -1
  122. package/build/template/routes/changelog/ChangelogSidebar.js +4 -4
  123. package/build/template/routes/changelog/ChangelogSidebar.js.map +1 -1
  124. package/build/template/routes/examples/_.d.ts +3 -3
  125. package/build/template/routes/examples/_index.d.ts +2 -2
  126. package/build/template/routes/examples/name.d.ts +3 -3
  127. package/build/template/stores/changelog.d.ts +39 -39
  128. package/build/vite/plugins/examples.d.ts.map +1 -1
  129. package/build/vite/plugins/examples.js +0 -2
  130. package/build/vite/plugins/examples.js.map +1 -1
  131. package/build/vite/plugins/schemas.d.ts.map +1 -1
  132. package/build/vite/plugins/schemas.js +38 -2
  133. package/build/vite/plugins/schemas.js.map +1 -1
  134. package/package.json +1 -1
  135. package/src/api/examples/diagnostic/diagnostic.ts +0 -3
  136. package/src/api/examples/scanner.test.ts +83 -0
  137. package/src/api/examples/scanner.ts +17 -21
  138. package/src/api/schema/augmentations/$$.ts +6 -0
  139. package/src/api/schema/augmentations/$.ts +1 -1
  140. package/src/api/schema/augmentations/apply.test.ts +89 -0
  141. package/src/api/schema/augmentations/apply.ts +277 -0
  142. package/src/api/schema/augmentations/augmentation.ts +24 -0
  143. package/src/api/schema/augmentations/config.ts +11 -0
  144. package/src/api/schema/augmentations/diagnostics/diagnostic.ts +20 -0
  145. package/src/api/schema/augmentations/diagnostics/duplicate-version.ts +20 -0
  146. package/src/api/schema/augmentations/diagnostics/invalid-path.ts +21 -0
  147. package/src/api/schema/augmentations/diagnostics/version-mismatch.ts +21 -0
  148. package/src/api/schema/augmentations/input.test.ts +144 -0
  149. package/src/api/schema/augmentations/input.ts +215 -0
  150. package/src/api/schema/augmentations/placement.ts +11 -0
  151. package/src/api/schema/config-schema.ts +2 -2
  152. package/src/api/schema/input-source/load.ts +2 -0
  153. package/src/api/schema/load.ts +19 -2
  154. package/src/lib/graphql-path/$$.ts +7 -13
  155. package/src/lib/graphql-path/$.test.ts +175 -0
  156. package/src/lib/graphql-path/definition.ts +162 -162
  157. package/src/lib/graphql-path/query.ts +15 -98
  158. package/src/lib/graphql-path/schema.ts +136 -0
  159. package/src/lib/graphql-path/types.ts +108 -28
  160. package/src/lib/version-coverage/version-coverage.ts +48 -6
  161. package/src/template/routes/changelog/ChangelogSidebar.tsx +4 -4
  162. package/src/vite/plugins/examples.ts +0 -2
  163. package/src/vite/plugins/schemas.ts +51 -2
  164. package/build/api/examples/diagnostic/unused-default.d.ts +0 -49
  165. package/build/api/examples/diagnostic/unused-default.d.ts.map +0 -1
  166. package/build/api/examples/diagnostic/unused-default.js +0 -19
  167. package/build/api/examples/diagnostic/unused-default.js.map +0 -1
  168. package/build/api/schema/augmentations/augmentations/description.d.ts +0 -26
  169. package/build/api/schema/augmentations/augmentations/description.d.ts.map +0 -1
  170. package/build/api/schema/augmentations/augmentations/description.js +0 -55
  171. package/build/api/schema/augmentations/augmentations/description.js.map +0 -1
  172. package/build/api/schema/augmentations/schema-augmentation.d.ts +0 -20
  173. package/build/api/schema/augmentations/schema-augmentation.d.ts.map +0 -1
  174. package/build/api/schema/augmentations/schema-augmentation.js +0 -22
  175. package/build/api/schema/augmentations/schema-augmentation.js.map +0 -1
  176. package/build/api/schema/augmentations/target.d.ts +0 -25
  177. package/build/api/schema/augmentations/target.d.ts.map +0 -1
  178. package/build/api/schema/augmentations/target.js +0 -39
  179. package/build/api/schema/augmentations/target.js.map +0 -1
  180. package/build/lib/graphql-path/constructors.d.ts +0 -57
  181. package/build/lib/graphql-path/constructors.d.ts.map +0 -1
  182. package/build/lib/graphql-path/constructors.js +0 -73
  183. package/build/lib/graphql-path/constructors.js.map +0 -1
  184. package/src/api/examples/diagnostic/unused-default.ts +0 -22
  185. package/src/api/schema/augmentations/augmentations/description.ts +0 -69
  186. package/src/api/schema/augmentations/schema-augmentation.ts +0 -32
  187. package/src/api/schema/augmentations/target.ts +0 -61
  188. package/src/lib/graphql-path/constructors.ts +0 -81
@@ -1,22 +1,48 @@
1
1
  import { S } from '#lib/kit-temp/effect';
2
2
  import { Version } from '#lib/version/$';
3
3
  import { HashSet } from 'effect';
4
+ declare const VersionCoverageUnversioned_base: S.TaggedClass<VersionCoverageUnversioned, "VersionCoverageUnversioned", {
5
+ readonly _tag: S.tag<"VersionCoverageUnversioned">;
6
+ }>;
7
+ export declare class VersionCoverageUnversioned extends VersionCoverageUnversioned_base {
8
+ }
4
9
  export declare const VersionCoverageOne: S.transformOrFail<S.Union<[typeof S.String, typeof S.Number]>, S.Union<[typeof Version.IntegerVersion.Integer, typeof Version.SemverVersion.Semver, typeof Version.DateVersion.Date, typeof Version.CustomVersion.Custom]>, never>;
5
10
  export declare const VersionCoverageSet: S.HashSet<S.transformOrFail<S.Union<[typeof S.String, typeof S.Number]>, S.Union<[typeof Version.IntegerVersion.Integer, typeof Version.SemverVersion.Semver, typeof Version.DateVersion.Date, typeof Version.CustomVersion.Custom]>, never>>;
6
11
  /**
7
- * A selection of versions - either a single version or a set of versions.
12
+ * A selection of versions - either unversioned (applies to all), a single version, or a set of versions.
8
13
  * Used as keys in versioned documents to map version(s) to document content.
9
14
  */
10
- export declare const VersionCoverage: S.Union<[S.transformOrFail<S.Union<[typeof S.String, typeof S.Number]>, S.Union<[typeof Version.IntegerVersion.Integer, typeof Version.SemverVersion.Semver, typeof Version.DateVersion.Date, typeof Version.CustomVersion.Custom]>, never>, S.HashSet<S.transformOrFail<S.Union<[typeof S.String, typeof S.Number]>, S.Union<[typeof Version.IntegerVersion.Integer, typeof Version.SemverVersion.Semver, typeof Version.DateVersion.Date, typeof Version.CustomVersion.Custom]>, never>>]>;
15
+ export declare const VersionCoverage: S.Union<[typeof VersionCoverageUnversioned, S.transformOrFail<S.Union<[typeof S.String, typeof S.Number]>, S.Union<[typeof Version.IntegerVersion.Integer, typeof Version.SemverVersion.Semver, typeof Version.DateVersion.Date, typeof Version.CustomVersion.Custom]>, never>, S.HashSet<S.transformOrFail<S.Union<[typeof S.String, typeof S.Number]>, S.Union<[typeof Version.IntegerVersion.Integer, typeof Version.SemverVersion.Semver, typeof Version.DateVersion.Date, typeof Version.CustomVersion.Custom]>, never>>]>;
11
16
  export type VersionCoverage = S.Schema.Type<typeof VersionCoverage>;
12
- export declare const is: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions | number) => u is Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver | HashSet.HashSet<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver>;
13
- export declare const isSingle: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions | number) => u is Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver;
14
- export declare const isSet: (selection: VersionCoverage) => selection is HashSet.HashSet<Version.Version>;
15
- export declare const decode: (i: string | number | readonly (string | number)[], overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver | HashSet.HashSet<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver>, import("effect/ParseResult").ParseError, never>;
16
- export declare const decodeSync: (i: string | number | readonly (string | number)[], overrideOptions?: import("effect/SchemaAST").ParseOptions) => Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver | HashSet.HashSet<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver>;
17
- export declare const encode: (a: Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver | HashSet.HashSet<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver>, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<string | number | readonly (string | number)[], import("effect/ParseResult").ParseError, never>;
18
- export declare const encodeSync: (a: Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver | HashSet.HashSet<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver>, overrideOptions?: import("effect/SchemaAST").ParseOptions) => string | number | readonly (string | number)[];
19
- export declare const equivalence: import("effect/Equivalence").Equivalence<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver | HashSet.HashSet<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver>>;
17
+ /**
18
+ * Create an unversioned coverage that applies to all versions
19
+ */
20
+ export declare const unversioned: () => VersionCoverage;
21
+ /**
22
+ * Create a single version coverage
23
+ */
24
+ export declare const single: (version: Version.Version) => VersionCoverage;
25
+ /**
26
+ * Create a version set coverage
27
+ */
28
+ export declare const set: (versions: Version.Version[]) => VersionCoverage;
29
+ export declare const is: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions | number) => u is Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver | VersionCoverageUnversioned | HashSet.HashSet<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver>;
30
+ export declare const isUnversioned: (coverage: VersionCoverage) => coverage is VersionCoverageUnversioned;
31
+ export declare const isSingle: (coverage: VersionCoverage) => coverage is Version.Version;
32
+ export declare const isSet: (coverage: VersionCoverage) => coverage is HashSet.HashSet<Version.Version>;
33
+ export declare const decode: (i: string | number | readonly (string | number)[] | {
34
+ readonly _tag: "VersionCoverageUnversioned";
35
+ }, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver | VersionCoverageUnversioned | HashSet.HashSet<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver>, import("effect/ParseResult").ParseError, never>;
36
+ export declare const decodeSync: (i: string | number | readonly (string | number)[] | {
37
+ readonly _tag: "VersionCoverageUnversioned";
38
+ }, overrideOptions?: import("effect/SchemaAST").ParseOptions) => Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver | VersionCoverageUnversioned | HashSet.HashSet<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver>;
39
+ export declare const encode: (a: Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver | VersionCoverageUnversioned | HashSet.HashSet<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver>, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<string | number | readonly (string | number)[] | {
40
+ readonly _tag: "VersionCoverageUnversioned";
41
+ }, import("effect/ParseResult").ParseError, never>;
42
+ export declare const encodeSync: (a: Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver | VersionCoverageUnversioned | HashSet.HashSet<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver>, overrideOptions?: import("effect/SchemaAST").ParseOptions) => string | number | readonly (string | number)[] | {
43
+ readonly _tag: "VersionCoverageUnversioned";
44
+ };
45
+ export declare const equivalence: import("effect/Equivalence").Equivalence<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver | VersionCoverageUnversioned | HashSet.HashSet<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver>>;
20
46
  /**
21
47
  * Check if a version is contained in a selection
22
48
  */
@@ -36,7 +62,13 @@ export declare const toVersions: (versionCoverage: VersionCoverage) => Version.V
36
62
  *
37
63
  * @param versionCoverage - The version coverage to get the latest version from
38
64
  * @returns The latest version
39
- * @throws {Error} If the version set is empty
65
+ * @throws {Error} If the version set is empty or if called on unversioned coverage
40
66
  */
41
67
  export declare const getLatest: (versionCoverage: VersionCoverage) => Version.Version;
68
+ /**
69
+ * Check if a version coverage matches a specific version.
70
+ * Unversioned always matches, single version must be equal, set must contain the version.
71
+ */
72
+ export declare const matches: (coverage: VersionCoverage, version: Version.Version) => boolean;
73
+ export {};
42
74
  //# sourceMappingURL=version-coverage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version-coverage.d.ts","sourceRoot":"","sources":["../../../src/lib/version-coverage/version-coverage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,sBAAsB,CAAA;A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;GAEG;AACH,eAAO,MAAM,OAAO,GAAI,iBAAiB,eAAe,KAAG,MAK1D,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,iBAAiB,eAAe,KAAG,OAAO,CAAC,OAAO,EAQ5E,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,GAAI,iBAAiB,eAAe,KAAG,OAAO,CAAC,OAiBpE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,OAAO,GAAI,UAAU,eAAe,EAAE,SAAS,OAAO,CAAC,OAAO,KAAG,OAE7E,CAAA"}
@@ -4,25 +4,40 @@ import { Array, HashSet, pipe } from 'effect';
4
4
  // ============================================================================
5
5
  // Schema
6
6
  // ============================================================================
7
+ export class VersionCoverageUnversioned extends S.TaggedClass()('VersionCoverageUnversioned', {}) {
8
+ }
7
9
  export const VersionCoverageOne = Version.Version;
8
10
  export const VersionCoverageSet = S.HashSet(Version.Version);
9
11
  /**
10
- * A selection of versions - either a single version or a set of versions.
12
+ * A selection of versions - either unversioned (applies to all), a single version, or a set of versions.
11
13
  * Used as keys in versioned documents to map version(s) to document content.
12
14
  */
13
- export const VersionCoverage = S.Union(VersionCoverageOne, VersionCoverageSet).annotations({
15
+ export const VersionCoverage = S.Union(VersionCoverageUnversioned, VersionCoverageOne, VersionCoverageSet).annotations({
14
16
  identifier: 'VersionCoverage',
15
- description: 'A single version or set of versions',
17
+ description: 'Unversioned (all versions), a single version, or a set of versions',
16
18
  });
17
19
  // ============================================================================
18
20
  // Constructors
19
21
  // ============================================================================
22
+ /**
23
+ * Create an unversioned coverage that applies to all versions
24
+ */
25
+ export const unversioned = () => new VersionCoverageUnversioned({});
26
+ /**
27
+ * Create a single version coverage
28
+ */
29
+ export const single = (version) => version;
30
+ /**
31
+ * Create a version set coverage
32
+ */
33
+ export const set = (versions) => HashSet.fromIterable(versions);
20
34
  // ============================================================================
21
35
  // Type Guards
22
36
  // ============================================================================
23
37
  export const is = S.is(VersionCoverage);
24
- export const isSingle = Version.is;
25
- export const isSet = (selection) => !Version.is(selection);
38
+ export const isUnversioned = (coverage) => coverage instanceof VersionCoverageUnversioned;
39
+ export const isSingle = (coverage) => Version.is(coverage);
40
+ export const isSet = (coverage) => !isUnversioned(coverage) && !Version.is(coverage);
26
41
  // ============================================================================
27
42
  // Codec
28
43
  // ============================================================================
@@ -41,6 +56,9 @@ export const equivalence = S.equivalence(VersionCoverage);
41
56
  * Check if a version is contained in a selection
42
57
  */
43
58
  export const contains = (versionCoverage, version) => {
59
+ if (isUnversioned(versionCoverage)) {
60
+ return true; // Unversioned applies to all versions
61
+ }
44
62
  if (Version.is(versionCoverage)) {
45
63
  return Version.equivalence(versionCoverage, version);
46
64
  }
@@ -50,12 +68,18 @@ export const contains = (versionCoverage, version) => {
50
68
  * Get display label for UI
51
69
  */
52
70
  export const toLabel = (versionCoverage) => {
71
+ if (isUnversioned(versionCoverage)) {
72
+ return 'All Versions';
73
+ }
53
74
  return pipe(versionCoverage, encodeSync, Array.ensure, Array.map(_ => _.toString()), Array.join(', '));
54
75
  };
55
76
  /**
56
77
  * Get all versions from a selection
57
78
  */
58
79
  export const toVersions = (versionCoverage) => {
80
+ if (isUnversioned(versionCoverage)) {
81
+ return []; // Unversioned doesn't map to specific versions
82
+ }
59
83
  if (Version.is(versionCoverage)) {
60
84
  return [versionCoverage];
61
85
  }
@@ -68,9 +92,12 @@ export const toVersions = (versionCoverage) => {
68
92
  *
69
93
  * @param versionCoverage - The version coverage to get the latest version from
70
94
  * @returns The latest version
71
- * @throws {Error} If the version set is empty
95
+ * @throws {Error} If the version set is empty or if called on unversioned coverage
72
96
  */
73
97
  export const getLatest = (versionCoverage) => {
98
+ if (isUnversioned(versionCoverage)) {
99
+ throw new Error('Cannot get latest version from unversioned coverage');
100
+ }
74
101
  if (Version.is(versionCoverage)) {
75
102
  return versionCoverage;
76
103
  }
@@ -83,4 +110,11 @@ export const getLatest = (versionCoverage) => {
83
110
  // Reduce the array to find the maximum
84
111
  return versions.reduce((latest, current) => Version.max(latest, current));
85
112
  };
113
+ /**
114
+ * Check if a version coverage matches a specific version.
115
+ * Unversioned always matches, single version must be equal, set must contain the version.
116
+ */
117
+ export const matches = (coverage, version) => {
118
+ return contains(coverage, version);
119
+ };
86
120
  //# sourceMappingURL=version-coverage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version-coverage.js","sourceRoot":"","sources":["../../../src/lib/version-coverage/version-coverage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,sBAAsB,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AACxC,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAE7C,+EAA+E;AAC/E,SAAS;AACT,+EAA+E;AAE/E,MAAM,CAAC,MAAM,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAA;AACjD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;AAE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CACpC,kBAAkB,EAClB,kBAAkB,CACnB,CAAC,WAAW,CAAC;IACZ,UAAU,EAAE,iBAAiB;IAC7B,WAAW,EAAE,qCAAqC;CACnD,CAAC,CAAA;AAQF,+EAA+E;AAC/E,eAAe;AACf,+EAA+E;AAE/E,+EAA+E;AAC/E,cAAc;AACd,+EAA+E;AAE/E,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAA;AAEvC,MAAM,CAAC,MAAM,QAAQ,GAAG,OAAO,CAAC,EAAE,CAAA;AAElC,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,SAA0B,EAAiD,EAAE,CACjG,CAAC,OAAO,CAAC,EAAE,CAAC,SAAS,CAAC,CAAA;AAExB,+EAA+E;AAC/E,QAAQ;AACR,+EA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IAAI,aAAa,CAAC,eAAe,CAAC,EAAE,CAAC;QACnC,OAAO,EAAE,CAAA,CAAC,+CAA+C;IAC3D,CAAC;IACD,IAAI,OAAO,CAAC,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC;QAChC,OAAO,CAAC,eAAe,CAAC,CAAA;IAC1B,CAAC;IACD,OAAO,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAA;AAC1C,CAAC,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,eAAgC,EAAmB,EAAE;IAC7E,IAAI,aAAa,CAAC,eAAe,CAAC,EAAE,CAAC;QACnC,MAAM,IAAI,KAAK,CAAC,qDAAqD,CAAC,CAAA;IACxE,CAAC;IACD,IAAI,OAAO,CAAC,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC;QAChC,OAAO,eAAe,CAAA;IACxB,CAAC;IAED,6CAA6C;IAC7C,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAA;IAClD,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAA;IACrE,CAAC;IAED,kDAAkD;IAClD,uCAAuC;IACvC,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;AAC3E,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,QAAyB,EAAE,OAAwB,EAAW,EAAE;IACtF,OAAO,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA;AACpC,CAAC,CAAA"}
@@ -13,7 +13,7 @@ export declare const useExamples: () => {
13
13
  readonly document: string;
14
14
  } | {
15
15
  readonly _tag: "DocumentVersioned";
16
- readonly versionDocuments: import("effect/HashMap").HashMap<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver | HashSet.HashSet<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver>, string>;
16
+ readonly versionDocuments: import("effect/HashMap").HashMap<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver | import("../../lib/version-coverage/version-coverage.js").VersionCoverageUnversioned | HashSet.HashSet<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver>, string>;
17
17
  };
18
18
  }[];
19
19
  readonly index?: {
@@ -1,5 +1,5 @@
1
- import { Catalog } from '#lib/catalog/$';
2
- import { Schema } from '#lib/schema/$';
1
+ import { Catalog } from '#lib/catalog';
2
+ import { Schema } from '#lib/schema';
3
3
  export declare const ChangelogSidebar: React.FC<{
4
4
  catalog: Catalog.Catalog;
5
5
  schema: Schema.Schema;
@@ -1 +1 @@
1
- {"version":3,"file":"ChangelogSidebar.d.ts","sourceRoot":"","sources":["../../../../src/template/routes/changelog/ChangelogSidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAStC,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC;IACtC,OAAO,EAAE,OAAO,CAAC,OAAO,CAAA;IACxB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAA;CACtB,CAkEA,CAAA"}
1
+ {"version":3,"file":"ChangelogSidebar.d.ts","sourceRoot":"","sources":["../../../../src/template/routes/changelog/ChangelogSidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AASpC,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC;IACtC,OAAO,EAAE,OAAO,CAAC,OAAO,CAAA;IACxB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAA;CACtB,CAkEA,CAAA"}
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Catalog } from '#lib/catalog/$';
3
- import { Schema } from '#lib/schema/$';
4
- import { Swiss } from '#lib/swiss/$';
2
+ import { Catalog } from '#lib/catalog';
3
+ import { Schema } from '#lib/schema';
4
+ import { Swiss } from '#lib/swiss';
5
5
  import { Version } from '#lib/version';
6
6
  import { Box, Text } from '@radix-ui/themes';
7
7
  import { useEffect, useState } from 'react';
8
- import { useNavigate, useParams } from 'react-router';
8
+ import { useNavigate } from 'react-router';
9
9
  import { VersionPicker } from '../../components/VersionPicker.js';
10
10
  import { ChangelogSidebarItem } from './ChangelogSidebarItem.js';
11
11
  export const ChangelogSidebar = ({ catalog, schema }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"ChangelogSidebar.js","sourceRoot":"","sources":["../../../../src/template/routes/changelog/ChangelogSidebar.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAA;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAA;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAEhE,MAAM,CAAC,MAAM,gBAAgB,GAGxB,CAAC,E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,EAAE,oBAAoB;gBAC/B,SAAS,EAAE,MAAM;aAClB,aAEA,OAAO,CAAC,SAAS,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CAC/D,KAAC,GAAG,IAAC,EAAE,EAAC,GAAG,YACT,KAAC,aAAa,IACZ,QAAQ,EAAE,OAAO,CAAC,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,EAChD,cAAc,EAAE,MAAM,CAAC,OAAO,EAC9B,eAAe,EAAE,CAAC,UAAU,EAAE,EAAE;4BAC9B,QAAQ,CAAC,sBAAsB,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC,CAAA;wBAClE,CAAC,GACD,GACE,CACP,EACD,KAAC,IAAI,IAAC,IAAI,EAAC,GAAG,EAAC,MAAM,EAAC,QAAQ,EAAC,EAAE,EAAC,GAAG,EAAC,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,0BAE1D,EACN,SAAS,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAC3B,KAAC,oBAAoB,IAEnB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,cAAc,KAAK,QAAQ,CAAC,IAAI,IAFrC,QAAQ,CAAC,IAAI,CAGlB,CACH,CAAC,IACS,CACd,CAAA;IACH,CAAC;AACH,CAAC,CAAA"}
@@ -10,7 +10,7 @@ declare const LayoutSchema: import("effect/Schema").Struct<{
10
10
  document: import("effect/Schema").Union<[import("effect/Schema").TaggedStruct<"DocumentUnversioned", {
11
11
  document: typeof import("effect/Schema").String;
12
12
  }>, import("effect/Schema").TaggedStruct<"DocumentVersioned", {
13
- versionDocuments: import("effect/Schema").HashMap<import("effect/Schema").Union<[import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof import("../../../lib/version/integer.js").Integer, typeof import("../../../lib/version/semver.js").Semver, typeof import("../../../lib/version/date.js").Date, typeof import("../../../lib/version/custom.js").Custom]>, never>, import("effect/Schema").HashSet<import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof import("../../../lib/version/integer.js").Integer, typeof import("../../../lib/version/semver.js").Semver, typeof import("../../../lib/version/date.js").Date, typeof import("../../../lib/version/custom.js").Custom]>, never>>]>, typeof import("effect/Schema").String>;
13
+ versionDocuments: import("effect/Schema").HashMap<import("effect/Schema").Union<[typeof import("../../../lib/version-coverage/version-coverage.js").VersionCoverageUnversioned, import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof import("../../../lib/version/integer.js").Integer, typeof import("../../../lib/version/semver.js").Semver, typeof import("../../../lib/version/date.js").Date, typeof import("../../../lib/version/custom.js").Custom]>, never>, import("effect/Schema").HashSet<import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof import("../../../lib/version/integer.js").Integer, typeof import("../../../lib/version/semver.js").Semver, typeof import("../../../lib/version/date.js").Date, typeof import("../../../lib/version/custom.js").Custom]>, never>>]>, typeof import("effect/Schema").String>;
14
14
  }>]>;
15
15
  }>>;
16
16
  index: import("effect/Schema").optional<import("effect/Schema").Struct<{
@@ -31,7 +31,7 @@ export declare const layoutLoader: () => Promise<{
31
31
  readonly document: string;
32
32
  } | {
33
33
  readonly _tag: "DocumentVersioned";
34
- readonly versionDocuments: import("effect/HashMap").HashMap<import("../../../lib/version/custom.js").Custom | import("../../../lib/version/date.js").Date | import("../../../lib/version/integer.js").Integer | import("../../../lib/version/semver.js").Semver | import("effect/HashSet").HashSet<import("../../../lib/version/custom.js").Custom | import("../../../lib/version/date.js").Date | import("../../../lib/version/integer.js").Integer | import("../../../lib/version/semver.js").Semver>, string>;
34
+ readonly versionDocuments: import("effect/HashMap").HashMap<import("../../../lib/version/custom.js").Custom | import("../../../lib/version/date.js").Date | import("../../../lib/version/integer.js").Integer | import("../../../lib/version/semver.js").Semver | import("../../../lib/version-coverage/version-coverage.js").VersionCoverageUnversioned | import("effect/HashSet").HashSet<import("../../../lib/version/custom.js").Custom | import("../../../lib/version/date.js").Date | import("../../../lib/version/integer.js").Integer | import("../../../lib/version/semver.js").Semver>, string>;
35
35
  };
36
36
  }[];
37
37
  readonly index?: {
@@ -49,7 +49,7 @@ export declare const examplesRoute: import("../../../lib/react-router-effect/typ
49
49
  document: import("effect/Schema").Union<[import("effect/Schema").TaggedStruct<"DocumentUnversioned", {
50
50
  document: typeof import("effect/Schema").String;
51
51
  }>, import("effect/Schema").TaggedStruct<"DocumentVersioned", {
52
- versionDocuments: import("effect/Schema").HashMap<import("effect/Schema").Union<[import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof import("../../../lib/version/integer.js").Integer, typeof import("../../../lib/version/semver.js").Semver, typeof import("../../../lib/version/date.js").Date, typeof import("../../../lib/version/custom.js").Custom]>, never>, import("effect/Schema").HashSet<import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof import("../../../lib/version/integer.js").Integer, typeof import("../../../lib/version/semver.js").Semver, typeof import("../../../lib/version/date.js").Date, typeof import("../../../lib/version/custom.js").Custom]>, never>>]>, typeof import("effect/Schema").String>;
52
+ versionDocuments: import("effect/Schema").HashMap<import("effect/Schema").Union<[typeof import("../../../lib/version-coverage/version-coverage.js").VersionCoverageUnversioned, import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof import("../../../lib/version/integer.js").Integer, typeof import("../../../lib/version/semver.js").Semver, typeof import("../../../lib/version/date.js").Date, typeof import("../../../lib/version/custom.js").Custom]>, never>, import("effect/Schema").HashSet<import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof import("../../../lib/version/integer.js").Integer, typeof import("../../../lib/version/semver.js").Semver, typeof import("../../../lib/version/date.js").Date, typeof import("../../../lib/version/custom.js").Custom]>, never>>]>, typeof import("effect/Schema").String>;
53
53
  }>]>;
54
54
  }>>;
55
55
  index: import("effect/Schema").optional<import("effect/Schema").Struct<{
@@ -7,7 +7,7 @@ export declare const loader: () => Promise<{
7
7
  readonly document: string;
8
8
  } | {
9
9
  readonly _tag: "DocumentVersioned";
10
- readonly versionDocuments: import("effect/HashMap").HashMap<import("../../../lib/version/custom.js").Custom | import("../../../lib/version/date.js").Date | import("../../../lib/version/integer.js").Integer | import("../../../lib/version/semver.js").Semver | import("effect/HashSet").HashSet<import("../../../lib/version/custom.js").Custom | import("../../../lib/version/date.js").Date | import("../../../lib/version/integer.js").Integer | import("../../../lib/version/semver.js").Semver>, string>;
10
+ readonly versionDocuments: import("effect/HashMap").HashMap<import("../../../lib/version/custom.js").Custom | import("../../../lib/version/date.js").Date | import("../../../lib/version/integer.js").Integer | import("../../../lib/version/semver.js").Semver | import("../../../lib/version-coverage/version-coverage.js").VersionCoverageUnversioned | import("effect/HashSet").HashSet<import("../../../lib/version/custom.js").Custom | import("../../../lib/version/date.js").Date | import("../../../lib/version/integer.js").Integer | import("../../../lib/version/semver.js").Semver>, string>;
11
11
  };
12
12
  }[];
13
13
  readonly index?: {
@@ -24,7 +24,7 @@ export declare const examplesIndexRoute: import("#lib/react-router-effect/react-
24
24
  document: import("effect/Schema").Union<[import("effect/Schema").TaggedStruct<"DocumentUnversioned", {
25
25
  document: typeof import("effect/Schema").String;
26
26
  }>, import("effect/Schema").TaggedStruct<"DocumentVersioned", {
27
- versionDocuments: import("effect/Schema").HashMap<import("effect/Schema").Union<[import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof import("../../../lib/version/integer.js").Integer, typeof import("../../../lib/version/semver.js").Semver, typeof import("../../../lib/version/date.js").Date, typeof import("../../../lib/version/custom.js").Custom]>, never>, import("effect/Schema").HashSet<import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof import("../../../lib/version/integer.js").Integer, typeof import("../../../lib/version/semver.js").Semver, typeof import("../../../lib/version/date.js").Date, typeof import("../../../lib/version/custom.js").Custom]>, never>>]>, typeof import("effect/Schema").String>;
27
+ versionDocuments: import("effect/Schema").HashMap<import("effect/Schema").Union<[typeof import("../../../lib/version-coverage/version-coverage.js").VersionCoverageUnversioned, import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof import("../../../lib/version/integer.js").Integer, typeof import("../../../lib/version/semver.js").Semver, typeof import("../../../lib/version/date.js").Date, typeof import("../../../lib/version/custom.js").Custom]>, never>, import("effect/Schema").HashSet<import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof import("../../../lib/version/integer.js").Integer, typeof import("../../../lib/version/semver.js").Semver, typeof import("../../../lib/version/date.js").Date, typeof import("../../../lib/version/custom.js").Custom]>, never>>]>, typeof import("effect/Schema").String>;
28
28
  }>]>;
29
29
  }>>;
30
30
  index: import("effect/Schema").optional<import("effect/Schema").Struct<{
@@ -5,7 +5,7 @@ export declare const NameSchema: import("effect/Schema").Struct<{
5
5
  document: import("effect/Schema").Union<[import("effect/Schema").TaggedStruct<"DocumentUnversioned", {
6
6
  document: typeof import("effect/Schema").String;
7
7
  }>, import("effect/Schema").TaggedStruct<"DocumentVersioned", {
8
- versionDocuments: import("effect/Schema").HashMap<import("effect/Schema").Union<[import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof Version.IntegerVersion.Integer, typeof Version.SemverVersion.Semver, typeof Version.DateVersion.Date, typeof Version.CustomVersion.Custom]>, never>, import("effect/Schema").HashSet<import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof Version.IntegerVersion.Integer, typeof Version.SemverVersion.Semver, typeof Version.DateVersion.Date, typeof Version.CustomVersion.Custom]>, never>>]>, typeof import("effect/Schema").String>;
8
+ versionDocuments: import("effect/Schema").HashMap<import("effect/Schema").Union<[typeof import("../../../lib/version-coverage/version-coverage.js").VersionCoverageUnversioned, import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof Version.IntegerVersion.Integer, typeof Version.SemverVersion.Semver, typeof Version.DateVersion.Date, typeof Version.CustomVersion.Custom]>, never>, import("effect/Schema").HashSet<import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof Version.IntegerVersion.Integer, typeof Version.SemverVersion.Semver, typeof Version.DateVersion.Date, typeof Version.CustomVersion.Custom]>, never>>]>, typeof import("effect/Schema").String>;
9
9
  }>]>;
10
10
  }>;
11
11
  export declare const nameLoader: ({ params }: any) => Promise<{
@@ -16,7 +16,7 @@ export declare const nameLoader: ({ params }: any) => Promise<{
16
16
  readonly document: string;
17
17
  } | {
18
18
  readonly _tag: "DocumentVersioned";
19
- readonly versionDocuments: import("effect/HashMap").HashMap<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver | import("effect/HashSet").HashSet<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver>, string>;
19
+ readonly versionDocuments: import("effect/HashMap").HashMap<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver | import("../../../lib/version-coverage/version-coverage.js").VersionCoverageUnversioned | import("effect/HashSet").HashSet<Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver>, string>;
20
20
  };
21
21
  }>;
22
22
  export declare const nameRoute: import("../../../lib/react-router-effect/types.js").SchemaRoute<import("effect/Schema").Struct<{
@@ -25,7 +25,7 @@ export declare const nameRoute: import("../../../lib/react-router-effect/types.j
25
25
  document: import("effect/Schema").Union<[import("effect/Schema").TaggedStruct<"DocumentUnversioned", {
26
26
  document: typeof import("effect/Schema").String;
27
27
  }>, import("effect/Schema").TaggedStruct<"DocumentVersioned", {
28
- versionDocuments: import("effect/Schema").HashMap<import("effect/Schema").Union<[import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof Version.IntegerVersion.Integer, typeof Version.SemverVersion.Semver, typeof Version.DateVersion.Date, typeof Version.CustomVersion.Custom]>, never>, import("effect/Schema").HashSet<import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof Version.IntegerVersion.Integer, typeof Version.SemverVersion.Semver, typeof Version.DateVersion.Date, typeof Version.CustomVersion.Custom]>, never>>]>, typeof import("effect/Schema").String>;
28
+ versionDocuments: import("effect/Schema").HashMap<import("effect/Schema").Union<[typeof import("../../../lib/version-coverage/version-coverage.js").VersionCoverageUnversioned, import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof Version.IntegerVersion.Integer, typeof Version.SemverVersion.Semver, typeof Version.DateVersion.Date, typeof Version.CustomVersion.Custom]>, never>, import("effect/Schema").HashSet<import("effect/Schema").transformOrFail<import("effect/Schema").Union<[typeof import("effect/Schema").String, typeof import("effect/Schema").Number]>, import("effect/Schema").Union<[typeof Version.IntegerVersion.Integer, typeof Version.SemverVersion.Semver, typeof Version.DateVersion.Date, typeof Version.CustomVersion.Custom]>, never>>]>, typeof import("effect/Schema").String>;
29
29
  }>]>;
30
30
  }>>;
31
31
  //# sourceMappingURL=name.d.ts.map