@alloy-js/json 0.27.0-dev.0 → 0.27.0-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/temp/api.json DELETED
@@ -1,2152 +0,0 @@
1
- {
2
- "metadata": {
3
- "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.58.11",
5
- "schemaVersion": 1011,
6
- "oldestForwardsCompatibleVersion": 1001,
7
- "tsdocConfig": {
8
- "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
9
- "noStandardTags": true,
10
- "tagDefinitions": [
11
- {
12
- "tagName": "@alpha",
13
- "syntaxKind": "modifier"
14
- },
15
- {
16
- "tagName": "@beta",
17
- "syntaxKind": "modifier"
18
- },
19
- {
20
- "tagName": "@defaultValue",
21
- "syntaxKind": "block"
22
- },
23
- {
24
- "tagName": "@decorator",
25
- "syntaxKind": "block",
26
- "allowMultiple": true
27
- },
28
- {
29
- "tagName": "@deprecated",
30
- "syntaxKind": "block"
31
- },
32
- {
33
- "tagName": "@eventProperty",
34
- "syntaxKind": "modifier"
35
- },
36
- {
37
- "tagName": "@example",
38
- "syntaxKind": "block",
39
- "allowMultiple": true
40
- },
41
- {
42
- "tagName": "@experimental",
43
- "syntaxKind": "modifier"
44
- },
45
- {
46
- "tagName": "@inheritDoc",
47
- "syntaxKind": "inline"
48
- },
49
- {
50
- "tagName": "@internal",
51
- "syntaxKind": "modifier"
52
- },
53
- {
54
- "tagName": "@label",
55
- "syntaxKind": "inline"
56
- },
57
- {
58
- "tagName": "@link",
59
- "syntaxKind": "inline",
60
- "allowMultiple": true
61
- },
62
- {
63
- "tagName": "@override",
64
- "syntaxKind": "modifier"
65
- },
66
- {
67
- "tagName": "@packageDocumentation",
68
- "syntaxKind": "modifier"
69
- },
70
- {
71
- "tagName": "@param",
72
- "syntaxKind": "block",
73
- "allowMultiple": true
74
- },
75
- {
76
- "tagName": "@privateRemarks",
77
- "syntaxKind": "block"
78
- },
79
- {
80
- "tagName": "@public",
81
- "syntaxKind": "modifier"
82
- },
83
- {
84
- "tagName": "@readonly",
85
- "syntaxKind": "modifier"
86
- },
87
- {
88
- "tagName": "@remarks",
89
- "syntaxKind": "block"
90
- },
91
- {
92
- "tagName": "@returns",
93
- "syntaxKind": "block"
94
- },
95
- {
96
- "tagName": "@sealed",
97
- "syntaxKind": "modifier"
98
- },
99
- {
100
- "tagName": "@see",
101
- "syntaxKind": "block"
102
- },
103
- {
104
- "tagName": "@throws",
105
- "syntaxKind": "block",
106
- "allowMultiple": true
107
- },
108
- {
109
- "tagName": "@typeParam",
110
- "syntaxKind": "block",
111
- "allowMultiple": true
112
- },
113
- {
114
- "tagName": "@virtual",
115
- "syntaxKind": "modifier"
116
- },
117
- {
118
- "tagName": "@jsx",
119
- "syntaxKind": "block"
120
- },
121
- {
122
- "tagName": "@jsxRuntime",
123
- "syntaxKind": "block"
124
- },
125
- {
126
- "tagName": "@jsxFrag",
127
- "syntaxKind": "block"
128
- },
129
- {
130
- "tagName": "@jsxImportSource",
131
- "syntaxKind": "block"
132
- },
133
- {
134
- "tagName": "@betaDocumentation",
135
- "syntaxKind": "modifier"
136
- },
137
- {
138
- "tagName": "@internalRemarks",
139
- "syntaxKind": "block"
140
- },
141
- {
142
- "tagName": "@preapproved",
143
- "syntaxKind": "modifier"
144
- }
145
- ],
146
- "supportForTags": {
147
- "@alpha": true,
148
- "@beta": true,
149
- "@defaultValue": true,
150
- "@decorator": true,
151
- "@deprecated": true,
152
- "@eventProperty": true,
153
- "@example": true,
154
- "@experimental": true,
155
- "@inheritDoc": true,
156
- "@internal": true,
157
- "@label": true,
158
- "@link": true,
159
- "@override": true,
160
- "@packageDocumentation": true,
161
- "@param": true,
162
- "@privateRemarks": true,
163
- "@public": true,
164
- "@readonly": true,
165
- "@remarks": true,
166
- "@returns": true,
167
- "@sealed": true,
168
- "@see": true,
169
- "@throws": true,
170
- "@typeParam": true,
171
- "@virtual": true,
172
- "@betaDocumentation": true,
173
- "@internalRemarks": true,
174
- "@preapproved": true
175
- },
176
- "reportUnsupportedHtmlElements": false
177
- }
178
- },
179
- "kind": "Package",
180
- "canonicalReference": "@alloy-js/json!",
181
- "docComment": "",
182
- "name": "@alloy-js/json",
183
- "preserveMemberOrder": false,
184
- "members": [
185
- {
186
- "kind": "EntryPoint",
187
- "canonicalReference": "@alloy-js/json!",
188
- "name": "",
189
- "preserveMemberOrder": false,
190
- "members": [
191
- {
192
- "kind": "Interface",
193
- "canonicalReference": "@alloy-js/json!CreateJsonSymbolOptions:interface",
194
- "docComment": "",
195
- "excerptTokens": [
196
- {
197
- "kind": "Content",
198
- "text": "export interface CreateJsonSymbolOptions extends "
199
- },
200
- {
201
- "kind": "Reference",
202
- "text": "OutputSymbolOptions",
203
- "canonicalReference": "@alloy-js/core!OutputSymbolOptions:interface"
204
- },
205
- {
206
- "kind": "Content",
207
- "text": " "
208
- }
209
- ],
210
- "fileUrlPath": "src/symbols/json-symbol.ts",
211
- "releaseTag": "Public",
212
- "name": "CreateJsonSymbolOptions",
213
- "preserveMemberOrder": false,
214
- "members": [
215
- {
216
- "kind": "PropertySignature",
217
- "canonicalReference": "@alloy-js/json!CreateJsonSymbolOptions#jsonFlags:member",
218
- "docComment": "",
219
- "excerptTokens": [
220
- {
221
- "kind": "Content",
222
- "text": "jsonFlags?: "
223
- },
224
- {
225
- "kind": "Reference",
226
- "text": "JsonSymbolFlags",
227
- "canonicalReference": "@alloy-js/json!JsonSymbolFlags:enum"
228
- },
229
- {
230
- "kind": "Content",
231
- "text": ";"
232
- }
233
- ],
234
- "isReadonly": false,
235
- "isOptional": true,
236
- "releaseTag": "Public",
237
- "name": "jsonFlags",
238
- "propertyTypeTokenRange": {
239
- "startIndex": 1,
240
- "endIndex": 2
241
- }
242
- }
243
- ],
244
- "extendsTokenRanges": [
245
- {
246
- "startIndex": 1,
247
- "endIndex": 2
248
- }
249
- ]
250
- },
251
- {
252
- "kind": "Function",
253
- "canonicalReference": "@alloy-js/json!JsonArray:function(1)",
254
- "docComment": "/**\n * Create a JSON Array. You can provide children, or else pass a JS value that will be serialized to JSON.\n *\n * @see\n *\n * {@link @alloy-js/core#(MemberScopeContext:variable)}\n */\n",
255
- "excerptTokens": [
256
- {
257
- "kind": "Content",
258
- "text": "export declare function JsonArray(props: "
259
- },
260
- {
261
- "kind": "Reference",
262
- "text": "JsonArrayProps",
263
- "canonicalReference": "@alloy-js/json!JsonArrayProps:type"
264
- },
265
- {
266
- "kind": "Content",
267
- "text": "): "
268
- },
269
- {
270
- "kind": "Reference",
271
- "text": "Children",
272
- "canonicalReference": "@alloy-js/core!Children:type"
273
- },
274
- {
275
- "kind": "Content",
276
- "text": ";"
277
- }
278
- ],
279
- "fileUrlPath": "src/components/json-array.tsx",
280
- "returnTypeTokenRange": {
281
- "startIndex": 3,
282
- "endIndex": 4
283
- },
284
- "releaseTag": "Public",
285
- "overloadIndex": 1,
286
- "parameters": [
287
- {
288
- "parameterName": "props",
289
- "parameterTypeTokenRange": {
290
- "startIndex": 1,
291
- "endIndex": 2
292
- },
293
- "isOptional": false
294
- }
295
- ],
296
- "name": "JsonArray"
297
- },
298
- {
299
- "kind": "Function",
300
- "canonicalReference": "@alloy-js/json!JsonArrayElement:function(1)",
301
- "docComment": "/**\n * Create a JSON Array element. This component should be used inside of a {@link JsonArray} component. Can either be provided `children`, or a JS value which will be serialized to JSON.\n *\n * @see\n *\n * {@link @alloy-js/core#(MemberDeclarationContext:variable)}\n */\n",
302
- "excerptTokens": [
303
- {
304
- "kind": "Content",
305
- "text": "export declare function JsonArrayElement(props: "
306
- },
307
- {
308
- "kind": "Reference",
309
- "text": "JsonArrayElementProps",
310
- "canonicalReference": "@alloy-js/json!JsonArrayElementProps:type"
311
- },
312
- {
313
- "kind": "Content",
314
- "text": "): "
315
- },
316
- {
317
- "kind": "Reference",
318
- "text": "Children",
319
- "canonicalReference": "@alloy-js/core!Children:type"
320
- },
321
- {
322
- "kind": "Content",
323
- "text": ";"
324
- }
325
- ],
326
- "fileUrlPath": "src/components/json-array.tsx",
327
- "returnTypeTokenRange": {
328
- "startIndex": 3,
329
- "endIndex": 4
330
- },
331
- "releaseTag": "Public",
332
- "overloadIndex": 1,
333
- "parameters": [
334
- {
335
- "parameterName": "props",
336
- "parameterTypeTokenRange": {
337
- "startIndex": 1,
338
- "endIndex": 2
339
- },
340
- "isOptional": false
341
- }
342
- ],
343
- "name": "JsonArrayElement"
344
- },
345
- {
346
- "kind": "TypeAlias",
347
- "canonicalReference": "@alloy-js/json!JsonArrayElementProps:type",
348
- "docComment": "",
349
- "excerptTokens": [
350
- {
351
- "kind": "Content",
352
- "text": "export type JsonArrayElementProps = "
353
- },
354
- {
355
- "kind": "Reference",
356
- "text": "JsonArrayElementPropsWithJsValue",
357
- "canonicalReference": "@alloy-js/json!JsonArrayElementPropsWithJsValue:interface"
358
- },
359
- {
360
- "kind": "Content",
361
- "text": " | "
362
- },
363
- {
364
- "kind": "Reference",
365
- "text": "JsonArrayElementPropsWithChildren",
366
- "canonicalReference": "@alloy-js/json!JsonArrayElementPropsWithChildren:interface"
367
- },
368
- {
369
- "kind": "Content",
370
- "text": ";"
371
- }
372
- ],
373
- "fileUrlPath": "src/components/json-array.tsx",
374
- "releaseTag": "Public",
375
- "name": "JsonArrayElementProps",
376
- "typeTokenRange": {
377
- "startIndex": 1,
378
- "endIndex": 4
379
- }
380
- },
381
- {
382
- "kind": "Interface",
383
- "canonicalReference": "@alloy-js/json!JsonArrayElementPropsWithChildren:interface",
384
- "docComment": "/**\n * Create a JSON Array element by providing children.\n */\n",
385
- "excerptTokens": [
386
- {
387
- "kind": "Content",
388
- "text": "export interface JsonArrayElementPropsWithChildren "
389
- }
390
- ],
391
- "fileUrlPath": "src/components/json-array.tsx",
392
- "releaseTag": "Public",
393
- "name": "JsonArrayElementPropsWithChildren",
394
- "preserveMemberOrder": false,
395
- "members": [
396
- {
397
- "kind": "PropertySignature",
398
- "canonicalReference": "@alloy-js/json!JsonArrayElementPropsWithChildren#children:member",
399
- "docComment": "",
400
- "excerptTokens": [
401
- {
402
- "kind": "Content",
403
- "text": "children: "
404
- },
405
- {
406
- "kind": "Reference",
407
- "text": "Children",
408
- "canonicalReference": "@alloy-js/core!Children:type"
409
- },
410
- {
411
- "kind": "Content",
412
- "text": ";"
413
- }
414
- ],
415
- "isReadonly": false,
416
- "isOptional": false,
417
- "releaseTag": "Public",
418
- "name": "children",
419
- "propertyTypeTokenRange": {
420
- "startIndex": 1,
421
- "endIndex": 2
422
- }
423
- }
424
- ],
425
- "extendsTokenRanges": []
426
- },
427
- {
428
- "kind": "Interface",
429
- "canonicalReference": "@alloy-js/json!JsonArrayElementPropsWithJsValue:interface",
430
- "docComment": "/**\n * Create a JSON Array element by providing a JS value that will be serialized to JSON.\n */\n",
431
- "excerptTokens": [
432
- {
433
- "kind": "Content",
434
- "text": "export interface JsonArrayElementPropsWithJsValue "
435
- }
436
- ],
437
- "fileUrlPath": "src/components/json-array.tsx",
438
- "releaseTag": "Public",
439
- "name": "JsonArrayElementPropsWithJsValue",
440
- "preserveMemberOrder": false,
441
- "members": [
442
- {
443
- "kind": "PropertySignature",
444
- "canonicalReference": "@alloy-js/json!JsonArrayElementPropsWithJsValue#jsValue:member",
445
- "docComment": "",
446
- "excerptTokens": [
447
- {
448
- "kind": "Content",
449
- "text": "jsValue: "
450
- },
451
- {
452
- "kind": "Content",
453
- "text": "unknown"
454
- },
455
- {
456
- "kind": "Content",
457
- "text": ";"
458
- }
459
- ],
460
- "isReadonly": false,
461
- "isOptional": false,
462
- "releaseTag": "Public",
463
- "name": "jsValue",
464
- "propertyTypeTokenRange": {
465
- "startIndex": 1,
466
- "endIndex": 2
467
- }
468
- }
469
- ],
470
- "extendsTokenRanges": []
471
- },
472
- {
473
- "kind": "TypeAlias",
474
- "canonicalReference": "@alloy-js/json!JsonArrayProps:type",
475
- "docComment": "",
476
- "excerptTokens": [
477
- {
478
- "kind": "Content",
479
- "text": "export type JsonArrayProps = "
480
- },
481
- {
482
- "kind": "Reference",
483
- "text": "JsonArrayPropsWithJsValue",
484
- "canonicalReference": "@alloy-js/json!JsonArrayPropsWithJsValue:interface"
485
- },
486
- {
487
- "kind": "Content",
488
- "text": " | "
489
- },
490
- {
491
- "kind": "Reference",
492
- "text": "JsonArrayPropsWithChildren",
493
- "canonicalReference": "@alloy-js/json!JsonArrayPropsWithChildren:interface"
494
- },
495
- {
496
- "kind": "Content",
497
- "text": ";"
498
- }
499
- ],
500
- "fileUrlPath": "src/components/json-array.tsx",
501
- "releaseTag": "Public",
502
- "name": "JsonArrayProps",
503
- "typeTokenRange": {
504
- "startIndex": 1,
505
- "endIndex": 4
506
- }
507
- },
508
- {
509
- "kind": "Interface",
510
- "canonicalReference": "@alloy-js/json!JsonArrayPropsBase:interface",
511
- "docComment": "",
512
- "excerptTokens": [
513
- {
514
- "kind": "Content",
515
- "text": "export interface JsonArrayPropsBase "
516
- }
517
- ],
518
- "fileUrlPath": "src/components/json-array.tsx",
519
- "releaseTag": "Public",
520
- "name": "JsonArrayPropsBase",
521
- "preserveMemberOrder": false,
522
- "members": [
523
- {
524
- "kind": "PropertySignature",
525
- "canonicalReference": "@alloy-js/json!JsonArrayPropsBase#refkey:member",
526
- "docComment": "/**\n * The refkey or array of refkeys for the JSON array. When provided, this value can be referenced elsewhere via this refkey.\n */\n",
527
- "excerptTokens": [
528
- {
529
- "kind": "Content",
530
- "text": "refkey?: "
531
- },
532
- {
533
- "kind": "Reference",
534
- "text": "Refkey",
535
- "canonicalReference": "@alloy-js/core!Refkey:type"
536
- },
537
- {
538
- "kind": "Content",
539
- "text": " | "
540
- },
541
- {
542
- "kind": "Reference",
543
- "text": "Refkey",
544
- "canonicalReference": "@alloy-js/core!Refkey:type"
545
- },
546
- {
547
- "kind": "Content",
548
- "text": "[]"
549
- },
550
- {
551
- "kind": "Content",
552
- "text": ";"
553
- }
554
- ],
555
- "isReadonly": false,
556
- "isOptional": true,
557
- "releaseTag": "Public",
558
- "name": "refkey",
559
- "propertyTypeTokenRange": {
560
- "startIndex": 1,
561
- "endIndex": 5
562
- }
563
- }
564
- ],
565
- "extendsTokenRanges": []
566
- },
567
- {
568
- "kind": "Interface",
569
- "canonicalReference": "@alloy-js/json!JsonArrayPropsWithChildren:interface",
570
- "docComment": "/**\n * Create a JSON Array by providing the children. To create an array element, see {@link JsonArrayElement}.\n */\n",
571
- "excerptTokens": [
572
- {
573
- "kind": "Content",
574
- "text": "export interface JsonArrayPropsWithChildren extends "
575
- },
576
- {
577
- "kind": "Reference",
578
- "text": "JsonArrayPropsBase",
579
- "canonicalReference": "@alloy-js/json!JsonArrayPropsBase:interface"
580
- },
581
- {
582
- "kind": "Content",
583
- "text": " "
584
- }
585
- ],
586
- "fileUrlPath": "src/components/json-array.tsx",
587
- "releaseTag": "Public",
588
- "name": "JsonArrayPropsWithChildren",
589
- "preserveMemberOrder": false,
590
- "members": [
591
- {
592
- "kind": "PropertySignature",
593
- "canonicalReference": "@alloy-js/json!JsonArrayPropsWithChildren#children:member",
594
- "docComment": "/**\n * The contents of the JSON Array. Likely to contain {@link JsonArrayElement} components.\n */\n",
595
- "excerptTokens": [
596
- {
597
- "kind": "Content",
598
- "text": "children?: "
599
- },
600
- {
601
- "kind": "Reference",
602
- "text": "Children",
603
- "canonicalReference": "@alloy-js/core!Children:type"
604
- },
605
- {
606
- "kind": "Content",
607
- "text": ";"
608
- }
609
- ],
610
- "isReadonly": false,
611
- "isOptional": true,
612
- "releaseTag": "Public",
613
- "name": "children",
614
- "propertyTypeTokenRange": {
615
- "startIndex": 1,
616
- "endIndex": 2
617
- }
618
- }
619
- ],
620
- "extendsTokenRanges": [
621
- {
622
- "startIndex": 1,
623
- "endIndex": 2
624
- }
625
- ]
626
- },
627
- {
628
- "kind": "Interface",
629
- "canonicalReference": "@alloy-js/json!JsonArrayPropsWithJsValue:interface",
630
- "docComment": "/**\n * Create a JSON Array by serializing the given JavaScript array to JSON.\n */\n",
631
- "excerptTokens": [
632
- {
633
- "kind": "Content",
634
- "text": "export interface JsonArrayPropsWithJsValue extends "
635
- },
636
- {
637
- "kind": "Reference",
638
- "text": "JsonArrayPropsBase",
639
- "canonicalReference": "@alloy-js/json!JsonArrayPropsBase:interface"
640
- },
641
- {
642
- "kind": "Content",
643
- "text": " "
644
- }
645
- ],
646
- "fileUrlPath": "src/components/json-array.tsx",
647
- "releaseTag": "Public",
648
- "name": "JsonArrayPropsWithJsValue",
649
- "preserveMemberOrder": false,
650
- "members": [
651
- {
652
- "kind": "PropertySignature",
653
- "canonicalReference": "@alloy-js/json!JsonArrayPropsWithJsValue#jsValue:member",
654
- "docComment": "/**\n * The value to serialize to a JSON array.\n */\n",
655
- "excerptTokens": [
656
- {
657
- "kind": "Content",
658
- "text": "jsValue: "
659
- },
660
- {
661
- "kind": "Content",
662
- "text": "unknown[]"
663
- },
664
- {
665
- "kind": "Content",
666
- "text": ";"
667
- }
668
- ],
669
- "isReadonly": false,
670
- "isOptional": false,
671
- "releaseTag": "Public",
672
- "name": "jsValue",
673
- "propertyTypeTokenRange": {
674
- "startIndex": 1,
675
- "endIndex": 2
676
- }
677
- }
678
- ],
679
- "extendsTokenRanges": [
680
- {
681
- "startIndex": 1,
682
- "endIndex": 2
683
- }
684
- ]
685
- },
686
- {
687
- "kind": "Interface",
688
- "canonicalReference": "@alloy-js/json!JsonFileContext:interface",
689
- "docComment": "",
690
- "excerptTokens": [
691
- {
692
- "kind": "Content",
693
- "text": "export interface JsonFileContext "
694
- }
695
- ],
696
- "fileUrlPath": "src/context/JsonFileContext.ts",
697
- "releaseTag": "Public",
698
- "name": "JsonFileContext",
699
- "preserveMemberOrder": false,
700
- "members": [
701
- {
702
- "kind": "PropertySignature",
703
- "canonicalReference": "@alloy-js/json!JsonFileContext#path:member",
704
- "docComment": "/**\n * The path of the current JSON file. May be different from the path on disk.\n */\n",
705
- "excerptTokens": [
706
- {
707
- "kind": "Content",
708
- "text": "path?: "
709
- },
710
- {
711
- "kind": "Content",
712
- "text": "string"
713
- },
714
- {
715
- "kind": "Content",
716
- "text": ";"
717
- }
718
- ],
719
- "isReadonly": false,
720
- "isOptional": true,
721
- "releaseTag": "Public",
722
- "name": "path",
723
- "propertyTypeTokenRange": {
724
- "startIndex": 1,
725
- "endIndex": 2
726
- }
727
- },
728
- {
729
- "kind": "PropertySignature",
730
- "canonicalReference": "@alloy-js/json!JsonFileContext#symbol:member",
731
- "docComment": "/**\n * The symbol for the value in this JSON file\n */\n",
732
- "excerptTokens": [
733
- {
734
- "kind": "Content",
735
- "text": "symbol: "
736
- },
737
- {
738
- "kind": "Reference",
739
- "text": "JsonOutputSymbol",
740
- "canonicalReference": "@alloy-js/json!JsonOutputSymbol:class"
741
- },
742
- {
743
- "kind": "Content",
744
- "text": ";"
745
- }
746
- ],
747
- "isReadonly": false,
748
- "isOptional": false,
749
- "releaseTag": "Public",
750
- "name": "symbol",
751
- "propertyTypeTokenRange": {
752
- "startIndex": 1,
753
- "endIndex": 2
754
- }
755
- },
756
- {
757
- "kind": "PropertySignature",
758
- "canonicalReference": "@alloy-js/json!JsonFileContext#url:member",
759
- "docComment": "/**\n * The URL of the current JSON file\n */\n",
760
- "excerptTokens": [
761
- {
762
- "kind": "Content",
763
- "text": "url?: "
764
- },
765
- {
766
- "kind": "Content",
767
- "text": "string"
768
- },
769
- {
770
- "kind": "Content",
771
- "text": ";"
772
- }
773
- ],
774
- "isReadonly": false,
775
- "isOptional": true,
776
- "releaseTag": "Public",
777
- "name": "url",
778
- "propertyTypeTokenRange": {
779
- "startIndex": 1,
780
- "endIndex": 2
781
- }
782
- }
783
- ],
784
- "extendsTokenRanges": []
785
- },
786
- {
787
- "kind": "Variable",
788
- "canonicalReference": "@alloy-js/json!JsonFileContext:var",
789
- "docComment": "/**\n * Provides information about the current JSON source file. This context is used to allow references between JSON files.\n */\n",
790
- "excerptTokens": [
791
- {
792
- "kind": "Content",
793
- "text": "JsonFileContext: "
794
- },
795
- {
796
- "kind": "Reference",
797
- "text": "ComponentContext",
798
- "canonicalReference": "@alloy-js/core!ComponentContext:interface"
799
- },
800
- {
801
- "kind": "Content",
802
- "text": "<"
803
- },
804
- {
805
- "kind": "Reference",
806
- "text": "JsonFileContext",
807
- "canonicalReference": "@alloy-js/json!JsonFileContext:interface"
808
- },
809
- {
810
- "kind": "Content",
811
- "text": ">"
812
- }
813
- ],
814
- "fileUrlPath": "src/context/JsonFileContext.ts",
815
- "isReadonly": true,
816
- "releaseTag": "Public",
817
- "name": "JsonFileContext",
818
- "variableTypeTokenRange": {
819
- "startIndex": 1,
820
- "endIndex": 5
821
- }
822
- },
823
- {
824
- "kind": "Function",
825
- "canonicalReference": "@alloy-js/json!JsonObject:function(1)",
826
- "docComment": "/**\n * Create a JSON Object. An object can be created by providing a JS object value which will be serialized to JSON. Else, you can provide children that comprise the object's JSON representation.\n *\n * @see\n *\n * {@link @alloy-js/core#MemberScopeContext}\n */\n",
827
- "excerptTokens": [
828
- {
829
- "kind": "Content",
830
- "text": "export declare function JsonObject(props: "
831
- },
832
- {
833
- "kind": "Reference",
834
- "text": "JsonObjectProps",
835
- "canonicalReference": "@alloy-js/json!JsonObjectProps:type"
836
- },
837
- {
838
- "kind": "Content",
839
- "text": "): "
840
- },
841
- {
842
- "kind": "Reference",
843
- "text": "Children",
844
- "canonicalReference": "@alloy-js/core!Children:type"
845
- },
846
- {
847
- "kind": "Content",
848
- "text": ";"
849
- }
850
- ],
851
- "fileUrlPath": "src/components/json-object.tsx",
852
- "returnTypeTokenRange": {
853
- "startIndex": 3,
854
- "endIndex": 4
855
- },
856
- "releaseTag": "Public",
857
- "overloadIndex": 1,
858
- "parameters": [
859
- {
860
- "parameterName": "props",
861
- "parameterTypeTokenRange": {
862
- "startIndex": 1,
863
- "endIndex": 2
864
- },
865
- "isOptional": false
866
- }
867
- ],
868
- "name": "JsonObject"
869
- },
870
- {
871
- "kind": "Function",
872
- "canonicalReference": "@alloy-js/json!JsonObjectProperty:function(1)",
873
- "docComment": "/**\n * Create a JSON object property. A property can be created by providing a JS property value or children that defines the value.\n *\n * @see\n *\n * {@link @alloy-js/core#(MemberDeclarationContext:variable)}\n */\n",
874
- "excerptTokens": [
875
- {
876
- "kind": "Content",
877
- "text": "export declare function JsonObjectProperty(props: "
878
- },
879
- {
880
- "kind": "Reference",
881
- "text": "ObjectPropertyProps",
882
- "canonicalReference": "@alloy-js/json!ObjectPropertyProps:type"
883
- },
884
- {
885
- "kind": "Content",
886
- "text": "): "
887
- },
888
- {
889
- "kind": "Reference",
890
- "text": "Children",
891
- "canonicalReference": "@alloy-js/core!Children:type"
892
- },
893
- {
894
- "kind": "Content",
895
- "text": ";"
896
- }
897
- ],
898
- "fileUrlPath": "src/components/json-object.tsx",
899
- "returnTypeTokenRange": {
900
- "startIndex": 3,
901
- "endIndex": 4
902
- },
903
- "releaseTag": "Public",
904
- "overloadIndex": 1,
905
- "parameters": [
906
- {
907
- "parameterName": "props",
908
- "parameterTypeTokenRange": {
909
- "startIndex": 1,
910
- "endIndex": 2
911
- },
912
- "isOptional": false
913
- }
914
- ],
915
- "name": "JsonObjectProperty"
916
- },
917
- {
918
- "kind": "TypeAlias",
919
- "canonicalReference": "@alloy-js/json!JsonObjectProps:type",
920
- "docComment": "",
921
- "excerptTokens": [
922
- {
923
- "kind": "Content",
924
- "text": "export type JsonObjectProps = "
925
- },
926
- {
927
- "kind": "Reference",
928
- "text": "JsonObjectPropsWithChildren",
929
- "canonicalReference": "@alloy-js/json!JsonObjectPropsWithChildren:interface"
930
- },
931
- {
932
- "kind": "Content",
933
- "text": " | "
934
- },
935
- {
936
- "kind": "Reference",
937
- "text": "JsonObjectPropsWithJsValue",
938
- "canonicalReference": "@alloy-js/json!JsonObjectPropsWithJsValue:interface"
939
- },
940
- {
941
- "kind": "Content",
942
- "text": ";"
943
- }
944
- ],
945
- "fileUrlPath": "src/components/json-object.tsx",
946
- "releaseTag": "Public",
947
- "name": "JsonObjectProps",
948
- "typeTokenRange": {
949
- "startIndex": 1,
950
- "endIndex": 4
951
- }
952
- },
953
- {
954
- "kind": "Interface",
955
- "canonicalReference": "@alloy-js/json!JsonObjectPropsBase:interface",
956
- "docComment": "",
957
- "excerptTokens": [
958
- {
959
- "kind": "Content",
960
- "text": "export interface JsonObjectPropsBase "
961
- }
962
- ],
963
- "fileUrlPath": "src/components/json-object.tsx",
964
- "releaseTag": "Public",
965
- "name": "JsonObjectPropsBase",
966
- "preserveMemberOrder": false,
967
- "members": [
968
- {
969
- "kind": "PropertySignature",
970
- "canonicalReference": "@alloy-js/json!JsonObjectPropsBase#refkey:member",
971
- "docComment": "/**\n * The refkey or array of refkeys for the JSON object. When provided, this value can be referenced elsewhere via this refkey.\n */\n",
972
- "excerptTokens": [
973
- {
974
- "kind": "Content",
975
- "text": "refkey?: "
976
- },
977
- {
978
- "kind": "Reference",
979
- "text": "Refkey",
980
- "canonicalReference": "@alloy-js/core!Refkey:type"
981
- },
982
- {
983
- "kind": "Content",
984
- "text": " | "
985
- },
986
- {
987
- "kind": "Reference",
988
- "text": "Refkey",
989
- "canonicalReference": "@alloy-js/core!Refkey:type"
990
- },
991
- {
992
- "kind": "Content",
993
- "text": "[]"
994
- },
995
- {
996
- "kind": "Content",
997
- "text": ";"
998
- }
999
- ],
1000
- "isReadonly": false,
1001
- "isOptional": true,
1002
- "releaseTag": "Public",
1003
- "name": "refkey",
1004
- "propertyTypeTokenRange": {
1005
- "startIndex": 1,
1006
- "endIndex": 5
1007
- }
1008
- },
1009
- {
1010
- "kind": "PropertySignature",
1011
- "canonicalReference": "@alloy-js/json!JsonObjectPropsBase#style:member",
1012
- "docComment": "",
1013
- "excerptTokens": [
1014
- {
1015
- "kind": "Content",
1016
- "text": "style?: "
1017
- },
1018
- {
1019
- "kind": "Content",
1020
- "text": "{\n concise?: boolean;\n }"
1021
- },
1022
- {
1023
- "kind": "Content",
1024
- "text": ";"
1025
- }
1026
- ],
1027
- "isReadonly": false,
1028
- "isOptional": true,
1029
- "releaseTag": "Public",
1030
- "name": "style",
1031
- "propertyTypeTokenRange": {
1032
- "startIndex": 1,
1033
- "endIndex": 2
1034
- }
1035
- }
1036
- ],
1037
- "extendsTokenRanges": []
1038
- },
1039
- {
1040
- "kind": "Interface",
1041
- "canonicalReference": "@alloy-js/json!JsonObjectPropsWithChildren:interface",
1042
- "docComment": "/**\n * Create a JSON object by providing children that define the object's contents. The children should use the {@link JsonObjectProperty} component to define individual object properties.\n */\n",
1043
- "excerptTokens": [
1044
- {
1045
- "kind": "Content",
1046
- "text": "export interface JsonObjectPropsWithChildren extends "
1047
- },
1048
- {
1049
- "kind": "Reference",
1050
- "text": "JsonObjectPropsBase",
1051
- "canonicalReference": "@alloy-js/json!JsonObjectPropsBase:interface"
1052
- },
1053
- {
1054
- "kind": "Content",
1055
- "text": " "
1056
- }
1057
- ],
1058
- "fileUrlPath": "src/components/json-object.tsx",
1059
- "releaseTag": "Public",
1060
- "name": "JsonObjectPropsWithChildren",
1061
- "preserveMemberOrder": false,
1062
- "members": [
1063
- {
1064
- "kind": "PropertySignature",
1065
- "canonicalReference": "@alloy-js/json!JsonObjectPropsWithChildren#children:member",
1066
- "docComment": "/**\n * The contents of the JSON object. Likely to contain {@link JsonObjectProperty} components.\n */\n",
1067
- "excerptTokens": [
1068
- {
1069
- "kind": "Content",
1070
- "text": "children: "
1071
- },
1072
- {
1073
- "kind": "Reference",
1074
- "text": "Children",
1075
- "canonicalReference": "@alloy-js/core!Children:type"
1076
- },
1077
- {
1078
- "kind": "Content",
1079
- "text": ";"
1080
- }
1081
- ],
1082
- "isReadonly": false,
1083
- "isOptional": false,
1084
- "releaseTag": "Public",
1085
- "name": "children",
1086
- "propertyTypeTokenRange": {
1087
- "startIndex": 1,
1088
- "endIndex": 2
1089
- }
1090
- }
1091
- ],
1092
- "extendsTokenRanges": [
1093
- {
1094
- "startIndex": 1,
1095
- "endIndex": 2
1096
- }
1097
- ]
1098
- },
1099
- {
1100
- "kind": "Interface",
1101
- "canonicalReference": "@alloy-js/json!JsonObjectPropsWithJsValue:interface",
1102
- "docComment": "/**\n * Create a JSON object by providing a JS value that will be serialized to JSON.\n */\n",
1103
- "excerptTokens": [
1104
- {
1105
- "kind": "Content",
1106
- "text": "export interface JsonObjectPropsWithJsValue extends "
1107
- },
1108
- {
1109
- "kind": "Reference",
1110
- "text": "JsonObjectPropsBase",
1111
- "canonicalReference": "@alloy-js/json!JsonObjectPropsBase:interface"
1112
- },
1113
- {
1114
- "kind": "Content",
1115
- "text": " "
1116
- }
1117
- ],
1118
- "fileUrlPath": "src/components/json-object.tsx",
1119
- "releaseTag": "Public",
1120
- "name": "JsonObjectPropsWithJsValue",
1121
- "preserveMemberOrder": false,
1122
- "members": [
1123
- {
1124
- "kind": "PropertySignature",
1125
- "canonicalReference": "@alloy-js/json!JsonObjectPropsWithJsValue#jsValue:member",
1126
- "docComment": "/**\n * The JS value to serialize to JSON. This can be an array of key-value pairs, a map, or a vanilla JS object.\n */\n",
1127
- "excerptTokens": [
1128
- {
1129
- "kind": "Content",
1130
- "text": "jsValue: "
1131
- },
1132
- {
1133
- "kind": "Content",
1134
- "text": "[string, unknown][] | "
1135
- },
1136
- {
1137
- "kind": "Reference",
1138
- "text": "Map",
1139
- "canonicalReference": "!Map:interface"
1140
- },
1141
- {
1142
- "kind": "Content",
1143
- "text": "<string, unknown> | "
1144
- },
1145
- {
1146
- "kind": "Reference",
1147
- "text": "Record",
1148
- "canonicalReference": "!Record:type"
1149
- },
1150
- {
1151
- "kind": "Content",
1152
- "text": "<string, unknown>"
1153
- },
1154
- {
1155
- "kind": "Content",
1156
- "text": ";"
1157
- }
1158
- ],
1159
- "isReadonly": false,
1160
- "isOptional": false,
1161
- "releaseTag": "Public",
1162
- "name": "jsValue",
1163
- "propertyTypeTokenRange": {
1164
- "startIndex": 1,
1165
- "endIndex": 6
1166
- }
1167
- }
1168
- ],
1169
- "extendsTokenRanges": [
1170
- {
1171
- "startIndex": 1,
1172
- "endIndex": 2
1173
- }
1174
- ]
1175
- },
1176
- {
1177
- "kind": "Class",
1178
- "canonicalReference": "@alloy-js/json!JsonOutputSymbol:class",
1179
- "docComment": "/**\n * JsonOutputSymbol is created for JSON Values with a refkey. For JSON objects and arrays, the symbol will have the `StaticMemberContainer` flag. For JSON values that are members of an object or an array, the symbol will have the `StaticMember` flag.\n */\n",
1180
- "excerptTokens": [
1181
- {
1182
- "kind": "Content",
1183
- "text": "export declare class JsonOutputSymbol extends "
1184
- },
1185
- {
1186
- "kind": "Reference",
1187
- "text": "OutputSymbol",
1188
- "canonicalReference": "@alloy-js/core!OutputSymbol:class"
1189
- },
1190
- {
1191
- "kind": "Content",
1192
- "text": " "
1193
- }
1194
- ],
1195
- "fileUrlPath": "src/symbols/json-symbol.ts",
1196
- "releaseTag": "Public",
1197
- "isAbstract": false,
1198
- "name": "JsonOutputSymbol",
1199
- "preserveMemberOrder": false,
1200
- "members": [
1201
- {
1202
- "kind": "Constructor",
1203
- "canonicalReference": "@alloy-js/json!JsonOutputSymbol:constructor(1)",
1204
- "docComment": "/**\n * Constructs a new instance of the `JsonOutputSymbol` class\n */\n",
1205
- "excerptTokens": [
1206
- {
1207
- "kind": "Content",
1208
- "text": "constructor(name: "
1209
- },
1210
- {
1211
- "kind": "Content",
1212
- "text": "string"
1213
- },
1214
- {
1215
- "kind": "Content",
1216
- "text": ", spaces: "
1217
- },
1218
- {
1219
- "kind": "Reference",
1220
- "text": "OutputSpace",
1221
- "canonicalReference": "@alloy-js/core!OutputSpace:type"
1222
- },
1223
- {
1224
- "kind": "Content",
1225
- "text": "[] | "
1226
- },
1227
- {
1228
- "kind": "Reference",
1229
- "text": "OutputSpace",
1230
- "canonicalReference": "@alloy-js/core!OutputSpace:type"
1231
- },
1232
- {
1233
- "kind": "Content",
1234
- "text": " | undefined"
1235
- },
1236
- {
1237
- "kind": "Content",
1238
- "text": ", options?: "
1239
- },
1240
- {
1241
- "kind": "Reference",
1242
- "text": "CreateJsonSymbolOptions",
1243
- "canonicalReference": "@alloy-js/json!CreateJsonSymbolOptions:interface"
1244
- },
1245
- {
1246
- "kind": "Content",
1247
- "text": ");"
1248
- }
1249
- ],
1250
- "releaseTag": "Public",
1251
- "isProtected": false,
1252
- "overloadIndex": 1,
1253
- "parameters": [
1254
- {
1255
- "parameterName": "name",
1256
- "parameterTypeTokenRange": {
1257
- "startIndex": 1,
1258
- "endIndex": 2
1259
- },
1260
- "isOptional": false
1261
- },
1262
- {
1263
- "parameterName": "spaces",
1264
- "parameterTypeTokenRange": {
1265
- "startIndex": 3,
1266
- "endIndex": 7
1267
- },
1268
- "isOptional": false
1269
- },
1270
- {
1271
- "parameterName": "options",
1272
- "parameterTypeTokenRange": {
1273
- "startIndex": 8,
1274
- "endIndex": 9
1275
- },
1276
- "isOptional": true
1277
- }
1278
- ]
1279
- },
1280
- {
1281
- "kind": "Method",
1282
- "canonicalReference": "@alloy-js/json!JsonOutputSymbol#copy:member(1)",
1283
- "docComment": "",
1284
- "excerptTokens": [
1285
- {
1286
- "kind": "Content",
1287
- "text": "copy(): "
1288
- },
1289
- {
1290
- "kind": "Reference",
1291
- "text": "JsonOutputSymbol",
1292
- "canonicalReference": "@alloy-js/json!JsonOutputSymbol:class"
1293
- },
1294
- {
1295
- "kind": "Content",
1296
- "text": ";"
1297
- }
1298
- ],
1299
- "isStatic": false,
1300
- "returnTypeTokenRange": {
1301
- "startIndex": 1,
1302
- "endIndex": 2
1303
- },
1304
- "releaseTag": "Public",
1305
- "isProtected": false,
1306
- "overloadIndex": 1,
1307
- "parameters": [],
1308
- "isOptional": false,
1309
- "isAbstract": false,
1310
- "name": "copy"
1311
- },
1312
- {
1313
- "kind": "Property",
1314
- "canonicalReference": "@alloy-js/json!JsonOutputSymbol#debugInfo:member",
1315
- "docComment": "",
1316
- "excerptTokens": [
1317
- {
1318
- "kind": "Content",
1319
- "text": "get debugInfo(): "
1320
- },
1321
- {
1322
- "kind": "Reference",
1323
- "text": "Record",
1324
- "canonicalReference": "!Record:type"
1325
- },
1326
- {
1327
- "kind": "Content",
1328
- "text": "<string, unknown>"
1329
- },
1330
- {
1331
- "kind": "Content",
1332
- "text": ";"
1333
- }
1334
- ],
1335
- "isReadonly": true,
1336
- "isOptional": false,
1337
- "releaseTag": "Public",
1338
- "name": "debugInfo",
1339
- "propertyTypeTokenRange": {
1340
- "startIndex": 1,
1341
- "endIndex": 3
1342
- },
1343
- "isStatic": false,
1344
- "isProtected": false,
1345
- "isAbstract": false
1346
- },
1347
- {
1348
- "kind": "Property",
1349
- "canonicalReference": "@alloy-js/json!JsonOutputSymbol#jsonFlags:member",
1350
- "docComment": "",
1351
- "excerptTokens": [
1352
- {
1353
- "kind": "Content",
1354
- "text": "get jsonFlags(): "
1355
- },
1356
- {
1357
- "kind": "Reference",
1358
- "text": "JsonSymbolFlags",
1359
- "canonicalReference": "@alloy-js/json!JsonSymbolFlags:enum"
1360
- },
1361
- {
1362
- "kind": "Content",
1363
- "text": ";\n\nset jsonFlags(value: "
1364
- },
1365
- {
1366
- "kind": "Reference",
1367
- "text": "JsonSymbolFlags",
1368
- "canonicalReference": "@alloy-js/json!JsonSymbolFlags:enum"
1369
- },
1370
- {
1371
- "kind": "Content",
1372
- "text": ");"
1373
- }
1374
- ],
1375
- "isReadonly": false,
1376
- "isOptional": false,
1377
- "releaseTag": "Public",
1378
- "name": "jsonFlags",
1379
- "propertyTypeTokenRange": {
1380
- "startIndex": 1,
1381
- "endIndex": 2
1382
- },
1383
- "isStatic": false,
1384
- "isProtected": false,
1385
- "isAbstract": false
1386
- },
1387
- {
1388
- "kind": "Property",
1389
- "canonicalReference": "@alloy-js/json!JsonOutputSymbol.memberSpaces:member",
1390
- "docComment": "",
1391
- "excerptTokens": [
1392
- {
1393
- "kind": "Content",
1394
- "text": "static readonly memberSpaces: "
1395
- },
1396
- {
1397
- "kind": "Content",
1398
- "text": "readonly [\"static\"]"
1399
- },
1400
- {
1401
- "kind": "Content",
1402
- "text": ";"
1403
- }
1404
- ],
1405
- "isReadonly": true,
1406
- "isOptional": false,
1407
- "releaseTag": "Public",
1408
- "name": "memberSpaces",
1409
- "propertyTypeTokenRange": {
1410
- "startIndex": 1,
1411
- "endIndex": 2
1412
- },
1413
- "isStatic": true,
1414
- "isProtected": false,
1415
- "isAbstract": false
1416
- },
1417
- {
1418
- "kind": "Property",
1419
- "canonicalReference": "@alloy-js/json!JsonOutputSymbol#staticMembers:member",
1420
- "docComment": "",
1421
- "excerptTokens": [
1422
- {
1423
- "kind": "Content",
1424
- "text": "get staticMembers(): "
1425
- },
1426
- {
1427
- "kind": "Content",
1428
- "text": "import(\"@alloy-js/core\")."
1429
- },
1430
- {
1431
- "kind": "Reference",
1432
- "text": "OutputMemberSpace",
1433
- "canonicalReference": "@alloy-js/core!OutputMemberSpace:class"
1434
- },
1435
- {
1436
- "kind": "Content",
1437
- "text": ";"
1438
- }
1439
- ],
1440
- "isReadonly": true,
1441
- "isOptional": false,
1442
- "releaseTag": "Public",
1443
- "name": "staticMembers",
1444
- "propertyTypeTokenRange": {
1445
- "startIndex": 1,
1446
- "endIndex": 3
1447
- },
1448
- "isStatic": false,
1449
- "isProtected": false,
1450
- "isAbstract": false
1451
- }
1452
- ],
1453
- "extendsTokenRange": {
1454
- "startIndex": 1,
1455
- "endIndex": 2
1456
- },
1457
- "implementsTokenRanges": []
1458
- },
1459
- {
1460
- "kind": "Enum",
1461
- "canonicalReference": "@alloy-js/json!JsonSymbolFlags:enum",
1462
- "docComment": "",
1463
- "excerptTokens": [
1464
- {
1465
- "kind": "Content",
1466
- "text": "export declare enum JsonSymbolFlags "
1467
- }
1468
- ],
1469
- "fileUrlPath": "src/symbols/json-symbol.ts",
1470
- "releaseTag": "Public",
1471
- "name": "JsonSymbolFlags",
1472
- "preserveMemberOrder": false,
1473
- "members": [
1474
- {
1475
- "kind": "EnumMember",
1476
- "canonicalReference": "@alloy-js/json!JsonSymbolFlags.Array:member",
1477
- "docComment": "",
1478
- "excerptTokens": [
1479
- {
1480
- "kind": "Content",
1481
- "text": "Array = "
1482
- },
1483
- {
1484
- "kind": "Content",
1485
- "text": "2"
1486
- }
1487
- ],
1488
- "initializerTokenRange": {
1489
- "startIndex": 1,
1490
- "endIndex": 2
1491
- },
1492
- "releaseTag": "Public",
1493
- "name": "Array"
1494
- },
1495
- {
1496
- "kind": "EnumMember",
1497
- "canonicalReference": "@alloy-js/json!JsonSymbolFlags.None:member",
1498
- "docComment": "",
1499
- "excerptTokens": [
1500
- {
1501
- "kind": "Content",
1502
- "text": "None = "
1503
- },
1504
- {
1505
- "kind": "Content",
1506
- "text": "0"
1507
- }
1508
- ],
1509
- "initializerTokenRange": {
1510
- "startIndex": 1,
1511
- "endIndex": 2
1512
- },
1513
- "releaseTag": "Public",
1514
- "name": "None"
1515
- },
1516
- {
1517
- "kind": "EnumMember",
1518
- "canonicalReference": "@alloy-js/json!JsonSymbolFlags.Object:member",
1519
- "docComment": "",
1520
- "excerptTokens": [
1521
- {
1522
- "kind": "Content",
1523
- "text": "Object = "
1524
- },
1525
- {
1526
- "kind": "Content",
1527
- "text": "1"
1528
- }
1529
- ],
1530
- "initializerTokenRange": {
1531
- "startIndex": 1,
1532
- "endIndex": 2
1533
- },
1534
- "releaseTag": "Public",
1535
- "name": "Object"
1536
- }
1537
- ]
1538
- },
1539
- {
1540
- "kind": "Function",
1541
- "canonicalReference": "@alloy-js/json!JsonValue:function(1)",
1542
- "docComment": "/**\n * Create a JSON value from a JS value. When the provided JS value is an object, the {@link JsonObject} component will be used. When the provided JS value is an array, the {@link JsonArray} component will be used. Otherwise, the JS value will be serialized to a string, number, boolean, or null as appropriate.\n */\n",
1543
- "excerptTokens": [
1544
- {
1545
- "kind": "Content",
1546
- "text": "export declare function JsonValue(props: "
1547
- },
1548
- {
1549
- "kind": "Reference",
1550
- "text": "JsonValueProps",
1551
- "canonicalReference": "@alloy-js/json!JsonValueProps:interface"
1552
- },
1553
- {
1554
- "kind": "Content",
1555
- "text": "): "
1556
- },
1557
- {
1558
- "kind": "Reference",
1559
- "text": "Children",
1560
- "canonicalReference": "@alloy-js/core!Children:type"
1561
- },
1562
- {
1563
- "kind": "Content",
1564
- "text": ";"
1565
- }
1566
- ],
1567
- "fileUrlPath": "src/components/json-value.tsx",
1568
- "returnTypeTokenRange": {
1569
- "startIndex": 3,
1570
- "endIndex": 4
1571
- },
1572
- "releaseTag": "Public",
1573
- "overloadIndex": 1,
1574
- "parameters": [
1575
- {
1576
- "parameterName": "props",
1577
- "parameterTypeTokenRange": {
1578
- "startIndex": 1,
1579
- "endIndex": 2
1580
- },
1581
- "isOptional": false
1582
- }
1583
- ],
1584
- "name": "JsonValue"
1585
- },
1586
- {
1587
- "kind": "Interface",
1588
- "canonicalReference": "@alloy-js/json!JsonValueProps:interface",
1589
- "docComment": "",
1590
- "excerptTokens": [
1591
- {
1592
- "kind": "Content",
1593
- "text": "export interface JsonValueProps "
1594
- }
1595
- ],
1596
- "fileUrlPath": "src/components/json-value.tsx",
1597
- "releaseTag": "Public",
1598
- "name": "JsonValueProps",
1599
- "preserveMemberOrder": false,
1600
- "members": [
1601
- {
1602
- "kind": "PropertySignature",
1603
- "canonicalReference": "@alloy-js/json!JsonValueProps#jsValue:member",
1604
- "docComment": "/**\n * The JS value to serialize to JSON. When provided, thi\n */\n",
1605
- "excerptTokens": [
1606
- {
1607
- "kind": "Content",
1608
- "text": "jsValue: "
1609
- },
1610
- {
1611
- "kind": "Content",
1612
- "text": "unknown"
1613
- },
1614
- {
1615
- "kind": "Content",
1616
- "text": ";"
1617
- }
1618
- ],
1619
- "isReadonly": false,
1620
- "isOptional": false,
1621
- "releaseTag": "Public",
1622
- "name": "jsValue",
1623
- "propertyTypeTokenRange": {
1624
- "startIndex": 1,
1625
- "endIndex": 2
1626
- }
1627
- },
1628
- {
1629
- "kind": "PropertySignature",
1630
- "canonicalReference": "@alloy-js/json!JsonValueProps#refkey:member",
1631
- "docComment": "/**\n * The refkey or array of refkeys for the JSON value. When provided, this value can be referenced elsewhere via this refkey.\n */\n",
1632
- "excerptTokens": [
1633
- {
1634
- "kind": "Content",
1635
- "text": "refkey?: "
1636
- },
1637
- {
1638
- "kind": "Reference",
1639
- "text": "Refkey",
1640
- "canonicalReference": "@alloy-js/core!Refkey:type"
1641
- },
1642
- {
1643
- "kind": "Content",
1644
- "text": " | "
1645
- },
1646
- {
1647
- "kind": "Reference",
1648
- "text": "Refkey",
1649
- "canonicalReference": "@alloy-js/core!Refkey:type"
1650
- },
1651
- {
1652
- "kind": "Content",
1653
- "text": "[]"
1654
- },
1655
- {
1656
- "kind": "Content",
1657
- "text": ";"
1658
- }
1659
- ],
1660
- "isReadonly": false,
1661
- "isOptional": true,
1662
- "releaseTag": "Public",
1663
- "name": "refkey",
1664
- "propertyTypeTokenRange": {
1665
- "startIndex": 1,
1666
- "endIndex": 5
1667
- }
1668
- }
1669
- ],
1670
- "extendsTokenRanges": []
1671
- },
1672
- {
1673
- "kind": "TypeAlias",
1674
- "canonicalReference": "@alloy-js/json!ObjectPropertyProps:type",
1675
- "docComment": "",
1676
- "excerptTokens": [
1677
- {
1678
- "kind": "Content",
1679
- "text": "export type ObjectPropertyProps = "
1680
- },
1681
- {
1682
- "kind": "Reference",
1683
- "text": "ObjectPropertyPropsWithChildren",
1684
- "canonicalReference": "@alloy-js/json!ObjectPropertyPropsWithChildren:interface"
1685
- },
1686
- {
1687
- "kind": "Content",
1688
- "text": " | "
1689
- },
1690
- {
1691
- "kind": "Reference",
1692
- "text": "ObjectPropertyPropsWithJsValue",
1693
- "canonicalReference": "@alloy-js/json!ObjectPropertyPropsWithJsValue:interface"
1694
- },
1695
- {
1696
- "kind": "Content",
1697
- "text": ";"
1698
- }
1699
- ],
1700
- "fileUrlPath": "src/components/json-object.tsx",
1701
- "releaseTag": "Public",
1702
- "name": "ObjectPropertyProps",
1703
- "typeTokenRange": {
1704
- "startIndex": 1,
1705
- "endIndex": 4
1706
- }
1707
- },
1708
- {
1709
- "kind": "Interface",
1710
- "canonicalReference": "@alloy-js/json!ObjectPropertyPropsWithChildren:interface",
1711
- "docComment": "/**\n * Create a JSON object property with a name and children. The children become the value of the property.\n */\n",
1712
- "excerptTokens": [
1713
- {
1714
- "kind": "Content",
1715
- "text": "export interface ObjectPropertyPropsWithChildren "
1716
- }
1717
- ],
1718
- "fileUrlPath": "src/components/json-object.tsx",
1719
- "releaseTag": "Public",
1720
- "name": "ObjectPropertyPropsWithChildren",
1721
- "preserveMemberOrder": false,
1722
- "members": [
1723
- {
1724
- "kind": "PropertySignature",
1725
- "canonicalReference": "@alloy-js/json!ObjectPropertyPropsWithChildren#children:member",
1726
- "docComment": "",
1727
- "excerptTokens": [
1728
- {
1729
- "kind": "Content",
1730
- "text": "children: "
1731
- },
1732
- {
1733
- "kind": "Reference",
1734
- "text": "Children",
1735
- "canonicalReference": "@alloy-js/core!Children:type"
1736
- },
1737
- {
1738
- "kind": "Content",
1739
- "text": ";"
1740
- }
1741
- ],
1742
- "isReadonly": false,
1743
- "isOptional": false,
1744
- "releaseTag": "Public",
1745
- "name": "children",
1746
- "propertyTypeTokenRange": {
1747
- "startIndex": 1,
1748
- "endIndex": 2
1749
- }
1750
- },
1751
- {
1752
- "kind": "PropertySignature",
1753
- "canonicalReference": "@alloy-js/json!ObjectPropertyPropsWithChildren#name:member",
1754
- "docComment": "",
1755
- "excerptTokens": [
1756
- {
1757
- "kind": "Content",
1758
- "text": "name: "
1759
- },
1760
- {
1761
- "kind": "Content",
1762
- "text": "string"
1763
- },
1764
- {
1765
- "kind": "Content",
1766
- "text": ";"
1767
- }
1768
- ],
1769
- "isReadonly": false,
1770
- "isOptional": false,
1771
- "releaseTag": "Public",
1772
- "name": "name",
1773
- "propertyTypeTokenRange": {
1774
- "startIndex": 1,
1775
- "endIndex": 2
1776
- }
1777
- }
1778
- ],
1779
- "extendsTokenRanges": []
1780
- },
1781
- {
1782
- "kind": "Interface",
1783
- "canonicalReference": "@alloy-js/json!ObjectPropertyPropsWithJsValue:interface",
1784
- "docComment": "/**\n * Create a JSON object property with a name and a JS value. The JS value is serialized to JSON for the property\n */\n",
1785
- "excerptTokens": [
1786
- {
1787
- "kind": "Content",
1788
- "text": "export interface ObjectPropertyPropsWithJsValue "
1789
- }
1790
- ],
1791
- "fileUrlPath": "src/components/json-object.tsx",
1792
- "releaseTag": "Public",
1793
- "name": "ObjectPropertyPropsWithJsValue",
1794
- "preserveMemberOrder": false,
1795
- "members": [
1796
- {
1797
- "kind": "PropertySignature",
1798
- "canonicalReference": "@alloy-js/json!ObjectPropertyPropsWithJsValue#jsValue:member",
1799
- "docComment": "",
1800
- "excerptTokens": [
1801
- {
1802
- "kind": "Content",
1803
- "text": "jsValue: "
1804
- },
1805
- {
1806
- "kind": "Content",
1807
- "text": "unknown"
1808
- },
1809
- {
1810
- "kind": "Content",
1811
- "text": ";"
1812
- }
1813
- ],
1814
- "isReadonly": false,
1815
- "isOptional": false,
1816
- "releaseTag": "Public",
1817
- "name": "jsValue",
1818
- "propertyTypeTokenRange": {
1819
- "startIndex": 1,
1820
- "endIndex": 2
1821
- }
1822
- },
1823
- {
1824
- "kind": "PropertySignature",
1825
- "canonicalReference": "@alloy-js/json!ObjectPropertyPropsWithJsValue#name:member",
1826
- "docComment": "",
1827
- "excerptTokens": [
1828
- {
1829
- "kind": "Content",
1830
- "text": "name: "
1831
- },
1832
- {
1833
- "kind": "Content",
1834
- "text": "string"
1835
- },
1836
- {
1837
- "kind": "Content",
1838
- "text": ";"
1839
- }
1840
- ],
1841
- "isReadonly": false,
1842
- "isOptional": false,
1843
- "releaseTag": "Public",
1844
- "name": "name",
1845
- "propertyTypeTokenRange": {
1846
- "startIndex": 1,
1847
- "endIndex": 2
1848
- }
1849
- }
1850
- ],
1851
- "extendsTokenRanges": []
1852
- },
1853
- {
1854
- "kind": "Function",
1855
- "canonicalReference": "@alloy-js/json!ref:function(1)",
1856
- "docComment": "",
1857
- "excerptTokens": [
1858
- {
1859
- "kind": "Content",
1860
- "text": "export declare function ref(refkey: "
1861
- },
1862
- {
1863
- "kind": "Reference",
1864
- "text": "Refkey",
1865
- "canonicalReference": "@alloy-js/core!Refkey:type"
1866
- },
1867
- {
1868
- "kind": "Content",
1869
- "text": "): "
1870
- },
1871
- {
1872
- "kind": "Content",
1873
- "text": "string | (() => string)"
1874
- },
1875
- {
1876
- "kind": "Content",
1877
- "text": ";"
1878
- }
1879
- ],
1880
- "fileUrlPath": "src/symbols/index.ts",
1881
- "returnTypeTokenRange": {
1882
- "startIndex": 3,
1883
- "endIndex": 4
1884
- },
1885
- "releaseTag": "Public",
1886
- "overloadIndex": 1,
1887
- "parameters": [
1888
- {
1889
- "parameterName": "refkey",
1890
- "parameterTypeTokenRange": {
1891
- "startIndex": 1,
1892
- "endIndex": 2
1893
- },
1894
- "isOptional": false
1895
- }
1896
- ],
1897
- "name": "ref"
1898
- },
1899
- {
1900
- "kind": "Function",
1901
- "canonicalReference": "@alloy-js/json!Reference:function(1)",
1902
- "docComment": "/**\n * Emit a reference to a JSON value by its refkey.\n *\n * @remarks\n *\n * Note that when you place a refkey in a template, the refkey will be converted into a reference automatically. Using this component directly is generally not required or recommended.\n */\n",
1903
- "excerptTokens": [
1904
- {
1905
- "kind": "Content",
1906
- "text": "export declare function Reference(props: "
1907
- },
1908
- {
1909
- "kind": "Reference",
1910
- "text": "ReferenceProps",
1911
- "canonicalReference": "@alloy-js/json!ReferenceProps:interface"
1912
- },
1913
- {
1914
- "kind": "Content",
1915
- "text": "): "
1916
- },
1917
- {
1918
- "kind": "Content",
1919
- "text": "import(\"@alloy-js/core\")."
1920
- },
1921
- {
1922
- "kind": "Reference",
1923
- "text": "Children",
1924
- "canonicalReference": "@alloy-js/core!Children:type"
1925
- },
1926
- {
1927
- "kind": "Content",
1928
- "text": ";"
1929
- }
1930
- ],
1931
- "fileUrlPath": "src/components/reference.tsx",
1932
- "returnTypeTokenRange": {
1933
- "startIndex": 3,
1934
- "endIndex": 5
1935
- },
1936
- "releaseTag": "Public",
1937
- "overloadIndex": 1,
1938
- "parameters": [
1939
- {
1940
- "parameterName": "props",
1941
- "parameterTypeTokenRange": {
1942
- "startIndex": 1,
1943
- "endIndex": 2
1944
- },
1945
- "isOptional": false
1946
- }
1947
- ],
1948
- "name": "Reference"
1949
- },
1950
- {
1951
- "kind": "Interface",
1952
- "canonicalReference": "@alloy-js/json!ReferenceProps:interface",
1953
- "docComment": "",
1954
- "excerptTokens": [
1955
- {
1956
- "kind": "Content",
1957
- "text": "export interface ReferenceProps "
1958
- }
1959
- ],
1960
- "fileUrlPath": "src/components/reference.tsx",
1961
- "releaseTag": "Public",
1962
- "name": "ReferenceProps",
1963
- "preserveMemberOrder": false,
1964
- "members": [
1965
- {
1966
- "kind": "PropertySignature",
1967
- "canonicalReference": "@alloy-js/json!ReferenceProps#refkey:member",
1968
- "docComment": "/**\n * The refkey for the symbol to reference.\n */\n",
1969
- "excerptTokens": [
1970
- {
1971
- "kind": "Content",
1972
- "text": "refkey: "
1973
- },
1974
- {
1975
- "kind": "Reference",
1976
- "text": "Refkey",
1977
- "canonicalReference": "@alloy-js/core!Refkey:type"
1978
- },
1979
- {
1980
- "kind": "Content",
1981
- "text": ";"
1982
- }
1983
- ],
1984
- "isReadonly": false,
1985
- "isOptional": false,
1986
- "releaseTag": "Public",
1987
- "name": "refkey",
1988
- "propertyTypeTokenRange": {
1989
- "startIndex": 1,
1990
- "endIndex": 2
1991
- }
1992
- }
1993
- ],
1994
- "extendsTokenRanges": []
1995
- },
1996
- {
1997
- "kind": "Function",
1998
- "canonicalReference": "@alloy-js/json!SourceFile:function(1)",
1999
- "docComment": "/**\n * Creates a JSON source file which defines a JSON value.\n *\n * @see\n *\n * {@link (JsonFileContext:variable)}\n *\n * @see\n *\n * {@link @alloy-js/core#(MemberDeclarationContext:variable)}\n *\n * @see\n *\n * {@link @alloy-js/core#(SourceFileContext:variable)}\n */\n",
2000
- "excerptTokens": [
2001
- {
2002
- "kind": "Content",
2003
- "text": "export declare function SourceFile(props: "
2004
- },
2005
- {
2006
- "kind": "Reference",
2007
- "text": "SourceFileProps",
2008
- "canonicalReference": "@alloy-js/json!SourceFileProps:interface"
2009
- },
2010
- {
2011
- "kind": "Content",
2012
- "text": "): "
2013
- },
2014
- {
2015
- "kind": "Reference",
2016
- "text": "Children",
2017
- "canonicalReference": "@alloy-js/core!Children:type"
2018
- },
2019
- {
2020
- "kind": "Content",
2021
- "text": ";"
2022
- }
2023
- ],
2024
- "fileUrlPath": "src/components/source-file.tsx",
2025
- "returnTypeTokenRange": {
2026
- "startIndex": 3,
2027
- "endIndex": 4
2028
- },
2029
- "releaseTag": "Public",
2030
- "overloadIndex": 1,
2031
- "parameters": [
2032
- {
2033
- "parameterName": "props",
2034
- "parameterTypeTokenRange": {
2035
- "startIndex": 1,
2036
- "endIndex": 2
2037
- },
2038
- "isOptional": false
2039
- }
2040
- ],
2041
- "name": "SourceFile"
2042
- },
2043
- {
2044
- "kind": "Interface",
2045
- "canonicalReference": "@alloy-js/json!SourceFileProps:interface",
2046
- "docComment": "",
2047
- "excerptTokens": [
2048
- {
2049
- "kind": "Content",
2050
- "text": "export interface SourceFileProps "
2051
- }
2052
- ],
2053
- "fileUrlPath": "src/components/source-file.tsx",
2054
- "releaseTag": "Public",
2055
- "name": "SourceFileProps",
2056
- "preserveMemberOrder": false,
2057
- "members": [
2058
- {
2059
- "kind": "PropertySignature",
2060
- "canonicalReference": "@alloy-js/json!SourceFileProps#children:member",
2061
- "docComment": "/**\n * The contents of the source file\n */\n",
2062
- "excerptTokens": [
2063
- {
2064
- "kind": "Content",
2065
- "text": "children?: "
2066
- },
2067
- {
2068
- "kind": "Reference",
2069
- "text": "Children",
2070
- "canonicalReference": "@alloy-js/core!Children:type"
2071
- },
2072
- {
2073
- "kind": "Content",
2074
- "text": ";"
2075
- }
2076
- ],
2077
- "isReadonly": false,
2078
- "isOptional": true,
2079
- "releaseTag": "Public",
2080
- "name": "children",
2081
- "propertyTypeTokenRange": {
2082
- "startIndex": 1,
2083
- "endIndex": 2
2084
- }
2085
- },
2086
- {
2087
- "kind": "PropertySignature",
2088
- "canonicalReference": "@alloy-js/json!SourceFileProps#path:member",
2089
- "docComment": "/**\n * The path for this source file relative to the parent directory\n */\n",
2090
- "excerptTokens": [
2091
- {
2092
- "kind": "Content",
2093
- "text": "path: "
2094
- },
2095
- {
2096
- "kind": "Content",
2097
- "text": "string"
2098
- },
2099
- {
2100
- "kind": "Content",
2101
- "text": ";"
2102
- }
2103
- ],
2104
- "isReadonly": false,
2105
- "isOptional": false,
2106
- "releaseTag": "Public",
2107
- "name": "path",
2108
- "propertyTypeTokenRange": {
2109
- "startIndex": 1,
2110
- "endIndex": 2
2111
- }
2112
- }
2113
- ],
2114
- "extendsTokenRanges": []
2115
- },
2116
- {
2117
- "kind": "Function",
2118
- "canonicalReference": "@alloy-js/json!useJsonFileContext:function(1)",
2119
- "docComment": "",
2120
- "excerptTokens": [
2121
- {
2122
- "kind": "Content",
2123
- "text": "export declare function useJsonFileContext(): "
2124
- },
2125
- {
2126
- "kind": "Reference",
2127
- "text": "JsonFileContext",
2128
- "canonicalReference": "@alloy-js/json!JsonFileContext:interface"
2129
- },
2130
- {
2131
- "kind": "Content",
2132
- "text": " | undefined"
2133
- },
2134
- {
2135
- "kind": "Content",
2136
- "text": ";"
2137
- }
2138
- ],
2139
- "fileUrlPath": "src/context/JsonFileContext.ts",
2140
- "returnTypeTokenRange": {
2141
- "startIndex": 1,
2142
- "endIndex": 3
2143
- },
2144
- "releaseTag": "Public",
2145
- "overloadIndex": 1,
2146
- "parameters": [],
2147
- "name": "useJsonFileContext"
2148
- }
2149
- ]
2150
- }
2151
- ]
2152
- }