@alloy-js/core 0.19.0-dev.12 → 0.19.0-dev.3

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 (95) hide show
  1. package/dist/src/components/index.d.ts +0 -4
  2. package/dist/src/components/index.d.ts.map +1 -1
  3. package/dist/src/components/index.js +0 -4
  4. package/dist/src/components/stc/index.d.ts +0 -4
  5. package/dist/src/components/stc/index.d.ts.map +1 -1
  6. package/dist/src/components/stc/index.js +0 -4
  7. package/dist/src/context/source-directory.d.ts +3 -3
  8. package/dist/src/context/source-directory.d.ts.map +1 -1
  9. package/dist/src/context/source-file.d.ts +0 -4
  10. package/dist/src/context/source-file.d.ts.map +1 -1
  11. package/dist/src/debug.d.ts.map +1 -1
  12. package/dist/src/debug.js +1 -4
  13. package/dist/src/index.browser.d.ts +1 -1
  14. package/dist/src/index.browser.d.ts.map +1 -1
  15. package/dist/src/index.browser.js +2 -2
  16. package/dist/src/render.d.ts +2 -10
  17. package/dist/src/render.d.ts.map +1 -1
  18. package/dist/src/render.js +1 -20
  19. package/dist/src/scheduler.d.ts +0 -6
  20. package/dist/src/scheduler.d.ts.map +1 -1
  21. package/dist/src/scheduler.js +0 -36
  22. package/dist/src/write-output.browser.d.ts +2 -0
  23. package/dist/src/write-output.browser.d.ts.map +1 -0
  24. package/dist/src/write-output.browser.js +4 -0
  25. package/dist/src/write-output.d.ts +1 -1
  26. package/dist/src/write-output.d.ts.map +1 -1
  27. package/dist/src/write-output.js +21 -40
  28. package/dist/test/components/source-file.test.d.ts.map +1 -1
  29. package/dist/test/rendering/formatting.test.d.ts.map +1 -1
  30. package/dist/testing/extend-expect.js +54 -60
  31. package/dist/tsconfig.tsbuildinfo +1 -1
  32. package/package.json +3 -3
  33. package/src/components/index.tsx +0 -4
  34. package/src/components/stc/index.ts +0 -4
  35. package/src/context/source-directory.ts +3 -5
  36. package/src/context/source-file.ts +0 -5
  37. package/src/debug.ts +1 -4
  38. package/src/index.browser.ts +1 -1
  39. package/src/render.ts +5 -44
  40. package/src/scheduler.ts +0 -39
  41. package/src/write-output.browser.ts +4 -0
  42. package/src/write-output.ts +19 -49
  43. package/temp/api.json +423 -1886
  44. package/test/components/source-file.test.tsx +2 -5
  45. package/test/rendering/formatting.test.tsx +3 -9
  46. package/testing/extend-expect.ts +58 -74
  47. package/testing/vitest.d.ts +0 -4
  48. package/dist/src/components/AppendFile.d.ts +0 -90
  49. package/dist/src/components/AppendFile.d.ts.map +0 -1
  50. package/dist/src/components/AppendFile.js +0 -226
  51. package/dist/src/components/CopyFile.d.ts +0 -12
  52. package/dist/src/components/CopyFile.d.ts.map +0 -1
  53. package/dist/src/components/CopyFile.js +0 -15
  54. package/dist/src/components/TemplateFile.d.ts +0 -84
  55. package/dist/src/components/TemplateFile.d.ts.map +0 -1
  56. package/dist/src/components/TemplateFile.js +0 -133
  57. package/dist/src/components/UpdateFile.d.ts +0 -34
  58. package/dist/src/components/UpdateFile.d.ts.map +0 -1
  59. package/dist/src/components/UpdateFile.js +0 -66
  60. package/dist/src/host/alloy-host.browser.d.ts +0 -11
  61. package/dist/src/host/alloy-host.browser.d.ts.map +0 -1
  62. package/dist/src/host/alloy-host.browser.js +0 -31
  63. package/dist/src/host/alloy-host.d.ts +0 -11
  64. package/dist/src/host/alloy-host.d.ts.map +0 -1
  65. package/dist/src/host/alloy-host.js +0 -143
  66. package/dist/src/host/interface.d.ts +0 -144
  67. package/dist/src/host/interface.d.ts.map +0 -1
  68. package/dist/src/host/interface.js +0 -1
  69. package/dist/src/resource.d.ts +0 -80
  70. package/dist/src/resource.d.ts.map +0 -1
  71. package/dist/src/resource.js +0 -118
  72. package/dist/test/components/append-file.test.d.ts +0 -2
  73. package/dist/test/components/append-file.test.d.ts.map +0 -1
  74. package/dist/test/components/append-file.test.js +0 -281
  75. package/dist/test/components/copy-file.test.d.ts +0 -2
  76. package/dist/test/components/copy-file.test.d.ts.map +0 -1
  77. package/dist/test/components/copy-file.test.js +0 -94
  78. package/dist/test/components/template-file.test.d.ts +0 -2
  79. package/dist/test/components/template-file.test.d.ts.map +0 -1
  80. package/dist/test/components/template-file.test.js +0 -133
  81. package/dist/test/components/update-file.test.d.ts +0 -2
  82. package/dist/test/components/update-file.test.d.ts.map +0 -1
  83. package/dist/test/components/update-file.test.js +0 -169
  84. package/src/components/AppendFile.tsx +0 -294
  85. package/src/components/CopyFile.tsx +0 -29
  86. package/src/components/TemplateFile.tsx +0 -193
  87. package/src/components/UpdateFile.tsx +0 -86
  88. package/src/host/alloy-host.browser.ts +0 -56
  89. package/src/host/alloy-host.ts +0 -160
  90. package/src/host/interface.ts +0 -153
  91. package/src/resource.ts +0 -152
  92. package/test/components/append-file.test.tsx +0 -275
  93. package/test/components/copy-file.test.tsx +0 -98
  94. package/test/components/template-file.test.tsx +0 -127
  95. package/test/components/update-file.test.tsx +0 -214
package/temp/api.json CHANGED
@@ -203,108 +203,33 @@
203
203
  "endIndex": 3
204
204
  }
205
205
  },
