@alloy-js/json 0.3.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.
Files changed (85) hide show
  1. package/LICENSE +7 -0
  2. package/api-extractor.json +4 -0
  3. package/babel.config.cjs +4 -0
  4. package/dist/src/components/JsonArray.d.ts +52 -0
  5. package/dist/src/components/JsonArray.d.ts.map +1 -0
  6. package/dist/src/components/JsonArray.js +107 -0
  7. package/dist/src/components/JsonArray.js.map +1 -0
  8. package/dist/src/components/JsonObject.d.ts +63 -0
  9. package/dist/src/components/JsonObject.d.ts.map +1 -0
  10. package/dist/src/components/JsonObject.js +119 -0
  11. package/dist/src/components/JsonObject.js.map +1 -0
  12. package/dist/src/components/JsonValue.d.ts +21 -0
  13. package/dist/src/components/JsonValue.d.ts.map +1 -0
  14. package/dist/src/components/JsonValue.js +49 -0
  15. package/dist/src/components/JsonValue.js.map +1 -0
  16. package/dist/src/components/Reference.d.ts +18 -0
  17. package/dist/src/components/Reference.d.ts.map +1 -0
  18. package/dist/src/components/Reference.js +15 -0
  19. package/dist/src/components/Reference.js.map +1 -0
  20. package/dist/src/components/SourceFile.d.ts +17 -0
  21. package/dist/src/components/SourceFile.d.ts.map +1 -0
  22. package/dist/src/components/SourceFile.js +47 -0
  23. package/dist/src/components/SourceFile.js.map +1 -0
  24. package/dist/src/components/index.d.ts +6 -0
  25. package/dist/src/components/index.d.ts.map +1 -0
  26. package/dist/src/components/index.js +6 -0
  27. package/dist/src/components/index.js.map +1 -0
  28. package/dist/src/components/stc/index.d.ts +30 -0
  29. package/dist/src/components/stc/index.d.ts.map +1 -0
  30. package/dist/src/components/stc/index.js +10 -0
  31. package/dist/src/components/stc/index.js.map +1 -0
  32. package/dist/src/context/JsonFileContext.d.ts +17 -0
  33. package/dist/src/context/JsonFileContext.d.ts.map +1 -0
  34. package/dist/src/context/JsonFileContext.js +10 -0
  35. package/dist/src/context/JsonFileContext.js.map +1 -0
  36. package/dist/src/context/index.d.ts +2 -0
  37. package/dist/src/context/index.d.ts.map +1 -0
  38. package/dist/src/context/index.js +1 -0
  39. package/dist/src/context/index.js.map +1 -0
  40. package/dist/src/index.d.ts +4 -0
  41. package/dist/src/index.d.ts.map +1 -0
  42. package/dist/src/index.js +4 -0
  43. package/dist/src/index.js.map +1 -0
  44. package/dist/src/symbols/index.d.ts +4 -0
  45. package/dist/src/symbols/index.d.ts.map +1 -0
  46. package/dist/src/symbols/index.js +34 -0
  47. package/dist/src/symbols/index.js.map +1 -0
  48. package/dist/src/symbols/json-symbol.d.ts +22 -0
  49. package/dist/src/symbols/json-symbol.d.ts.map +1 -0
  50. package/dist/src/symbols/json-symbol.js +45 -0
  51. package/dist/src/symbols/json-symbol.js.map +1 -0
  52. package/dist/test/array.test.d.ts +2 -0
  53. package/dist/test/array.test.d.ts.map +1 -0
  54. package/dist/test/object.test.d.ts +2 -0
  55. package/dist/test/object.test.d.ts.map +1 -0
  56. package/dist/test/primitives.test.d.ts +2 -0
  57. package/dist/test/primitives.test.d.ts.map +1 -0
  58. package/dist/test/reference.test.d.ts +2 -0
  59. package/dist/test/reference.test.d.ts.map +1 -0
  60. package/dist/test/utils.d.ts +2 -0
  61. package/dist/test/utils.d.ts.map +1 -0
  62. package/dist/tsconfig.tsbuildinfo +1 -0
  63. package/package.json +45 -0
  64. package/src/components/JsonArray.tsx +138 -0
  65. package/src/components/JsonObject.tsx +150 -0
  66. package/src/components/JsonValue.tsx +59 -0
  67. package/src/components/Reference.tsx +23 -0
  68. package/src/components/SourceFile.tsx +48 -0
  69. package/src/components/index.ts +5 -0
  70. package/src/components/stc/index.ts +10 -0
  71. package/src/context/JsonFileContext.ts +28 -0
  72. package/src/context/index.ts +1 -0
  73. package/src/index.ts +3 -0
  74. package/src/symbols/index.ts +43 -0
  75. package/src/symbols/json-symbol.ts +68 -0
  76. package/temp/api.json +1896 -0
  77. package/test/array.test.tsx +31 -0
  78. package/test/object.test.tsx +60 -0
  79. package/test/primitives.test.tsx +16 -0
  80. package/test/reference.test.tsx +173 -0
  81. package/test/utils.tsx +11 -0
  82. package/test/vitest.d.ts +10 -0
  83. package/tsconfig.json +11 -0
  84. package/tsdoc-metadata.json +11 -0
  85. package/vitest.config.ts +18 -0
