@alloy-js/core 0.23.0-dev.8 → 0.23.0-dev.9

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 (106) hide show
  1. package/dist/src/components/Prose.js +2 -2
  2. package/dist/src/components/Prose.js.map +1 -1
  3. package/dist/src/components/Scope.d.ts.map +1 -1
  4. package/dist/src/components/Scope.js +2 -0
  5. package/dist/src/components/Scope.js.map +1 -1
  6. package/dist/src/components/SourceDirectory.d.ts.map +1 -1
  7. package/dist/src/components/SourceDirectory.js +1 -2
  8. package/dist/src/components/SourceDirectory.js.map +1 -1
  9. package/dist/src/content-slot.js +2 -2
  10. package/dist/src/content-slot.js.map +1 -1
  11. package/dist/src/context.js +2 -2
  12. package/dist/src/context.js.map +1 -1
  13. package/dist/src/debug/effects.d.ts +4 -0
  14. package/dist/src/debug/effects.d.ts.map +1 -1
  15. package/dist/src/debug/effects.js.map +1 -1
  16. package/dist/src/debug/effects.test.js +22 -24
  17. package/dist/src/debug/effects.test.js.map +1 -1
  18. package/dist/src/debug/index.d.ts +2 -1
  19. package/dist/src/debug/index.d.ts.map +1 -1
  20. package/dist/src/debug/index.js +2 -1
  21. package/dist/src/debug/index.js.map +1 -1
  22. package/dist/src/debug/symbols.d.ts +6 -0
  23. package/dist/src/debug/symbols.d.ts.map +1 -1
  24. package/dist/src/debug/symbols.js +9 -0
  25. package/dist/src/debug/symbols.js.map +1 -1
  26. package/dist/src/index.d.ts +1 -1
  27. package/dist/src/index.d.ts.map +1 -1
  28. package/dist/src/index.js +1 -1
  29. package/dist/src/index.js.map +1 -1
  30. package/dist/src/reactive-union-set.d.ts.map +1 -1
  31. package/dist/src/reactive-union-set.js +13 -3
  32. package/dist/src/reactive-union-set.js.map +1 -1
  33. package/dist/src/reactivity.d.ts +34 -6
  34. package/dist/src/reactivity.d.ts.map +1 -1
  35. package/dist/src/reactivity.js +161 -123
  36. package/dist/src/reactivity.js.map +1 -1
  37. package/dist/src/render-stack.d.ts +1 -0
  38. package/dist/src/render-stack.d.ts.map +1 -1
  39. package/dist/src/render-stack.js +4 -0
  40. package/dist/src/render-stack.js.map +1 -1
  41. package/dist/src/render.d.ts.map +1 -1
  42. package/dist/src/render.js +15 -13
  43. package/dist/src/render.js.map +1 -1
  44. package/dist/src/scheduler.d.ts +5 -0
  45. package/dist/src/scheduler.d.ts.map +1 -1
  46. package/dist/src/scheduler.js +24 -1
  47. package/dist/src/scheduler.js.map +1 -1
  48. package/dist/src/symbols/output-scope.d.ts.map +1 -1
  49. package/dist/src/symbols/output-scope.js +2 -2
  50. package/dist/src/symbols/output-scope.js.map +1 -1
  51. package/dist/src/symbols/output-symbol.d.ts.map +1 -1
  52. package/dist/src/symbols/output-symbol.js +2 -2
  53. package/dist/src/symbols/output-symbol.js.map +1 -1
  54. package/dist/src/symbols/symbol-flow.d.ts.map +1 -1
  55. package/dist/src/symbols/symbol-flow.js +2 -2
  56. package/dist/src/symbols/symbol-flow.js.map +1 -1
  57. package/dist/src/utils.d.ts.map +1 -1
  58. package/dist/src/utils.js +2 -5
  59. package/dist/src/utils.js.map +1 -1
  60. package/dist/test/lazy-isempty.test.d.ts +2 -0
  61. package/dist/test/lazy-isempty.test.d.ts.map +1 -0
  62. package/dist/test/lazy-isempty.test.js +89 -0
  63. package/dist/test/lazy-isempty.test.js.map +1 -0
  64. package/dist/test/reactive-union-set-disposers.test.d.ts +2 -0
  65. package/dist/test/reactive-union-set-disposers.test.d.ts.map +1 -0
  66. package/dist/test/reactive-union-set-disposers.test.js +98 -0
  67. package/dist/test/reactive-union-set-disposers.test.js.map +1 -0
  68. package/dist/test/reactivity/shallow-reactive.test.d.ts +2 -0
  69. package/dist/test/reactivity/shallow-reactive.test.d.ts.map +1 -0
  70. package/dist/test/reactivity/shallow-reactive.test.js +52 -0
  71. package/dist/test/reactivity/shallow-reactive.test.js.map +1 -0
  72. package/dist/test/scheduler-extended.test.d.ts +2 -0
  73. package/dist/test/scheduler-extended.test.d.ts.map +1 -0
  74. package/dist/test/scheduler-extended.test.js +96 -0
  75. package/dist/test/scheduler-extended.test.js.map +1 -0
  76. package/dist/test/scheduler.test.d.ts +2 -0
  77. package/dist/test/scheduler.test.d.ts.map +1 -0
  78. package/dist/test/scheduler.test.js +46 -0
  79. package/dist/test/scheduler.test.js.map +1 -0
  80. package/dist/tsconfig.tsbuildinfo +1 -1
  81. package/package.json +1 -1
  82. package/src/components/Prose.tsx +1 -1
  83. package/src/components/Scope.tsx +2 -0
  84. package/src/components/SourceDirectory.tsx +1 -2
  85. package/src/content-slot.tsx +2 -2
  86. package/src/context.ts +3 -3
  87. package/src/debug/effects.test.tsx +24 -31
  88. package/src/debug/effects.ts +4 -0
  89. package/src/debug/index.ts +2 -0
  90. package/src/debug/symbols.ts +9 -0
  91. package/src/index.ts +0 -1
  92. package/src/reactive-union-set.ts +14 -3
  93. package/src/reactivity.ts +189 -130
  94. package/src/render-stack.ts +5 -0
  95. package/src/render.ts +16 -14
  96. package/src/scheduler.ts +25 -1
  97. package/src/symbols/output-scope.ts +1 -2
  98. package/src/symbols/output-symbol.ts +1 -2
  99. package/src/symbols/symbol-flow.ts +8 -2
  100. package/src/utils.tsx +2 -4
  101. package/temp/api.json +425 -14
  102. package/test/lazy-isempty.test.tsx +106 -0
  103. package/test/reactive-union-set-disposers.test.tsx +112 -0
  104. package/test/reactivity/shallow-reactive.test.tsx +56 -0
  105. package/test/scheduler-extended.test.tsx +122 -0
  106. package/test/scheduler.test.tsx +50 -0