206
- {
207
- "kind": "Function",
208
- "canonicalReference": "@alloy-js/core!AppendFile:function(1)",
209
- "docComment": "/**\n * A component that reads a file and returns content with new content appended\n * at the end or within specific regions marked by alloy-\\{region name\\}-start/alloy-\\{region name\\}-end sigils.\n *\n * The component can append content in two ways:\n * 1. **Simple append**: Content is appended to the end of the file\n * 2. **Region-based append**: Content is appended before the end sigil on its own line\n *\n * Region sigils are line-based - any line containing \"alloy-\\{region name\\}-start\" or \"alloy-\\{region name\\}-end\"\n * is considered a sigil.\n *\n * @example\n *\n *\n * Simple append to end of file:\n * ```tsx\n * <AppendFile path=\"output.txt\">\n * <AppendRegion id=\"append\">New content to add</AppendRegion>\n * </AppendFile>\n *\n * // Returns:\n * // Original file content\n * // New content to add\n * ```\n *\n * @example\n *\n *\n * Append to specific regions:\n * ```tsx\n * // File content before:\n * // Header content\n * // <!-- alloy-main-start -->\n * // <!-- alloy-main-end -->\n * // Footer content\n *\n * <AppendFile path=\"template.html\" regions={[\"main\"]}>\n * <AppendRegion id=\"main\">New main content</AppendRegion>\n * </AppendFile>\n *\n * // Returns:\n * // Header content\n * // <!-- alloy-main-start -->\n * // New main content\n * // <!-- alloy-main-end -->\n * // Footer content\n * ```\n *\n */\n",
210
- "excerptTokens": [
211
- {
212
- "kind": "Content",
213
- "text": "export declare function AppendFile(props: "
214
- },
215
- {
216
- "kind": "Reference",
217
- "text": "AppendFileProps",
218
- "canonicalReference": "@alloy-js/core!AppendFileProps:interface"
219
- },
220
- {
221
- "kind": "Content",
222
- "text": "): "
223
- },
224
- {
225
- "kind": "Reference",
226
- "text": "Children",
227
- "canonicalReference": "@alloy-js/core!Children:type"
228
- },
229
- {
230
- "kind": "Content",
231
- "text": ";"
232
- }
233
- ],
234
- "fileUrlPath": "src/components/AppendFile.tsx",
235
- "returnTypeTokenRange": {
236
- "startIndex": 3,
237
- "endIndex": 4
238
- },
239
- "releaseTag": "Public",
240
- "overloadIndex": 1,
241
- "parameters": [
242
- {
243
- "parameterName": "props",
244
- "parameterTypeTokenRange": {
245
- "startIndex": 1,
246
- "endIndex": 2
247
- },
248
- "isOptional": false
249
- }
250
- ],
251
- "name": "AppendFile"
252
- },
253
206
  {
254
207
  "kind": "Interface",
255
- "canonicalReference": "@alloy-js/core!AppendFileProps:interface",
208
+ "canonicalReference": "@alloy-js/core!AssignmentContext:interface",
256
209
  "docComment": "",
257
210
  "excerptTokens": [
258
211
  {
259
212
  "kind": "Content",
260
- "text": "export interface AppendFileProps "
213
+ "text": "export interface AssignmentContext "
261
214
  }
262
215
  ],
263
- "fileUrlPath": "src/components/AppendFile.tsx",
216
+ "fileUrlPath": "src/context/assignment.ts",
264
217
  "releaseTag": "Public",
265
- "name": "AppendFileProps",
218
+ "name": "AssignmentContext",
266
219
  "preserveMemberOrder": false,
267
220
  "members": [
268
221
  {
269
222
  "kind": "PropertySignature",
270
- "canonicalReference": "@alloy-js/core!AppendFileProps#children:member",
271
- "docComment": "/**\n * AppendRegion children components that define content to append.\n */\n",
272
- "excerptTokens": [
273
- {
274
- "kind": "Content",
275
- "text": "children?: "
276
- },
277
- {
278
- "kind": "Reference",
279
- "text": "Children",
280
- "canonicalReference": "@alloy-js/core!Children:type"
281
- },
282
- {
283
- "kind": "Content",
284
- "text": ";"
285
- }
286
- ],
287
- "isReadonly": false,
288
- "isOptional": true,
289
- "releaseTag": "Public",
290
- "name": "children",
291
- "propertyTypeTokenRange": {
292
- "startIndex": 1,
293
- "endIndex": 2
294
- }
295
- },
296
- {
297
- "kind": "PropertySignature",
298
- "canonicalReference": "@alloy-js/core!AppendFileProps#path:member",
299
- "docComment": "/**\n * The path to the file to read and append content to.\n */\n",
223
+ "canonicalReference": "@alloy-js/core!AssignmentContext#isAssigned:member",
224
+ "docComment": "/**\n * Whether the symbol has had a value assigned to it. Once the symbol has been\n * assigned, subsequent assignments will have no effect.\n */\n",
300
225
  "excerptTokens": [
301
226
  {
302
227
  "kind": "Content",
303
- "text": "path: "
228
+ "text": "isAssigned: "
304
229
  },
305
230
  {
306
231
  "kind": "Content",
307
- "text": "string"
232
+ "text": "boolean"
308
233
  },
309
234
  {
310
235
  "kind": "Content",
@@ -314,7 +239,7 @@
314
239
  "isReadonly": false,
315
240
  "isOptional": false,
316
241
  "releaseTag": "Public",
317
- "name": "path",
242
+ "name": "isAssigned",
318
243
  "propertyTypeTokenRange": {
319
244
  "startIndex": 1,
320
245
  "endIndex": 2
@@ -322,16 +247,17 @@
322
247
  },
323
248
  {
324
249
  "kind": "PropertySignature",
325
- "canonicalReference": "@alloy-js/core!AppendFileProps#regions:member",
326
- "docComment": "/**\n * List of region IDs to append to. Defaults to [\"append\"] if not specified.\n * Each region corresponds to an AppendRegion child component.\n */\n",
250
+ "canonicalReference": "@alloy-js/core!AssignmentContext#target:member",
251
+ "docComment": "/**\n * The symbol that is the target of the current assignment.\n */\n",
327
252
  "excerptTokens": [
328
253
  {
329
254
  "kind": "Content",
330
- "text": "regions?: "
255
+ "text": "target: "
331
256
  },
332
257
  {
333
- "kind": "Content",
334
- "text": "string[]"
258
+ "kind": "Reference",
259
+ "text": "OutputSymbol",
260
+ "canonicalReference": "@alloy-js/core!OutputSymbol:class"
335
261
  },
336
262
  {
337
263
  "kind": "Content",
@@ -339,9 +265,9 @@
339
265
  }
340
266
  ],
341
267
  "isReadonly": false,
342
- "isOptional": true,
268
+ "isOptional": false,
343
269
  "releaseTag": "Public",
344
- "name": "regions",
270
+ "name": "target",
345
271
  "propertyTypeTokenRange": {
346
272
  "startIndex": 1,
347
273
  "endIndex": 2
@@ -351,123 +277,69 @@
351
277
  "extendsTokenRanges": []
352
278
  },
353
279
  {
354
- "kind": "Function",
355
- "canonicalReference": "@alloy-js/core!AppendRegion:function(1)",
356
- "docComment": "",
357
- "excerptTokens": [
358
- {
359
- "kind": "Content",
360
- "text": "export declare function AppendRegion(props: "
361
- },
362
- {
363
- "kind": "Reference",
364
- "text": "AppendRegionProps",
365
- "canonicalReference": "@alloy-js/core!AppendRegionProps:type"
366
- },
367
- {
368
- "kind": "Content",
369
- "text": "): "
370
- },
371
- {
372
- "kind": "Content",
373
- "text": "void"
374
- },
375
- {
376
- "kind": "Content",
377
- "text": ";"
378
- }
379
- ],
380
- "fileUrlPath": "src/components/AppendFile.tsx",
381
- "returnTypeTokenRange": {
382
- "startIndex": 3,
383
- "endIndex": 4
384
- },
385
- "releaseTag": "Public",
386
- "overloadIndex": 1,
387
- "parameters": [
388
- {
389
- "parameterName": "props",
390
- "parameterTypeTokenRange": {
391
- "startIndex": 1,
392
- "endIndex": 2
393
- },
394
- "isOptional": false
395
- }
396
- ],
397
- "name": "AppendRegion"
398
- },
399
- {
400
- "kind": "TypeAlias",
401
- "canonicalReference": "@alloy-js/core!AppendRegionProps:type",
402
- "docComment": "",
280
+ "kind": "Variable",
281
+ "canonicalReference": "@alloy-js/core!AssignmentContext:var",
282
+ "docComment": "/**\n * AssignmentContext provides the symbol that is the target of the current\n * assignment.\n *\n * @remarks\n *\n *\n *\n * When a variable is declared, the symbol for the variable doesn't yet know\n * what value it will hold, because that depends on the assignment to the\n * variable in the variable declaration's initializer. This context provides the\n * symbol that is the target of the current assignment, so that children of an\n * assignment or initializer can provide additional symbol information.\n *\n * For example, when assigning an object value expression to a variable, the\n * object value expression should use assignment context to provide the member\n * symbols for the object value's properties.\n */\n",
403
283
  "excerptTokens": [
404
284
  {
405
285
  "kind": "Content",
406
- "text": "export type AppendRegionProps = "
407
- },
408
- {
409
- "kind": "Reference",
410
- "text": "AppendRegionPropsWithChildren",
411
- "canonicalReference": "@alloy-js/core!AppendRegionPropsWithChildren:interface"
412
- },
413
- {
414
- "kind": "Content",
415
- "text": " | "
286
+ "text": "AssignmentContext: "
416
287
  },
417
288
  {
418
289
  "kind": "Reference",
419
- "text": "AppendRegionPropsWithContent",
420
- "canonicalReference": "@alloy-js/core!AppendRegionPropsWithContent:interface"
290
+ "text": "ComponentContext",
291
+ "canonicalReference": "@alloy-js/core!ComponentContext:interface"
421
292
  },
422
293
  {
423
294
  "kind": "Content",
424
- "text": " | "
295
+ "text": "<"
425
296
  },
426
297
  {
427
298
  "kind": "Reference",
428
- "text": "AppendRegionPropsBase",
429
- "canonicalReference": "@alloy-js/core!AppendRegionPropsBase:interface"
299
+ "text": "AssignmentContext",
300
+ "canonicalReference": "@alloy-js/core!AssignmentContext:interface"
430
301
  },
431
302
  {
432
303
  "kind": "Content",
433
- "text": ";"
304
+ "text": ">"
434
305
  }
435
306
  ],
436
- "fileUrlPath": "src/components/AppendFile.tsx",
307
+ "fileUrlPath": "src/context/assignment.ts",
308
+ "isReadonly": true,
437
309
  "releaseTag": "Public",
438
- "name": "AppendRegionProps",
439
- "typeTokenRange": {
310
+ "name": "AssignmentContext",
311
+ "variableTypeTokenRange": {
440
312
  "startIndex": 1,
441
- "endIndex": 6
313
+ "endIndex": 5
442
314
  }
443
315
  },
444
316
  {
445
317
  "kind": "Interface",
446
- "canonicalReference": "@alloy-js/core!AppendRegionPropsBase:interface",
318
+ "canonicalReference": "@alloy-js/core!BaseListProps:interface",
447
319
  "docComment": "",
448
320
  "excerptTokens": [
449
321
  {
450
322
  "kind": "Content",
451
- "text": "export interface AppendRegionPropsBase "
323
+ "text": "export interface BaseListProps "
452
324
  }
453
325
  ],
454
- "fileUrlPath": "src/components/AppendFile.tsx",
326
+ "fileUrlPath": "src/components/List.tsx",
455
327
  "releaseTag": "Public",
456
- "name": "AppendRegionPropsBase",
328
+ "name": "BaseListProps",
457
329
  "preserveMemberOrder": false,
458
330
  "members": [
459
331
  {
460
332
  "kind": "PropertySignature",
461
- "canonicalReference": "@alloy-js/core!AppendRegionPropsBase#id:member",
462
- "docComment": "/**\n * The ID of the region.\n */\n",
333
+ "canonicalReference": "@alloy-js/core!BaseListProps#comma:member",
334
+ "docComment": "/**\n * Place a comma between each element\n */\n",
463
335
  "excerptTokens": [
464
336
  {
465
337
  "kind": "Content",
466
- "text": "id: "
338
+ "text": "comma?: "
467
339
  },
468
340
  {
469
341
  "kind": "Content",
470
- "text": "string"
342
+ "text": "boolean"
471
343
  },
472
344
  {
473
345
  "kind": "Content",
@@ -475,45 +347,26 @@
475
347
  }
476
348
  ],
477
349
  "isReadonly": false,
478
- "isOptional": false,
350
+ "isOptional": true,
479
351
  "releaseTag": "Public",
480
- "name": "id",
352
+ "name": "comma",
481
353
  "propertyTypeTokenRange": {
482
354
  "startIndex": 1,
483
355
  "endIndex": 2
484
356
  }
485
- }
486
- ],
487
- "extendsTokenRanges": []
488
- },
489
- {
490
- "kind": "Interface",
491
- "canonicalReference": "@alloy-js/core!AppendRegionPropsWithChildren:interface",
492
- "docComment": "",
493
- "excerptTokens": [
494
- {
495
- "kind": "Content",
496
- "text": "export interface AppendRegionPropsWithChildren "
497
- }
498
- ],
499
- "fileUrlPath": "src/components/AppendFile.tsx",
500
- "releaseTag": "Public",
501
- "name": "AppendRegionPropsWithChildren",
502
- "preserveMemberOrder": false,
503
- "members": [
357
+ },
504
358
  {
505
359
  "kind": "PropertySignature",
506
- "canonicalReference": "@alloy-js/core!AppendRegionPropsWithChildren#children:member",
507
- "docComment": "/**\n * The content to append to the region.\n */\n",
360
+ "canonicalReference": "@alloy-js/core!BaseListProps#doubleHardline:member",
361
+ "docComment": "/**\n * Place two hardlines between each element\n */\n",
508
362
  "excerptTokens": [
509
363
  {
510
364
  "kind": "Content",
511
- "text": "children: "
365
+ "text": "doubleHardline?: "
512
366
  },
513
367
  {
514
- "kind": "Reference",
515
- "text": "Children",
516
- "canonicalReference": "@alloy-js/core!Children:type"
368
+ "kind": "Content",
369
+ "text": "boolean"
517
370
  },
518
371
  {
519
372
  "kind": "Content",
@@ -521,9 +374,9 @@
521
374
  }
522
375
  ],
523
376
  "isReadonly": false,
524
- "isOptional": false,
377
+ "isOptional": true,
525
378
  "releaseTag": "Public",
526
- "name": "children",
379
+ "name": "doubleHardline",
527
380
  "propertyTypeTokenRange": {
528
381
  "startIndex": 1,
529
382
  "endIndex": 2
@@ -531,16 +384,17 @@
531
384
  },
532
385
  {
533
386
  "kind": "PropertySignature",
534
- "canonicalReference": "@alloy-js/core!AppendRegionPropsWithChildren#id:member",
535
- "docComment": "/**\n * The ID of the region.\n */\n",
387
+ "canonicalReference": "@alloy-js/core!BaseListProps#ender:member",
388
+ "docComment": "/**\n * Text to place at the end of the list when there is at least one item. If\n * set to true, the joiner is used.\n */\n",
536
389
  "excerptTokens": [
537
390
  {
538
391
  "kind": "Content",
539
- "text": "id: "
392
+ "text": "ender?: "
540
393
  },
541
394
  {
542
- "kind": "Content",
543
- "text": "string"
395
+ "kind": "Reference",
396
+ "text": "Children",
397
+ "canonicalReference": "@alloy-js/core!Children:type"
544
398
  },
545
399
  {
546
400
  "kind": "Content",
@@ -548,45 +402,26 @@
548
402
  }
549
403
  ],
550
404
  "isReadonly": false,
551
- "isOptional": false,
405
+ "isOptional": true,
552
406
  "releaseTag": "Public",
553
- "name": "id",
407
+ "name": "ender",
554
408
  "propertyTypeTokenRange": {
555
409
  "startIndex": 1,
556
410
  "endIndex": 2
557
411
  }
558
- }
559
- ],
560
- "extendsTokenRanges": []
561
- },
562
- {
563
- "kind": "Interface",
564
- "canonicalReference": "@alloy-js/core!AppendRegionPropsWithContent:interface",
565
- "docComment": "",
566
- "excerptTokens": [
567
- {
568
- "kind": "Content",
569
- "text": "export interface AppendRegionPropsWithContent "
570
- }
571
- ],
572
- "fileUrlPath": "src/components/AppendFile.tsx",
573
- "releaseTag": "Public",
574
- "name": "AppendRegionPropsWithContent",
575
- "preserveMemberOrder": false,
576
- "members": [
412
+ },
577
413
  {
578
414
  "kind": "PropertySignature",
579
- "canonicalReference": "@alloy-js/core!AppendRegionPropsWithContent#content:member",
580
- "docComment": "/**\n * The content to append to the region.\n */\n",
415
+ "canonicalReference": "@alloy-js/core!BaseListProps#enderPunctuation:member",
416
+ "docComment": "/**\n * Place the join punctuation at the end, but without a line break.\n */\n",
581
417
  "excerptTokens": [
582
418
  {
583
419
  "kind": "Content",
584
- "text": "content: "
420
+ "text": "enderPunctuation?: "
585
421
  },
586
422
  {
587
- "kind": "Reference",
588
- "text": "Children",
589
- "canonicalReference": "@alloy-js/core!Children:type"
423
+ "kind": "Content",
424
+ "text": "boolean"
590
425
  },
591
426
  {
592
427
  "kind": "Content",
@@ -594,9 +429,9 @@
594
429
  }
595
430
  ],
596
431
  "isReadonly": false,
597
- "isOptional": false,
432
+ "isOptional": true,
598
433
  "releaseTag": "Public",
599
- "name": "content",
434
+ "name": "enderPunctuation",
600
435
  "propertyTypeTokenRange": {
601
436
  "startIndex": 1,
602
437
  "endIndex": 2
@@ -604,16 +439,16 @@
604
439
  },
605
440
  {
606
441
  "kind": "PropertySignature",
607
- "canonicalReference": "@alloy-js/core!AppendRegionPropsWithContent#id:member",
608
- "docComment": "/**\n * The ID of the region.\n */\n",
442
+ "canonicalReference": "@alloy-js/core!BaseListProps#hardline:member",
443
+ "docComment": "/**\n * Place a hardline (`<hbr />`) between each element\n */\n",
609
444
  "excerptTokens": [
610
445
  {
611
446
  "kind": "Content",
612
- "text": "id: "
447
+ "text": "hardline?: "
613
448
  },
614
449
  {
615
450
  "kind": "Content",
616
- "text": "string"
451
+ "text": "boolean"
617
452
  },
618
453
  {
619
454
  "kind": "Content",
@@ -621,54 +456,9 @@
621
456
  }
622
457
  ],
623
458
  "isReadonly": false,
624
- "isOptional": false,
459
+ "isOptional": true,
625
460
  "releaseTag": "Public",
626
- "name": "id",
627
- "propertyTypeTokenRange": {
628
- "startIndex": 1,
629
- "endIndex": 2
630
- }
631
- }
632
- ],
633
- "extendsTokenRanges": []
634
- },
635
- {
636
- "kind": "Interface",
637
- "canonicalReference": "@alloy-js/core!AssignmentContext:interface",
638
- "docComment": "",
639
- "excerptTokens": [
640
- {
641
- "kind": "Content",
642
- "text": "export interface AssignmentContext "
643
- }
644
- ],
645
- "fileUrlPath": "src/context/assignment.ts",
646
- "releaseTag": "Public",
647
- "name": "AssignmentContext",
648
- "preserveMemberOrder": false,
649
- "members": [
650
- {
651
- "kind": "PropertySignature",
652
- "canonicalReference": "@alloy-js/core!AssignmentContext#isAssigned:member",
653
- "docComment": "/**\n * Whether the symbol has had a value assigned to it. Once the symbol has been\n * assigned, subsequent assignments will have no effect.\n */\n",
654
- "excerptTokens": [
655
- {
656
- "kind": "Content",
657
- "text": "isAssigned: "
658
- },
659
- {
660
- "kind": "Content",
661
- "text": "boolean"
662
- },
663
- {
664
- "kind": "Content",
665
- "text": ";"
666
- }
667
- ],
668
- "isReadonly": false,
669
- "isOptional": false,
670
- "releaseTag": "Public",
671
- "name": "isAssigned",
461
+ "name": "hardline",
672
462
  "propertyTypeTokenRange": {
673
463
  "startIndex": 1,
674
464
  "endIndex": 2
@@ -676,17 +466,17 @@
676
466
  },
677
467
  {
678
468
  "kind": "PropertySignature",
679
- "canonicalReference": "@alloy-js/core!AssignmentContext#target:member",
680
- "docComment": "/**\n * The symbol that is the target of the current assignment.\n */\n",
469
+ "canonicalReference": "@alloy-js/core!BaseListProps#joiner:member",
470
+ "docComment": "/**\n * Text to place between each element\n */\n",
681
471
  "excerptTokens": [
682
472
  {
683
473
  "kind": "Content",
684
- "text": "target: "
474
+ "text": "joiner?: "
685
475
  },
686
476
  {
687
477
  "kind": "Reference",
688
- "text": "OutputSymbol",
689
- "canonicalReference": "@alloy-js/core!OutputSymbol:class"
478
+ "text": "Children",
479
+ "canonicalReference": "@alloy-js/core!Children:type"
690
480
  },
691
481
  {
692
482
  "kind": "Content",
@@ -694,77 +484,22 @@
694
484
  }
695
485
  ],
696
486
  "isReadonly": false,
697
- "isOptional": false,
487
+ "isOptional": true,
698
488
  "releaseTag": "Public",
699
- "name": "target",
489
+ "name": "joiner",
700
490
  "propertyTypeTokenRange": {
701
491
  "startIndex": 1,
702
492
  "endIndex": 2
703
493
  }
704
- }
705
- ],
706
- "extendsTokenRanges": []
707
- },
708
- {
709
- "kind": "Variable",
710
- "canonicalReference": "@alloy-js/core!AssignmentContext:var",
711
- "docComment": "/**\n * AssignmentContext provides the symbol that is the target of the current\n * assignment.\n *\n * @remarks\n *\n *\n *\n * When a variable is declared, the symbol for the variable doesn't yet know\n * what value it will hold, because that depends on the assignment to the\n * variable in the variable declaration's initializer. This context provides the\n * symbol that is the target of the current assignment, so that children of an\n * assignment or initializer can provide additional symbol information.\n *\n * For example, when assigning an object value expression to a variable, the\n * object value expression should use assignment context to provide the member\n * symbols for the object value's properties.\n */\n",
712
- "excerptTokens": [
713
- {
714
- "kind": "Content",
715
- "text": "AssignmentContext: "
716
494
  },
717
- {
718
- "kind": "Reference",
719
- "text": "ComponentContext",
720
- "canonicalReference": "@alloy-js/core!ComponentContext:interface"
721
- },
722
- {
723
- "kind": "Content",
724
- "text": "<"
725
- },
726
- {
727
- "kind": "Reference",
728
- "text": "AssignmentContext",
729
- "canonicalReference": "@alloy-js/core!AssignmentContext:interface"
730
- },
731
- {
732
- "kind": "Content",
733
- "text": ">"
734
- }
735
- ],
736
- "fileUrlPath": "src/context/assignment.ts",
737
- "isReadonly": true,
738
- "releaseTag": "Public",
739
- "name": "AssignmentContext",
740
- "variableTypeTokenRange": {
741
- "startIndex": 1,
742
- "endIndex": 5
743
- }
744
- },
745
- {
746
- "kind": "Interface",
747
- "canonicalReference": "@alloy-js/core!BaseListProps:interface",
748
- "docComment": "",
749
- "excerptTokens": [
750
- {
751
- "kind": "Content",
752
- "text": "export interface BaseListProps "
753
- }
754
- ],
755
- "fileUrlPath": "src/components/List.tsx",
756
- "releaseTag": "Public",
757
- "name": "BaseListProps",
758
- "preserveMemberOrder": false,
759
- "members": [
760
495
  {
761
496
  "kind": "PropertySignature",
762
- "canonicalReference": "@alloy-js/core!BaseListProps#comma:member",
763
- "docComment": "/**\n * Place a comma between each element\n */\n",
497
+ "canonicalReference": "@alloy-js/core!BaseListProps#line:member",
498
+ "docComment": "/**\n * Place a regular line (`<br />`) between each element\n */\n",
764
499
  "excerptTokens": [
765
500
  {
766
501
  "kind": "Content",
767
- "text": "comma?: "
502
+ "text": "line?: "
768
503
  },
769
504
  {
770
505
  "kind": "Content",
@@ -778,7 +513,7 @@
778
513
  "isReadonly": false,
779
514
  "isOptional": true,
780
515
  "releaseTag": "Public",
781
- "name": "comma",
516
+ "name": "line",
782
517
  "propertyTypeTokenRange": {
783
518
  "startIndex": 1,
784
519
  "endIndex": 2
@@ -786,12 +521,12 @@
786
521
  },
787
522
  {
788
523
  "kind": "PropertySignature",
789
- "canonicalReference": "@alloy-js/core!BaseListProps#doubleHardline:member",
790
- "docComment": "/**\n * Place two hardlines between each element\n */\n",
524
+ "canonicalReference": "@alloy-js/core!BaseListProps#literalline:member",
525
+ "docComment": "/**\n * Place a literal line (`<lbr />`) between each element\n */\n",
791
526
  "excerptTokens": [
792
527
  {
793
528
  "kind": "Content",
794
- "text": "doubleHardline?: "
529
+ "text": "literalline?: "
795
530
  },
796
531
  {
797
532
  "kind": "Content",
@@ -805,7 +540,7 @@
805
540
  "isReadonly": false,
806
541
  "isOptional": true,
807
542
  "releaseTag": "Public",
808
- "name": "doubleHardline",
543
+ "name": "literalline",
809
544
  "propertyTypeTokenRange": {
810
545
  "startIndex": 1,
811
546
  "endIndex": 2
@@ -813,17 +548,16 @@
813
548
  },
814
549
  {
815
550
  "kind": "PropertySignature",
816
- "canonicalReference": "@alloy-js/core!BaseListProps#ender:member",
817
- "docComment": "/**\n * Text to place at the end of the list when there is at least one item. If\n * set to true, the joiner is used.\n */\n",
551
+ "canonicalReference": "@alloy-js/core!BaseListProps#semicolon:member",
552
+ "docComment": "/**\n * Place a semicolon between each element\n */\n",
818
553
  "excerptTokens": [
819
554
  {
820
555
  "kind": "Content",
821
- "text": "ender?: "
556
+ "text": "semicolon?: "
822
557
  },
823
558
  {
824
- "kind": "Reference",
825
- "text": "Children",
826
- "canonicalReference": "@alloy-js/core!Children:type"
559
+ "kind": "Content",
560
+ "text": "boolean"
827
561
  },
828
562
  {
829
563
  "kind": "Content",
@@ -833,7 +567,7 @@
833
567
  "isReadonly": false,
834
568
  "isOptional": true,
835
569
  "releaseTag": "Public",
836
- "name": "ender",
570
+ "name": "semicolon",
837
571
  "propertyTypeTokenRange": {
838
572
  "startIndex": 1,
839
573
  "endIndex": 2
@@ -841,12 +575,12 @@
841
575
  },
842
576
  {
843
577
  "kind": "PropertySignature",
844
- "canonicalReference": "@alloy-js/core!BaseListProps#enderPunctuation:member",
845
- "docComment": "/**\n * Place the join punctuation at the end, but without a line break.\n */\n",
578
+ "canonicalReference": "@alloy-js/core!BaseListProps#softline:member",
579
+ "docComment": "/**\n * Place a softline (`<sbr />`) between each element\n */\n",
846
580
  "excerptTokens": [
847
581
  {
848
582
  "kind": "Content",
849
- "text": "enderPunctuation?: "
583
+ "text": "softline?: "
850
584
  },
851
585
  {
852
586
  "kind": "Content",
@@ -860,7 +594,7 @@
860
594
  "isReadonly": false,
861
595
  "isOptional": true,
862
596
  "releaseTag": "Public",
863
- "name": "enderPunctuation",
597
+ "name": "softline",
864
598
  "propertyTypeTokenRange": {
865
599
  "startIndex": 1,
866
600
  "endIndex": 2
@@ -868,12 +602,12 @@
868
602
  },
869
603
  {
870
604
  "kind": "PropertySignature",
871
- "canonicalReference": "@alloy-js/core!BaseListProps#hardline:member",
872
- "docComment": "/**\n * Place a hardline (`<hbr />`) between each element\n */\n",
605
+ "canonicalReference": "@alloy-js/core!BaseListProps#space:member",
606
+ "docComment": "/**\n * Place a space between each element\n */\n",
873
607
  "excerptTokens": [
874
608
  {
875
609
  "kind": "Content",
876
- "text": "hardline?: "
610
+ "text": "space?: "
877
611
  },
878
612
  {
879
613
  "kind": "Content",
@@ -887,266 +621,103 @@
887
621
  "isReadonly": false,
888
622
  "isOptional": true,
889
623
  "releaseTag": "Public",
890
- "name": "hardline",
624
+ "name": "space",
891
625
  "propertyTypeTokenRange": {
892
626
  "startIndex": 1,
893
627
  "endIndex": 2
894
628
  }
629
+ }
630
+ ],
631
+ "extendsTokenRanges": []
632
+ },
633
+ {
634
+ "kind": "Function",
635
+ "canonicalReference": "@alloy-js/core!baseListPropsToMapJoinArgs:function(1)",
636
+ "docComment": "/**\n * Convert a list of props to a joiner and ender for use in {@link (mapJoin:1)}.\n */\n",
637
+ "excerptTokens": [
638
+ {
639
+ "kind": "Content",
640
+ "text": "export declare function baseListPropsToMapJoinArgs(props: "
895
641
  },
896
642
  {
897
- "kind": "PropertySignature",
898
- "canonicalReference": "@alloy-js/core!BaseListProps#joiner:member",
899
- "docComment": "/**\n * Text to place between each element\n */\n",
643
+ "kind": "Reference",
644
+ "text": "BaseListProps",
645
+ "canonicalReference": "@alloy-js/core!BaseListProps:interface"
646
+ },
647
+ {
648
+ "kind": "Content",
649
+ "text": "): "
650
+ },
651
+ {
652
+ "kind": "Reference",
653
+ "text": "JoinOptions",
654
+ "canonicalReference": "@alloy-js/core!JoinOptions:interface"
655
+ },
656
+ {
657
+ "kind": "Content",
658
+ "text": ";"
659
+ }
660
+ ],
661
+ "fileUrlPath": "src/utils.tsx",
662
+ "returnTypeTokenRange": {
663
+ "startIndex": 3,
664
+ "endIndex": 4
665
+ },
666
+ "releaseTag": "Public",
667
+ "overloadIndex": 1,
668
+ "parameters": [
669
+ {
670
+ "parameterName": "props",
671
+ "parameterTypeTokenRange": {
672
+ "startIndex": 1,
673
+ "endIndex": 2
674
+ },
675
+ "isOptional": false
676
+ }
677
+ ],
678
+ "name": "baseListPropsToMapJoinArgs"
679
+ },
680
+ {
681
+ "kind": "Interface",
682
+ "canonicalReference": "@alloy-js/core!Binder:interface",
683
+ "docComment": "/**\n * The binder tracks all output scopes and symbols. Scopes are nested containers\n * for symbols.\n *\n * @remarks\n *\n *\n *\n * Symbol information is reactive because in certain situations this data may\n * change. For example, when a symbol becomes conflicted with another symbol,\n * one of the symbol names may change. Ensure that you interact with binder\n * values in a reactive context (i.e. within JSX/code template, or within\n * memo/computed/etc).\n *\n */\n",
684
+ "excerptTokens": [
685
+ {
686
+ "kind": "Content",
687
+ "text": "export interface Binder "
688
+ }
689
+ ],
690
+ "fileUrlPath": "src/binder.ts",
691
+ "releaseTag": "Public",
692
+ "name": "Binder",
693
+ "preserveMemberOrder": false,
694
+ "members": [
695
+ {
696
+ "kind": "MethodSignature",
697
+ "canonicalReference": "@alloy-js/core!Binder#findScopeName:member(1)",
698
+ "docComment": "",
900
699
  "excerptTokens": [
901
700
  {
902
701
  "kind": "Content",
903
- "text": "joiner?: "
702
+ "text": "findScopeName<TScope extends "
904
703
  },
905
704
  {
906
705
  "kind": "Reference",
907
- "text": "Children",
908
- "canonicalReference": "@alloy-js/core!Children:type"
706
+ "text": "OutputScope",
707
+ "canonicalReference": "@alloy-js/core!OutputScope:class"
909
708
  },
910
709
  {
911
710
  "kind": "Content",
912
- "text": ";"
913
- }
914
- ],
915
- "isReadonly": false,
916
- "isOptional": true,
917
- "releaseTag": "Public",
918
- "name": "joiner",
919
- "propertyTypeTokenRange": {
920
- "startIndex": 1,
921
- "endIndex": 2
922
- }
923
- },
924
- {
925
- "kind": "PropertySignature",
926
- "canonicalReference": "@alloy-js/core!BaseListProps#line:member",
927
- "docComment": "/**\n * Place a regular line (`<br />`) between each element\n */\n",
928
- "excerptTokens": [
711
+ "text": " = "
712
+ },
929
713
  {
930
- "kind": "Content",
931
- "text": "line?: "
714
+ "kind": "Reference",
715
+ "text": "OutputScope",
716
+ "canonicalReference": "@alloy-js/core!OutputScope:class"
932
717
  },
933
718
  {
934
719
  "kind": "Content",
935
- "text": "boolean"
936
- },
937
- {
938
- "kind": "Content",
939
- "text": ";"
940
- }
941
- ],
942
- "isReadonly": false,
943
- "isOptional": true,
944
- "releaseTag": "Public",
945
- "name": "line",
946
- "propertyTypeTokenRange": {
947
- "startIndex": 1,
948
- "endIndex": 2
949
- }
950
- },
951
- {
952
- "kind": "PropertySignature",
953
- "canonicalReference": "@alloy-js/core!BaseListProps#literalline:member",
954
- "docComment": "/**\n * Place a literal line (`<lbr />`) between each element\n */\n",
955
- "excerptTokens": [
956
- {
957
- "kind": "Content",
958
- "text": "literalline?: "
959
- },
960
- {
961
- "kind": "Content",
962
- "text": "boolean"
963
- },
964
- {
965
- "kind": "Content",
966
- "text": ";"
967
- }
968
- ],
969
- "isReadonly": false,
970
- "isOptional": true,
971
- "releaseTag": "Public",
972
- "name": "literalline",
973
- "propertyTypeTokenRange": {
974
- "startIndex": 1,
975
- "endIndex": 2
976
- }
977
- },
978
- {
979
- "kind": "PropertySignature",
980
- "canonicalReference": "@alloy-js/core!BaseListProps#semicolon:member",
981
- "docComment": "/**\n * Place a semicolon between each element\n */\n",
982
- "excerptTokens": [
983
- {
984
- "kind": "Content",
985
- "text": "semicolon?: "
986
- },
987
- {
988
- "kind": "Content",
989
- "text": "boolean"
990
- },
991
- {
992
- "kind": "Content",
993
- "text": ";"
994
- }
995
- ],
996
- "isReadonly": false,
997
- "isOptional": true,
998
- "releaseTag": "Public",
999
- "name": "semicolon",
1000
- "propertyTypeTokenRange": {
1001
- "startIndex": 1,
1002
- "endIndex": 2
1003
- }
1004
- },
1005
- {
1006
- "kind": "PropertySignature",
1007
- "canonicalReference": "@alloy-js/core!BaseListProps#softline:member",
1008
- "docComment": "/**\n * Place a softline (`<sbr />`) between each element\n */\n",
1009
- "excerptTokens": [
1010
- {
1011
- "kind": "Content",
1012
- "text": "softline?: "
1013
- },
1014
- {
1015
- "kind": "Content",
1016
- "text": "boolean"
1017
- },
1018
- {
1019
- "kind": "Content",
1020
- "text": ";"
1021
- }
1022
- ],
1023
- "isReadonly": false,
1024
- "isOptional": true,
1025
- "releaseTag": "Public",
1026
- "name": "softline",
1027
- "propertyTypeTokenRange": {
1028
- "startIndex": 1,
1029
- "endIndex": 2
1030
- }
1031
- },
1032
- {
1033
- "kind": "PropertySignature",
1034
- "canonicalReference": "@alloy-js/core!BaseListProps#space:member",
1035
- "docComment": "/**\n * Place a space between each element\n */\n",
1036
- "excerptTokens": [
1037
- {
1038
- "kind": "Content",
1039
- "text": "space?: "
1040
- },
1041
- {
1042
- "kind": "Content",
1043
- "text": "boolean"
1044
- },
1045
- {
1046
- "kind": "Content",
1047
- "text": ";"
1048
- }
1049
- ],
1050
- "isReadonly": false,
1051
- "isOptional": true,
1052
- "releaseTag": "Public",
1053
- "name": "space",
1054
- "propertyTypeTokenRange": {
1055
- "startIndex": 1,
1056
- "endIndex": 2
1057
- }
1058
- }
1059
- ],
1060
- "extendsTokenRanges": []
1061
- },
1062
- {
1063
- "kind": "Function",
1064
- "canonicalReference": "@alloy-js/core!baseListPropsToMapJoinArgs:function(1)",
1065
- "docComment": "/**\n * Convert a list of props to a joiner and ender for use in {@link (mapJoin:1)}.\n */\n",
1066
- "excerptTokens": [
1067
- {
1068
- "kind": "Content",
1069
- "text": "export declare function baseListPropsToMapJoinArgs(props: "
1070
- },
1071
- {
1072
- "kind": "Reference",
1073
- "text": "BaseListProps",
1074
- "canonicalReference": "@alloy-js/core!BaseListProps:interface"
1075
- },
1076
- {
1077
- "kind": "Content",
1078
- "text": "): "
1079
- },
1080
- {
1081
- "kind": "Reference",
1082
- "text": "JoinOptions",
1083
- "canonicalReference": "@alloy-js/core!JoinOptions:interface"
1084
- },
1085
- {
1086
- "kind": "Content",
1087
- "text": ";"
1088
- }
1089
- ],
1090
- "fileUrlPath": "src/utils.tsx",
1091
- "returnTypeTokenRange": {
1092
- "startIndex": 3,
1093
- "endIndex": 4
1094
- },
1095
- "releaseTag": "Public",
1096
- "overloadIndex": 1,
1097
- "parameters": [
1098
- {
1099
- "parameterName": "props",
1100
- "parameterTypeTokenRange": {
1101
- "startIndex": 1,
1102
- "endIndex": 2
1103
- },
1104
- "isOptional": false
1105
- }
1106
- ],
1107
- "name": "baseListPropsToMapJoinArgs"
1108
- },
1109
- {
1110
- "kind": "Interface",
1111
- "canonicalReference": "@alloy-js/core!Binder:interface",
1112
- "docComment": "/**\n * The binder tracks all output scopes and symbols. Scopes are nested containers\n * for symbols.\n *\n * @remarks\n *\n *\n *\n * Symbol information is reactive because in certain situations this data may\n * change. For example, when a symbol becomes conflicted with another symbol,\n * one of the symbol names may change. Ensure that you interact with binder\n * values in a reactive context (i.e. within JSX/code template, or within\n * memo/computed/etc).\n *\n */\n",
1113
- "excerptTokens": [
1114
- {
1115
- "kind": "Content",
1116
- "text": "export interface Binder "
1117
- }
1118
- ],
1119
- "fileUrlPath": "src/binder.ts",
1120
- "releaseTag": "Public",
1121
- "name": "Binder",
1122
- "preserveMemberOrder": false,
1123
- "members": [
1124
- {
1125
- "kind": "MethodSignature",
1126
- "canonicalReference": "@alloy-js/core!Binder#findScopeName:member(1)",
1127
- "docComment": "",
1128
- "excerptTokens": [
1129
- {
1130
- "kind": "Content",
1131
- "text": "findScopeName<TScope extends "
1132
- },
1133
- {
1134
- "kind": "Reference",
1135
- "text": "OutputScope",
1136
- "canonicalReference": "@alloy-js/core!OutputScope:class"
1137
- },
1138
- {
1139
- "kind": "Content",
1140
- "text": " = "
1141
- },
1142
- {
1143
- "kind": "Reference",
1144
- "text": "OutputScope",
1145
- "canonicalReference": "@alloy-js/core!OutputScope:class"
1146
- },
1147
- {
1148
- "kind": "Content",
1149
- "text": ">(currentScope: "
720
+ "text": ">(currentScope: "
1150
721
  },
1151
722
  {
1152
723
  "kind": "Content",
@@ -3130,40 +2701,36 @@
3130
2701
  },
3131
2702
  {
3132
2703
  "kind": "Interface",
3133
- "canonicalReference": "@alloy-js/core!ContentOutputFile:interface",
2704
+ "canonicalReference": "@alloy-js/core!Context:interface",
3134
2705
  "docComment": "",
3135
2706
  "excerptTokens": [
3136
2707
  {
3137
2708
  "kind": "Content",
3138
- "text": "export interface ContentOutputFile extends "
3139
- },
3140
- {
3141
- "kind": "Reference",
3142
- "text": "OutputFileBase",
3143
- "canonicalReference": "@alloy-js/core!OutputFileBase:interface"
3144
- },
3145
- {
3146
- "kind": "Content",
3147
- "text": " "
2709
+ "text": "export interface Context "
3148
2710
  }
3149
2711
  ],
3150
- "fileUrlPath": "src/render.ts",
2712
+ "fileUrlPath": "src/reactivity.ts",
3151
2713
  "releaseTag": "Public",
3152
- "name": "ContentOutputFile",
2714
+ "name": "Context",
3153
2715
  "preserveMemberOrder": false,
3154
2716
  "members": [
3155
2717
  {
3156
2718
  "kind": "PropertySignature",
3157
- "canonicalReference": "@alloy-js/core!ContentOutputFile#contents:member",
3158
- "docComment": "",
2719
+ "canonicalReference": "@alloy-js/core!Context#componentOwner:member",
2720
+ "docComment": "/**\n * When this context was created by a component, this will\n * be the component that created it.\n */\n",
3159
2721
  "excerptTokens": [
3160
2722
  {
3161
2723
  "kind": "Content",
3162
- "text": "contents: "
2724
+ "text": "componentOwner?: "
2725
+ },
2726
+ {
2727
+ "kind": "Reference",
2728
+ "text": "ComponentCreator",
2729
+ "canonicalReference": "@alloy-js/core!ComponentCreator:interface"
3163
2730
  },
3164
2731
  {
3165
2732
  "kind": "Content",
3166
- "text": "string"
2733
+ "text": "<unknown>"
3167
2734
  },
3168
2735
  {
3169
2736
  "kind": "Content",
@@ -3171,26 +2738,31 @@
3171
2738
  }
3172
2739
  ],
3173
2740
  "isReadonly": false,
3174
- "isOptional": false,
2741
+ "isOptional": true,
3175
2742
  "releaseTag": "Public",
3176
- "name": "contents",
2743
+ "name": "componentOwner",
3177
2744
  "propertyTypeTokenRange": {
3178
2745
  "startIndex": 1,
3179
- "endIndex": 2
2746
+ "endIndex": 3
3180
2747
  }
3181
2748
  },
3182
2749
  {
3183
2750
  "kind": "PropertySignature",
3184
- "canonicalReference": "@alloy-js/core!ContentOutputFile#filetype:member",
2751
+ "canonicalReference": "@alloy-js/core!Context#context:member",
3185
2752
  "docComment": "",
3186
2753
  "excerptTokens": [
3187
2754
  {
3188
2755
  "kind": "Content",
3189
- "text": "filetype: "
2756
+ "text": "context?: "
2757
+ },
2758
+ {
2759
+ "kind": "Reference",
2760
+ "text": "Record",
2761
+ "canonicalReference": "!Record:type"
3190
2762
  },
3191
2763
  {
3192
2764
  "kind": "Content",
3193
- "text": "string"
2765
+ "text": "<symbol, unknown>"
3194
2766
  },
3195
2767
  {
3196
2768
  "kind": "Content",
@@ -3198,94 +2770,7 @@
3198
2770
  }
3199
2771
  ],
3200
2772
  "isReadonly": false,
3201
- "isOptional": false,
3202
- "releaseTag": "Public",
3203
- "name": "filetype",
3204
- "propertyTypeTokenRange": {
3205
- "startIndex": 1,
3206
- "endIndex": 2
3207
- }
3208
- }
3209
- ],
3210
- "extendsTokenRanges": [
3211
- {
3212
- "startIndex": 1,
3213
- "endIndex": 2
3214
- }
3215
- ]
3216
- },
3217
- {
3218
- "kind": "Interface",
3219
- "canonicalReference": "@alloy-js/core!Context:interface",
3220
- "docComment": "",
3221
- "excerptTokens": [
3222
- {
3223
- "kind": "Content",
3224
- "text": "export interface Context "
3225
- }
3226
- ],
3227
- "fileUrlPath": "src/reactivity.ts",
3228
- "releaseTag": "Public",
3229
- "name": "Context",
3230
- "preserveMemberOrder": false,
3231
- "members": [
3232
- {
3233
- "kind": "PropertySignature",
3234
- "canonicalReference": "@alloy-js/core!Context#componentOwner:member",
3235
- "docComment": "/**\n * When this context was created by a component, this will\n * be the component that created it.\n */\n",
3236
- "excerptTokens": [
3237
- {
3238
- "kind": "Content",
3239
- "text": "componentOwner?: "
3240
- },
3241
- {
3242
- "kind": "Reference",
3243
- "text": "ComponentCreator",
3244
- "canonicalReference": "@alloy-js/core!ComponentCreator:interface"
3245
- },
3246
- {
3247
- "kind": "Content",
3248
- "text": "<unknown>"
3249
- },
3250
- {
3251
- "kind": "Content",
3252
- "text": ";"
3253
- }
3254
- ],
3255
- "isReadonly": false,
3256
- "isOptional": true,
3257
- "releaseTag": "Public",
3258
- "name": "componentOwner",
3259
- "propertyTypeTokenRange": {
3260
- "startIndex": 1,
3261
- "endIndex": 3
3262
- }
3263
- },
3264
- {
3265
- "kind": "PropertySignature",
3266
- "canonicalReference": "@alloy-js/core!Context#context:member",
3267
- "docComment": "",
3268
- "excerptTokens": [
3269
- {
3270
- "kind": "Content",
3271
- "text": "context?: "
3272
- },
3273
- {
3274
- "kind": "Reference",
3275
- "text": "Record",
3276
- "canonicalReference": "!Record:type"
3277
- },
3278
- {
3279
- "kind": "Content",
3280
- "text": "<symbol, unknown>"
3281
- },
3282
- {
3283
- "kind": "Content",
3284
- "text": ";"
3285
- }
3286
- ],
3287
- "isReadonly": false,
3288
- "isOptional": true,
2773
+ "isOptional": true,
3289
2774
  "releaseTag": "Public",
3290
2775
  "name": "context",
3291
2776
  "propertyTypeTokenRange": {
@@ -3630,32 +3115,33 @@
3630
3115
  },
3631
3116
  {
3632
3117
  "kind": "Function",
3633
- "canonicalReference": "@alloy-js/core!CopyFile:function(1)",
3634
- "docComment": "",
3118
+ "canonicalReference": "@alloy-js/core!createAssignmentContext:function(1)",
3119
+ "docComment": "/**\n * Creates a new {@link (AssignmentContext:interface)}.\n *\n * @param target - The symbol that is the target of the current assignment.\n *\n * @returns A new {@link (AssignmentContext:interface)}.\n */\n",
3635
3120
  "excerptTokens": [
3636
3121
  {
3637
3122
  "kind": "Content",
3638
- "text": "export declare function CopyFile(props: "
3123
+ "text": "export declare function createAssignmentContext(target: "
3639
3124
  },
3640
3125
  {
3641
3126
  "kind": "Reference",
3642
- "text": "CopyFileProps",
3643
- "canonicalReference": "@alloy-js/core!CopyFileProps:interface"
3127
+ "text": "OutputSymbol",
3128
+ "canonicalReference": "@alloy-js/core!OutputSymbol:class"
3644
3129
  },
3645
3130
  {
3646
3131
  "kind": "Content",
3647
3132
  "text": "): "
3648
3133
  },
3649
3134
  {
3650
- "kind": "Content",
3651
- "text": "void"
3135
+ "kind": "Reference",
3136
+ "text": "AssignmentContext",
3137
+ "canonicalReference": "@alloy-js/core!AssignmentContext:interface"
3652
3138
  },
3653
3139
  {
3654
3140
  "kind": "Content",
3655
3141
  "text": ";"
3656
3142
  }
3657
3143
  ],
3658
- "fileUrlPath": "src/components/CopyFile.tsx",
3144
+ "fileUrlPath": "src/context/assignment.ts",
3659
3145
  "returnTypeTokenRange": {
3660
3146
  "startIndex": 3,
3661
3147
  "endIndex": 4
@@ -3664,7 +3150,7 @@
3664
3150
  "overloadIndex": 1,
3665
3151
  "parameters": [
3666
3152
  {
3667
- "parameterName": "props",
3153
+ "parameterName": "target",
3668
3154
  "parameterTypeTokenRange": {
3669
3155
  "startIndex": 1,
3670
3156
  "endIndex": 2
@@ -3672,369 +3158,119 @@
3672
3158
  "isOptional": false
3673
3159
  }
3674
3160
  ],
3675
- "name": "CopyFile"
3161
+ "name": "createAssignmentContext"
3676
3162
  },
3677
3163
  {
3678
- "kind": "Interface",
3679
- "canonicalReference": "@alloy-js/core!CopyFileContext:interface",
3164
+ "kind": "Function",
3165
+ "canonicalReference": "@alloy-js/core!createComponent:function(1)",
3680
3166
  "docComment": "",
3681
3167
  "excerptTokens": [
3682
3168
  {
3683
3169
  "kind": "Content",
3684
- "text": "export interface CopyFileContext "
3170
+ "text": "export declare function createComponent<TProps extends "
3171
+ },
3172
+ {
3173
+ "kind": "Reference",
3174
+ "text": "Props",
3175
+ "canonicalReference": "@alloy-js/core!Props:type"
3176
+ },
3177
+ {
3178
+ "kind": "Content",
3179
+ "text": " = "
3180
+ },
3181
+ {
3182
+ "kind": "Reference",
3183
+ "text": "Props",
3184
+ "canonicalReference": "@alloy-js/core!Props:type"
3185
+ },
3186
+ {
3187
+ "kind": "Content",
3188
+ "text": ">(C: "
3189
+ },
3190
+ {
3191
+ "kind": "Reference",
3192
+ "text": "Component",
3193
+ "canonicalReference": "@alloy-js/core!Component:interface"
3194
+ },
3195
+ {
3196
+ "kind": "Content",
3197
+ "text": "<TProps>"
3198
+ },
3199
+ {
3200
+ "kind": "Content",
3201
+ "text": ", props: "
3202
+ },
3203
+ {
3204
+ "kind": "Content",
3205
+ "text": "TProps"
3206
+ },
3207
+ {
3208
+ "kind": "Content",
3209
+ "text": "): "
3210
+ },
3211
+ {
3212
+ "kind": "Reference",
3213
+ "text": "ComponentCreator",
3214
+ "canonicalReference": "@alloy-js/core!ComponentCreator:interface"
3215
+ },
3216
+ {
3217
+ "kind": "Content",
3218
+ "text": "<TProps>"
3219
+ },
3220
+ {
3221
+ "kind": "Content",
3222
+ "text": ";"
3685
3223
  }
3686
3224
  ],
3687
- "fileUrlPath": "src/context/source-file.ts",
3225
+ "fileUrlPath": "src/runtime/component.ts",
3226
+ "returnTypeTokenRange": {
3227
+ "startIndex": 10,
3228
+ "endIndex": 12
3229
+ },
3688
3230
  "releaseTag": "Public",
3689
- "name": "CopyFileContext",
3690
- "preserveMemberOrder": false,
3691
- "members": [
3231
+ "overloadIndex": 1,
3232
+ "parameters": [
3692
3233
  {
3693
- "kind": "PropertySignature",
3694
- "canonicalReference": "@alloy-js/core!CopyFileContext#path:member",
3695
- "docComment": "",
3696
- "excerptTokens": [
3697
- {
3698
- "kind": "Content",
3699
- "text": "path: "
3700
- },
3701
- {
3702
- "kind": "Content",
3703
- "text": "string"
3704
- },
3705
- {
3706
- "kind": "Content",
3707
- "text": ";"
3708
- }
3709
- ],
3710
- "isReadonly": false,
3711
- "isOptional": false,
3712
- "releaseTag": "Public",
3713
- "name": "path",
3714
- "propertyTypeTokenRange": {
3715
- "startIndex": 1,
3716
- "endIndex": 2
3717
- }
3234
+ "parameterName": "C",
3235
+ "parameterTypeTokenRange": {
3236
+ "startIndex": 5,
3237
+ "endIndex": 7
3238
+ },
3239
+ "isOptional": false
3718
3240
  },
3719
3241
  {
3720
- "kind": "PropertySignature",
3721
- "canonicalReference": "@alloy-js/core!CopyFileContext#sourcePath:member",
3722
- "docComment": "",
3723
- "excerptTokens": [
3724
- {
3725
- "kind": "Content",
3726
- "text": "sourcePath: "
3727
- },
3728
- {
3729
- "kind": "Content",
3730
- "text": "string"
3731
- },
3732
- {
3733
- "kind": "Content",
3734
- "text": ";"
3735
- }
3736
- ],
3737
- "isReadonly": false,
3738
- "isOptional": false,
3739
- "releaseTag": "Public",
3740
- "name": "sourcePath",
3741
- "propertyTypeTokenRange": {
3242
+ "parameterName": "props",
3243
+ "parameterTypeTokenRange": {
3244
+ "startIndex": 8,
3245
+ "endIndex": 9
3246
+ },
3247
+ "isOptional": false
3248
+ }
3249
+ ],
3250
+ "typeParameters": [
3251
+ {
3252
+ "typeParameterName": "TProps",
3253
+ "constraintTokenRange": {
3742
3254
  "startIndex": 1,
3743
3255
  "endIndex": 2
3256
+ },
3257
+ "defaultTypeTokenRange": {
3258
+ "startIndex": 3,
3259
+ "endIndex": 4
3744
3260
  }
3745
3261
  }
3746
3262
  ],
3747
- "extendsTokenRanges": []
3263
+ "name": "createComponent"
3748
3264
  },
3749
3265
  {
3750
- "kind": "Interface",
3751
- "canonicalReference": "@alloy-js/core!CopyFileProps:interface",
3266
+ "kind": "Function",
3267
+ "canonicalReference": "@alloy-js/core!createContext:function(1)",
3752
3268
  "docComment": "",
3753
3269
  "excerptTokens": [
3754
3270
  {
3755
3271
  "kind": "Content",
3756
- "text": "export interface CopyFileProps "
3757
- }
3758
- ],
3759
- "fileUrlPath": "src/components/CopyFile.tsx",
3760
- "releaseTag": "Public",
3761
- "name": "CopyFileProps",
3762
- "preserveMemberOrder": false,
3763
- "members": [
3764
- {
3765
- "kind": "PropertySignature",
3766
- "canonicalReference": "@alloy-js/core!CopyFileProps#path:member",
3767
- "docComment": "/**\n * The path to write the copy to, relative to the containing directory.\n */\n",
3768
- "excerptTokens": [
3769
- {
3770
- "kind": "Content",
3771
- "text": "path: "
3772
- },
3773
- {
3774
- "kind": "Content",
3775
- "text": "string"
3776
- },
3777
- {
3778
- "kind": "Content",
3779
- "text": ";"
3780
- }
3781
- ],
3782
- "isReadonly": false,
3783
- "isOptional": false,
3784
- "releaseTag": "Public",
3785
- "name": "path",
3786
- "propertyTypeTokenRange": {
3787
- "startIndex": 1,
3788
- "endIndex": 2
3789
- }
3790
- },
3791
- {
3792
- "kind": "PropertySignature",
3793
- "canonicalReference": "@alloy-js/core!CopyFileProps#src:member",
3794
- "docComment": "/**\n * The path to the file to copy.\n */\n",
3795
- "excerptTokens": [
3796
- {
3797
- "kind": "Content",
3798
- "text": "src: "
3799
- },
3800
- {
3801
- "kind": "Content",
3802
- "text": "string"
3803
- },
3804
- {
3805
- "kind": "Content",
3806
- "text": ";"
3807
- }
3808
- ],
3809
- "isReadonly": false,
3810
- "isOptional": false,
3811
- "releaseTag": "Public",
3812
- "name": "src",
3813
- "propertyTypeTokenRange": {
3814
- "startIndex": 1,
3815
- "endIndex": 2
3816
- }
3817
- }
3818
- ],
3819
- "extendsTokenRanges": []
3820
- },
3821
- {
3822
- "kind": "Interface",
3823
- "canonicalReference": "@alloy-js/core!CopyOutputFile:interface",
3824
- "docComment": "",
3825
- "excerptTokens": [
3826
- {
3827
- "kind": "Content",
3828
- "text": "export interface CopyOutputFile extends "
3829
- },
3830
- {
3831
- "kind": "Reference",
3832
- "text": "OutputFileBase",
3833
- "canonicalReference": "@alloy-js/core!OutputFileBase:interface"
3834
- },
3835
- {
3836
- "kind": "Content",
3837
- "text": " "
3838
- }
3839
- ],
3840
- "fileUrlPath": "src/render.ts",
3841
- "releaseTag": "Public",
3842
- "name": "CopyOutputFile",
3843
- "preserveMemberOrder": false,
3844
- "members": [
3845
- {
3846
- "kind": "PropertySignature",
3847
- "canonicalReference": "@alloy-js/core!CopyOutputFile#sourcePath:member",
3848
- "docComment": "",
3849
- "excerptTokens": [
3850
- {
3851
- "kind": "Content",
3852
- "text": "sourcePath: "
3853
- },
3854
- {
3855
- "kind": "Content",
3856
- "text": "string"
3857
- },
3858
- {
3859
- "kind": "Content",
3860
- "text": ";"
3861
- }
3862
- ],
3863
- "isReadonly": false,
3864
- "isOptional": false,
3865
- "releaseTag": "Public",
3866
- "name": "sourcePath",
3867
- "propertyTypeTokenRange": {
3868
- "startIndex": 1,
3869
- "endIndex": 2
3870
- }
3871
- }
3872
- ],
3873
- "extendsTokenRanges": [
3874
- {
3875
- "startIndex": 1,
3876
- "endIndex": 2
3877
- }
3878
- ]
3879
- },
3880
- {
3881
- "kind": "Function",
3882
- "canonicalReference": "@alloy-js/core!createAssignmentContext:function(1)",
3883
- "docComment": "/**\n * Creates a new {@link (AssignmentContext:interface)}.\n *\n * @param target - The symbol that is the target of the current assignment.\n *\n * @returns A new {@link (AssignmentContext:interface)}.\n */\n",
3884
- "excerptTokens": [
3885
- {
3886
- "kind": "Content",
3887
- "text": "export declare function createAssignmentContext(target: "
3888
- },
3889
- {
3890
- "kind": "Reference",
3891
- "text": "OutputSymbol",
3892
- "canonicalReference": "@alloy-js/core!OutputSymbol:class"
3893
- },
3894
- {
3895
- "kind": "Content",
3896
- "text": "): "
3897
- },
3898
- {
3899
- "kind": "Reference",
3900
- "text": "AssignmentContext",
3901
- "canonicalReference": "@alloy-js/core!AssignmentContext:interface"
3902
- },
3903
- {
3904
- "kind": "Content",
3905
- "text": ";"
3906
- }
3907
- ],
3908
- "fileUrlPath": "src/context/assignment.ts",
3909
- "returnTypeTokenRange": {
3910
- "startIndex": 3,
3911
- "endIndex": 4
3912
- },
3913
- "releaseTag": "Public",
3914
- "overloadIndex": 1,
3915
- "parameters": [
3916
- {
3917
- "parameterName": "target",
3918
- "parameterTypeTokenRange": {
3919
- "startIndex": 1,
3920
- "endIndex": 2
3921
- },
3922
- "isOptional": false
3923
- }
3924
- ],
3925
- "name": "createAssignmentContext"
3926
- },
3927
- {
3928
- "kind": "Function",
3929
- "canonicalReference": "@alloy-js/core!createComponent:function(1)",
3930
- "docComment": "",
3931
- "excerptTokens": [
3932
- {
3933
- "kind": "Content",
3934
- "text": "export declare function createComponent<TProps extends "
3935
- },
3936
- {
3937
- "kind": "Reference",
3938
- "text": "Props",
3939
- "canonicalReference": "@alloy-js/core!Props:type"
3940
- },
3941
- {
3942
- "kind": "Content",
3943
- "text": " = "
3944
- },
3945
- {
3946
- "kind": "Reference",
3947
- "text": "Props",
3948
- "canonicalReference": "@alloy-js/core!Props:type"
3949
- },
3950
- {
3951
- "kind": "Content",
3952
- "text": ">(C: "
3953
- },
3954
- {
3955
- "kind": "Reference",
3956
- "text": "Component",
3957
- "canonicalReference": "@alloy-js/core!Component:interface"
3958
- },
3959
- {
3960
- "kind": "Content",
3961
- "text": "<TProps>"
3962
- },
3963
- {
3964
- "kind": "Content",
3965
- "text": ", props: "
3966
- },
3967
- {
3968
- "kind": "Content",
3969
- "text": "TProps"
3970
- },
3971
- {
3972
- "kind": "Content",
3973
- "text": "): "
3974
- },
3975
- {
3976
- "kind": "Reference",
3977
- "text": "ComponentCreator",
3978
- "canonicalReference": "@alloy-js/core!ComponentCreator:interface"
3979
- },
3980
- {
3981
- "kind": "Content",
3982
- "text": "<TProps>"
3983
- },
3984
- {
3985
- "kind": "Content",
3986
- "text": ";"
3987
- }
3988
- ],
3989
- "fileUrlPath": "src/runtime/component.ts",
3990
- "returnTypeTokenRange": {
3991
- "startIndex": 10,
3992
- "endIndex": 12
3993
- },
3994
- "releaseTag": "Public",
3995
- "overloadIndex": 1,
3996
- "parameters": [
3997
- {
3998
- "parameterName": "C",
3999
- "parameterTypeTokenRange": {
4000
- "startIndex": 5,
4001
- "endIndex": 7
4002
- },
4003
- "isOptional": false
4004
- },
4005
- {
4006
- "parameterName": "props",
4007
- "parameterTypeTokenRange": {
4008
- "startIndex": 8,
4009
- "endIndex": 9
4010
- },
4011
- "isOptional": false
4012
- }
4013
- ],
4014
- "typeParameters": [
4015
- {
4016
- "typeParameterName": "TProps",
4017
- "constraintTokenRange": {
4018
- "startIndex": 1,
4019
- "endIndex": 2
4020
- },
4021
- "defaultTypeTokenRange": {
4022
- "startIndex": 3,
4023
- "endIndex": 4
4024
- }
4025
- }
4026
- ],
4027
- "name": "createComponent"
4028
- },
4029
- {
4030
- "kind": "Function",
4031
- "canonicalReference": "@alloy-js/core!createContext:function(1)",
4032
- "docComment": "",
4033
- "excerptTokens": [
4034
- {
4035
- "kind": "Content",
4036
- "text": "export declare function createContext<T = "
4037
- },
3272
+ "text": "export declare function createContext<T = "
3273
+ },
4038
3274
  {
4039
3275
  "kind": "Content",
4040
3276
  "text": "unknown"
@@ -11495,7 +10731,7 @@
11495
10731
  {
11496
10732
  "kind": "Reference",
11497
10733
  "text": "OutputFile",
11498
- "canonicalReference": "@alloy-js/core!OutputFile:type"
10734
+ "canonicalReference": "@alloy-js/core!OutputFile:interface"
11499
10735
  },
11500
10736
  {
11501
10737
  "kind": "Content",
@@ -11573,59 +10809,77 @@
11573
10809
  "extendsTokenRanges": []
11574
10810
  },
11575
10811
  {
11576
- "kind": "TypeAlias",
11577
- "canonicalReference": "@alloy-js/core!OutputFile:type",
10812
+ "kind": "Interface",
10813
+ "canonicalReference": "@alloy-js/core!OutputFile:interface",
11578
10814
  "docComment": "",
11579
10815
  "excerptTokens": [
11580
10816
  {
11581
10817
  "kind": "Content",
11582
- "text": "export type OutputFile = "
11583
- },
11584
- {
11585
- "kind": "Reference",
11586
- "text": "ContentOutputFile",
11587
- "canonicalReference": "@alloy-js/core!ContentOutputFile:interface"
11588
- },
11589
- {
11590
- "kind": "Content",
11591
- "text": " | "
11592
- },
11593
- {
11594
- "kind": "Reference",
11595
- "text": "CopyOutputFile",
11596
- "canonicalReference": "@alloy-js/core!CopyOutputFile:interface"
11597
- },
11598
- {
11599
- "kind": "Content",
11600
- "text": ";"
10818
+ "text": "export interface OutputFile "
11601
10819
  }
11602
10820
  ],
11603
10821
  "fileUrlPath": "src/render.ts",
11604
10822
  "releaseTag": "Public",
11605
10823
  "name": "OutputFile",
11606
- "typeTokenRange": {
11607
- "startIndex": 1,
11608
- "endIndex": 4
11609
- }
11610
- },
11611
- {
11612
- "kind": "Interface",
11613
- "canonicalReference": "@alloy-js/core!OutputFileBase:interface",
11614
- "docComment": "",
11615
- "excerptTokens": [
11616
- {
11617
- "kind": "Content",
11618
- "text": "export interface OutputFileBase "
11619
- }
11620
- ],
11621
- "fileUrlPath": "src/render.ts",
11622
- "releaseTag": "Public",
11623
- "name": "OutputFileBase",
11624
10824
  "preserveMemberOrder": false,
11625
10825
  "members": [
11626
10826
  {
11627
10827
  "kind": "PropertySignature",
11628
- "canonicalReference": "@alloy-js/core!OutputFileBase#kind:member",
10828
+ "canonicalReference": "@alloy-js/core!OutputFile#contents:member",
10829
+ "docComment": "",
10830
+ "excerptTokens": [
10831
+ {
10832
+ "kind": "Content",
10833
+ "text": "contents: "
10834
+ },
10835
+ {
10836
+ "kind": "Content",
10837
+ "text": "string"
10838
+ },
10839
+ {
10840
+ "kind": "Content",
10841
+ "text": ";"
10842
+ }
10843
+ ],
10844
+ "isReadonly": false,
10845
+ "isOptional": false,
10846
+ "releaseTag": "Public",
10847
+ "name": "contents",
10848
+ "propertyTypeTokenRange": {
10849
+ "startIndex": 1,
10850
+ "endIndex": 2
10851
+ }
10852
+ },
10853
+ {
10854
+ "kind": "PropertySignature",
10855
+ "canonicalReference": "@alloy-js/core!OutputFile#filetype:member",
10856
+ "docComment": "",
10857
+ "excerptTokens": [
10858
+ {
10859
+ "kind": "Content",
10860
+ "text": "filetype: "
10861
+ },
10862
+ {
10863
+ "kind": "Content",
10864
+ "text": "string"
10865
+ },
10866
+ {
10867
+ "kind": "Content",
10868
+ "text": ";"
10869
+ }
10870
+ ],
10871
+ "isReadonly": false,
10872
+ "isOptional": false,
10873
+ "releaseTag": "Public",
10874
+ "name": "filetype",
10875
+ "propertyTypeTokenRange": {
10876
+ "startIndex": 1,
10877
+ "endIndex": 2
10878
+ }
10879
+ },
10880
+ {
10881
+ "kind": "PropertySignature",
10882
+ "canonicalReference": "@alloy-js/core!OutputFile#kind:member",
11629
10883
  "docComment": "",
11630
10884
  "excerptTokens": [
11631
10885
  {
@@ -11652,7 +10906,7 @@
11652
10906
  },
11653
10907
  {
11654
10908
  "kind": "PropertySignature",
11655
- "canonicalReference": "@alloy-js/core!OutputFileBase#path:member",
10909
+ "canonicalReference": "@alloy-js/core!OutputFile#path:member",
11656
10910
  "docComment": "",
11657
10911
  "excerptTokens": [
11658
10912
  {
@@ -14240,7 +13494,7 @@
14240
13494
  {
14241
13495
  "kind": "Reference",
14242
13496
  "text": "OutputFile",
14243
- "canonicalReference": "@alloy-js/core!OutputFile:type"
13497
+ "canonicalReference": "@alloy-js/core!OutputFile:interface"
14244
13498
  },
14245
13499
  {
14246
13500
  "kind": "Content",
@@ -15921,83 +15175,6 @@
15921
15175
  ],
15922
15176
  "name": "render"
15923
15177
  },
15924
- {
15925
- "kind": "Function",
15926
- "canonicalReference": "@alloy-js/core!renderAsync:function(1)",
15927
- "docComment": "",
15928
- "excerptTokens": [
15929
- {
15930
- "kind": "Content",
15931
- "text": "export declare function renderAsync(children: "
15932
- },
15933
- {
15934
- "kind": "Reference",
15935
- "text": "Children",
15936
- "canonicalReference": "@alloy-js/core!Children:type"
15937
- },
15938
- {
15939
- "kind": "Content",
15940
- "text": ", options?: "
15941
- },
15942
- {
15943
- "kind": "Reference",
15944
- "text": "PrintTreeOptions",
15945
- "canonicalReference": "@alloy-js/core!PrintTreeOptions:interface"
15946
- },
15947
- {
15948
- "kind": "Content",
15949
- "text": "): "
15950
- },
15951
- {
15952
- "kind": "Reference",
15953
- "text": "Promise",
15954
- "canonicalReference": "!Promise:interface"
15955
- },
15956
- {
15957
- "kind": "Content",
15958
- "text": "<"
15959
- },
15960
- {
15961
- "kind": "Reference",
15962
- "text": "OutputDirectory",
15963
- "canonicalReference": "@alloy-js/core!OutputDirectory:interface"
15964
- },
15965
- {
15966
- "kind": "Content",
15967
- "text": ">"
15968
- },
15969
- {
15970
- "kind": "Content",
15971
- "text": ";"
15972
- }
15973
- ],
15974
- "fileUrlPath": "src/render.ts",
15975
- "returnTypeTokenRange": {
15976
- "startIndex": 5,
15977
- "endIndex": 9
15978
- },
15979
- "releaseTag": "Public",
15980
- "overloadIndex": 1,
15981
- "parameters": [
15982
- {
15983
- "parameterName": "children",
15984
- "parameterTypeTokenRange": {
15985
- "startIndex": 1,
15986
- "endIndex": 2
15987
- },
15988
- "isOptional": false
15989
- },
15990
- {
15991
- "parameterName": "options",
15992
- "parameterTypeTokenRange": {
15993
- "startIndex": 3,
15994
- "endIndex": 4
15995
- },
15996
- "isOptional": true
15997
- }
15998
- ],
15999
- "name": "renderAsync"
16000
- },
16001
15178
  {
16002
15179
  "kind": "TypeAlias",
16003
15180
  "canonicalReference": "@alloy-js/core!RenderedTextTree:type",
@@ -17145,15 +16322,6 @@
17145
16322
  "text": "SourceFileContext",
17146
16323
  "canonicalReference": "@alloy-js/core!SourceFileContext:interface"
17147
16324
  },
17148
- {
17149
- "kind": "Content",
17150
- "text": " | "
17151
- },
17152
- {
17153
- "kind": "Reference",
17154
- "text": "CopyFileContext",
17155
- "canonicalReference": "@alloy-js/core!CopyFileContext:interface"
17156
- },
17157
16325
  {
17158
16326
  "kind": "Content",
17159
16327
  "text": "): "
@@ -17169,8 +16337,8 @@
17169
16337
  ],
17170
16338
  "isOptional": false,
17171
16339
  "returnTypeTokenRange": {
17172
- "startIndex": 7,
17173
- "endIndex": 8
16340
+ "startIndex": 5,
16341
+ "endIndex": 6
17174
16342
  },
17175
16343
  "releaseTag": "Public",
17176
16344
  "overloadIndex": 1,
@@ -17179,7 +16347,7 @@
17179
16347
  "parameterName": "content",
17180
16348
  "parameterTypeTokenRange": {
17181
16349
  "startIndex": 1,
17182
- "endIndex": 6
16350
+ "endIndex": 4
17183
16351
  },
17184
16352
  "isOptional": false
17185
16353
  }
@@ -17213,15 +16381,6 @@
17213
16381
  "text": "SourceFileContext",
17214
16382
  "canonicalReference": "@alloy-js/core!SourceFileContext:interface"
17215
16383
  },
17216
- {
17217
- "kind": "Content",
17218
- "text": " | "
17219
- },
17220
- {
17221
- "kind": "Reference",
17222
- "text": "CopyFileContext",
17223
- "canonicalReference": "@alloy-js/core!CopyFileContext:interface"
17224
- },
17225
16384
  {
17226
16385
  "kind": "Content",
17227
16386
  "text": ")[]"
@@ -17237,7 +16396,7 @@
17237
16396
  "name": "contents",
17238
16397
  "propertyTypeTokenRange": {
17239
16398
  "startIndex": 1,
17240
- "endIndex": 8
16399
+ "endIndex": 6
17241
16400
  }
17242
16401
  },
17243
16402
  {
@@ -17760,70 +16919,6 @@
17760
16919
  }
17761
16920
  ]
17762
16921
  },
17763
- {
17764
- "kind": "Function",
17765
- "canonicalReference": "@alloy-js/core!sourceFilesForTree:function(1)",
17766
- "docComment": "",
17767
- "excerptTokens": [
17768
- {
17769
- "kind": "Content",
17770
- "text": "export declare function sourceFilesForTree(tree: "
17771
- },
17772
- {
17773
- "kind": "Reference",
17774
- "text": "RenderedTextTree",
17775
- "canonicalReference": "@alloy-js/core!RenderedTextTree:type"
17776
- },
17777
- {
17778
- "kind": "Content",
17779
- "text": ", options?: "
17780
- },
17781
- {
17782
- "kind": "Reference",
17783
- "text": "PrintTreeOptions",
17784
- "canonicalReference": "@alloy-js/core!PrintTreeOptions:interface"
17785
- },
17786
- {
17787
- "kind": "Content",
17788
- "text": "): "
17789
- },
17790
- {
17791
- "kind": "Reference",
17792
- "text": "OutputDirectory",
17793
- "canonicalReference": "@alloy-js/core!OutputDirectory:interface"
17794
- },
17795
- {
17796
- "kind": "Content",
17797
- "text": ";"
17798
- }
17799
- ],
17800
- "fileUrlPath": "src/render.ts",
17801
- "returnTypeTokenRange": {
17802
- "startIndex": 5,
17803
- "endIndex": 6
17804
- },
17805
- "releaseTag": "Public",
17806
- "overloadIndex": 1,
17807
- "parameters": [
17808
- {
17809
- "parameterName": "tree",
17810
- "parameterTypeTokenRange": {
17811
- "startIndex": 1,
17812
- "endIndex": 2
17813
- },
17814
- "isOptional": false
17815
- },
17816
- {
17817
- "parameterName": "options",
17818
- "parameterTypeTokenRange": {
17819
- "startIndex": 3,
17820
- "endIndex": 4
17821
- },
17822
- "isOptional": true
17823
- }
17824
- ],
17825
- "name": "sourceFilesForTree"
17826
- },
17827
16922
  {
17828
16923
  "kind": "Function",
17829
16924
  "canonicalReference": "@alloy-js/core!splitProps:function(1)",
@@ -19439,476 +18534,102 @@
19439
18534
  {
19440
18535
  "kind": "CallSignature",
19441
18536
  "canonicalReference": "@alloy-js/core!TapHandler:call(1)",
19442
- "docComment": "",
19443
- "excerptTokens": [
19444
- {
19445
- "kind": "Content",
19446
- "text": "(value: "
19447
- },
19448
- {
19449
- "kind": "Content",
19450
- "text": "T"
19451
- },
19452
- {
19453
- "kind": "Content",
19454
- "text": "): "
19455
- },
19456
- {
19457
- "kind": "Content",
19458
- "text": "void"
19459
- },
19460
- {
19461
- "kind": "Content",
19462
- "text": ";"
19463
- }
19464
- ],
19465
- "returnTypeTokenRange": {
19466
- "startIndex": 3,
19467
- "endIndex": 4
19468
- },
19469
- "releaseTag": "Public",
19470
- "overloadIndex": 1,
19471
- "parameters": [
19472
- {
19473
- "parameterName": "value",
19474
- "parameterTypeTokenRange": {
19475
- "startIndex": 1,
19476
- "endIndex": 2
19477
- },
19478
- "isOptional": false
19479
- }
19480
- ]
19481
- }
19482
- ],
19483
- "extendsTokenRanges": []
19484
- },
19485
- {
19486
- "kind": "Interface",
19487
- "canonicalReference": "@alloy-js/core!Tapper:interface",
19488
- "docComment": "/**\n * A function called when the Tap is rendered.\n *\n * @returns The tapped value.\n */\n",
19489
- "excerptTokens": [
19490
- {
19491
- "kind": "Content",
19492
- "text": "export interface Tapper<T> "
19493
- }
19494
- ],
19495
- "fileUrlPath": "src/tap.ts",
19496
- "releaseTag": "Public",
19497
- "typeParameters": [
19498
- {
19499
- "typeParameterName": "T",
19500
- "constraintTokenRange": {
19501
- "startIndex": 0,
19502
- "endIndex": 0
19503
- },
19504
- "defaultTypeTokenRange": {
19505
- "startIndex": 0,
19506
- "endIndex": 0
19507
- }
19508
- }
19509
- ],
19510
- "name": "Tapper",
19511
- "preserveMemberOrder": false,
19512
- "members": [
19513
- {
19514
- "kind": "CallSignature",
19515
- "canonicalReference": "@alloy-js/core!Tapper:call(1)",
19516
- "docComment": "",
19517
- "excerptTokens": [
19518
- {
19519
- "kind": "Content",
19520
- "text": "(): "
19521
- },
19522
- {
19523
- "kind": "Content",
19524
- "text": "T | undefined"
19525
- },
19526
- {
19527
- "kind": "Content",
19528
- "text": ";"
19529
- }
19530
- ],
19531
- "returnTypeTokenRange": {
19532
- "startIndex": 1,
19533
- "endIndex": 2
19534
- },
19535
- "releaseTag": "Public",
19536
- "overloadIndex": 1,
19537
- "parameters": []
19538
- }
19539
- ],
19540
- "extendsTokenRanges": []
19541
- },
19542
- {
19543
- "kind": "Function",
19544
- "canonicalReference": "@alloy-js/core!TemplateFile:function(1)",
19545
- "docComment": "/**\n * A component that reads a template file and replaces variable placeholders\n * with actual values.\n *\n * Template files can contain variable placeholders in the format\n * `{{ variable_name }}` which will be replaced with values from `TemplateVariable`\n * children components. Whitespace around variable names is ignored, so\n * `{{ name }}`, `{{name}}`, and `{{ name }}` are all equivalent.\n *\n * @example\n *\n *\n * Basic usage with template variables:\n * ```tsx\n * // Template file content (greeting.txt):\n * // \"Hello {{ name }}! You are {{ age }} years old.\"\n *\n * <TemplateFile src=\"greeting.txt\" path=\"output.txt\">\n * <TemplateVariable name=\"name\" value=\"John\" />\n * <TemplateVariable name=\"age\" value=\"25\" />\n * </TemplateFile>\n * ```\n *\n * @example\n *\n *\n * Using children instead of value prop:\n * ```tsx\n * // Template file content (welcome.txt):\n * // \"Welcome {{ greeting }}!\"\n *\n * <TemplateFile src=\"welcome.txt\" path=\"output.txt\">\n * <TemplateVariable name=\"greeting\">Hello World</TemplateVariable>\n * </TemplateFile>\n * ```\n *\n * @example\n *\n *\n * Complex template with multiple variables:\n * ```tsx\n * // Template file content (profile.txt):\n * // \"Name: {{ name }}\\nAge: {{ age }}\\nLocation: {{ location }}\"\n *\n * <TemplateFile src=\"profile.txt\" path=\"profile-output.txt\">\n * <TemplateVariable name=\"name\" value=\"Alice\" />\n * <TemplateVariable name=\"age\">30</TemplateVariable>\n * <TemplateVariable name=\"location\" value=\"New York\" />\n * </TemplateFile>\n * ```\n *\n */\n",
19546
- "excerptTokens": [
19547
- {
19548
- "kind": "Content",
19549
- "text": "export declare function TemplateFile(props: "
19550
- },
19551
- {
19552
- "kind": "Reference",
19553
- "text": "TemplateFileProps",
19554
- "canonicalReference": "@alloy-js/core!TemplateFileProps:interface"
19555
- },
19556
- {
19557
- "kind": "Content",
19558
- "text": "): "
19559
- },
19560
- {
19561
- "kind": "Reference",
19562
- "text": "Children",
19563
- "canonicalReference": "@alloy-js/core!Children:type"
19564
- },
19565
- {
19566
- "kind": "Content",
19567
- "text": ";"
19568
- }
19569
- ],
19570
- "fileUrlPath": "src/components/TemplateFile.tsx",
19571
- "returnTypeTokenRange": {
19572
- "startIndex": 3,
19573
- "endIndex": 4
19574
- },
19575
- "releaseTag": "Public",
19576
- "overloadIndex": 1,
19577
- "parameters": [
19578
- {
19579
- "parameterName": "props",
19580
- "parameterTypeTokenRange": {
19581
- "startIndex": 1,
19582
- "endIndex": 2
19583
- },
19584
- "isOptional": false
19585
- }
19586
- ],
19587
- "name": "TemplateFile"
19588
- },
19589
- {
19590
- "kind": "Interface",
19591
- "canonicalReference": "@alloy-js/core!TemplateFileProps:interface",
19592
- "docComment": "",
19593
- "excerptTokens": [
19594
- {
19595
- "kind": "Content",
19596
- "text": "export interface TemplateFileProps "
19597
- }
19598
- ],
19599
- "fileUrlPath": "src/components/TemplateFile.tsx",
19600
- "releaseTag": "Public",
19601
- "name": "TemplateFileProps",
19602
- "preserveMemberOrder": false,
19603
- "members": [
19604
- {
19605
- "kind": "PropertySignature",
19606
- "canonicalReference": "@alloy-js/core!TemplateFileProps#children:member",
19607
- "docComment": "/**\n * Template variable children components.\n */\n",
19608
- "excerptTokens": [
19609
- {
19610
- "kind": "Content",
19611
- "text": "children?: "
19612
- },
19613
- {
19614
- "kind": "Reference",
19615
- "text": "Children",
19616
- "canonicalReference": "@alloy-js/core!Children:type"
19617
- },
19618
- {
19619
- "kind": "Content",
19620
- "text": ";"
19621
- }
19622
- ],
19623
- "isReadonly": false,
19624
- "isOptional": true,
19625
- "releaseTag": "Public",
19626
- "name": "children",
19627
- "propertyTypeTokenRange": {
19628
- "startIndex": 1,
19629
- "endIndex": 2
19630
- }
19631
- },
19632
- {
19633
- "kind": "PropertySignature",
19634
- "canonicalReference": "@alloy-js/core!TemplateFileProps#path:member",
19635
- "docComment": "/**\n * The path to write the compiled template to.\n */\n",
19636
- "excerptTokens": [
19637
- {
19638
- "kind": "Content",
19639
- "text": "path: "
19640
- },
19641
- {
19642
- "kind": "Content",
19643
- "text": "string"
19644
- },
19645
- {
19646
- "kind": "Content",
19647
- "text": ";"
19648
- }
19649
- ],
19650
- "isReadonly": false,
19651
- "isOptional": false,
19652
- "releaseTag": "Public",
19653
- "name": "path",
19654
- "propertyTypeTokenRange": {
19655
- "startIndex": 1,
19656
- "endIndex": 2
19657
- }
19658
- },
19659
- {
19660
- "kind": "PropertySignature",
19661
- "canonicalReference": "@alloy-js/core!TemplateFileProps#src:member",
19662
- "docComment": "/**\n * The file path of the template.\n */\n",
19663
- "excerptTokens": [
19664
- {
19665
- "kind": "Content",
19666
- "text": "src: "
19667
- },
19668
- {
19669
- "kind": "Content",
19670
- "text": "string"
19671
- },
19672
- {
19673
- "kind": "Content",
19674
- "text": ";"
19675
- }
19676
- ],
19677
- "isReadonly": false,
19678
- "isOptional": false,
19679
- "releaseTag": "Public",
19680
- "name": "src",
19681
- "propertyTypeTokenRange": {
19682
- "startIndex": 1,
19683
- "endIndex": 2
19684
- }
19685
- }
19686
- ],
19687
- "extendsTokenRanges": []
19688
- },
19689
- {
19690
- "kind": "Function",
19691
- "canonicalReference": "@alloy-js/core!TemplateVariable:function(1)",
19692
- "docComment": "",
19693
- "excerptTokens": [
19694
- {
19695
- "kind": "Content",
19696
- "text": "export declare function TemplateVariable(props: "
19697
- },
19698
- {
19699
- "kind": "Reference",
19700
- "text": "TemplateVariableProps",
19701
- "canonicalReference": "@alloy-js/core!TemplateVariableProps:type"
19702
- },
19703
- {
19704
- "kind": "Content",
19705
- "text": "): "
19706
- },
19707
- {
19708
- "kind": "Content",
19709
- "text": "void"
19710
- },
19711
- {
19712
- "kind": "Content",
19713
- "text": ";"
19714
- }
19715
- ],
19716
- "fileUrlPath": "src/components/TemplateFile.tsx",
19717
- "returnTypeTokenRange": {
19718
- "startIndex": 3,
19719
- "endIndex": 4
19720
- },
19721
- "releaseTag": "Public",
19722
- "overloadIndex": 1,
19723
- "parameters": [
19724
- {
19725
- "parameterName": "props",
19726
- "parameterTypeTokenRange": {
19727
- "startIndex": 1,
19728
- "endIndex": 2
19729
- },
19730
- "isOptional": false
19731
- }
19732
- ],
19733
- "name": "TemplateVariable"
19734
- },
19735
- {
19736
- "kind": "TypeAlias",
19737
- "canonicalReference": "@alloy-js/core!TemplateVariableProps:type",
19738
- "docComment": "",
19739
- "excerptTokens": [
19740
- {
19741
- "kind": "Content",
19742
- "text": "export type TemplateVariableProps = "
19743
- },
19744
- {
19745
- "kind": "Reference",
19746
- "text": "TemplateVariablePropsWithChildren",
19747
- "canonicalReference": "@alloy-js/core!TemplateVariablePropsWithChildren:interface"
19748
- },
19749
- {
19750
- "kind": "Content",
19751
- "text": " | "
19752
- },
19753
- {
19754
- "kind": "Reference",
19755
- "text": "TemplateVariablePropsWithValue",
19756
- "canonicalReference": "@alloy-js/core!TemplateVariablePropsWithValue:interface"
19757
- },
19758
- {
19759
- "kind": "Content",
19760
- "text": ";"
19761
- }
19762
- ],
19763
- "fileUrlPath": "src/components/TemplateFile.tsx",
19764
- "releaseTag": "Public",
19765
- "name": "TemplateVariableProps",
19766
- "typeTokenRange": {
19767
- "startIndex": 1,
19768
- "endIndex": 4
19769
- }
19770
- },
19771
- {
19772
- "kind": "Interface",
19773
- "canonicalReference": "@alloy-js/core!TemplateVariablePropsWithChildren:interface",
19774
- "docComment": "",
19775
- "excerptTokens": [
19776
- {
19777
- "kind": "Content",
19778
- "text": "export interface TemplateVariablePropsWithChildren "
19779
- }
19780
- ],
19781
- "fileUrlPath": "src/components/TemplateFile.tsx",
19782
- "releaseTag": "Public",
19783
- "name": "TemplateVariablePropsWithChildren",
19784
- "preserveMemberOrder": false,
19785
- "members": [
19786
- {
19787
- "kind": "PropertySignature",
19788
- "canonicalReference": "@alloy-js/core!TemplateVariablePropsWithChildren#children:member",
19789
- "docComment": "/**\n * The value of the variable.\n */\n",
19790
- "excerptTokens": [
19791
- {
19792
- "kind": "Content",
19793
- "text": "children: "
19794
- },
19795
- {
19796
- "kind": "Reference",
19797
- "text": "Children",
19798
- "canonicalReference": "@alloy-js/core!Children:type"
19799
- },
19800
- {
19801
- "kind": "Content",
19802
- "text": ";"
19803
- }
19804
- ],
19805
- "isReadonly": false,
19806
- "isOptional": false,
19807
- "releaseTag": "Public",
19808
- "name": "children",
19809
- "propertyTypeTokenRange": {
19810
- "startIndex": 1,
19811
- "endIndex": 2
19812
- }
19813
- },
19814
- {
19815
- "kind": "PropertySignature",
19816
- "canonicalReference": "@alloy-js/core!TemplateVariablePropsWithChildren#name:member",
19817
- "docComment": "/**\n * The name of the variable.\n */\n",
18537
+ "docComment": "",
19818
18538
  "excerptTokens": [
19819
18539
  {
19820
18540
  "kind": "Content",
19821
- "text": "name: "
18541
+ "text": "(value: "
19822
18542
  },
19823
18543
  {
19824
18544
  "kind": "Content",
19825
- "text": "string"
18545
+ "text": "T"
18546
+ },
18547
+ {
18548
+ "kind": "Content",
18549
+ "text": "): "
18550
+ },
18551
+ {
18552
+ "kind": "Content",
18553
+ "text": "void"
19826
18554
  },
19827
18555
  {
19828
18556
  "kind": "Content",
19829
18557
  "text": ";"
19830
18558
  }
19831
18559
  ],
19832
- "isReadonly": false,
19833
- "isOptional": false,
18560
+ "returnTypeTokenRange": {
18561
+ "startIndex": 3,
18562
+ "endIndex": 4
18563
+ },
19834
18564
  "releaseTag": "Public",
19835
- "name": "name",
19836
- "propertyTypeTokenRange": {
19837
- "startIndex": 1,
19838
- "endIndex": 2
19839
- }
18565
+ "overloadIndex": 1,
18566
+ "parameters": [
18567
+ {
18568
+ "parameterName": "value",
18569
+ "parameterTypeTokenRange": {
18570
+ "startIndex": 1,
18571
+ "endIndex": 2
18572
+ },
18573
+ "isOptional": false
18574
+ }
18575
+ ]
19840
18576
  }
19841
18577
  ],
19842
18578
  "extendsTokenRanges": []
19843
18579
  },
19844
18580
  {
19845
18581
  "kind": "Interface",
19846
- "canonicalReference": "@alloy-js/core!TemplateVariablePropsWithValue:interface",
19847
- "docComment": "",
18582
+ "canonicalReference": "@alloy-js/core!Tapper:interface",
18583
+ "docComment": "/**\n * A function called when the Tap is rendered.\n *\n * @returns The tapped value.\n */\n",
19848
18584
  "excerptTokens": [
19849
18585
  {
19850
18586
  "kind": "Content",
19851
- "text": "export interface TemplateVariablePropsWithValue "
18587
+ "text": "export interface Tapper<T> "
19852
18588
  }
19853
18589
  ],
19854
- "fileUrlPath": "src/components/TemplateFile.tsx",
18590
+ "fileUrlPath": "src/tap.ts",
19855
18591
  "releaseTag": "Public",
19856
- "name": "TemplateVariablePropsWithValue",
18592
+ "typeParameters": [
18593
+ {
18594
+ "typeParameterName": "T",
18595
+ "constraintTokenRange": {
18596
+ "startIndex": 0,
18597
+ "endIndex": 0
18598
+ },
18599
+ "defaultTypeTokenRange": {
18600
+ "startIndex": 0,
18601
+ "endIndex": 0
18602
+ }
18603
+ }
18604
+ ],
18605
+ "name": "Tapper",
19857
18606
  "preserveMemberOrder": false,
19858
18607
  "members": [
19859
18608
  {
19860
- "kind": "PropertySignature",
19861
- "canonicalReference": "@alloy-js/core!TemplateVariablePropsWithValue#name:member",
19862
- "docComment": "/**\n * The name of the variable.\n */\n",
18609
+ "kind": "CallSignature",
18610
+ "canonicalReference": "@alloy-js/core!Tapper:call(1)",
18611
+ "docComment": "",
19863
18612
  "excerptTokens": [
19864
18613
  {
19865
18614
  "kind": "Content",
19866
- "text": "name: "
18615
+ "text": "(): "
19867
18616
  },
19868
18617
  {
19869
18618
  "kind": "Content",
19870
- "text": "string"
18619
+ "text": "T | undefined"
19871
18620
  },
19872
18621
  {
19873
18622
  "kind": "Content",
19874
18623
  "text": ";"
19875
18624
  }
19876
18625
  ],
19877
- "isReadonly": false,
19878
- "isOptional": false,
19879
- "releaseTag": "Public",
19880
- "name": "name",
19881
- "propertyTypeTokenRange": {
18626
+ "returnTypeTokenRange": {
19882
18627
  "startIndex": 1,
19883
18628
  "endIndex": 2
19884
- }
19885
- },
19886
- {
19887
- "kind": "PropertySignature",
19888
- "canonicalReference": "@alloy-js/core!TemplateVariablePropsWithValue#value:member",
19889
- "docComment": "/**\n * The value of the variable.\n */\n",
19890
- "excerptTokens": [
19891
- {
19892
- "kind": "Content",
19893
- "text": "value: "
19894
- },
19895
- {
19896
- "kind": "Content",
19897
- "text": "string"
19898
- },
19899
- {
19900
- "kind": "Content",
19901
- "text": ";"
19902
- }
19903
- ],
19904
- "isReadonly": false,
19905
- "isOptional": false,
18629
+ },
19906
18630
  "releaseTag": "Public",
19907
- "name": "value",
19908
- "propertyTypeTokenRange": {
19909
- "startIndex": 1,
19910
- "endIndex": 2
19911
- }
18631
+ "overloadIndex": 1,
18632
+ "parameters": []
19912
18633
  }
19913
18634
  ],
19914
18635
  "extendsTokenRanges": []
@@ -20102,185 +18823,6 @@
20102
18823
  ],
20103
18824
  "name": "untrack"
20104
18825
  },
20105
- {
20106
- "kind": "Function",
20107
- "canonicalReference": "@alloy-js/core!UpdateFile:function(1)",
20108
- "docComment": "/**\n * A component for updating existing files or initializing new files.\n *\n * This component allows you to read the current contents of a file and generate\n * new content based on those contents. If the file doesn't exist, it can use\n * default content from either a file path or inline content.\n *\n * @example\n * ```tsx\n * <UpdateFile path=\"config.json\" defaultContent=\"{}\">\n * {(currentContents) => {\n * const config = currentContents ? JSON.parse(currentContents) : {};\n * config.newProperty = \"value\";\n * return JSON.stringify(config, null, 2);\n * }}\n * </UpdateFile>\n * ```\n *\n */\n",
20109
- "excerptTokens": [
20110
- {
20111
- "kind": "Content",
20112
- "text": "export declare function UpdateFile(props: "
20113
- },
20114
- {
20115
- "kind": "Reference",
20116
- "text": "UpdateFileProps",
20117
- "canonicalReference": "@alloy-js/core!UpdateFileProps:interface"
20118
- },
20119
- {
20120
- "kind": "Content",
20121
- "text": "): "
20122
- },
20123
- {
20124
- "kind": "Reference",
20125
- "text": "Children",
20126
- "canonicalReference": "@alloy-js/core!Children:type"
20127
- },
20128
- {
20129
- "kind": "Content",
20130
- "text": ";"
20131
- }
20132
- ],
20133
- "fileUrlPath": "src/components/UpdateFile.tsx",
20134
- "returnTypeTokenRange": {
20135
- "startIndex": 3,
20136
- "endIndex": 4
20137
- },
20138
- "releaseTag": "Public",
20139
- "overloadIndex": 1,
20140
- "parameters": [
20141
- {
20142
- "parameterName": "props",
20143
- "parameterTypeTokenRange": {
20144
- "startIndex": 1,
20145
- "endIndex": 2
20146
- },
20147
- "isOptional": false
20148
- }
20149
- ],
20150
- "name": "UpdateFile"
20151
- },
20152
- {
20153
- "kind": "Interface",
20154
- "canonicalReference": "@alloy-js/core!UpdateFileProps:interface",
20155
- "docComment": "/**\n * Props for the UpdateFile component.\n */\n",
20156
- "excerptTokens": [
20157
- {
20158
- "kind": "Content",
20159
- "text": "export interface UpdateFileProps "
20160
- }
20161
- ],
20162
- "fileUrlPath": "src/components/UpdateFile.tsx",
20163
- "releaseTag": "Public",
20164
- "name": "UpdateFileProps",
20165
- "preserveMemberOrder": false,
20166
- "members": [
20167
- {
20168
- "kind": "PropertySignature",
20169
- "canonicalReference": "@alloy-js/core!UpdateFileProps#children:member",
20170
- "docComment": "/**\n * Function that receives the current file contents and returns the new content\n */\n",
20171
- "excerptTokens": [
20172
- {
20173
- "kind": "Content",
20174
- "text": "children: "
20175
- },
20176
- {
20177
- "kind": "Content",
20178
- "text": "(currentContents: string | null) => "
20179
- },
20180
- {
20181
- "kind": "Reference",
20182
- "text": "Children",
20183
- "canonicalReference": "@alloy-js/core!Children:type"
20184
- },
20185
- {
20186
- "kind": "Content",
20187
- "text": ";"
20188
- }
20189
- ],
20190
- "isReadonly": false,
20191
- "isOptional": false,
20192
- "releaseTag": "Public",
20193
- "name": "children",
20194
- "propertyTypeTokenRange": {
20195
- "startIndex": 1,
20196
- "endIndex": 3
20197
- }
20198
- },
20199
- {
20200
- "kind": "PropertySignature",
20201
- "canonicalReference": "@alloy-js/core!UpdateFileProps#defaultContent:member",
20202
- "docComment": "/**\n * Optional default content to use when the target file doesn't exist\n */\n",
20203
- "excerptTokens": [
20204
- {
20205
- "kind": "Content",
20206
- "text": "defaultContent?: "
20207
- },
20208
- {
20209
- "kind": "Reference",
20210
- "text": "Children",
20211
- "canonicalReference": "@alloy-js/core!Children:type"
20212
- },
20213
- {
20214
- "kind": "Content",
20215
- "text": ";"
20216
- }
20217
- ],
20218
- "isReadonly": false,
20219
- "isOptional": true,
20220
- "releaseTag": "Public",
20221
- "name": "defaultContent",
20222
- "propertyTypeTokenRange": {
20223
- "startIndex": 1,
20224
- "endIndex": 2
20225
- }
20226
- },
20227
- {
20228
- "kind": "PropertySignature",
20229
- "canonicalReference": "@alloy-js/core!UpdateFileProps#defaultContentPath:member",
20230
- "docComment": "/**\n * Optional path to a file containing default content to use when the target file doesn't exist\n */\n",
20231
- "excerptTokens": [
20232
- {
20233
- "kind": "Content",
20234
- "text": "defaultContentPath?: "
20235
- },
20236
- {
20237
- "kind": "Content",
20238
- "text": "string"
20239
- },
20240
- {
20241
- "kind": "Content",
20242
- "text": ";"
20243
- }
20244
- ],
20245
- "isReadonly": false,
20246
- "isOptional": true,
20247
- "releaseTag": "Public",
20248
- "name": "defaultContentPath",
20249
- "propertyTypeTokenRange": {
20250
- "startIndex": 1,
20251
- "endIndex": 2
20252
- }
20253
- },
20254
- {
20255
- "kind": "PropertySignature",
20256
- "canonicalReference": "@alloy-js/core!UpdateFileProps#path:member",
20257
- "docComment": "/**\n * The relative path to the file to update or create\n */\n",
20258
- "excerptTokens": [
20259
- {
20260
- "kind": "Content",
20261
- "text": "path: "
20262
- },
20263
- {
20264
- "kind": "Content",
20265
- "text": "string"
20266
- },
20267
- {
20268
- "kind": "Content",
20269
- "text": ";"
20270
- }
20271
- ],
20272
- "isReadonly": false,
20273
- "isOptional": false,
20274
- "releaseTag": "Public",
20275
- "name": "path",
20276
- "propertyTypeTokenRange": {
20277
- "startIndex": 1,
20278
- "endIndex": 2
20279
- }
20280
- }
20281
- ],
20282
- "extendsTokenRanges": []
20283
- },
20284
18826
  {
20285
18827
  "kind": "Function",
20286
18828
  "canonicalReference": "@alloy-js/core!useBinder:function(1)",
@@ -20792,14 +19334,9 @@
20792
19334
  "kind": "Content",
20793
19335
  "text": "): "
20794
19336
  },
20795
- {
20796
- "kind": "Reference",
20797
- "text": "Promise",
20798
- "canonicalReference": "!Promise:interface"
20799
- },
20800
19337
  {
20801
19338
  "kind": "Content",
20802
- "text": "<void[]>"
19339
+ "text": "void"
20803
19340
  },
20804
19341
  {
20805
19342
  "kind": "Content",
@@ -20809,7 +19346,7 @@
20809
19346
  "fileUrlPath": "src/write-output.ts",
20810
19347
  "returnTypeTokenRange": {
20811
19348
  "startIndex": 5,
20812
- "endIndex": 7
19349
+ "endIndex": 6
20813
19350
  },
20814
19351
  "releaseTag": "Public",
20815
19352
  "overloadIndex": 1,