polen 0.11.0-next.21 → 0.11.0-next.23
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/build/api/config/normalized.d.ts +200 -200
- package/build/api/examples/schemas/catalog.d.ts +4 -4
- package/build/api/examples/schemas/type-usage-index.d.ts +5 -5
- package/build/api/examples/schemas/type-usage-index.js +2 -2
- package/build/api/examples/schemas/type-usage-index.js.map +1 -1
- package/build/api/examples/type-usage-indexer.d.ts.map +1 -1
- package/build/api/examples/type-usage-indexer.js +43 -37
- package/build/api/examples/type-usage-indexer.js.map +1 -1
- package/build/api/schema/input-sources/directory.d.ts +1 -1
- package/build/api/schema/input-sources/directory.js +3 -3
- package/build/api/schema/input-sources/directory.js.map +1 -1
- package/build/api/schema/input-sources/file.d.ts +1 -1
- package/build/api/schema/input-sources/file.js +3 -3
- package/build/api/schema/input-sources/file.js.map +1 -1
- package/build/api/schema/input-sources/introspection-file.d.ts +1 -1
- package/build/api/schema/input-sources/introspection.d.ts +1 -1
- package/build/api/schema/input-sources/memory.d.ts +1 -1
- package/build/api/schema/input-sources/memory.js +3 -3
- package/build/api/schema/input-sources/memory.js.map +1 -1
- package/build/api/schema/input-sources/versioned-directory.d.ts +2 -2
- package/build/api/schema/input-sources/versioned-directory.js +3 -3
- package/build/api/schema/input-sources/versioned-directory.js.map +1 -1
- package/build/cli/commands/open.js +1 -1
- package/build/cli/commands/open.js.map +1 -1
- package/build/lib/catalog/catalog.d.ts +30 -30
- package/build/lib/catalog/unversioned.d.ts +8 -8
- package/build/lib/catalog/versioned.d.ts +16 -16
- package/build/lib/change/change.d.ts +6 -6
- package/build/lib/grafaid/$$.d.ts +2 -0
- package/build/lib/grafaid/$$.d.ts.map +1 -1
- package/build/lib/grafaid/$$.js +2 -0
- package/build/lib/grafaid/$$.js.map +1 -1
- package/build/lib/grafaid/parse-error.d.ts +46 -0
- package/build/lib/grafaid/parse-error.d.ts.map +1 -0
- package/build/lib/grafaid/parse-error.js +29 -0
- package/build/lib/grafaid/parse-error.js.map +1 -0
- package/build/lib/grafaid/parse.d.ts +70 -0
- package/build/lib/grafaid/parse.d.ts.map +1 -0
- package/build/lib/grafaid/parse.js +119 -0
- package/build/lib/grafaid/parse.js.map +1 -0
- package/build/lib/grafaid/schema/ast.d.ts +0 -2
- package/build/lib/grafaid/schema/ast.d.ts.map +1 -1
- package/build/lib/grafaid/schema/ast.js +1 -7
- package/build/lib/grafaid/schema/ast.js.map +1 -1
- package/build/lib/grafaid/schema/read.js +2 -2
- package/build/lib/grafaid/schema/read.js.map +1 -1
- package/build/lib/grafaid/schema/schema.d.ts +2 -1
- package/build/lib/grafaid/schema/schema.d.ts.map +1 -1
- package/build/lib/grafaid/schema/schema.js +5 -1
- package/build/lib/grafaid/schema/schema.js.map +1 -1
- package/build/lib/graphql-schema-loader/graphql-schema-loader.d.ts.map +1 -1
- package/build/lib/graphql-schema-loader/graphql-schema-loader.js +4 -4
- package/build/lib/graphql-schema-loader/graphql-schema-loader.js.map +1 -1
- package/build/lib/revision/revision.d.ts +30 -30
- package/build/lib/schema/schema.d.ts +18 -18
- package/build/lib/schema/unversioned.d.ts +28 -28
- package/build/lib/schema/versioned.d.ts +16 -16
- package/build/template/components/ExampleLink.d.ts.map +1 -1
- package/build/template/components/ExampleLink.js +4 -2
- package/build/template/components/ExampleLink.js.map +1 -1
- package/build/template/components/NamedType.d.ts.map +1 -1
- package/build/template/components/NamedType.js +1 -1
- package/build/template/components/NamedType.js.map +1 -1
- package/build/template/components/VersionCoveragePicker.d.ts.map +1 -1
- package/build/template/components/VersionCoveragePicker.js +6 -1
- package/build/template/components/VersionCoveragePicker.js.map +1 -1
- package/build/template/components/navbar/DefaultNavbar.js +1 -1
- package/build/template/layouts/SidebarLayout.js +1 -1
- package/build/template/routes/changelog/ChangelogBody.d.ts.map +1 -1
- package/build/template/routes/changelog/ChangelogBody.js +1 -1
- package/build/template/routes/changelog/ChangelogBody.js.map +1 -1
- package/build/template/routes/changelog/ChangelogSidebar.js +1 -1
- package/build/template/routes/changelog/ChangelogSidebar.js.map +1 -1
- package/build/template/routes/index.js +1 -1
- package/build/template/routes/index.js.map +1 -1
- package/build/template/routes/root.d.ts.map +1 -1
- package/build/template/routes/root.js +5 -3
- package/build/template/routes/root.js.map +1 -1
- package/build/template/stores/changelog.d.ts +1 -1
- package/build/template/theme/swiss-sharp.css +1 -0
- package/build/vite/plugins/examples.d.ts.map +1 -1
- package/build/vite/plugins/examples.js +1 -2
- package/build/vite/plugins/examples.js.map +1 -1
- package/package.json +1 -1
- package/src/api/examples/schemas/type-usage-index.ts +2 -2
- package/src/api/examples/type-usage-indexer.test.ts +152 -234
- package/src/api/examples/type-usage-indexer.ts +66 -54
- package/src/api/schema/$.test.ts +1 -1
- package/src/api/schema/input-sources/directory.ts +3 -3
- package/src/api/schema/input-sources/file.ts +3 -3
- package/src/api/schema/input-sources/memory.ts +3 -3
- package/src/api/schema/input-sources/versioned-directory.ts +3 -3
- package/src/cli/commands/open.ts +1 -1
- package/src/lib/grafaid/$$.ts +2 -0
- package/src/lib/grafaid/parse-error.ts +69 -0
- package/src/lib/grafaid/parse.test.ts +175 -0
- package/src/lib/grafaid/parse.ts +165 -0
- package/src/lib/grafaid/schema/ast.ts +1 -9
- package/src/lib/grafaid/schema/read.ts +2 -2
- package/src/lib/grafaid/schema/schema.ts +10 -2
- package/src/lib/graphql-schema-loader/graphql-schema-loader.ts +4 -12
- package/src/lib/path-map/$.test.ts +28 -13
- package/src/template/components/ExampleLink.tsx +4 -2
- package/src/template/components/NamedType.tsx +5 -3
- package/src/template/components/VersionCoveragePicker.tsx +8 -2
- package/src/template/components/navbar/DefaultNavbar.tsx +1 -1
- package/src/template/layouts/SidebarLayout.tsx +1 -1
- package/src/template/routes/changelog/ChangelogBody.tsx +6 -2
- package/src/template/routes/changelog/ChangelogSidebar.tsx +1 -1
- package/src/template/routes/index.tsx +1 -1
- package/src/template/routes/root.tsx +5 -0
- package/src/template/theme/swiss-sharp.css +1 -0
- package/src/vite/plugins/examples.ts +1 -2
@@ -1129,6 +1129,46 @@ export declare const decode: (i: {
|
|
1129
1129
|
} | undefined;
|
1130
1130
|
} | undefined;
|
1131
1131
|
};
|
1132
|
+
readonly schema: {
|
1133
|
+
readonly enabled?: boolean | undefined;
|
1134
|
+
readonly augmentations?: readonly {
|
1135
|
+
readonly type: "description";
|
1136
|
+
readonly content: string;
|
1137
|
+
readonly on: {
|
1138
|
+
readonly name: string;
|
1139
|
+
readonly type: "TargetType";
|
1140
|
+
} | {
|
1141
|
+
readonly name: string;
|
1142
|
+
readonly type: "TargetField";
|
1143
|
+
readonly targetType: string;
|
1144
|
+
};
|
1145
|
+
readonly placement: "before" | "after" | "over";
|
1146
|
+
}[] | undefined;
|
1147
|
+
readonly useSources?: "file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile" | readonly ("file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile")[] | undefined;
|
1148
|
+
readonly sources?: {
|
1149
|
+
readonly file?: {
|
1150
|
+
readonly path?: string | undefined;
|
1151
|
+
} | undefined;
|
1152
|
+
readonly directory?: {
|
1153
|
+
readonly path?: string | undefined;
|
1154
|
+
} | undefined;
|
1155
|
+
readonly versionedDirectory?: {
|
1156
|
+
readonly path?: string | undefined;
|
1157
|
+
} | undefined;
|
1158
|
+
readonly memory?: {
|
1159
|
+
readonly revisions: unknown;
|
1160
|
+
} | undefined;
|
1161
|
+
readonly introspection?: {
|
1162
|
+
readonly url: string;
|
1163
|
+
readonly headers?: {
|
1164
|
+
readonly [x: string]: string;
|
1165
|
+
} | undefined;
|
1166
|
+
} | undefined;
|
1167
|
+
readonly introspectionFile?: {
|
1168
|
+
readonly path?: string | undefined;
|
1169
|
+
} | undefined;
|
1170
|
+
} | undefined;
|
1171
|
+
};
|
1132
1172
|
readonly ssr: {
|
1133
1173
|
readonly enabled: boolean;
|
1134
1174
|
};
|
@@ -1214,46 +1254,6 @@ export declare const decode: (i: {
|
|
1214
1254
|
};
|
1215
1255
|
};
|
1216
1256
|
};
|
1217
|
-
readonly schema: {
|
1218
|
-
readonly enabled?: boolean | undefined;
|
1219
|
-
readonly augmentations?: readonly {
|
1220
|
-
readonly type: "description";
|
1221
|
-
readonly content: string;
|
1222
|
-
readonly on: {
|
1223
|
-
readonly name: string;
|
1224
|
-
readonly type: "TargetType";
|
1225
|
-
} | {
|
1226
|
-
readonly name: string;
|
1227
|
-
readonly type: "TargetField";
|
1228
|
-
readonly targetType: string;
|
1229
|
-
};
|
1230
|
-
readonly placement: "before" | "after" | "over";
|
1231
|
-
}[] | undefined;
|
1232
|
-
readonly useSources?: "file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile" | readonly ("file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile")[] | undefined;
|
1233
|
-
readonly sources?: {
|
1234
|
-
readonly file?: {
|
1235
|
-
readonly path?: string | undefined;
|
1236
|
-
} | undefined;
|
1237
|
-
readonly directory?: {
|
1238
|
-
readonly path?: string | undefined;
|
1239
|
-
} | undefined;
|
1240
|
-
readonly versionedDirectory?: {
|
1241
|
-
readonly path?: string | undefined;
|
1242
|
-
} | undefined;
|
1243
|
-
readonly memory?: {
|
1244
|
-
readonly revisions: unknown;
|
1245
|
-
} | undefined;
|
1246
|
-
readonly introspection?: {
|
1247
|
-
readonly url: string;
|
1248
|
-
readonly headers?: {
|
1249
|
-
readonly [x: string]: string;
|
1250
|
-
} | undefined;
|
1251
|
-
} | undefined;
|
1252
|
-
readonly introspectionFile?: {
|
1253
|
-
readonly path?: string | undefined;
|
1254
|
-
} | undefined;
|
1255
|
-
} | undefined;
|
1256
|
-
};
|
1257
1257
|
readonly templateVariables: {
|
1258
1258
|
readonly title: string;
|
1259
1259
|
};
|
@@ -1634,6 +1634,46 @@ export declare const decode: (i: {
|
|
1634
1634
|
} | undefined;
|
1635
1635
|
} | undefined;
|
1636
1636
|
};
|
1637
|
+
readonly schema: {
|
1638
|
+
readonly enabled?: boolean | undefined;
|
1639
|
+
readonly augmentations?: readonly {
|
1640
|
+
readonly type: "description";
|
1641
|
+
readonly content: string;
|
1642
|
+
readonly on: {
|
1643
|
+
readonly name: string;
|
1644
|
+
readonly type: "TargetType";
|
1645
|
+
} | {
|
1646
|
+
readonly name: string;
|
1647
|
+
readonly type: "TargetField";
|
1648
|
+
readonly targetType: string;
|
1649
|
+
};
|
1650
|
+
readonly placement: "before" | "after" | "over";
|
1651
|
+
}[] | undefined;
|
1652
|
+
readonly useSources?: "file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile" | readonly ("file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile")[] | undefined;
|
1653
|
+
readonly sources?: {
|
1654
|
+
readonly file?: {
|
1655
|
+
readonly path?: string | undefined;
|
1656
|
+
} | undefined;
|
1657
|
+
readonly directory?: {
|
1658
|
+
readonly path?: string | undefined;
|
1659
|
+
} | undefined;
|
1660
|
+
readonly versionedDirectory?: {
|
1661
|
+
readonly path?: string | undefined;
|
1662
|
+
} | undefined;
|
1663
|
+
readonly memory?: {
|
1664
|
+
readonly revisions: unknown;
|
1665
|
+
} | undefined;
|
1666
|
+
readonly introspection?: {
|
1667
|
+
readonly headers?: {
|
1668
|
+
readonly [x: string]: string;
|
1669
|
+
} | undefined;
|
1670
|
+
readonly url: string;
|
1671
|
+
} | undefined;
|
1672
|
+
readonly introspectionFile?: {
|
1673
|
+
readonly path?: string | undefined;
|
1674
|
+
} | undefined;
|
1675
|
+
} | undefined;
|
1676
|
+
};
|
1637
1677
|
readonly ssr: {
|
1638
1678
|
readonly enabled: boolean;
|
1639
1679
|
};
|
@@ -1719,46 +1759,6 @@ export declare const decode: (i: {
|
|
1719
1759
|
};
|
1720
1760
|
};
|
1721
1761
|
};
|
1722
|
-
readonly schema: {
|
1723
|
-
readonly enabled?: boolean | undefined;
|
1724
|
-
readonly augmentations?: readonly {
|
1725
|
-
readonly type: "description";
|
1726
|
-
readonly content: string;
|
1727
|
-
readonly on: {
|
1728
|
-
readonly name: string;
|
1729
|
-
readonly type: "TargetType";
|
1730
|
-
} | {
|
1731
|
-
readonly name: string;
|
1732
|
-
readonly type: "TargetField";
|
1733
|
-
readonly targetType: string;
|
1734
|
-
};
|
1735
|
-
readonly placement: "before" | "after" | "over";
|
1736
|
-
}[] | undefined;
|
1737
|
-
readonly useSources?: "file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile" | readonly ("file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile")[] | undefined;
|
1738
|
-
readonly sources?: {
|
1739
|
-
readonly file?: {
|
1740
|
-
readonly path?: string | undefined;
|
1741
|
-
} | undefined;
|
1742
|
-
readonly directory?: {
|
1743
|
-
readonly path?: string | undefined;
|
1744
|
-
} | undefined;
|
1745
|
-
readonly versionedDirectory?: {
|
1746
|
-
readonly path?: string | undefined;
|
1747
|
-
} | undefined;
|
1748
|
-
readonly memory?: {
|
1749
|
-
readonly revisions: unknown;
|
1750
|
-
} | undefined;
|
1751
|
-
readonly introspection?: {
|
1752
|
-
readonly headers?: {
|
1753
|
-
readonly [x: string]: string;
|
1754
|
-
} | undefined;
|
1755
|
-
readonly url: string;
|
1756
|
-
} | undefined;
|
1757
|
-
readonly introspectionFile?: {
|
1758
|
-
readonly path?: string | undefined;
|
1759
|
-
} | undefined;
|
1760
|
-
} | undefined;
|
1761
|
-
};
|
1762
1762
|
readonly templateVariables: {
|
1763
1763
|
readonly title: string;
|
1764
1764
|
};
|
@@ -2146,6 +2146,46 @@ export declare const encode: (a: {
|
|
2146
2146
|
} | undefined;
|
2147
2147
|
} | undefined;
|
2148
2148
|
};
|
2149
|
+
readonly schema: {
|
2150
|
+
readonly enabled?: boolean | undefined;
|
2151
|
+
readonly augmentations?: readonly {
|
2152
|
+
readonly type: "description";
|
2153
|
+
readonly content: string;
|
2154
|
+
readonly on: {
|
2155
|
+
readonly name: string;
|
2156
|
+
readonly type: "TargetType";
|
2157
|
+
} | {
|
2158
|
+
readonly name: string;
|
2159
|
+
readonly type: "TargetField";
|
2160
|
+
readonly targetType: string;
|
2161
|
+
};
|
2162
|
+
readonly placement: "before" | "after" | "over";
|
2163
|
+
}[] | undefined;
|
2164
|
+
readonly useSources?: "file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile" | readonly ("file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile")[] | undefined;
|
2165
|
+
readonly sources?: {
|
2166
|
+
readonly file?: {
|
2167
|
+
readonly path?: string | undefined;
|
2168
|
+
} | undefined;
|
2169
|
+
readonly directory?: {
|
2170
|
+
readonly path?: string | undefined;
|
2171
|
+
} | undefined;
|
2172
|
+
readonly versionedDirectory?: {
|
2173
|
+
readonly path?: string | undefined;
|
2174
|
+
} | undefined;
|
2175
|
+
readonly memory?: {
|
2176
|
+
readonly revisions: unknown;
|
2177
|
+
} | undefined;
|
2178
|
+
readonly introspection?: {
|
2179
|
+
readonly headers?: {
|
2180
|
+
readonly [x: string]: string;
|
2181
|
+
} | undefined;
|
2182
|
+
readonly url: string;
|
2183
|
+
} | undefined;
|
2184
|
+
readonly introspectionFile?: {
|
2185
|
+
readonly path?: string | undefined;
|
2186
|
+
} | undefined;
|
2187
|
+
} | undefined;
|
2188
|
+
};
|
2149
2189
|
readonly ssr: {
|
2150
2190
|
readonly enabled: boolean;
|
2151
2191
|
};
|
@@ -2231,46 +2271,6 @@ export declare const encode: (a: {
|
|
2231
2271
|
};
|
2232
2272
|
};
|
2233
2273
|
};
|
2234
|
-
readonly schema: {
|
2235
|
-
readonly enabled?: boolean | undefined;
|
2236
|
-
readonly augmentations?: readonly {
|
2237
|
-
readonly type: "description";
|
2238
|
-
readonly content: string;
|
2239
|
-
readonly on: {
|
2240
|
-
readonly name: string;
|
2241
|
-
readonly type: "TargetType";
|
2242
|
-
} | {
|
2243
|
-
readonly name: string;
|
2244
|
-
readonly type: "TargetField";
|
2245
|
-
readonly targetType: string;
|
2246
|
-
};
|
2247
|
-
readonly placement: "before" | "after" | "over";
|
2248
|
-
}[] | undefined;
|
2249
|
-
readonly useSources?: "file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile" | readonly ("file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile")[] | undefined;
|
2250
|
-
readonly sources?: {
|
2251
|
-
readonly file?: {
|
2252
|
-
readonly path?: string | undefined;
|
2253
|
-
} | undefined;
|
2254
|
-
readonly directory?: {
|
2255
|
-
readonly path?: string | undefined;
|
2256
|
-
} | undefined;
|
2257
|
-
readonly versionedDirectory?: {
|
2258
|
-
readonly path?: string | undefined;
|
2259
|
-
} | undefined;
|
2260
|
-
readonly memory?: {
|
2261
|
-
readonly revisions: unknown;
|
2262
|
-
} | undefined;
|
2263
|
-
readonly introspection?: {
|
2264
|
-
readonly headers?: {
|
2265
|
-
readonly [x: string]: string;
|
2266
|
-
} | undefined;
|
2267
|
-
readonly url: string;
|
2268
|
-
} | undefined;
|
2269
|
-
readonly introspectionFile?: {
|
2270
|
-
readonly path?: string | undefined;
|
2271
|
-
} | undefined;
|
2272
|
-
} | undefined;
|
2273
|
-
};
|
2274
2274
|
readonly templateVariables: {
|
2275
2275
|
readonly title: string;
|
2276
2276
|
};
|
@@ -2657,6 +2657,46 @@ export declare const encode: (a: {
|
|
2657
2657
|
} | undefined;
|
2658
2658
|
} | undefined;
|
2659
2659
|
};
|
2660
|
+
readonly schema: {
|
2661
|
+
readonly enabled?: boolean | undefined;
|
2662
|
+
readonly augmentations?: readonly {
|
2663
|
+
readonly type: "description";
|
2664
|
+
readonly content: string;
|
2665
|
+
readonly on: {
|
2666
|
+
readonly name: string;
|
2667
|
+
readonly type: "TargetType";
|
2668
|
+
} | {
|
2669
|
+
readonly name: string;
|
2670
|
+
readonly type: "TargetField";
|
2671
|
+
readonly targetType: string;
|
2672
|
+
};
|
2673
|
+
readonly placement: "before" | "after" | "over";
|
2674
|
+
}[] | undefined;
|
2675
|
+
readonly useSources?: "file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile" | readonly ("file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile")[] | undefined;
|
2676
|
+
readonly sources?: {
|
2677
|
+
readonly file?: {
|
2678
|
+
readonly path?: string | undefined;
|
2679
|
+
} | undefined;
|
2680
|
+
readonly directory?: {
|
2681
|
+
readonly path?: string | undefined;
|
2682
|
+
} | undefined;
|
2683
|
+
readonly versionedDirectory?: {
|
2684
|
+
readonly path?: string | undefined;
|
2685
|
+
} | undefined;
|
2686
|
+
readonly memory?: {
|
2687
|
+
readonly revisions: unknown;
|
2688
|
+
} | undefined;
|
2689
|
+
readonly introspection?: {
|
2690
|
+
readonly url: string;
|
2691
|
+
readonly headers?: {
|
2692
|
+
readonly [x: string]: string;
|
2693
|
+
} | undefined;
|
2694
|
+
} | undefined;
|
2695
|
+
readonly introspectionFile?: {
|
2696
|
+
readonly path?: string | undefined;
|
2697
|
+
} | undefined;
|
2698
|
+
} | undefined;
|
2699
|
+
};
|
2660
2700
|
readonly ssr: {
|
2661
2701
|
readonly enabled: boolean;
|
2662
2702
|
};
|
@@ -2742,46 +2782,6 @@ export declare const encode: (a: {
|
|
2742
2782
|
};
|
2743
2783
|
};
|
2744
2784
|
};
|
2745
|
-
readonly schema: {
|
2746
|
-
readonly enabled?: boolean | undefined;
|
2747
|
-
readonly augmentations?: readonly {
|
2748
|
-
readonly type: "description";
|
2749
|
-
readonly content: string;
|
2750
|
-
readonly on: {
|
2751
|
-
readonly name: string;
|
2752
|
-
readonly type: "TargetType";
|
2753
|
-
} | {
|
2754
|
-
readonly name: string;
|
2755
|
-
readonly type: "TargetField";
|
2756
|
-
readonly targetType: string;
|
2757
|
-
};
|
2758
|
-
readonly placement: "before" | "after" | "over";
|
2759
|
-
}[] | undefined;
|
2760
|
-
readonly useSources?: "file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile" | readonly ("file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile")[] | undefined;
|
2761
|
-
readonly sources?: {
|
2762
|
-
readonly file?: {
|
2763
|
-
readonly path?: string | undefined;
|
2764
|
-
} | undefined;
|
2765
|
-
readonly directory?: {
|
2766
|
-
readonly path?: string | undefined;
|
2767
|
-
} | undefined;
|
2768
|
-
readonly versionedDirectory?: {
|
2769
|
-
readonly path?: string | undefined;
|
2770
|
-
} | undefined;
|
2771
|
-
readonly memory?: {
|
2772
|
-
readonly revisions: unknown;
|
2773
|
-
} | undefined;
|
2774
|
-
readonly introspection?: {
|
2775
|
-
readonly url: string;
|
2776
|
-
readonly headers?: {
|
2777
|
-
readonly [x: string]: string;
|
2778
|
-
} | undefined;
|
2779
|
-
} | undefined;
|
2780
|
-
readonly introspectionFile?: {
|
2781
|
-
readonly path?: string | undefined;
|
2782
|
-
} | undefined;
|
2783
|
-
} | undefined;
|
2784
|
-
};
|
2785
2785
|
readonly templateVariables: {
|
2786
2786
|
readonly title: string;
|
2787
2787
|
};
|
@@ -3163,6 +3163,46 @@ export declare const validate: (u: unknown, overrideOptions?: import("effect/Sch
|
|
3163
3163
|
} | undefined;
|
3164
3164
|
} | undefined;
|
3165
3165
|
};
|
3166
|
+
readonly schema: {
|
3167
|
+
readonly enabled?: boolean | undefined;
|
3168
|
+
readonly augmentations?: readonly {
|
3169
|
+
readonly type: "description";
|
3170
|
+
readonly content: string;
|
3171
|
+
readonly on: {
|
3172
|
+
readonly name: string;
|
3173
|
+
readonly type: "TargetType";
|
3174
|
+
} | {
|
3175
|
+
readonly name: string;
|
3176
|
+
readonly type: "TargetField";
|
3177
|
+
readonly targetType: string;
|
3178
|
+
};
|
3179
|
+
readonly placement: "before" | "after" | "over";
|
3180
|
+
}[] | undefined;
|
3181
|
+
readonly useSources?: "file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile" | readonly ("file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile")[] | undefined;
|
3182
|
+
readonly sources?: {
|
3183
|
+
readonly file?: {
|
3184
|
+
readonly path?: string | undefined;
|
3185
|
+
} | undefined;
|
3186
|
+
readonly directory?: {
|
3187
|
+
readonly path?: string | undefined;
|
3188
|
+
} | undefined;
|
3189
|
+
readonly versionedDirectory?: {
|
3190
|
+
readonly path?: string | undefined;
|
3191
|
+
} | undefined;
|
3192
|
+
readonly memory?: {
|
3193
|
+
readonly revisions: unknown;
|
3194
|
+
} | undefined;
|
3195
|
+
readonly introspection?: {
|
3196
|
+
readonly headers?: {
|
3197
|
+
readonly [x: string]: string;
|
3198
|
+
} | undefined;
|
3199
|
+
readonly url: string;
|
3200
|
+
} | undefined;
|
3201
|
+
readonly introspectionFile?: {
|
3202
|
+
readonly path?: string | undefined;
|
3203
|
+
} | undefined;
|
3204
|
+
} | undefined;
|
3205
|
+
};
|
3166
3206
|
readonly ssr: {
|
3167
3207
|
readonly enabled: boolean;
|
3168
3208
|
};
|
@@ -3248,46 +3288,6 @@ export declare const validate: (u: unknown, overrideOptions?: import("effect/Sch
|
|
3248
3288
|
};
|
3249
3289
|
};
|
3250
3290
|
};
|
3251
|
-
readonly schema: {
|
3252
|
-
readonly enabled?: boolean | undefined;
|
3253
|
-
readonly augmentations?: readonly {
|
3254
|
-
readonly type: "description";
|
3255
|
-
readonly content: string;
|
3256
|
-
readonly on: {
|
3257
|
-
readonly name: string;
|
3258
|
-
readonly type: "TargetType";
|
3259
|
-
} | {
|
3260
|
-
readonly name: string;
|
3261
|
-
readonly type: "TargetField";
|
3262
|
-
readonly targetType: string;
|
3263
|
-
};
|
3264
|
-
readonly placement: "before" | "after" | "over";
|
3265
|
-
}[] | undefined;
|
3266
|
-
readonly useSources?: "file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile" | readonly ("file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile")[] | undefined;
|
3267
|
-
readonly sources?: {
|
3268
|
-
readonly file?: {
|
3269
|
-
readonly path?: string | undefined;
|
3270
|
-
} | undefined;
|
3271
|
-
readonly directory?: {
|
3272
|
-
readonly path?: string | undefined;
|
3273
|
-
} | undefined;
|
3274
|
-
readonly versionedDirectory?: {
|
3275
|
-
readonly path?: string | undefined;
|
3276
|
-
} | undefined;
|
3277
|
-
readonly memory?: {
|
3278
|
-
readonly revisions: unknown;
|
3279
|
-
} | undefined;
|
3280
|
-
readonly introspection?: {
|
3281
|
-
readonly headers?: {
|
3282
|
-
readonly [x: string]: string;
|
3283
|
-
} | undefined;
|
3284
|
-
readonly url: string;
|
3285
|
-
} | undefined;
|
3286
|
-
readonly introspectionFile?: {
|
3287
|
-
readonly path?: string | undefined;
|
3288
|
-
} | undefined;
|
3289
|
-
} | undefined;
|
3290
|
-
};
|
3291
3291
|
readonly templateVariables: {
|
3292
3292
|
readonly title: string;
|
3293
3293
|
};
|
@@ -104,7 +104,7 @@ export declare const decode: (i: {
|
|
104
104
|
readonly _tag: "UnversionedKey";
|
105
105
|
}, readonly (readonly [string, readonly {
|
106
106
|
readonly name: string;
|
107
|
-
readonly version: string | number;
|
107
|
+
readonly version: string | number | null;
|
108
108
|
}[]])[]])[] | undefined;
|
109
109
|
}, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{
|
110
110
|
readonly examples: readonly {
|
@@ -144,7 +144,7 @@ export declare const decodeSync: (i: {
|
|
144
144
|
readonly _tag: "UnversionedKey";
|
145
145
|
}, readonly (readonly [string, readonly {
|
146
146
|
readonly name: string;
|
147
|
-
readonly version: string | number;
|
147
|
+
readonly version: string | number | null;
|
148
148
|
}[]])[]])[] | undefined;
|
149
149
|
}, overrideOptions?: import("effect/SchemaAST").ParseOptions) => {
|
150
150
|
readonly examples: readonly {
|
@@ -202,7 +202,7 @@ export declare const encode: (a: {
|
|
202
202
|
readonly _tag: "UnversionedKey";
|
203
203
|
}, readonly (readonly [string, readonly {
|
204
204
|
readonly name: string;
|
205
|
-
readonly version: string | number;
|
205
|
+
readonly version: string | number | null;
|
206
206
|
}[]])[]])[] | undefined;
|
207
207
|
}, import("effect/ParseResult").ParseError, never>;
|
208
208
|
export declare const encodeSync: (a: {
|
@@ -242,7 +242,7 @@ export declare const encodeSync: (a: {
|
|
242
242
|
readonly _tag: "UnversionedKey";
|
243
243
|
}, readonly (readonly [string, readonly {
|
244
244
|
readonly name: string;
|
245
|
-
readonly version: string | number;
|
245
|
+
readonly version: string | number | null;
|
246
246
|
}[]])[]])[] | undefined;
|
247
247
|
};
|
248
248
|
//# sourceMappingURL=catalog.d.ts.map
|
@@ -23,9 +23,9 @@ declare const ExampleReference_base: S.Class<ExampleReference, {
|
|
23
23
|
name: typeof S.String;
|
24
24
|
/**
|
25
25
|
* The version this reference is for.
|
26
|
-
*
|
26
|
+
* Can be null for unversioned examples.
|
27
27
|
*/
|
28
|
-
version: 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
|
28
|
+
version: S.NullOr<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>>;
|
29
29
|
}, S.Struct.Encoded<{
|
30
30
|
/**
|
31
31
|
* The unique name of the example
|
@@ -33,13 +33,13 @@ declare const ExampleReference_base: S.Class<ExampleReference, {
|
|
33
33
|
name: typeof S.String;
|
34
34
|
/**
|
35
35
|
* The version this reference is for.
|
36
|
-
*
|
36
|
+
* Can be null for unversioned examples.
|
37
37
|
*/
|
38
|
-
version: 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
|
38
|
+
version: S.NullOr<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>>;
|
39
39
|
}>, never, {
|
40
40
|
readonly name: string;
|
41
41
|
} & {
|
42
|
-
readonly version: Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver;
|
42
|
+
readonly version: Version.CustomVersion.Custom | Version.DateVersion.Date | Version.IntegerVersion.Integer | Version.SemverVersion.Semver | null;
|
43
43
|
}, {}, {}>;
|
44
44
|
/**
|
45
45
|
* Lightweight reference to an example with version.
|
@@ -30,9 +30,9 @@ export class ExampleReference extends S.Class('ExampleReference')({
|
|
30
30
|
name: S.String,
|
31
31
|
/**
|
32
32
|
* The version this reference is for.
|
33
|
-
*
|
33
|
+
* Can be null for unversioned examples.
|
34
34
|
*/
|
35
|
-
version: Version.Version,
|
35
|
+
version: S.NullOr(Version.Version),
|
36
36
|
}) {
|
37
37
|
}
|
38
38
|
// ============================================================================
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"type-usage-index.js","sourceRoot":"","sources":["../../../../src/api/examples/schemas/type-usage-index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,sBAAsB,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAExC,+EAA+E;AAC/E,gBAAgB;AAChB,+EAA+E;AAE/E;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC,gBAAgB,EAAE,EAAE,CAAC,CAAA;AAGlE;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAEtD;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,cAAc,CAAC,CAAA;AAGlE,+EAA+E;AAC/E,oBAAoB;AACpB,+EAA+E;AAE/E;;;;GAIG;AACH,MAAM,OAAO,gBAAiB,SAAQ,CAAC,CAAC,KAAK,CAAmB,kBAAkB,CAAC,CAAC;IAClF;;OAEG;IACH,IAAI,EAAE,CAAC,CAAC,MAAM;IACd;;;OAGG;IACH,OAAO,EAAE,OAAO,CAAC,OAAO;
|
1
|
+
{"version":3,"file":"type-usage-index.js","sourceRoot":"","sources":["../../../../src/api/examples/schemas/type-usage-index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,sBAAsB,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAExC,+EAA+E;AAC/E,gBAAgB;AAChB,+EAA+E;AAE/E;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC,gBAAgB,EAAE,EAAE,CAAC,CAAA;AAGlE;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAEtD;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,cAAc,CAAC,CAAA;AAGlE,+EAA+E;AAC/E,oBAAoB;AACpB,+EAA+E;AAE/E;;;;GAIG;AACH,MAAM,OAAO,gBAAiB,SAAQ,CAAC,CAAC,KAAK,CAAmB,kBAAkB,CAAC,CAAC;IAClF;;OAEG;IACH,IAAI,EAAE,CAAC,CAAC,MAAM;IACd;;;OAGG;IACH,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC;CACnC,CAAC;CAAG;AAEL,+EAA+E;AAC/E,SAAS;AACT,+EAA+E;AAE/E;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,OAAO,CAAC;IACtC,GAAG,EAAE,UAAU;IACf,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC;QACf,GAAG,EAAE,CAAC,CAAC,MAAM;QACb,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC;KACnC,CAAC;CACH,CAAC,CAAC,WAAW,CAAC;IACb,UAAU,EAAE,gBAAgB;IAC5B,WAAW,EAAE,4EAA4E;CAC1F,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"type-usage-indexer.d.ts","sourceRoot":"","sources":["../../../src/api/examples/type-usage-indexer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;
|
1
|
+
{"version":3,"file":"type-usage-indexer.d.ts","sourceRoot":"","sources":["../../../src/api/examples/type-usage-indexer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAIxC,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AACxC,OAAO,EAAmB,OAAO,EAAU,MAAM,QAAQ,CAAA;AACzD,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAA;AAEpC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,EAAE,gBAAgB,EAAE,KAAK,cAAc,EAAoC,MAAM,+BAA+B,CAAA;AAuLvH;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,GAC/B,UAAU,SAAS,OAAO,EAAE,EAC5B,gBAAgB,OAAO,CAAC,OAAO,KAC9B,cAqCF,CAAA;AAsCD;;GAEG;AACH,eAAO,MAAM,2BAA2B,GACtC,gBAAgB,cAAc,EAC9B,UAAU,MAAM,EAChB,UAAS,OAAO,CAAC,OAAO,GAAG,IAAW,KACrC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAOxD,CAAA"}
|