@@ -1,5 +1,11 @@
1
- import { isRef, Ref, shallowReactive } from "@vue/reactivity";
2
- import { Context, effect, getContext, onCleanup } from "../reactivity.js";
1
+ import { isRef, Ref } from "@vue/reactivity";
2
+ import {
3
+ Context,
4
+ effect,
5
+ getContext,
6
+ onCleanup,
7
+ shallowReactive,
8
+ } from "../reactivity.js";
3
9
 
4
10
  import { MemberContext } from "../context/member-scope.js";
5
11
  import { ScopeContext } from "../context/scope.js";
package/src/utils.tsx CHANGED
@@ -5,6 +5,7 @@ import {
5
5
  CustomContext,
6
6
  Disposable,
7
7
  effect,
8
+ ensureIsEmpty,
8
9
  getContext,
9
10
  memo,
10
11
  onCleanup,
@@ -278,9 +279,6 @@ export function mapJoin<T, U, V>(
278
279
  }
279
280
 
280
281
  const context = getContext();
281
- if (context) {
282
- context.isEmpty ??= ref(true);
283
- }
284
282
  // this is important to access here in reactive context so we are
285
283
  // notified of new items from reactives.
286
284
  const itemsLen = items.length;
@@ -326,7 +324,7 @@ export function mapJoin<T, U, V>(
326
324
  mapped[startIndex * 2] = createCustomContext((cb) => {
327
325
  return root((disposer) => {
328
326
  const nestedContext = getContext()!;
329
- const isEmptyFlag = nestedContext.isEmpty!;
327
+ const isEmptyFlag = ensureIsEmpty(nestedContext);
330
328
 
331
329
  slot.disposer = disposer;
332
330
  disposer();
package/temp/api.json CHANGED
@@ -3634,6 +3634,33 @@
3634
3634
  "name": "Context",
3635
3635
  "preserveMemberOrder": false,
3636
3636
  "members": [
3637
+ {
3638
+ "kind": "PropertySignature",
3639
+ "canonicalReference": "@alloy-js/core!Context#_lastEmpty:member",
3640
+ "docComment": "/**\n * Cheap boolean tracking the last propagated empty state.\n * Used by notifyContentState() for early-return optimization\n * without requiring a reactive ref on every context.\n */\n",
3641
+ "excerptTokens": [
3642
+ {
3643
+ "kind": "Content",
3644
+ "text": "_lastEmpty: "
3645
+ },
3646
+ {
3647
+ "kind": "Content",
3648
+ "text": "boolean"
3649
+ },
3650
+ {
3651
+ "kind": "Content",
3652
+ "text": ";"
3653
+ }
3654
+ ],
3655
+ "isReadonly": false,
3656
+ "isOptional": false,
3657
+ "releaseTag": "Public",
3658
+ "name": "_lastEmpty",
3659
+ "propertyTypeTokenRange": {
3660
+ "startIndex": 1,
3661
+ "endIndex": 2
3662
+ }
3663
+ },
3637
3664
  {
3638
3665
  "kind": "PropertySignature",
3639
3666
  "canonicalReference": "@alloy-js/core!Context#childrenWithContent:member",
@@ -3732,7 +3759,7 @@
3732
3759
  "excerptTokens": [
3733
3760
  {
3734
3761
  "kind": "Content",
3735
- "text": "disposables: "
3762
+ "text": "disposables?: "
3736
3763
  },
3737
3764
  {
3738
3765
  "kind": "Reference",
@@ -3749,7 +3776,7 @@
3749
3776
  }
3750
3777
  ],
3751
3778
  "isReadonly": false,
3752
- "isOptional": false,
3779
+ "isOptional": true,
3753
3780
  "releaseTag": "Public",
3754
3781
  "name": "disposables",
3755
3782
  "propertyTypeTokenRange": {
@@ -3764,7 +3791,7 @@
3764
3791
  "excerptTokens": [
3765
3792
  {
3766
3793
  "kind": "Content",
3767
- "text": "elementCache: "
3794
+ "text": "elementCache?: "
3768
3795
  },
3769
3796
  {
3770
3797
  "kind": "Reference",
@@ -3777,7 +3804,7 @@
3777
3804
  }
3778
3805
  ],
3779
3806
  "isReadonly": false,
3780
- "isOptional": false,
3807
+ "isOptional": true,
3781
3808
  "releaseTag": "Public",
3782
3809
  "name": "elementCache",
3783
3810
  "propertyTypeTokenRange": {
@@ -3785,10 +3812,37 @@
3785
3812
  "endIndex": 2
3786
3813
  }
3787
3814
  },
3815
+ {
3816
+ "kind": "PropertySignature",
3817
+ "canonicalReference": "@alloy-js/core!Context#id:member",
3818
+ "docComment": "/**\n * Monotonic numeric ID for trace/debug correlation.\n */\n",
3819
+ "excerptTokens": [
3820
+ {
3821
+ "kind": "Content",
3822
+ "text": "id: "
3823
+ },
3824
+ {
3825
+ "kind": "Content",
3826
+ "text": "number"
3827
+ },
3828
+ {
3829
+ "kind": "Content",
3830
+ "text": ";"
3831
+ }
3832
+ ],
3833
+ "isReadonly": false,
3834
+ "isOptional": false,
3835
+ "releaseTag": "Public",
3836
+ "name": "id",
3837
+ "propertyTypeTokenRange": {
3838
+ "startIndex": 1,
3839
+ "endIndex": 2
3840
+ }
3841
+ },
3788
3842
  {
3789
3843
  "kind": "PropertySignature",
3790
3844
  "canonicalReference": "@alloy-js/core!Context#isEmpty:member",
3791
- "docComment": "/**\n * A ref that indicates whether the component is empty.\n */\n",
3845
+ "docComment": "/**\n * A ref that indicates whether the component is empty.\n * Only allocated when reactively observed (ContentSlot, mapJoin).\n */\n",
3792
3846
  "excerptTokens": [
3793
3847
  {
3794
3848
  "kind": "Content",
@@ -7770,6 +7824,57 @@
7770
7824
  ],
7771
7825
  "name": "emitSymbol"
7772
7826
  },
7827
+ {
7828
+ "kind": "Function",
7829
+ "canonicalReference": "@alloy-js/core!ensureIsEmpty:function(1)",
7830
+ "docComment": "/**\n * Ensure that a context has an isEmpty ref, creating one if needed.\n * Only call this when you need to reactively observe isEmpty (e.g.,\n * ContentSlot, mapJoin). Most contexts don't need an isEmpty ref.\n */\n",
7831
+ "excerptTokens": [
7832
+ {
7833
+ "kind": "Content",
7834
+ "text": "export declare function ensureIsEmpty(context: "
7835
+ },
7836
+ {
7837
+ "kind": "Reference",
7838
+ "text": "Context",
7839
+ "canonicalReference": "@alloy-js/core!Context:interface"
7840
+ },
7841
+ {
7842
+ "kind": "Content",
7843
+ "text": "): "
7844
+ },
7845
+ {
7846
+ "kind": "Reference",
7847
+ "text": "Ref",
7848
+ "canonicalReference": "@vue/reactivity!Ref:interface"
7849
+ },
7850
+ {
7851
+ "kind": "Content",
7852
+ "text": "<boolean>"
7853
+ },
7854
+ {
7855
+ "kind": "Content",
7856
+ "text": ";"
7857
+ }
7858
+ ],
7859
+ "fileUrlPath": "src/reactivity.ts",
7860
+ "returnTypeTokenRange": {
7861
+ "startIndex": 3,
7862
+ "endIndex": 5
7863
+ },
7864
+ "releaseTag": "Public",
7865
+ "overloadIndex": 1,
7866
+ "parameters": [
7867
+ {
7868
+ "parameterName": "context",
7869
+ "parameterTypeTokenRange": {
7870
+ "startIndex": 1,
7871
+ "endIndex": 2
7872
+ },
7873
+ "isOptional": false
7874
+ }
7875
+ ],
7876
+ "name": "ensureIsEmpty"
7877
+ },
7773
7878
  {
7774
7879
  "kind": "TypeAlias",
7775
7880
  "canonicalReference": "@alloy-js/core!FillIntrinsicElement:type",
@@ -7801,6 +7906,34 @@
7801
7906
  "endIndex": 3
7802
7907
  }
7803
7908
  },
7909
+ {
7910
+ "kind": "Function",
7911
+ "canonicalReference": "@alloy-js/core!findCurrentEffectId:function(1)",
7912
+ "docComment": "/**\n * Walk up the context owner chain to find the nearest effect ID.\n * Used to attribute reactive mutations to the effect that caused them.\n */\n",
7913
+ "excerptTokens": [
7914
+ {
7915
+ "kind": "Content",
7916
+ "text": "export declare function findCurrentEffectId(): "
7917
+ },
7918
+ {
7919
+ "kind": "Content",
7920
+ "text": "number | undefined"
7921
+ },
7922
+ {
7923
+ "kind": "Content",
7924
+ "text": ";"
7925
+ }
7926
+ ],
7927
+ "fileUrlPath": "src/reactivity.ts",
7928
+ "returnTypeTokenRange": {
7929
+ "startIndex": 1,
7930
+ "endIndex": 2
7931
+ },
7932
+ "releaseTag": "Public",
7933
+ "overloadIndex": 1,
7934
+ "parameters": [],
7935
+ "name": "findCurrentEffectId"
7936
+ },
7804
7937
  {
7805
7938
  "kind": "Function",
7806
7939
  "canonicalReference": "@alloy-js/core!findKeyedChild:function(1)",
@@ -8702,6 +8835,51 @@
8702
8835
  ],
8703
8836
  "name": "getDiagnosticsForTree"
8704
8837
  },
8838
+ {
8839
+ "kind": "Function",
8840
+ "canonicalReference": "@alloy-js/core!getEffectDebugId:function(1)",
8841
+ "docComment": "",
8842
+ "excerptTokens": [
8843
+ {
8844
+ "kind": "Content",
8845
+ "text": "export declare function getEffectDebugId(effect: "
8846
+ },
8847
+ {
8848
+ "kind": "Content",
8849
+ "text": "object"
8850
+ },
8851
+ {
8852
+ "kind": "Content",
8853
+ "text": "): "
8854
+ },
8855
+ {
8856
+ "kind": "Content",
8857
+ "text": "number | undefined"
8858
+ },
8859
+ {
8860
+ "kind": "Content",
8861
+ "text": ";"
8862
+ }
8863
+ ],
8864
+ "fileUrlPath": "src/reactivity.ts",
8865
+ "returnTypeTokenRange": {
8866
+ "startIndex": 3,
8867
+ "endIndex": 4
8868
+ },
8869
+ "releaseTag": "Public",
8870
+ "overloadIndex": 1,
8871
+ "parameters": [
8872
+ {
8873
+ "parameterName": "effect",
8874
+ "parameterTypeTokenRange": {
8875
+ "startIndex": 1,
8876
+ "endIndex": 2
8877
+ },
8878
+ "isOptional": false
8879
+ }
8880
+ ],
8881
+ "name": "getEffectDebugId"
8882
+ },
8705
8883
  {
8706
8884
  "kind": "Function",
8707
8885
  "canonicalReference": "@alloy-js/core!getElementCache:function(1)",
@@ -8713,8 +8891,12 @@
8713
8891
  },
8714
8892
  {
8715
8893
  "kind": "Reference",
8716
- "text": "ElementCache",
8717
- "canonicalReference": "@alloy-js/core!ElementCache:type"
8894
+ "text": "Map",
8895
+ "canonicalReference": "!Map:interface"
8896
+ },
8897
+ {
8898
+ "kind": "Content",
8899
+ "text": "<any, any>"
8718
8900
  },
8719
8901
  {
8720
8902
  "kind": "Content",
@@ -8724,13 +8906,67 @@
8724
8906
  "fileUrlPath": "src/reactivity.ts",
8725
8907
  "returnTypeTokenRange": {
8726
8908
  "startIndex": 1,
8727
- "endIndex": 2
8909
+ "endIndex": 3
8728
8910
  },
8729
8911
  "releaseTag": "Public",
8730
8912
  "overloadIndex": 1,
8731
8913
  "parameters": [],
8732
8914
  "name": "getElementCache"
8733
8915
  },
8916
+ {
8917
+ "kind": "Function",
8918
+ "canonicalReference": "@alloy-js/core!getReactiveCreationLocation:function(1)",
8919
+ "docComment": "",
8920
+ "excerptTokens": [
8921
+ {
8922
+ "kind": "Content",
8923
+ "text": "export declare function getReactiveCreationLocation(target: "
8924
+ },
8925
+ {
8926
+ "kind": "Content",
8927
+ "text": "object"
8928
+ },
8929
+ {
8930
+ "kind": "Content",
8931
+ "text": "): "
8932
+ },
8933
+ {
8934
+ "kind": "Content",
8935
+ "text": "import(\"./devtools-entry.browser.js\")."
8936
+ },
8937
+ {
8938
+ "kind": "Reference",
8939
+ "text": "SourceLocation",
8940
+ "canonicalReference": "@alloy-js/core!~SourceLocation:interface"
8941
+ },
8942
+ {
8943
+ "kind": "Content",
8944
+ "text": " | undefined"
8945
+ },
8946
+ {
8947
+ "kind": "Content",
8948
+ "text": ";"
8949
+ }
8950
+ ],
8951
+ "fileUrlPath": "src/reactivity.ts",
8952
+ "returnTypeTokenRange": {
8953
+ "startIndex": 3,
8954
+ "endIndex": 6
8955
+ },
8956
+ "releaseTag": "Public",
8957
+ "overloadIndex": 1,
8958
+ "parameters": [
8959
+ {
8960
+ "parameterName": "target",
8961
+ "parameterTypeTokenRange": {
8962
+ "startIndex": 1,
8963
+ "endIndex": 2
8964
+ },
8965
+ "isOptional": false
8966
+ }
8967
+ ],
8968
+ "name": "getReactiveCreationLocation"
8969
+ },
8734
8970
  {
8735
8971
  "kind": "Function",
8736
8972
  "canonicalReference": "@alloy-js/core!getSymbolCreator:function(1)",
@@ -13591,6 +13827,14 @@
13591
13827
  "kind": "Content",
13592
13828
  "text": "boolean"
13593
13829
  },
13830
+ {
13831
+ "kind": "Content",
13832
+ "text": ", name?: "
13833
+ },
13834
+ {
13835
+ "kind": "Content",
13836
+ "text": "string"
13837
+ },
13594
13838
  {
13595
13839
  "kind": "Content",
13596
13840
  "text": "): "
@@ -13606,8 +13850,8 @@
13606
13850
  ],
13607
13851
  "fileUrlPath": "src/reactivity.ts",
13608
13852
  "returnTypeTokenRange": {
13609
- "startIndex": 5,
13610
- "endIndex": 6
13853
+ "startIndex": 7,
13854
+ "endIndex": 8
13611
13855
  },
13612
13856
  "releaseTag": "Public",
13613
13857
  "overloadIndex": 1,
@@ -13627,6 +13871,14 @@
13627
13871
  "endIndex": 4
13628
13872
  },
13629
13873
  "isOptional": true
13874
+ },
13875
+ {
13876
+ "parameterName": "name",
13877
+ "parameterTypeTokenRange": {
13878
+ "startIndex": 5,
13879
+ "endIndex": 6
13880
+ },
13881
+ "isOptional": true
13630
13882
  }
13631
13883
  ],
13632
13884
  "typeParameters": [
@@ -14663,6 +14915,34 @@
14663
14915
  ],
14664
14916
  "extendsTokenRanges": []
14665
14917
  },
14918
+ {
14919
+ "kind": "Function",
14920
+ "canonicalReference": "@alloy-js/core!nextReactiveId:function(1)",
14921
+ "docComment": "/**\n * Allocate a unique reactive target ID from the same counter space as ref IDs.\n */\n",
14922
+ "excerptTokens": [
14923
+ {
14924
+ "kind": "Content",
14925
+ "text": "export declare function nextReactiveId(): "
14926
+ },
14927
+ {
14928
+ "kind": "Content",
14929
+ "text": "number"
14930
+ },
14931
+ {
14932
+ "kind": "Content",
14933
+ "text": ";"
14934
+ }
14935
+ ],
14936
+ "fileUrlPath": "src/reactivity.ts",
14937
+ "returnTypeTokenRange": {
14938
+ "startIndex": 1,
14939
+ "endIndex": 2
14940
+ },
14941
+ "releaseTag": "Public",
14942
+ "overloadIndex": 1,
14943
+ "parameters": [],
14944
+ "name": "nextReactiveId"
14945
+ },
14666
14946
  {
14667
14947
  "kind": "Function",
14668
14948
  "canonicalReference": "@alloy-js/core!notifyContentState:function(1)",
@@ -19679,6 +19959,14 @@
19679
19959
  "kind": "Content",
19680
19960
  "text": "T"
19681
19961
  },
19962
+ {
19963
+ "kind": "Content",
19964
+ "text": ", options?: "
19965
+ },
19966
+ {
19967
+ "kind": "Content",
19968
+ "text": "{\n isInfrastructure?: boolean;\n}"
19969
+ },
19682
19970
  {
19683
19971
  "kind": "Content",
19684
19972
  "text": "): "
@@ -19699,8 +19987,8 @@
19699
19987
  ],
19700
19988
  "fileUrlPath": "src/reactivity.ts",
19701
19989
  "returnTypeTokenRange": {
19702
- "startIndex": 3,
19703
- "endIndex": 5
19990
+ "startIndex": 5,
19991
+ "endIndex": 7
19704
19992
  },
19705
19993
  "releaseTag": "Public",
19706
19994
  "overloadIndex": 1,
@@ -19712,6 +20000,14 @@
19712
20000
  "endIndex": 2
19713
20001
  },
19714
20002
  "isOptional": true
20003
+ },
20004
+ {
20005
+ "parameterName": "options",
20006
+ "parameterTypeTokenRange": {
20007
+ "startIndex": 3,
20008
+ "endIndex": 4
20009
+ },
20010
+ "isOptional": true
19715
20011
  }
19716
20012
  ],