@@ -0,0 +1,10 @@
1
+ import { stc } from "@alloy-js/core";
2
+ import * as Jsx from "../index.js";
3
+ export const JsonArray = stc(Jsx.JsonArray);
4
+ export const JsonArrayElement = stc(Jsx.JsonArrayElement);
5
+ export const JsonObject = stc(Jsx.JsonObject);
6
+ export const JsonObjectProperty = stc(Jsx.JsonObjectProperty);
7
+ export const JsonValue = stc(Jsx.JsonValue);
8
+ export const Reference = stc(Jsx.Reference);
9
+ export const SourceFile = stc(Jsx.SourceFile);
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["stc","Jsx","JsonArray","JsonArrayElement","JsonObject","JsonObjectProperty","JsonValue","Reference","SourceFile"],"sources":["../../../../src/components/stc/index.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,GAAG,QAAQ,gBAAgB;AACpC,OAAO,KAAKC,GAAG,MAAM,aAAa;AAElC,OAAO,MAAMC,SAAS,GAAGF,GAAG,CAACC,GAAG,CAACC,SAAS,CAAC;AAC3C,OAAO,MAAMC,gBAAgB,GAAGH,GAAG,CAACC,GAAG,CAACE,gBAAgB,CAAC;AACzD,OAAO,MAAMC,UAAU,GAAGJ,GAAG,CAACC,GAAG,CAACG,UAAU,CAAC;AAC7C,OAAO,MAAMC,kBAAkB,GAAGL,GAAG,CAACC,GAAG,CAACI,kBAAkB,CAAC;AAC7D,OAAO,MAAMC,SAAS,GAAGN,GAAG,CAACC,GAAG,CAACK,SAAS,CAAC;AAC3C,OAAO,MAAMC,SAAS,GAAGP,GAAG,CAACC,GAAG,CAACM,SAAS,CAAC;AAC3C,OAAO,MAAMC,UAAU,GAAGR,GAAG,CAACC,GAAG,CAACO,UAAU,CAAC","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ import { ComponentContext } from "@alloy-js/core";
2
+ import { JsonOutputSymbol } from "../symbols/json-symbol.js";
3
+ export interface JsonFileContext {
4
+ /** The path of the current JSON file. May be different from the path on disk. */
5
+ path?: string;
6
+ /** The URL of the current JSON file */
7
+ url?: string;
8
+ /** The symbol for the value in this JSON file */
9
+ symbol: JsonOutputSymbol;
10
+ }
11
+ /**
12
+ * Provides information about the current JSON source file. This context is used
13
+ * to allow references between JSON files.
14
+ */
15
+ export declare const JsonFileContext: ComponentContext<JsonFileContext>;
16
+ export declare function useJsonFileContext(): JsonFileContext | undefined;
17
+ //# sourceMappingURL=JsonFileContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JsonFileContext.d.ts","sourceRoot":"","sources":["../../../src/context/JsonFileContext.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAGjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,MAAM,WAAW,eAAe;IAC9B,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,uCAAuC;IACvC,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,iDAAiD;IACjD,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,gBAAgB,CAAC,eAAe,CACb,CAAC;AAElD,wBAAgB,kBAAkB,IAAI,eAAe,GAAG,SAAS,CAEhE"}
@@ -0,0 +1,10 @@
1
+ import { createNamedContext, useContext } from "@alloy-js/core";
2
+ /**
3
+ * Provides information about the current JSON source file. This context is used
4
+ * to allow references between JSON files.
5
+ */
6
+ export const JsonFileContext = createNamedContext("JsonFile");
7
+ export function useJsonFileContext() {
8
+ return useContext(JsonFileContext);
9
+ }
10
+ //# sourceMappingURL=JsonFileContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JsonFileContext.js","names":["createNamedContext","useContext","JsonFileContext","useJsonFileContext"],"sources":["../../../src/context/JsonFileContext.ts"],"sourcesContent":[null],"mappings":"AAAA,SAEEA,kBAAkB,EAClBC,UAAU,QACL,gBAAgB;AAcvB;AACA;AACA;AACA;AACA,OAAO,MAAMC,eAAkD,GAC7DF,kBAAkB,CAAkB,UAAU,CAAC;AAEjD,OAAO,SAASG,kBAAkBA,CAAA,EAAgC;EAChE,OAAOF,UAAU,CAACC,eAAe,CAAC;AACpC","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export * from "./JsonFileContext.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/context/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1 @@
1
+ export * from "./JsonFileContext.js";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../src/context/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc,sBAAsB","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ export * from "./components/index.js";
2
+ export * from "./context/index.js";
3
+ export * from "./symbols/index.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./components/index.js";
2
+ export * from "./context/index.js";
3
+ export * from "./symbols/index.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc,uBAAuB;AACrC,cAAc,oBAAoB;AAClC,cAAc,oBAAoB","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ import { Refkey } from "@alloy-js/core";
2
+ export * from "./json-symbol.js";
3
+ export declare function ref(refkey: Refkey): "<Unresolved Symbol>" | (() => string);
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/symbols/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,MAAM,EAAW,MAAM,gBAAgB,CAAC;AAIpE,cAAc,kBAAkB,CAAC;AAEjC,wBAAgB,GAAG,CAAC,MAAM,EAAE,MAAM,0CAoCjC"}
@@ -0,0 +1,34 @@
1
+ import { memo, resolve } from "@alloy-js/core";
2
+ import { dirname, relative } from "pathe";
3
+ import { useJsonFileContext } from "../context/JsonFileContext.js";
4
+ export * from "./json-symbol.js";
5
+ export function ref(refkey) {
6
+ const sourceFile = useJsonFileContext();
7
+ if (!sourceFile) {
8
+ return "<Unresolved Symbol>";
9
+ }
10
+ const resolveResult = resolve(refkey);
11
+ return memo(() => {
12
+ if (resolveResult.value === undefined) {
13
+ return "<Unresolved Symbol>";
14
+ }
15
+ const {
16
+ targetDeclaration,
17
+ memberPath
18
+ } = resolveResult.value;
19
+ let ref = "";
20
+ if (targetDeclaration !== sourceFile.symbol) {
21
+ const currentPath = sourceFile.symbol.name;
22
+ const targetPath = targetDeclaration.name;
23
+ ref += relative(dirname(currentPath), targetPath);
24
+ }
25
+ ref += "#";
26
+ if (!memberPath || memberPath.length === 0) {
27
+ return ref;
28
+ }
29
+ ref += "/";
30
+ ref += memberPath.slice(1).map(segment => segment.name).join("/");
31
+ return ref;
32
+ });
33
+ }
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["memo","resolve","dirname","relative","useJsonFileContext","ref","refkey","sourceFile","resolveResult","value","undefined","targetDeclaration","memberPath","symbol","currentPath","name","targetPath","length","slice","map","segment","join"],"sources":["../../../src/symbols/index.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,IAAI,EAAuBC,OAAO,QAAQ,gBAAgB;AACnE,SAASC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AACzC,SAASC,kBAAkB,QAAQ,+BAA+B;AAElE,cAAc,kBAAkB;AAEhC,OAAO,SAASC,GAAGA,CAACC,MAAc,EAAE;EAClC,MAAMC,UAAU,GAAGH,kBAAkB,CAAC,CAAC;EACvC,IAAI,CAACG,UAAU,EAAE;IACf,OAAO,qBAAqB;EAC9B;EAEA,MAAMC,aAAa,GAAGP,OAAO,CAAgCK,MAAM,CAAC;EAEpE,OAAON,IAAI,CAAC,MAAM;IAChB,IAAIQ,aAAa,CAACC,KAAK,KAAKC,SAAS,EAAE;MACrC,OAAO,qBAAqB;IAC9B;IACA,MAAM;MAAEC,iBAAiB;MAAEC;IAAW,CAAC,GAAGJ,aAAa,CAACC,KAAK;IAE7D,IAAIJ,GAAG,GAAG,EAAE;IACZ,IAAIM,iBAAiB,KAAKJ,UAAU,CAACM,MAAM,EAAE;MAC3C,MAAMC,WAAW,GAAGP,UAAU,CAACM,MAAM,CAACE,IAAI;MAC1C,MAAMC,UAAU,GAAGL,iBAAiB,CAACI,IAAI;MACzCV,GAAG,IAAIF,QAAQ,CAACD,OAAO,CAACY,WAAW,CAAC,EAAEE,UAAU,CAAC;IACnD;IAEAX,GAAG,IAAI,GAAG;IAEV,IAAI,CAACO,UAAU,IAAIA,UAAU,CAACK,MAAM,KAAK,CAAC,EAAE;MAC1C,OAAOZ,GAAG;IACZ;IAEAA,GAAG,IAAI,GAAG;IAEVA,GAAG,IAAIO,UAAU,CACdM,KAAK,CAAC,CAAC,CAAC,CACRC,GAAG,CAAEC,OAAO,IAAKA,OAAO,CAACL,IAAI,CAAC,CAC9BM,IAAI,CAAC,GAAG,CAAC;IAEZ,OAAOhB,GAAG;EACZ,CAAC,CAAC;AACJ","ignoreList":[]}
@@ -0,0 +1,22 @@
1
+ import { CreateSymbolOptions, OutputScope, OutputSymbol, OutputSymbolFlags } from "@alloy-js/core";
2
+ export declare enum JsonSymbolFlags {
3
+ None = 0,
4
+ Object = 1,
5
+ Array = 2
6
+ }
7
+ /**
8
+ * JsonOutputSymbol is created for JSON Values with a refkey. For JSON objects
9
+ * and arrays, the symbol will have the `StaticMemberContainer` flag. For JSON
10
+ * values that are members of an object or an array, the symbol will have the
11
+ * `StaticMember` flag.
12
+ */
13
+ export interface JsonOutputSymbol extends OutputSymbol {
14
+ scope: OutputScope;
15
+ jsonFlags: JsonSymbolFlags;
16
+ }
17
+ export interface createJsonSymbolOptions extends CreateSymbolOptions {
18
+ jsonFlags?: JsonSymbolFlags;
19
+ }
20
+ export declare function createJsonOutputSymbol(options: createJsonSymbolOptions): JsonOutputSymbol;
21
+ export declare function useDefaultScope(flags?: OutputSymbolFlags): OutputScope | undefined;
22
+ //# sourceMappingURL=json-symbol.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json-symbol.d.ts","sourceRoot":"","sources":["../../../src/symbols/json-symbol.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,YAAY,EACZ,iBAAiB,EAGlB,MAAM,gBAAgB,CAAC;AAGxB,oBAAY,eAAe;IACzB,IAAI,IAAI;IACR,MAAM,IAAS;IACf,KAAK,IAAS;CACf;AAED;;;;;GAKG;AACH,MAAM,WAAW,gBAAiB,SAAQ,YAAY;IACpD,KAAK,EAAE,WAAW,CAAC;IACnB,SAAS,EAAE,eAAe,CAAC;CAC5B;AAED,MAAM,WAAW,uBAAwB,SAAQ,mBAAmB;IAClE,SAAS,CAAC,EAAE,eAAe,CAAC;CAC7B;AAED,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,uBAAuB,GAC/B,gBAAgB,CAgBlB;AAED,wBAAgB,eAAe,CAC7B,KAAK,GAAE,iBAA0C,2BAelD"}
@@ -0,0 +1,45 @@
1
+ import { OutputSymbolFlags, useBinder, useMemberScope } from "@alloy-js/core";
2
+
3
+ // prettier-ignore
4
+ export let JsonSymbolFlags = /*#__PURE__*/function (JsonSymbolFlags) {
5
+ JsonSymbolFlags[JsonSymbolFlags["None"] = 0] = "None";
6
+ JsonSymbolFlags[JsonSymbolFlags["Object"] = 1] = "Object";
7
+ JsonSymbolFlags[JsonSymbolFlags["Array"] = 2] = "Array";
8
+ return JsonSymbolFlags;
9
+ }({});
10
+
11
+ /**
12
+ * JsonOutputSymbol is created for JSON Values with a refkey. For JSON objects
13
+ * and arrays, the symbol will have the `StaticMemberContainer` flag. For JSON
14
+ * values that are members of an object or an array, the symbol will have the
15
+ * `StaticMember` flag.
16
+ */
17
+
18
+ export function createJsonOutputSymbol(options) {
19
+ const scope = options.scope ?? useDefaultScope(options.flags) ?? useBinder().globalScope;
20
+ const binder = scope.binder;
21
+ const sym = binder.createSymbol({
22
+ name: options.name,
23
+ scope,
24
+ refkey: options.refkey,
25
+ flags: options.flags ?? OutputSymbolFlags.None,
26
+ jsonFlags: options.jsonFlags ?? JsonSymbolFlags.None
27
+ });
28
+ return sym;
29
+ }
30
+ export function useDefaultScope(flags = OutputSymbolFlags.None) {
31
+ if ((flags & OutputSymbolFlags.Member) === 0) {
32
+ return useBinder().globalScope;
33
+ } else {
34
+ const memberScope = useMemberScope();
35
+ if (!memberScope) {
36
+ throw new Error("Cannot declare member symbols without a member scope");
37
+ }
38
+ if (flags & OutputSymbolFlags.InstanceMember) {
39
+ return memberScope.instanceMembers;
40
+ } else {
41
+ return memberScope.staticMembers;
42
+ }
43
+ }
44
+ }
45
+ //# sourceMappingURL=json-symbol.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json-symbol.js","names":["OutputSymbolFlags","useBinder","useMemberScope","JsonSymbolFlags","createJsonOutputSymbol","options","scope","useDefaultScope","flags","globalScope","binder","sym","createSymbol","name","refkey","None","jsonFlags","Member","memberScope","Error","InstanceMember","instanceMembers","staticMembers"],"sources":["../../../src/symbols/json-symbol.ts"],"sourcesContent":[null],"mappings":"AAAA,SAIEA,iBAAiB,EACjBC,SAAS,EACTC,cAAc,QACT,gBAAgB;;AAEvB;AACA,WAAYC,eAAe,0BAAfA,eAAe;EAAfA,eAAe,CAAfA,eAAe;EAAfA,eAAe,CAAfA,eAAe;EAAfA,eAAe,CAAfA,eAAe;EAAA,OAAfA,eAAe;AAAA;;AAM3B;AACA;AACA;AACA;AACA;AACA;;AAUA,OAAO,SAASC,sBAAsBA,CACpCC,OAAgC,EACd;EAClB,MAAMC,KAAK,GACTD,OAAO,CAACC,KAAK,IACZC,eAAe,CAACF,OAAO,CAACG,KAAK,CAAiB,IAC/CP,SAAS,CAAC,CAAC,CAACQ,WAAW;EAEzB,MAAMC,MAAM,GAAGJ,KAAK,CAACI,MAAM;EAC3B,MAAMC,GAAG,GAAGD,MAAM,CAACE,YAAY,CAAmB;IAChDC,IAAI,EAAER,OAAO,CAACQ,IAAI;IAClBP,KAAK;IACLQ,MAAM,EAAET,OAAO,CAACS,MAAM;IACtBN,KAAK,EAAEH,OAAO,CAACG,KAAK,IAAIR,iBAAiB,CAACe,IAAI;IAC9CC,SAAS,EAAEX,OAAO,CAACW,SAAS,IAAIb,eAAe,CAACY;EAClD,CAAC,CAAC;EAEF,OAAOJ,GAAG;AACZ;AAEA,OAAO,SAASJ,eAAeA,CAC7BC,KAAwB,GAAGR,iBAAiB,CAACe,IAAI,EACjD;EACA,IAAI,CAACP,KAAK,GAAGR,iBAAiB,CAACiB,MAAM,MAAM,CAAC,EAAE;IAC5C,OAAOhB,SAAS,CAAC,CAAC,CAACQ,WAAW;EAChC,CAAC,MAAM;IACL,MAAMS,WAAW,GAAGhB,cAAc,CAAC,CAAC;IACpC,IAAI,CAACgB,WAAW,EAAE;MAChB,MAAM,IAAIC,KAAK,CAAC,sDAAsD,CAAC;IACzE;IACA,IAAIX,KAAK,GAAGR,iBAAiB,CAACoB,cAAc,EAAE;MAC5C,OAAOF,WAAW,CAACG,eAAe;IACpC,CAAC,MAAM;MACL,OAAOH,WAAW,CAACI,aAAa;IAClC;EACF;AACF","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import "@alloy-js/core/testing";
2
+ //# sourceMappingURL=array.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"array.test.d.ts","sourceRoot":"","sources":["../../test/array.test.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import "@alloy-js/core/testing";
2
+ //# sourceMappingURL=object.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"object.test.d.ts","sourceRoot":"","sources":["../../test/object.test.tsx"],"names":[],"mappings":"AACA,OAAO,wBAAwB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import "@alloy-js/core/testing";
2
+ //# sourceMappingURL=primitives.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"primitives.test.d.ts","sourceRoot":"","sources":["../../test/primitives.test.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import "@alloy-js/core/testing";
2
+ //# sourceMappingURL=reference.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reference.test.d.ts","sourceRoot":"","sources":["../../test/reference.test.tsx"],"names":[],"mappings":"AACA,OAAO,wBAAwB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function jsonTest(jsValue: unknown): import("@alloy-js/core").Children;
2
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../test/utils.tsx"],"names":[],"mappings":"AAIA,wBAAgB,QAAQ,CAAC,OAAO,EAAE,OAAO,qCAMxC"}