@alloy-js/csharp 0.18.0-dev.5 → 0.18.0-dev.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/components/ClassDeclaration.d.ts +8 -2
- package/dist/src/components/ClassDeclaration.d.ts.map +1 -1
- package/dist/src/components/ClassDeclaration.js +3 -2
- package/dist/src/components/EnumDeclaration.d.ts +2 -2
- package/dist/src/components/EnumDeclaration.d.ts.map +1 -1
- package/dist/src/components/stc/index.d.ts +2 -2
- package/dist/src/components/stc/index.d.ts.map +1 -1
- package/dist/src/modifiers.d.ts +3 -2
- package/dist/src/modifiers.d.ts.map +1 -1
- package/dist/src/modifiers.js +7 -6
- package/dist/test/class.test.js +52 -10
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/ClassDeclaration.tsx +23 -4
- package/src/components/EnumDeclaration.tsx +2 -2
- package/src/modifiers.ts +22 -21
- package/temp/api.json +370 -176
- package/test/class.test.tsx +40 -10
package/temp/api.json
CHANGED
|
@@ -540,8 +540,8 @@
|
|
|
540
540
|
},
|
|
541
541
|
{
|
|
542
542
|
"kind": "Reference",
|
|
543
|
-
"text": "
|
|
544
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
543
|
+
"text": "ClassDeclarationProps",
|
|
544
|
+
"canonicalReference": "@alloy-js/csharp!ClassDeclarationProps:interface"
|
|
545
545
|
},
|
|
546
546
|
{
|
|
547
547
|
"kind": "Content",
|
|
@@ -576,6 +576,173 @@
|
|
|
576
576
|
],
|
|
577
577
|
"name": "ClassDeclaration"
|
|
578
578
|
},
|
|
579
|
+
{
|
|
580
|
+
"kind": "Interface",
|
|
581
|
+
"canonicalReference": "@alloy-js/csharp!ClassDeclarationProps:interface",
|
|
582
|
+
"docComment": "",
|
|
583
|
+
"excerptTokens": [
|
|
584
|
+
{
|
|
585
|
+
"kind": "Content",
|
|
586
|
+
"text": "export interface ClassDeclarationProps extends "
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"kind": "Reference",
|
|
590
|
+
"text": "Omit",
|
|
591
|
+
"canonicalReference": "!Omit:type"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"kind": "Content",
|
|
595
|
+
"text": "<"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"kind": "Reference",
|
|
599
|
+
"text": "core.DeclarationProps",
|
|
600
|
+
"canonicalReference": "@alloy-js/core!DeclarationProps:type"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"kind": "Content",
|
|
604
|
+
"text": ", \"nameKind\">"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"kind": "Content",
|
|
608
|
+
"text": ", "
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"kind": "Reference",
|
|
612
|
+
"text": "AccessModifiers",
|
|
613
|
+
"canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"kind": "Content",
|
|
617
|
+
"text": ", "
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"kind": "Reference",
|
|
621
|
+
"text": "ClassModifiers",
|
|
622
|
+
"canonicalReference": "@alloy-js/csharp!ClassModifiers:interface"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"kind": "Content",
|
|
626
|
+
"text": " "
|
|
627
|
+
}
|
|
628
|
+
],
|
|
629
|
+
"fileUrlPath": "src/components/ClassDeclaration.tsx",
|
|
630
|
+
"releaseTag": "Public",
|
|
631
|
+
"name": "ClassDeclarationProps",
|
|
632
|
+
"preserveMemberOrder": false,
|
|
633
|
+
"members": [
|
|
634
|
+
{
|
|
635
|
+
"kind": "PropertySignature",
|
|
636
|
+
"canonicalReference": "@alloy-js/csharp!ClassDeclarationProps#name:member",
|
|
637
|
+
"docComment": "",
|
|
638
|
+
"excerptTokens": [
|
|
639
|
+
{
|
|
640
|
+
"kind": "Content",
|
|
641
|
+
"text": "name: "
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"kind": "Content",
|
|
645
|
+
"text": "string"
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"kind": "Content",
|
|
649
|
+
"text": ";"
|
|
650
|
+
}
|
|
651
|
+
],
|
|
652
|
+
"isReadonly": false,
|
|
653
|
+
"isOptional": false,
|
|
654
|
+
"releaseTag": "Public",
|
|
655
|
+
"name": "name",
|
|
656
|
+
"propertyTypeTokenRange": {
|
|
657
|
+
"startIndex": 1,
|
|
658
|
+
"endIndex": 2
|
|
659
|
+
}
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"kind": "PropertySignature",
|
|
663
|
+
"canonicalReference": "@alloy-js/csharp!ClassDeclarationProps#refkey:member",
|
|
664
|
+
"docComment": "",
|
|
665
|
+
"excerptTokens": [
|
|
666
|
+
{
|
|
667
|
+
"kind": "Content",
|
|
668
|
+
"text": "refkey?: "
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"kind": "Reference",
|
|
672
|
+
"text": "core.Refkey",
|
|
673
|
+
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"kind": "Content",
|
|
677
|
+
"text": ";"
|
|
678
|
+
}
|
|
679
|
+
],
|
|
680
|
+
"isReadonly": false,
|
|
681
|
+
"isOptional": true,
|
|
682
|
+
"releaseTag": "Public",
|
|
683
|
+
"name": "refkey",
|
|
684
|
+
"propertyTypeTokenRange": {
|
|
685
|
+
"startIndex": 1,
|
|
686
|
+
"endIndex": 2
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"kind": "PropertySignature",
|
|
691
|
+
"canonicalReference": "@alloy-js/csharp!ClassDeclarationProps#typeParameters:member",
|
|
692
|
+
"docComment": "",
|
|
693
|
+
"excerptTokens": [
|
|
694
|
+
{
|
|
695
|
+
"kind": "Content",
|
|
696
|
+
"text": "typeParameters?: "
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"kind": "Reference",
|
|
700
|
+
"text": "Record",
|
|
701
|
+
"canonicalReference": "!Record:type"
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"kind": "Content",
|
|
705
|
+
"text": "<string, "
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"kind": "Reference",
|
|
709
|
+
"text": "core.Refkey",
|
|
710
|
+
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"kind": "Content",
|
|
714
|
+
"text": ">"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"kind": "Content",
|
|
718
|
+
"text": ";"
|
|
719
|
+
}
|
|
720
|
+
],
|
|
721
|
+
"isReadonly": false,
|
|
722
|
+
"isOptional": true,
|
|
723
|
+
"releaseTag": "Public",
|
|
724
|
+
"name": "typeParameters",
|
|
725
|
+
"propertyTypeTokenRange": {
|
|
726
|
+
"startIndex": 1,
|
|
727
|
+
"endIndex": 5
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
],
|
|
731
|
+
"extendsTokenRanges": [
|
|
732
|
+
{
|
|
733
|
+
"startIndex": 1,
|
|
734
|
+
"endIndex": 5
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"startIndex": 6,
|
|
738
|
+
"endIndex": 7
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"startIndex": 8,
|
|
742
|
+
"endIndex": 9
|
|
743
|
+
}
|
|
744
|
+
]
|
|
745
|
+
},
|
|
579
746
|
{
|
|
580
747
|
"kind": "Function",
|
|
581
748
|
"canonicalReference": "@alloy-js/csharp!ClassMember:function(1)",
|
|
@@ -1011,72 +1178,41 @@
|
|
|
1011
1178
|
},
|
|
1012
1179
|
{
|
|
1013
1180
|
"kind": "Interface",
|
|
1014
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
1181
|
+
"canonicalReference": "@alloy-js/csharp!ClassModifiers:interface",
|
|
1015
1182
|
"docComment": "",
|
|
1016
1183
|
"excerptTokens": [
|
|
1017
1184
|
{
|
|
1018
1185
|
"kind": "Content",
|
|
1019
|
-
"text": "export interface
|
|
1020
|
-
},
|
|
1021
|
-
{
|
|
1022
|
-
"kind": "Reference",
|
|
1023
|
-
"text": "Omit",
|
|
1024
|
-
"canonicalReference": "!Omit:type"
|
|
1025
|
-
},
|
|
1026
|
-
{
|
|
1027
|
-
"kind": "Content",
|
|
1028
|
-
"text": "<"
|
|
1029
|
-
},
|
|
1030
|
-
{
|
|
1031
|
-
"kind": "Reference",
|
|
1032
|
-
"text": "core.DeclarationProps",
|
|
1033
|
-
"canonicalReference": "@alloy-js/core!DeclarationProps:type"
|
|
1034
|
-
},
|
|
1035
|
-
{
|
|
1036
|
-
"kind": "Content",
|
|
1037
|
-
"text": ", \"nameKind\">"
|
|
1038
|
-
},
|
|
1039
|
-
{
|
|
1040
|
-
"kind": "Content",
|
|
1041
|
-
"text": ", "
|
|
1042
|
-
},
|
|
1043
|
-
{
|
|
1044
|
-
"kind": "Reference",
|
|
1045
|
-
"text": "AccessModifiers",
|
|
1046
|
-
"canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
|
|
1047
|
-
},
|
|
1048
|
-
{
|
|
1049
|
-
"kind": "Content",
|
|
1050
|
-
"text": " "
|
|
1186
|
+
"text": "export interface ClassModifiers "
|
|
1051
1187
|
}
|
|
1052
1188
|
],
|
|
1053
1189
|
"fileUrlPath": "src/components/ClassDeclaration.tsx",
|
|
1054
1190
|
"releaseTag": "Public",
|
|
1055
|
-
"name": "
|
|
1191
|
+
"name": "ClassModifiers",
|
|
1056
1192
|
"preserveMemberOrder": false,
|
|
1057
1193
|
"members": [
|
|
1058
1194
|
{
|
|
1059
1195
|
"kind": "PropertySignature",
|
|
1060
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
1196
|
+
"canonicalReference": "@alloy-js/csharp!ClassModifiers#abstract:member",
|
|
1061
1197
|
"docComment": "",
|
|
1062
1198
|
"excerptTokens": [
|
|
1063
1199
|
{
|
|
1064
1200
|
"kind": "Content",
|
|
1065
|
-
"text": "
|
|
1201
|
+
"text": "readonly abstract?: "
|
|
1066
1202
|
},
|
|
1067
1203
|
{
|
|
1068
1204
|
"kind": "Content",
|
|
1069
|
-
"text": "
|
|
1205
|
+
"text": "boolean"
|
|
1070
1206
|
},
|
|
1071
1207
|
{
|
|
1072
1208
|
"kind": "Content",
|
|
1073
1209
|
"text": ";"
|
|
1074
1210
|
}
|
|
1075
1211
|
],
|
|
1076
|
-
"isReadonly":
|
|
1077
|
-
"isOptional":
|
|
1212
|
+
"isReadonly": true,
|
|
1213
|
+
"isOptional": true,
|
|
1078
1214
|
"releaseTag": "Public",
|
|
1079
|
-
"name": "
|
|
1215
|
+
"name": "abstract",
|
|
1080
1216
|
"propertyTypeTokenRange": {
|
|
1081
1217
|
"startIndex": 1,
|
|
1082
1218
|
"endIndex": 2
|
|
@@ -1084,27 +1220,26 @@
|
|
|
1084
1220
|
},
|
|
1085
1221
|
{
|
|
1086
1222
|
"kind": "PropertySignature",
|
|
1087
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
1223
|
+
"canonicalReference": "@alloy-js/csharp!ClassModifiers#partial:member",
|
|
1088
1224
|
"docComment": "",
|
|
1089
1225
|
"excerptTokens": [
|
|
1090
1226
|
{
|
|
1091
1227
|
"kind": "Content",
|
|
1092
|
-
"text": "
|
|
1228
|
+
"text": "readonly partial?: "
|
|
1093
1229
|
},
|
|
1094
1230
|
{
|
|
1095
|
-
"kind": "
|
|
1096
|
-
"text": "
|
|
1097
|
-
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
1231
|
+
"kind": "Content",
|
|
1232
|
+
"text": "boolean"
|
|
1098
1233
|
},
|
|
1099
1234
|
{
|
|
1100
1235
|
"kind": "Content",
|
|
1101
1236
|
"text": ";"
|
|
1102
1237
|
}
|
|
1103
1238
|
],
|
|
1104
|
-
"isReadonly":
|
|
1239
|
+
"isReadonly": true,
|
|
1105
1240
|
"isOptional": true,
|
|
1106
1241
|
"releaseTag": "Public",
|
|
1107
|
-
"name": "
|
|
1242
|
+
"name": "partial",
|
|
1108
1243
|
"propertyTypeTokenRange": {
|
|
1109
1244
|
"startIndex": 1,
|
|
1110
1245
|
"endIndex": 2
|
|
@@ -1112,56 +1247,60 @@
|
|
|
1112
1247
|
},
|
|
1113
1248
|
{
|
|
1114
1249
|
"kind": "PropertySignature",
|
|
1115
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
1250
|
+
"canonicalReference": "@alloy-js/csharp!ClassModifiers#sealed:member",
|
|
1116
1251
|
"docComment": "",
|
|
1117
1252
|
"excerptTokens": [
|
|
1118
1253
|
{
|
|
1119
1254
|
"kind": "Content",
|
|
1120
|
-
"text": "
|
|
1255
|
+
"text": "readonly sealed?: "
|
|
1121
1256
|
},
|
|
1122
1257
|
{
|
|
1123
|
-
"kind": "
|
|
1124
|
-
"text": "
|
|
1125
|
-
"canonicalReference": "!Record:type"
|
|
1258
|
+
"kind": "Content",
|
|
1259
|
+
"text": "boolean"
|
|
1126
1260
|
},
|
|
1127
1261
|
{
|
|
1128
1262
|
"kind": "Content",
|
|
1129
|
-
"text": "
|
|
1130
|
-
}
|
|
1263
|
+
"text": ";"
|
|
1264
|
+
}
|
|
1265
|
+
],
|
|
1266
|
+
"isReadonly": true,
|
|
1267
|
+
"isOptional": true,
|
|
1268
|
+
"releaseTag": "Public",
|
|
1269
|
+
"name": "sealed",
|
|
1270
|
+
"propertyTypeTokenRange": {
|
|
1271
|
+
"startIndex": 1,
|
|
1272
|
+
"endIndex": 2
|
|
1273
|
+
}
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
"kind": "PropertySignature",
|
|
1277
|
+
"canonicalReference": "@alloy-js/csharp!ClassModifiers#static:member",
|
|
1278
|
+
"docComment": "",
|
|
1279
|
+
"excerptTokens": [
|
|
1131
1280
|
{
|
|
1132
|
-
"kind": "
|
|
1133
|
-
"text": "
|
|
1134
|
-
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
1281
|
+
"kind": "Content",
|
|
1282
|
+
"text": "readonly static?: "
|
|
1135
1283
|
},
|
|
1136
1284
|
{
|
|
1137
1285
|
"kind": "Content",
|
|
1138
|
-
"text": "
|
|
1286
|
+
"text": "boolean"
|
|
1139
1287
|
},
|
|
1140
1288
|
{
|
|
1141
1289
|
"kind": "Content",
|
|
1142
1290
|
"text": ";"
|
|
1143
1291
|
}
|
|
1144
1292
|
],
|
|
1145
|
-
"isReadonly":
|
|
1293
|
+
"isReadonly": true,
|
|
1146
1294
|
"isOptional": true,
|
|
1147
1295
|
"releaseTag": "Public",
|
|
1148
|
-
"name": "
|
|
1296
|
+
"name": "static",
|
|
1149
1297
|
"propertyTypeTokenRange": {
|
|
1150
1298
|
"startIndex": 1,
|
|
1151
|
-
"endIndex":
|
|
1299
|
+
"endIndex": 2
|
|
1152
1300
|
}
|
|
1153
1301
|
}
|
|
1154
1302
|
],
|
|
1155
|
-
"extendsTokenRanges": [
|
|
1156
|
-
{
|
|
1157
|
-
"startIndex": 1,
|
|
1158
|
-
"endIndex": 5
|
|
1159
|
-
},
|
|
1160
|
-
{
|
|
1161
|
-
"startIndex": 6,
|
|
1162
|
-
"endIndex": 7
|
|
1163
|
-
}
|
|
1164
|
-
]
|
|
1303
|
+
"extendsTokenRanges": []
|
|
1165
1304
|
},
|
|
1166
1305
|
{
|
|
1167
1306
|
"kind": "Function",
|
|
@@ -1809,8 +1948,8 @@
|
|
|
1809
1948
|
},
|
|
1810
1949
|
{
|
|
1811
1950
|
"kind": "Reference",
|
|
1812
|
-
"text": "
|
|
1813
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
1951
|
+
"text": "EnumDeclarationProps",
|
|
1952
|
+
"canonicalReference": "@alloy-js/csharp!EnumDeclarationProps:interface"
|
|
1814
1953
|
},
|
|
1815
1954
|
{
|
|
1816
1955
|
"kind": "Content",
|
|
@@ -1846,70 +1985,60 @@
|
|
|
1846
1985
|
"name": "EnumDeclaration"
|
|
1847
1986
|
},
|
|
1848
1987
|
{
|
|
1849
|
-
"kind": "
|
|
1850
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
1988
|
+
"kind": "Interface",
|
|
1989
|
+
"canonicalReference": "@alloy-js/csharp!EnumDeclarationProps:interface",
|
|
1851
1990
|
"docComment": "",
|
|
1852
1991
|
"excerptTokens": [
|
|
1853
1992
|
{
|
|
1854
1993
|
"kind": "Content",
|
|
1855
|
-
"text": "export
|
|
1994
|
+
"text": "export interface EnumDeclarationProps extends "
|
|
1856
1995
|
},
|
|
1857
1996
|
{
|
|
1858
1997
|
"kind": "Reference",
|
|
1859
|
-
"text": "
|
|
1860
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
1861
|
-
},
|
|
1862
|
-
{
|
|
1863
|
-
"kind": "Content",
|
|
1864
|
-
"text": "): "
|
|
1865
|
-
},
|
|
1866
|
-
{
|
|
1867
|
-
"kind": "Reference",
|
|
1868
|
-
"text": "core.Children",
|
|
1869
|
-
"canonicalReference": "@alloy-js/core!Children:type"
|
|
1998
|
+
"text": "AccessModifiers",
|
|
1999
|
+
"canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
|
|
1870
2000
|
},
|
|
1871
2001
|
{
|
|
1872
2002
|
"kind": "Content",
|
|
1873
|
-
"text": "
|
|
2003
|
+
"text": " "
|
|
1874
2004
|
}
|
|
1875
2005
|
],
|
|
1876
2006
|
"fileUrlPath": "src/components/EnumDeclaration.tsx",
|
|
1877
|
-
"returnTypeTokenRange": {
|
|
1878
|
-
"startIndex": 3,
|
|
1879
|
-
"endIndex": 4
|
|
1880
|
-
},
|
|
1881
2007
|
"releaseTag": "Public",
|
|
1882
|
-
"
|
|
1883
|
-
"
|
|
2008
|
+
"name": "EnumDeclarationProps",
|
|
2009
|
+
"preserveMemberOrder": false,
|
|
2010
|
+
"members": [
|
|
1884
2011
|
{
|
|
1885
|
-
"
|
|
1886
|
-
"
|
|
2012
|
+
"kind": "PropertySignature",
|
|
2013
|
+
"canonicalReference": "@alloy-js/csharp!EnumDeclarationProps#children:member",
|
|
2014
|
+
"docComment": "",
|
|
2015
|
+
"excerptTokens": [
|
|
2016
|
+
{
|
|
2017
|
+
"kind": "Content",
|
|
2018
|
+
"text": "children?: "
|
|
2019
|
+
},
|
|
2020
|
+
{
|
|
2021
|
+
"kind": "Reference",
|
|
2022
|
+
"text": "core.Children",
|
|
2023
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
2024
|
+
},
|
|
2025
|
+
{
|
|
2026
|
+
"kind": "Content",
|
|
2027
|
+
"text": ";"
|
|
2028
|
+
}
|
|
2029
|
+
],
|
|
2030
|
+
"isReadonly": false,
|
|
2031
|
+
"isOptional": true,
|
|
2032
|
+
"releaseTag": "Public",
|
|
2033
|
+
"name": "children",
|
|
2034
|
+
"propertyTypeTokenRange": {
|
|
1887
2035
|
"startIndex": 1,
|
|
1888
2036
|
"endIndex": 2
|
|
1889
|
-
}
|
|
1890
|
-
|
|
1891
|
-
}
|
|
1892
|
-
],
|
|
1893
|
-
"name": "EnumMember"
|
|
1894
|
-
},
|
|
1895
|
-
{
|
|
1896
|
-
"kind": "Interface",
|
|
1897
|
-
"canonicalReference": "@alloy-js/csharp!EnumMemberProps:interface",
|
|
1898
|
-
"docComment": "",
|
|
1899
|
-
"excerptTokens": [
|
|
1900
|
-
{
|
|
1901
|
-
"kind": "Content",
|
|
1902
|
-
"text": "export interface EnumMemberProps "
|
|
1903
|
-
}
|
|
1904
|
-
],
|
|
1905
|
-
"fileUrlPath": "src/components/EnumDeclaration.tsx",
|
|
1906
|
-
"releaseTag": "Public",
|
|
1907
|
-
"name": "EnumMemberProps",
|
|
1908
|
-
"preserveMemberOrder": false,
|
|
1909
|
-
"members": [
|
|
2037
|
+
}
|
|
2038
|
+
},
|
|
1910
2039
|
{
|
|
1911
2040
|
"kind": "PropertySignature",
|
|
1912
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
2041
|
+
"canonicalReference": "@alloy-js/csharp!EnumDeclarationProps#name:member",
|
|
1913
2042
|
"docComment": "",
|
|
1914
2043
|
"excerptTokens": [
|
|
1915
2044
|
{
|
|
@@ -1936,7 +2065,7 @@
|
|
|
1936
2065
|
},
|
|
1937
2066
|
{
|
|
1938
2067
|
"kind": "PropertySignature",
|
|
1939
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
2068
|
+
"canonicalReference": "@alloy-js/csharp!EnumDeclarationProps#refkey:member",
|
|
1940
2069
|
"docComment": "",
|
|
1941
2070
|
"excerptTokens": [
|
|
1942
2071
|
{
|
|
@@ -1963,63 +2092,78 @@
|
|
|
1963
2092
|
}
|
|
1964
2093
|
}
|
|
1965
2094
|
],
|
|
1966
|
-
"extendsTokenRanges": [
|
|
2095
|
+
"extendsTokenRanges": [
|
|
2096
|
+
{
|
|
2097
|
+
"startIndex": 1,
|
|
2098
|
+
"endIndex": 2
|
|
2099
|
+
}
|
|
2100
|
+
]
|
|
1967
2101
|
},
|
|
1968
2102
|
{
|
|
1969
|
-
"kind": "
|
|
1970
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
2103
|
+
"kind": "Function",
|
|
2104
|
+
"canonicalReference": "@alloy-js/csharp!EnumMember:function(1)",
|
|
1971
2105
|
"docComment": "",
|
|
1972
2106
|
"excerptTokens": [
|
|
1973
2107
|
{
|
|
1974
2108
|
"kind": "Content",
|
|
1975
|
-
"text": "export
|
|
2109
|
+
"text": "export declare function EnumMember(props: "
|
|
1976
2110
|
},
|
|
1977
2111
|
{
|
|
1978
2112
|
"kind": "Reference",
|
|
1979
|
-
"text": "
|
|
1980
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
2113
|
+
"text": "EnumMemberProps",
|
|
2114
|
+
"canonicalReference": "@alloy-js/csharp!EnumMemberProps:interface"
|
|
1981
2115
|
},
|
|
1982
2116
|
{
|
|
1983
2117
|
"kind": "Content",
|
|
1984
|
-
"text": " "
|
|
2118
|
+
"text": "): "
|
|
2119
|
+
},
|
|
2120
|
+
{
|
|
2121
|
+
"kind": "Reference",
|
|
2122
|
+
"text": "core.Children",
|
|
2123
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
2124
|
+
},
|
|
2125
|
+
{
|
|
2126
|
+
"kind": "Content",
|
|
2127
|
+
"text": ";"
|
|
1985
2128
|
}
|
|
1986
2129
|
],
|
|
1987
2130
|
"fileUrlPath": "src/components/EnumDeclaration.tsx",
|
|
2131
|
+
"returnTypeTokenRange": {
|
|
2132
|
+
"startIndex": 3,
|
|
2133
|
+
"endIndex": 4
|
|
2134
|
+
},
|
|
1988
2135
|
"releaseTag": "Public",
|
|
1989
|
-
"
|
|
1990
|
-
"
|
|
1991
|
-
"members": [
|
|
2136
|
+
"overloadIndex": 1,
|
|
2137
|
+
"parameters": [
|
|
1992
2138
|
{
|
|
1993
|
-
"
|
|
1994
|
-
"
|
|
1995
|
-
"docComment": "",
|
|
1996
|
-
"excerptTokens": [
|
|
1997
|
-
{
|
|
1998
|
-
"kind": "Content",
|
|
1999
|
-
"text": "children?: "
|
|
2000
|
-
},
|
|
2001
|
-
{
|
|
2002
|
-
"kind": "Reference",
|
|
2003
|
-
"text": "core.Children",
|
|
2004
|
-
"canonicalReference": "@alloy-js/core!Children:type"
|
|
2005
|
-
},
|
|
2006
|
-
{
|
|
2007
|
-
"kind": "Content",
|
|
2008
|
-
"text": ";"
|
|
2009
|
-
}
|
|
2010
|
-
],
|
|
2011
|
-
"isReadonly": false,
|
|
2012
|
-
"isOptional": true,
|
|
2013
|
-
"releaseTag": "Public",
|
|
2014
|
-
"name": "children",
|
|
2015
|
-
"propertyTypeTokenRange": {
|
|
2139
|
+
"parameterName": "props",
|
|
2140
|
+
"parameterTypeTokenRange": {
|
|
2016
2141
|
"startIndex": 1,
|
|
2017
2142
|
"endIndex": 2
|
|
2018
|
-
}
|
|
2019
|
-
|
|
2143
|
+
},
|
|
2144
|
+
"isOptional": false
|
|
2145
|
+
}
|
|
2146
|
+
],
|
|
2147
|
+
"name": "EnumMember"
|
|
2148
|
+
},
|
|
2149
|
+
{
|
|
2150
|
+
"kind": "Interface",
|
|
2151
|
+
"canonicalReference": "@alloy-js/csharp!EnumMemberProps:interface",
|
|
2152
|
+
"docComment": "",
|
|
2153
|
+
"excerptTokens": [
|
|
2154
|
+
{
|
|
2155
|
+
"kind": "Content",
|
|
2156
|
+
"text": "export interface EnumMemberProps "
|
|
2157
|
+
}
|
|
2158
|
+
],
|
|
2159
|
+
"fileUrlPath": "src/components/EnumDeclaration.tsx",
|
|
2160
|
+
"releaseTag": "Public",
|
|
2161
|
+
"name": "EnumMemberProps",
|
|
2162
|
+
"preserveMemberOrder": false,
|
|
2163
|
+
"members": [
|
|
2020
2164
|
{
|
|
2021
2165
|
"kind": "PropertySignature",
|
|
2022
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
2166
|
+
"canonicalReference": "@alloy-js/csharp!EnumMemberProps#name:member",
|
|
2023
2167
|
"docComment": "",
|
|
2024
2168
|
"excerptTokens": [
|
|
2025
2169
|
{
|
|
@@ -2046,7 +2190,7 @@
|
|
|
2046
2190
|
},
|
|
2047
2191
|
{
|
|
2048
2192
|
"kind": "PropertySignature",
|
|
2049
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
2193
|
+
"canonicalReference": "@alloy-js/csharp!EnumMemberProps#refkey:member",
|
|
2050
2194
|
"docComment": "",
|
|
2051
2195
|
"excerptTokens": [
|
|
2052
2196
|
{
|
|
@@ -2073,12 +2217,7 @@
|
|
|
2073
2217
|
}
|
|
2074
2218
|
}
|
|
2075
2219
|
],
|
|
2076
|
-
"extendsTokenRanges": [
|
|
2077
|
-
{
|
|
2078
|
-
"startIndex": 1,
|
|
2079
|
-
"endIndex": 2
|
|
2080
|
-
}
|
|
2081
|
-
]
|
|
2220
|
+
"extendsTokenRanges": []
|
|
2082
2221
|
},
|
|
2083
2222
|
{
|
|
2084
2223
|
"kind": "Function",
|
|
@@ -2087,7 +2226,7 @@
|
|
|
2087
2226
|
"excerptTokens": [
|
|
2088
2227
|
{
|
|
2089
2228
|
"kind": "Content",
|
|
2090
|
-
"text": "
|
|
2229
|
+
"text": "getAccessModifier: (data: "
|
|
2091
2230
|
},
|
|
2092
2231
|
{
|
|
2093
2232
|
"kind": "Reference",
|
|
@@ -2096,15 +2235,11 @@
|
|
|
2096
2235
|
},
|
|
2097
2236
|
{
|
|
2098
2237
|
"kind": "Content",
|
|
2099
|
-
"text": ")
|
|
2238
|
+
"text": ") => "
|
|
2100
2239
|
},
|
|
2101
2240
|
{
|
|
2102
2241
|
"kind": "Content",
|
|
2103
2242
|
"text": "string"
|
|
2104
|
-
},
|
|
2105
|
-
{
|
|
2106
|
-
"kind": "Content",
|
|
2107
|
-
"text": ";"
|
|
2108
2243
|
}
|
|
2109
2244
|
],
|
|
2110
2245
|
"fileUrlPath": "src/modifiers.ts",
|
|
@@ -2178,7 +2313,7 @@
|
|
|
2178
2313
|
"excerptTokens": [
|
|
2179
2314
|
{
|
|
2180
2315
|
"kind": "Content",
|
|
2181
|
-
"text": "
|
|
2316
|
+
"text": "getMethodModifier: (data: "
|
|
2182
2317
|
},
|
|
2183
2318
|
{
|
|
2184
2319
|
"kind": "Reference",
|
|
@@ -2187,15 +2322,11 @@
|
|
|
2187
2322
|
},
|
|
2188
2323
|
{
|
|
2189
2324
|
"kind": "Content",
|
|
2190
|
-
"text": ")
|
|
2325
|
+
"text": ") => "
|
|
2191
2326
|
},
|
|
2192
2327
|
{
|
|
2193
2328
|
"kind": "Content",
|
|
2194
2329
|
"text": "string"
|
|
2195
|
-
},
|
|
2196
|
-
{
|
|
2197
|
-
"kind": "Content",
|
|
2198
|
-
"text": ";"
|
|
2199
2330
|
}
|
|
2200
2331
|
],
|
|
2201
2332
|
"fileUrlPath": "src/modifiers.ts",
|
|
@@ -2217,6 +2348,69 @@
|
|
|
2217
2348
|
],
|
|
2218
2349
|
"name": "getMethodModifier"
|
|
2219
2350
|
},
|
|
2351
|
+
{
|
|
2352
|
+
"kind": "Function",
|
|
2353
|
+
"canonicalReference": "@alloy-js/csharp!makeModifiers:function(1)",
|
|
2354
|
+
"docComment": "",
|
|
2355
|
+
"excerptTokens": [
|
|
2356
|
+
{
|
|
2357
|
+
"kind": "Content",
|
|
2358
|
+
"text": "export declare function makeModifiers<T>(obj: "
|
|
2359
|
+
},
|
|
2360
|
+
{
|
|
2361
|
+
"kind": "Reference",
|
|
2362
|
+
"text": "Array",
|
|
2363
|
+
"canonicalReference": "!Array:interface"
|
|
2364
|
+
},
|
|
2365
|
+
{
|
|
2366
|
+
"kind": "Content",
|
|
2367
|
+
"text": "<keyof T>"
|
|
2368
|
+
},
|
|
2369
|
+
{
|
|
2370
|
+
"kind": "Content",
|
|
2371
|
+
"text": "): "
|
|
2372
|
+
},
|
|
2373
|
+
{
|
|
2374
|
+
"kind": "Content",
|
|
2375
|
+
"text": "(data: T) => string"
|
|
2376
|
+
},
|
|
2377
|
+
{
|
|
2378
|
+
"kind": "Content",
|
|
2379
|
+
"text": ";"
|
|
2380
|
+
}
|
|
2381
|
+
],
|
|
2382
|
+
"fileUrlPath": "src/modifiers.ts",
|
|
2383
|
+
"returnTypeTokenRange": {
|
|
2384
|
+
"startIndex": 4,
|
|
2385
|
+
"endIndex": 5
|
|
2386
|
+
},
|
|
2387
|
+
"releaseTag": "Public",
|
|
2388
|
+
"overloadIndex": 1,
|
|
2389
|
+
"parameters": [
|
|
2390
|
+
{
|
|
2391
|
+
"parameterName": "obj",
|
|
2392
|
+
"parameterTypeTokenRange": {
|
|
2393
|
+
"startIndex": 1,
|
|
2394
|
+
"endIndex": 3
|
|
2395
|
+
},
|
|
2396
|
+
"isOptional": false
|
|
2397
|
+
}
|
|
2398
|
+
],
|
|
2399
|
+
"typeParameters": [
|
|
2400
|
+
{
|
|
2401
|
+
"typeParameterName": "T",
|
|
2402
|
+
"constraintTokenRange": {
|
|
2403
|
+
"startIndex": 0,
|
|
2404
|
+
"endIndex": 0
|
|
2405
|
+
},
|
|
2406
|
+
"defaultTypeTokenRange": {
|
|
2407
|
+
"startIndex": 0,
|
|
2408
|
+
"endIndex": 0
|
|
2409
|
+
}
|
|
2410
|
+
}
|
|
2411
|
+
],
|
|
2412
|
+
"name": "makeModifiers"
|
|
2413
|
+
},
|
|
2220
2414
|
{
|
|
2221
2415
|
"kind": "Interface",
|
|
2222
2416
|
"canonicalReference": "@alloy-js/csharp!MethodModifiers:interface",
|