19717
20013
  "typeParameters": [
@@ -20110,6 +20406,14 @@
20110
20406
  "kind": "Content",
20111
20407
  "text": "<unknown>"
20112
20408
  },
20409
+ {
20410
+ "kind": "Content",
20411
+ "text": ", isInfrastructure?: "
20412
+ },
20413
+ {
20414
+ "kind": "Content",
20415
+ "text": "boolean"
20416
+ },
20113
20417
  {
20114
20418
  "kind": "Content",
20115
20419
  "text": "): "
@@ -20125,8 +20429,8 @@
20125
20429
  ],
20126
20430
  "fileUrlPath": "src/reactivity.ts",
20127
20431
  "returnTypeTokenRange": {
20128
- "startIndex": 4,
20129
- "endIndex": 5
20432
+ "startIndex": 6,
20433
+ "endIndex": 7
20130
20434
  },
20131
20435
  "releaseTag": "Public",
20132
20436
  "overloadIndex": 1,
@@ -20138,6 +20442,14 @@
20138
20442
  "endIndex": 3
20139
20443
  },
20140
20444
  "isOptional": false
20445
+ },
20446
+ {
20447
+ "parameterName": "isInfrastructure",
20448
+ "parameterTypeTokenRange": {
20449
+ "startIndex": 4,
20450
+ "endIndex": 5
20451
+ },
20452
+ "isOptional": true
20141
20453
  }
20142
20454
  ],
20143
20455
  "name": "refId"
@@ -20693,6 +21005,34 @@
20693
21005
  ],
20694
21006
  "name": "reportDiagnostics"
20695
21007
  },
21008
+ {
21009
+ "kind": "Function",
21010
+ "canonicalReference": "@alloy-js/core!resetRefIdCounter:function(1)",
21011
+ "docComment": "",
21012
+ "excerptTokens": [
21013
+ {
21014
+ "kind": "Content",
21015
+ "text": "export declare function resetRefIdCounter(): "
21016
+ },
21017
+ {
21018
+ "kind": "Content",
21019
+ "text": "void"
21020
+ },
21021
+ {
21022
+ "kind": "Content",
21023
+ "text": ";"
21024
+ }
21025
+ ],
21026
+ "fileUrlPath": "src/reactivity.ts",
21027
+ "returnTypeTokenRange": {
21028
+ "startIndex": 1,
21029
+ "endIndex": 2
21030
+ },
21031
+ "releaseTag": "Public",
21032
+ "overloadIndex": 1,
21033
+ "parameters": [],
21034
+ "name": "resetRefIdCounter"
21035
+ },
20696
21036
  {
20697
21037
  "kind": "Interface",
20698
21038
  "canonicalReference": "@alloy-js/core!ResolutionResult:interface",
@@ -21793,6 +22133,77 @@
21793
22133
  ],
21794
22134
  "extendsTokenRanges": []
21795
22135
  },
22136
+ {
22137
+ "kind": "Function",
22138
+ "canonicalReference": "@alloy-js/core!shallowReactive:function(1)",
22139
+ "docComment": "",
22140
+ "excerptTokens": [
22141
+ {
22142
+ "kind": "Content",
22143
+ "text": "export declare function shallowReactive<T extends "
22144
+ },
22145
+ {
22146
+ "kind": "Content",
22147
+ "text": "object"
22148
+ },
22149
+ {
22150
+ "kind": "Content",
22151
+ "text": ">(target: "
22152
+ },
22153
+ {
22154
+ "kind": "Content",
22155
+ "text": "T"
22156
+ },
22157
+ {
22158
+ "kind": "Content",
22159
+ "text": "): "
22160
+ },
22161
+ {
22162
+ "kind": "Reference",
22163
+ "text": "ShallowReactive",
22164
+ "canonicalReference": "@vue/reactivity!ShallowReactive:type"
22165
+ },
22166
+ {
22167
+ "kind": "Content",
22168
+ "text": "<T>"
22169
+ },
22170
+ {
22171
+ "kind": "Content",
22172
+ "text": ";"
22173
+ }
22174
+ ],
22175
+ "fileUrlPath": "src/reactivity.ts",
22176
+ "returnTypeTokenRange": {
22177
+ "startIndex": 5,
22178
+ "endIndex": 7
22179
+ },
22180
+ "releaseTag": "Public",
22181
+ "overloadIndex": 1,
22182
+ "parameters": [
22183
+ {
22184
+ "parameterName": "target",
22185
+ "parameterTypeTokenRange": {
22186
+ "startIndex": 3,
22187
+ "endIndex": 4
22188
+ },
22189
+ "isOptional": false
22190
+ }
22191
+ ],
22192
+ "typeParameters": [
22193
+ {
22194
+ "typeParameterName": "T",
22195
+ "constraintTokenRange": {
22196
+ "startIndex": 1,
22197
+ "endIndex": 2
22198
+ },
22199
+ "defaultTypeTokenRange": {
22200
+ "startIndex": 0,
22201
+ "endIndex": 0
22202
+ }
22203
+ }
22204
+ ],
22205
+ "name": "shallowReactive"
22206
+ },
21796
22207
  {
21797
22208
  "kind": "Function",
21798
22209
  "canonicalReference": "@alloy-js/core!shallowRef:function(1)",