@alloy-js/csharp 0.18.0-dev.6 → 0.18.0-dev.7
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/ClassMethod.d.ts +9 -2
- package/dist/src/components/ClassMethod.d.ts.map +1 -1
- package/dist/src/components/ClassMethod.js +5 -1
- package/dist/src/components/index.d.ts +3 -1
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +3 -1
- package/dist/src/components/interface/declaration.d.ts +32 -0
- package/dist/src/components/interface/declaration.d.ts.map +1 -0
- package/dist/src/components/interface/declaration.js +85 -0
- package/dist/src/components/interface/declaration.test.d.ts +2 -0
- package/dist/src/components/interface/declaration.test.d.ts.map +1 -0
- package/dist/src/components/interface/declaration.test.js +56 -0
- package/dist/src/components/interface/method.d.ts +16 -0
- package/dist/src/components/interface/method.d.ts.map +1 -0
- package/dist/src/components/interface/method.js +54 -0
- package/dist/src/components/interface/method.test.d.ts +2 -0
- package/dist/src/components/interface/method.test.d.ts.map +1 -0
- package/dist/src/components/interface/method.test.js +110 -0
- package/dist/src/components/interface/property.d.ts +19 -0
- package/dist/src/components/interface/property.d.ts.map +1 -0
- package/dist/src/components/interface/property.js +54 -0
- package/dist/src/components/interface/property.test.d.ts +2 -0
- package/dist/src/components/interface/property.test.d.ts.map +1 -0
- package/dist/src/components/interface/property.test.js +141 -0
- package/dist/src/modifiers.d.ts +0 -8
- package/dist/src/modifiers.d.ts.map +1 -1
- package/dist/src/modifiers.js +0 -4
- package/dist/src/name-policy.d.ts +1 -1
- package/dist/src/name-policy.d.ts.map +1 -1
- package/dist/src/name-policy.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/components/ClassMethod.tsx +19 -3
- package/src/components/index.ts +3 -1
- package/src/components/interface/declaration.test.tsx +45 -0
- package/src/components/interface/declaration.tsx +104 -0
- package/src/components/interface/method.test.tsx +104 -0
- package/src/components/interface/method.tsx +77 -0
- package/src/components/interface/property.test.tsx +122 -0
- package/src/components/interface/property.tsx +85 -0
- package/src/modifiers.ts +0 -15
- package/src/name-policy.ts +2 -0
- package/temp/api.json +607 -101
package/temp/api.json
CHANGED
|
@@ -952,6 +952,132 @@
|
|
|
952
952
|
],
|
|
953
953
|
"name": "ClassMethod"
|
|
954
954
|
},
|
|
955
|
+
{
|
|
956
|
+
"kind": "Interface",
|
|
957
|
+
"canonicalReference": "@alloy-js/csharp!ClassMethodModifiers:interface",
|
|
958
|
+
"docComment": "/**\n * Method modifiers. Can only be one.\n */\n",
|
|
959
|
+
"excerptTokens": [
|
|
960
|
+
{
|
|
961
|
+
"kind": "Content",
|
|
962
|
+
"text": "export interface ClassMethodModifiers "
|
|
963
|
+
}
|
|
964
|
+
],
|
|
965
|
+
"fileUrlPath": "src/components/ClassMethod.tsx",
|
|
966
|
+
"releaseTag": "Public",
|
|
967
|
+
"name": "ClassMethodModifiers",
|
|
968
|
+
"preserveMemberOrder": false,
|
|
969
|
+
"members": [
|
|
970
|
+
{
|
|
971
|
+
"kind": "PropertySignature",
|
|
972
|
+
"canonicalReference": "@alloy-js/csharp!ClassMethodModifiers#abstract:member",
|
|
973
|
+
"docComment": "",
|
|
974
|
+
"excerptTokens": [
|
|
975
|
+
{
|
|
976
|
+
"kind": "Content",
|
|
977
|
+
"text": "readonly abstract?: "
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"kind": "Content",
|
|
981
|
+
"text": "boolean"
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"kind": "Content",
|
|
985
|
+
"text": ";"
|
|
986
|
+
}
|
|
987
|
+
],
|
|
988
|
+
"isReadonly": true,
|
|
989
|
+
"isOptional": true,
|
|
990
|
+
"releaseTag": "Public",
|
|
991
|
+
"name": "abstract",
|
|
992
|
+
"propertyTypeTokenRange": {
|
|
993
|
+
"startIndex": 1,
|
|
994
|
+
"endIndex": 2
|
|
995
|
+
}
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"kind": "PropertySignature",
|
|
999
|
+
"canonicalReference": "@alloy-js/csharp!ClassMethodModifiers#sealed:member",
|
|
1000
|
+
"docComment": "",
|
|
1001
|
+
"excerptTokens": [
|
|
1002
|
+
{
|
|
1003
|
+
"kind": "Content",
|
|
1004
|
+
"text": "readonly sealed?: "
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"kind": "Content",
|
|
1008
|
+
"text": "boolean"
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"kind": "Content",
|
|
1012
|
+
"text": ";"
|
|
1013
|
+
}
|
|
1014
|
+
],
|
|
1015
|
+
"isReadonly": true,
|
|
1016
|
+
"isOptional": true,
|
|
1017
|
+
"releaseTag": "Public",
|
|
1018
|
+
"name": "sealed",
|
|
1019
|
+
"propertyTypeTokenRange": {
|
|
1020
|
+
"startIndex": 1,
|
|
1021
|
+
"endIndex": 2
|
|
1022
|
+
}
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"kind": "PropertySignature",
|
|
1026
|
+
"canonicalReference": "@alloy-js/csharp!ClassMethodModifiers#static:member",
|
|
1027
|
+
"docComment": "",
|
|
1028
|
+
"excerptTokens": [
|
|
1029
|
+
{
|
|
1030
|
+
"kind": "Content",
|
|
1031
|
+
"text": "readonly static?: "
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"kind": "Content",
|
|
1035
|
+
"text": "boolean"
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"kind": "Content",
|
|
1039
|
+
"text": ";"
|
|
1040
|
+
}
|
|
1041
|
+
],
|
|
1042
|
+
"isReadonly": true,
|
|
1043
|
+
"isOptional": true,
|
|
1044
|
+
"releaseTag": "Public",
|
|
1045
|
+
"name": "static",
|
|
1046
|
+
"propertyTypeTokenRange": {
|
|
1047
|
+
"startIndex": 1,
|
|
1048
|
+
"endIndex": 2
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
"kind": "PropertySignature",
|
|
1053
|
+
"canonicalReference": "@alloy-js/csharp!ClassMethodModifiers#virtual:member",
|
|
1054
|
+
"docComment": "",
|
|
1055
|
+
"excerptTokens": [
|
|
1056
|
+
{
|
|
1057
|
+
"kind": "Content",
|
|
1058
|
+
"text": "readonly virtual?: "
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"kind": "Content",
|
|
1062
|
+
"text": "boolean"
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"kind": "Content",
|
|
1066
|
+
"text": ";"
|
|
1067
|
+
}
|
|
1068
|
+
],
|
|
1069
|
+
"isReadonly": true,
|
|
1070
|
+
"isOptional": true,
|
|
1071
|
+
"releaseTag": "Public",
|
|
1072
|
+
"name": "virtual",
|
|
1073
|
+
"propertyTypeTokenRange": {
|
|
1074
|
+
"startIndex": 1,
|
|
1075
|
+
"endIndex": 2
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
],
|
|
1079
|
+
"extendsTokenRanges": []
|
|
1080
|
+
},
|
|
955
1081
|
{
|
|
956
1082
|
"kind": "Interface",
|
|
957
1083
|
"canonicalReference": "@alloy-js/csharp!ClassMethodProps:interface",
|
|
@@ -972,8 +1098,8 @@
|
|
|
972
1098
|
},
|
|
973
1099
|
{
|
|
974
1100
|
"kind": "Reference",
|
|
975
|
-
"text": "
|
|
976
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
1101
|
+
"text": "ClassMethodModifiers",
|
|
1102
|
+
"canonicalReference": "@alloy-js/csharp!ClassMethodModifiers:interface"
|
|
977
1103
|
},
|
|
978
1104
|
{
|
|
979
1105
|
"kind": "Content",
|
|
@@ -1405,7 +1531,7 @@
|
|
|
1405
1531
|
},
|
|
1406
1532
|
{
|
|
1407
1533
|
"kind": "Content",
|
|
1408
|
-
"text": "\"class\" | \"constant\" | \"enum\" | \"enum-member\" | \"function\" | \"interface\" | \"class-member-private\" | \"class-member-public\" | \"class-method\" | \"parameter\" | \"type-parameter\""
|
|
1534
|
+
"text": "\"class\" | \"constant\" | \"enum\" | \"enum-member\" | \"function\" | \"interface\" | \"class-member-private\" | \"class-member-public\" | \"class-method\" | \"class-property\" | \"parameter\" | \"type-parameter\""
|
|
1409
1535
|
},
|
|
1410
1536
|
{
|
|
1411
1537
|
"kind": "Content",
|
|
@@ -2308,28 +2434,33 @@
|
|
|
2308
2434
|
},
|
|
2309
2435
|
{
|
|
2310
2436
|
"kind": "Function",
|
|
2311
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
2312
|
-
"docComment": "",
|
|
2437
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceDeclaration:function(1)",
|
|
2438
|
+
"docComment": "/**\n * CSharp interface declaration.\n *\n * @example\n * ```tsx\n * <InterfaceDeclaration public name=\"IMyInterface\">\n * <InterfaceMember public name=\"MyProperty\" type=\"int\" />\n * <InterfaceMethod public name=\"MyMethod\" returnType=\"void\">\n * <Parameter name=\"value\" type=\"int\" />\n * </InterfaceMethod>\n * </InterfaceDeclaration>\n * ```\n *\n * This will produce:\n * ```csharp\n * public interface MyIface\n * {\n * public int MyProperty { get; set; }\n * public void MyMethod(int value);\n * }\n * ```\n *\n */\n",
|
|
2313
2439
|
"excerptTokens": [
|
|
2314
2440
|
{
|
|
2315
2441
|
"kind": "Content",
|
|
2316
|
-
"text": "
|
|
2442
|
+
"text": "export declare function InterfaceDeclaration(props: "
|
|
2317
2443
|
},
|
|
2318
2444
|
{
|
|
2319
2445
|
"kind": "Reference",
|
|
2320
|
-
"text": "
|
|
2321
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
2446
|
+
"text": "InterfaceDeclarationProps",
|
|
2447
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps:interface"
|
|
2322
2448
|
},
|
|
2323
2449
|
{
|
|
2324
2450
|
"kind": "Content",
|
|
2325
|
-
"text": ")
|
|
2451
|
+
"text": "): "
|
|
2452
|
+
},
|
|
2453
|
+
{
|
|
2454
|
+
"kind": "Reference",
|
|
2455
|
+
"text": "core.Children",
|
|
2456
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
2326
2457
|
},
|
|
2327
2458
|
{
|
|
2328
2459
|
"kind": "Content",
|
|
2329
|
-
"text": "
|
|
2460
|
+
"text": ";"
|
|
2330
2461
|
}
|
|
2331
2462
|
],
|
|
2332
|
-
"fileUrlPath": "src/
|
|
2463
|
+
"fileUrlPath": "src/components/interface/declaration.tsx",
|
|
2333
2464
|
"returnTypeTokenRange": {
|
|
2334
2465
|
"startIndex": 3,
|
|
2335
2466
|
"endIndex": 4
|
|
@@ -2338,7 +2469,7 @@
|
|
|
2338
2469
|
"overloadIndex": 1,
|
|
2339
2470
|
"parameters": [
|
|
2340
2471
|
{
|
|
2341
|
-
"parameterName": "
|
|
2472
|
+
"parameterName": "props",
|
|
2342
2473
|
"parameterTypeTokenRange": {
|
|
2343
2474
|
"startIndex": 1,
|
|
2344
2475
|
"endIndex": 2
|
|
@@ -2346,108 +2477,85 @@
|
|
|
2346
2477
|
"isOptional": false
|
|
2347
2478
|
}
|
|
2348
2479
|
],
|
|
2349
|
-
"name": "
|
|
2480
|
+
"name": "InterfaceDeclaration"
|
|
2350
2481
|
},
|
|
2351
2482
|
{
|
|
2352
|
-
"kind": "
|
|
2353
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
2483
|
+
"kind": "Interface",
|
|
2484
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps:interface",
|
|
2354
2485
|
"docComment": "",
|
|
2355
2486
|
"excerptTokens": [
|
|
2356
2487
|
{
|
|
2357
2488
|
"kind": "Content",
|
|
2358
|
-
"text": "export
|
|
2489
|
+
"text": "export interface InterfaceDeclarationProps extends "
|
|
2359
2490
|
},
|
|
2360
2491
|
{
|
|
2361
2492
|
"kind": "Reference",
|
|
2362
|
-
"text": "
|
|
2363
|
-
"canonicalReference": "!
|
|
2493
|
+
"text": "Omit",
|
|
2494
|
+
"canonicalReference": "!Omit:type"
|
|
2364
2495
|
},
|
|
2365
2496
|
{
|
|
2366
2497
|
"kind": "Content",
|
|
2367
|
-
"text": "<
|
|
2498
|
+
"text": "<"
|
|
2368
2499
|
},
|
|
2369
2500
|
{
|
|
2370
|
-
"kind": "
|
|
2371
|
-
"text": "
|
|
2501
|
+
"kind": "Reference",
|
|
2502
|
+
"text": "core.DeclarationProps",
|
|
2503
|
+
"canonicalReference": "@alloy-js/core!DeclarationProps:type"
|
|
2372
2504
|
},
|
|
2373
2505
|
{
|
|
2374
2506
|
"kind": "Content",
|
|
2375
|
-
"text": "
|
|
2507
|
+
"text": ", \"nameKind\">"
|
|
2376
2508
|
},
|
|
2377
2509
|
{
|
|
2378
2510
|
"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": [
|
|
2511
|
+
"text": ", "
|
|
2512
|
+
},
|
|
2390
2513
|
{
|
|
2391
|
-
"
|
|
2392
|
-
"
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
},
|
|
2396
|
-
"isOptional": false
|
|
2397
|
-
}
|
|
2398
|
-
],
|
|
2399
|
-
"typeParameters": [
|
|
2514
|
+
"kind": "Reference",
|
|
2515
|
+
"text": "AccessModifiers",
|
|
2516
|
+
"canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
|
|
2517
|
+
},
|
|
2400
2518
|
{
|
|
2401
|
-
"
|
|
2402
|
-
"
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
"
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
}
|
|
2410
|
-
}
|
|
2411
|
-
],
|
|
2412
|
-
"name": "makeModifiers"
|
|
2413
|
-
},
|
|
2414
|
-
{
|
|
2415
|
-
"kind": "Interface",
|
|
2416
|
-
"canonicalReference": "@alloy-js/csharp!MethodModifiers:interface",
|
|
2417
|
-
"docComment": "/**\n * Method modifiers. Can only be one.\n */\n",
|
|
2418
|
-
"excerptTokens": [
|
|
2519
|
+
"kind": "Content",
|
|
2520
|
+
"text": ", "
|
|
2521
|
+
},
|
|
2522
|
+
{
|
|
2523
|
+
"kind": "Reference",
|
|
2524
|
+
"text": "InterfaceModifiers",
|
|
2525
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceModifiers:interface"
|
|
2526
|
+
},
|
|
2419
2527
|
{
|
|
2420
2528
|
"kind": "Content",
|
|
2421
|
-
"text": "
|
|
2529
|
+
"text": " "
|
|
2422
2530
|
}
|
|
2423
2531
|
],
|
|
2424
|
-
"fileUrlPath": "src/
|
|
2532
|
+
"fileUrlPath": "src/components/interface/declaration.tsx",
|
|
2425
2533
|
"releaseTag": "Public",
|
|
2426
|
-
"name": "
|
|
2534
|
+
"name": "InterfaceDeclarationProps",
|
|
2427
2535
|
"preserveMemberOrder": false,
|
|
2428
2536
|
"members": [
|
|
2429
2537
|
{
|
|
2430
2538
|
"kind": "PropertySignature",
|
|
2431
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
2539
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#name:member",
|
|
2432
2540
|
"docComment": "",
|
|
2433
2541
|
"excerptTokens": [
|
|
2434
2542
|
{
|
|
2435
2543
|
"kind": "Content",
|
|
2436
|
-
"text": "
|
|
2544
|
+
"text": "name: "
|
|
2437
2545
|
},
|
|
2438
2546
|
{
|
|
2439
2547
|
"kind": "Content",
|
|
2440
|
-
"text": "
|
|
2548
|
+
"text": "string"
|
|
2441
2549
|
},
|
|
2442
2550
|
{
|
|
2443
2551
|
"kind": "Content",
|
|
2444
2552
|
"text": ";"
|
|
2445
2553
|
}
|
|
2446
2554
|
],
|
|
2447
|
-
"isReadonly":
|
|
2448
|
-
"isOptional":
|
|
2555
|
+
"isReadonly": false,
|
|
2556
|
+
"isOptional": false,
|
|
2449
2557
|
"releaseTag": "Public",
|
|
2450
|
-
"name": "
|
|
2558
|
+
"name": "name",
|
|
2451
2559
|
"propertyTypeTokenRange": {
|
|
2452
2560
|
"startIndex": 1,
|
|
2453
2561
|
"endIndex": 2
|
|
@@ -2455,26 +2563,27 @@
|
|
|
2455
2563
|
},
|
|
2456
2564
|
{
|
|
2457
2565
|
"kind": "PropertySignature",
|
|
2458
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
2566
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#refkey:member",
|
|
2459
2567
|
"docComment": "",
|
|
2460
2568
|
"excerptTokens": [
|
|
2461
2569
|
{
|
|
2462
2570
|
"kind": "Content",
|
|
2463
|
-
"text": "
|
|
2571
|
+
"text": "refkey?: "
|
|
2464
2572
|
},
|
|
2465
2573
|
{
|
|
2466
|
-
"kind": "
|
|
2467
|
-
"text": "
|
|
2574
|
+
"kind": "Reference",
|
|
2575
|
+
"text": "core.Refkey",
|
|
2576
|
+
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
2468
2577
|
},
|
|
2469
2578
|
{
|
|
2470
2579
|
"kind": "Content",
|
|
2471
2580
|
"text": ";"
|
|
2472
2581
|
}
|
|
2473
2582
|
],
|
|
2474
|
-
"isReadonly":
|
|
2583
|
+
"isReadonly": false,
|
|
2475
2584
|
"isOptional": true,
|
|
2476
2585
|
"releaseTag": "Public",
|
|
2477
|
-
"name": "
|
|
2586
|
+
"name": "refkey",
|
|
2478
2587
|
"propertyTypeTokenRange": {
|
|
2479
2588
|
"startIndex": 1,
|
|
2480
2589
|
"endIndex": 2
|
|
@@ -2482,53 +2591,387 @@
|
|
|
2482
2591
|
},
|
|
2483
2592
|
{
|
|
2484
2593
|
"kind": "PropertySignature",
|
|
2485
|
-
"canonicalReference": "@alloy-js/csharp!
|
|
2594
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#typeParameters:member",
|
|
2486
2595
|
"docComment": "",
|
|
2487
2596
|
"excerptTokens": [
|
|
2488
2597
|
{
|
|
2489
2598
|
"kind": "Content",
|
|
2490
|
-
"text": "
|
|
2599
|
+
"text": "typeParameters?: "
|
|
2491
2600
|
},
|
|
2492
2601
|
{
|
|
2493
|
-
"kind": "
|
|
2494
|
-
"text": "
|
|
2602
|
+
"kind": "Reference",
|
|
2603
|
+
"text": "Record",
|
|
2604
|
+
"canonicalReference": "!Record:type"
|
|
2495
2605
|
},
|
|
2496
2606
|
{
|
|
2497
2607
|
"kind": "Content",
|
|
2498
|
-
"text": "
|
|
2499
|
-
}
|
|
2500
|
-
],
|
|
2501
|
-
"isReadonly": true,
|
|
2502
|
-
"isOptional": true,
|
|
2503
|
-
"releaseTag": "Public",
|
|
2504
|
-
"name": "static",
|
|
2505
|
-
"propertyTypeTokenRange": {
|
|
2506
|
-
"startIndex": 1,
|
|
2507
|
-
"endIndex": 2
|
|
2508
|
-
}
|
|
2509
|
-
},
|
|
2510
|
-
{
|
|
2511
|
-
"kind": "PropertySignature",
|
|
2512
|
-
"canonicalReference": "@alloy-js/csharp!MethodModifiers#virtual:member",
|
|
2513
|
-
"docComment": "",
|
|
2514
|
-
"excerptTokens": [
|
|
2608
|
+
"text": "<string, "
|
|
2609
|
+
},
|
|
2515
2610
|
{
|
|
2516
|
-
"kind": "
|
|
2517
|
-
"text": "
|
|
2611
|
+
"kind": "Reference",
|
|
2612
|
+
"text": "core.Refkey",
|
|
2613
|
+
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
2518
2614
|
},
|
|
2519
2615
|
{
|
|
2520
2616
|
"kind": "Content",
|
|
2521
|
-
"text": "
|
|
2617
|
+
"text": ">"
|
|
2522
2618
|
},
|
|
2523
2619
|
{
|
|
2524
2620
|
"kind": "Content",
|
|
2525
2621
|
"text": ";"
|
|
2526
2622
|
}
|
|
2527
2623
|
],
|
|
2528
|
-
"isReadonly":
|
|
2624
|
+
"isReadonly": false,
|
|
2529
2625
|
"isOptional": true,
|
|
2530
2626
|
"releaseTag": "Public",
|
|
2531
|
-
"name": "
|
|
2627
|
+
"name": "typeParameters",
|
|
2628
|
+
"propertyTypeTokenRange": {
|
|
2629
|
+
"startIndex": 1,
|
|
2630
|
+
"endIndex": 5
|
|
2631
|
+
}
|
|
2632
|
+
}
|
|
2633
|
+
],
|
|
2634
|
+
"extendsTokenRanges": [
|
|
2635
|
+
{
|
|
2636
|
+
"startIndex": 1,
|
|
2637
|
+
"endIndex": 5
|
|
2638
|
+
},
|
|
2639
|
+
{
|
|
2640
|
+
"startIndex": 6,
|
|
2641
|
+
"endIndex": 7
|
|
2642
|
+
},
|
|
2643
|
+
{
|
|
2644
|
+
"startIndex": 8,
|
|
2645
|
+
"endIndex": 9
|
|
2646
|
+
}
|
|
2647
|
+
]
|
|
2648
|
+
},
|
|
2649
|
+
{
|
|
2650
|
+
"kind": "Function",
|
|
2651
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceMethod:function(1)",
|
|
2652
|
+
"docComment": "",
|
|
2653
|
+
"excerptTokens": [
|
|
2654
|
+
{
|
|
2655
|
+
"kind": "Content",
|
|
2656
|
+
"text": "export declare function InterfaceMethod(props: "
|
|
2657
|
+
},
|
|
2658
|
+
{
|
|
2659
|
+
"kind": "Reference",
|
|
2660
|
+
"text": "InterfaceMethodProps",
|
|
2661
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceMethodProps:interface"
|
|
2662
|
+
},
|
|
2663
|
+
{
|
|
2664
|
+
"kind": "Content",
|
|
2665
|
+
"text": "): "
|
|
2666
|
+
},
|
|
2667
|
+
{
|
|
2668
|
+
"kind": "Reference",
|
|
2669
|
+
"text": "Children",
|
|
2670
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
2671
|
+
},
|
|
2672
|
+
{
|
|
2673
|
+
"kind": "Content",
|
|
2674
|
+
"text": ";"
|
|
2675
|
+
}
|
|
2676
|
+
],
|
|
2677
|
+
"fileUrlPath": "src/components/interface/method.tsx",
|
|
2678
|
+
"returnTypeTokenRange": {
|
|
2679
|
+
"startIndex": 3,
|
|
2680
|
+
"endIndex": 4
|
|
2681
|
+
},
|
|
2682
|
+
"releaseTag": "Public",
|
|
2683
|
+
"overloadIndex": 1,
|
|
2684
|
+
"parameters": [
|
|
2685
|
+
{
|
|
2686
|
+
"parameterName": "props",
|
|
2687
|
+
"parameterTypeTokenRange": {
|
|
2688
|
+
"startIndex": 1,
|
|
2689
|
+
"endIndex": 2
|
|
2690
|
+
},
|
|
2691
|
+
"isOptional": false
|
|
2692
|
+
}
|
|
2693
|
+
],
|
|
2694
|
+
"name": "InterfaceMethod"
|
|
2695
|
+
},
|
|
2696
|
+
{
|
|
2697
|
+
"kind": "Interface",
|
|
2698
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceMethodModifiers:interface",
|
|
2699
|
+
"docComment": "/**\n * Method modifiers. Can only be one.\n */\n",
|
|
2700
|
+
"excerptTokens": [
|
|
2701
|
+
{
|
|
2702
|
+
"kind": "Content",
|
|
2703
|
+
"text": "export interface InterfaceMethodModifiers "
|
|
2704
|
+
}
|
|
2705
|
+
],
|
|
2706
|
+
"fileUrlPath": "src/components/interface/method.tsx",
|
|
2707
|
+
"releaseTag": "Public",
|
|
2708
|
+
"name": "InterfaceMethodModifiers",
|
|
2709
|
+
"preserveMemberOrder": false,
|
|
2710
|
+
"members": [
|
|
2711
|
+
{
|
|
2712
|
+
"kind": "PropertySignature",
|
|
2713
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceMethodModifiers#new:member",
|
|
2714
|
+
"docComment": "",
|
|
2715
|
+
"excerptTokens": [
|
|
2716
|
+
{
|
|
2717
|
+
"kind": "Content",
|
|
2718
|
+
"text": "readonly new?: "
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
"kind": "Content",
|
|
2722
|
+
"text": "boolean"
|
|
2723
|
+
},
|
|
2724
|
+
{
|
|
2725
|
+
"kind": "Content",
|
|
2726
|
+
"text": ";"
|
|
2727
|
+
}
|
|
2728
|
+
],
|
|
2729
|
+
"isReadonly": true,
|
|
2730
|
+
"isOptional": true,
|
|
2731
|
+
"releaseTag": "Public",
|
|
2732
|
+
"name": "new",
|
|
2733
|
+
"propertyTypeTokenRange": {
|
|
2734
|
+
"startIndex": 1,
|
|
2735
|
+
"endIndex": 2
|
|
2736
|
+
}
|
|
2737
|
+
}
|
|
2738
|
+
],
|
|
2739
|
+
"extendsTokenRanges": []
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
"kind": "Interface",
|
|
2743
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceMethodProps:interface",
|
|
2744
|
+
"docComment": "",
|
|
2745
|
+
"excerptTokens": [
|
|
2746
|
+
{
|
|
2747
|
+
"kind": "Content",
|
|
2748
|
+
"text": "export interface InterfaceMethodProps extends "
|
|
2749
|
+
},
|
|
2750
|
+
{
|
|
2751
|
+
"kind": "Reference",
|
|
2752
|
+
"text": "AccessModifiers",
|
|
2753
|
+
"canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
|
|
2754
|
+
},
|
|
2755
|
+
{
|
|
2756
|
+
"kind": "Content",
|
|
2757
|
+
"text": ", "
|
|
2758
|
+
},
|
|
2759
|
+
{
|
|
2760
|
+
"kind": "Reference",
|
|
2761
|
+
"text": "InterfaceMethodModifiers",
|
|
2762
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceMethodModifiers:interface"
|
|
2763
|
+
},
|
|
2764
|
+
{
|
|
2765
|
+
"kind": "Content",
|
|
2766
|
+
"text": " "
|
|
2767
|
+
}
|
|
2768
|
+
],
|
|
2769
|
+
"fileUrlPath": "src/components/interface/method.tsx",
|
|
2770
|
+
"releaseTag": "Public",
|
|
2771
|
+
"name": "InterfaceMethodProps",
|
|
2772
|
+
"preserveMemberOrder": false,
|
|
2773
|
+
"members": [
|
|
2774
|
+
{
|
|
2775
|
+
"kind": "PropertySignature",
|
|
2776
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#children:member",
|
|
2777
|
+
"docComment": "",
|
|
2778
|
+
"excerptTokens": [
|
|
2779
|
+
{
|
|
2780
|
+
"kind": "Content",
|
|
2781
|
+
"text": "children?: "
|
|
2782
|
+
},
|
|
2783
|
+
{
|
|
2784
|
+
"kind": "Reference",
|
|
2785
|
+
"text": "Children",
|
|
2786
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
2787
|
+
},
|
|
2788
|
+
{
|
|
2789
|
+
"kind": "Content",
|
|
2790
|
+
"text": ";"
|
|
2791
|
+
}
|
|
2792
|
+
],
|
|
2793
|
+
"isReadonly": false,
|
|
2794
|
+
"isOptional": true,
|
|
2795
|
+
"releaseTag": "Public",
|
|
2796
|
+
"name": "children",
|
|
2797
|
+
"propertyTypeTokenRange": {
|
|
2798
|
+
"startIndex": 1,
|
|
2799
|
+
"endIndex": 2
|
|
2800
|
+
}
|
|
2801
|
+
},
|
|
2802
|
+
{
|
|
2803
|
+
"kind": "PropertySignature",
|
|
2804
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#name:member",
|
|
2805
|
+
"docComment": "",
|
|
2806
|
+
"excerptTokens": [
|
|
2807
|
+
{
|
|
2808
|
+
"kind": "Content",
|
|
2809
|
+
"text": "name: "
|
|
2810
|
+
},
|
|
2811
|
+
{
|
|
2812
|
+
"kind": "Content",
|
|
2813
|
+
"text": "string"
|
|
2814
|
+
},
|
|
2815
|
+
{
|
|
2816
|
+
"kind": "Content",
|
|
2817
|
+
"text": ";"
|
|
2818
|
+
}
|
|
2819
|
+
],
|
|
2820
|
+
"isReadonly": false,
|
|
2821
|
+
"isOptional": false,
|
|
2822
|
+
"releaseTag": "Public",
|
|
2823
|
+
"name": "name",
|
|
2824
|
+
"propertyTypeTokenRange": {
|
|
2825
|
+
"startIndex": 1,
|
|
2826
|
+
"endIndex": 2
|
|
2827
|
+
}
|
|
2828
|
+
},
|
|
2829
|
+
{
|
|
2830
|
+
"kind": "PropertySignature",
|
|
2831
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#parameters:member",
|
|
2832
|
+
"docComment": "",
|
|
2833
|
+
"excerptTokens": [
|
|
2834
|
+
{
|
|
2835
|
+
"kind": "Content",
|
|
2836
|
+
"text": "parameters?: "
|
|
2837
|
+
},
|
|
2838
|
+
{
|
|
2839
|
+
"kind": "Reference",
|
|
2840
|
+
"text": "Array",
|
|
2841
|
+
"canonicalReference": "!Array:interface"
|
|
2842
|
+
},
|
|
2843
|
+
{
|
|
2844
|
+
"kind": "Content",
|
|
2845
|
+
"text": "<"
|
|
2846
|
+
},
|
|
2847
|
+
{
|
|
2848
|
+
"kind": "Reference",
|
|
2849
|
+
"text": "ParameterProps",
|
|
2850
|
+
"canonicalReference": "@alloy-js/csharp!ParameterProps:interface"
|
|
2851
|
+
},
|
|
2852
|
+
{
|
|
2853
|
+
"kind": "Content",
|
|
2854
|
+
"text": ">"
|
|
2855
|
+
},
|
|
2856
|
+
{
|
|
2857
|
+
"kind": "Content",
|
|
2858
|
+
"text": ";"
|
|
2859
|
+
}
|
|
2860
|
+
],
|
|
2861
|
+
"isReadonly": false,
|
|
2862
|
+
"isOptional": true,
|
|
2863
|
+
"releaseTag": "Public",
|
|
2864
|
+
"name": "parameters",
|
|
2865
|
+
"propertyTypeTokenRange": {
|
|
2866
|
+
"startIndex": 1,
|
|
2867
|
+
"endIndex": 5
|
|
2868
|
+
}
|
|
2869
|
+
},
|
|
2870
|
+
{
|
|
2871
|
+
"kind": "PropertySignature",
|
|
2872
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#refkey:member",
|
|
2873
|
+
"docComment": "",
|
|
2874
|
+
"excerptTokens": [
|
|
2875
|
+
{
|
|
2876
|
+
"kind": "Content",
|
|
2877
|
+
"text": "refkey?: "
|
|
2878
|
+
},
|
|
2879
|
+
{
|
|
2880
|
+
"kind": "Reference",
|
|
2881
|
+
"text": "Refkey",
|
|
2882
|
+
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
2883
|
+
},
|
|
2884
|
+
{
|
|
2885
|
+
"kind": "Content",
|
|
2886
|
+
"text": ";"
|
|
2887
|
+
}
|
|
2888
|
+
],
|
|
2889
|
+
"isReadonly": false,
|
|
2890
|
+
"isOptional": true,
|
|
2891
|
+
"releaseTag": "Public",
|
|
2892
|
+
"name": "refkey",
|
|
2893
|
+
"propertyTypeTokenRange": {
|
|
2894
|
+
"startIndex": 1,
|
|
2895
|
+
"endIndex": 2
|
|
2896
|
+
}
|
|
2897
|
+
},
|
|
2898
|
+
{
|
|
2899
|
+
"kind": "PropertySignature",
|
|
2900
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#returns:member",
|
|
2901
|
+
"docComment": "",
|
|
2902
|
+
"excerptTokens": [
|
|
2903
|
+
{
|
|
2904
|
+
"kind": "Content",
|
|
2905
|
+
"text": "returns?: "
|
|
2906
|
+
},
|
|
2907
|
+
{
|
|
2908
|
+
"kind": "Reference",
|
|
2909
|
+
"text": "Children",
|
|
2910
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
2911
|
+
},
|
|
2912
|
+
{
|
|
2913
|
+
"kind": "Content",
|
|
2914
|
+
"text": ";"
|
|
2915
|
+
}
|
|
2916
|
+
],
|
|
2917
|
+
"isReadonly": false,
|
|
2918
|
+
"isOptional": true,
|
|
2919
|
+
"releaseTag": "Public",
|
|
2920
|
+
"name": "returns",
|
|
2921
|
+
"propertyTypeTokenRange": {
|
|
2922
|
+
"startIndex": 1,
|
|
2923
|
+
"endIndex": 2
|
|
2924
|
+
}
|
|
2925
|
+
}
|
|
2926
|
+
],
|
|
2927
|
+
"extendsTokenRanges": [
|
|
2928
|
+
{
|
|
2929
|
+
"startIndex": 1,
|
|
2930
|
+
"endIndex": 2
|
|
2931
|
+
},
|
|
2932
|
+
{
|
|
2933
|
+
"startIndex": 3,
|
|
2934
|
+
"endIndex": 4
|
|
2935
|
+
}
|
|
2936
|
+
]
|
|
2937
|
+
},
|
|
2938
|
+
{
|
|
2939
|
+
"kind": "Interface",
|
|
2940
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceModifiers:interface",
|
|
2941
|
+
"docComment": "",
|
|
2942
|
+
"excerptTokens": [
|
|
2943
|
+
{
|
|
2944
|
+
"kind": "Content",
|
|
2945
|
+
"text": "export interface InterfaceModifiers "
|
|
2946
|
+
}
|
|
2947
|
+
],
|
|
2948
|
+
"fileUrlPath": "src/components/interface/declaration.tsx",
|
|
2949
|
+
"releaseTag": "Public",
|
|
2950
|
+
"name": "InterfaceModifiers",
|
|
2951
|
+
"preserveMemberOrder": false,
|
|
2952
|
+
"members": [
|
|
2953
|
+
{
|
|
2954
|
+
"kind": "PropertySignature",
|
|
2955
|
+
"canonicalReference": "@alloy-js/csharp!InterfaceModifiers#partial:member",
|
|
2956
|
+
"docComment": "",
|
|
2957
|
+
"excerptTokens": [
|
|
2958
|
+
{
|
|
2959
|
+
"kind": "Content",
|
|
2960
|
+
"text": "readonly partial?: "
|
|
2961
|
+
},
|
|
2962
|
+
{
|
|
2963
|
+
"kind": "Content",
|
|
2964
|
+
"text": "boolean"
|
|
2965
|
+
},
|
|
2966
|
+
{
|
|
2967
|
+
"kind": "Content",
|
|
2968
|
+
"text": ";"
|
|
2969
|
+
}
|
|
2970
|
+
],
|
|
2971
|
+
"isReadonly": true,
|
|
2972
|
+
"isOptional": true,
|
|
2973
|
+
"releaseTag": "Public",
|
|
2974
|
+
"name": "partial",
|
|
2532
2975
|
"propertyTypeTokenRange": {
|
|
2533
2976
|
"startIndex": 1,
|
|
2534
2977
|
"endIndex": 2
|
|
@@ -2537,6 +2980,69 @@
|
|
|
2537
2980
|
],
|
|
2538
2981
|
"extendsTokenRanges": []
|
|
2539
2982
|
},
|
|
2983
|
+
{
|
|
2984
|
+
"kind": "Function",
|
|
2985
|
+
"canonicalReference": "@alloy-js/csharp!makeModifiers:function(1)",
|
|
2986
|
+
"docComment": "",
|
|
2987
|
+
"excerptTokens": [
|
|
2988
|
+
{
|
|
2989
|
+
"kind": "Content",
|
|
2990
|
+
"text": "export declare function makeModifiers<T>(obj: "
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"kind": "Reference",
|
|
2994
|
+
"text": "Array",
|
|
2995
|
+
"canonicalReference": "!Array:interface"
|
|
2996
|
+
},
|
|
2997
|
+
{
|
|
2998
|
+
"kind": "Content",
|
|
2999
|
+
"text": "<keyof T>"
|
|
3000
|
+
},
|
|
3001
|
+
{
|
|
3002
|
+
"kind": "Content",
|
|
3003
|
+
"text": "): "
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
"kind": "Content",
|
|
3007
|
+
"text": "(data: T) => string"
|
|
3008
|
+
},
|
|
3009
|
+
{
|
|
3010
|
+
"kind": "Content",
|
|
3011
|
+
"text": ";"
|
|
3012
|
+
}
|
|
3013
|
+
],
|
|
3014
|
+
"fileUrlPath": "src/modifiers.ts",
|
|
3015
|
+
"returnTypeTokenRange": {
|
|
3016
|
+
"startIndex": 4,
|
|
3017
|
+
"endIndex": 5
|
|
3018
|
+
},
|
|
3019
|
+
"releaseTag": "Public",
|
|
3020
|
+
"overloadIndex": 1,
|
|
3021
|
+
"parameters": [
|
|
3022
|
+
{
|
|
3023
|
+
"parameterName": "obj",
|
|
3024
|
+
"parameterTypeTokenRange": {
|
|
3025
|
+
"startIndex": 1,
|
|
3026
|
+
"endIndex": 3
|
|
3027
|
+
},
|
|
3028
|
+
"isOptional": false
|
|
3029
|
+
}
|
|
3030
|
+
],
|
|
3031
|
+
"typeParameters": [
|
|
3032
|
+
{
|
|
3033
|
+
"typeParameterName": "T",
|
|
3034
|
+
"constraintTokenRange": {
|
|
3035
|
+
"startIndex": 0,
|
|
3036
|
+
"endIndex": 0
|
|
3037
|
+
},
|
|
3038
|
+
"defaultTypeTokenRange": {
|
|
3039
|
+
"startIndex": 0,
|
|
3040
|
+
"endIndex": 0
|
|
3041
|
+
}
|
|
3042
|
+
}
|
|
3043
|
+
],
|
|
3044
|
+
"name": "makeModifiers"
|
|
3045
|
+
},
|
|
2540
3046
|
{
|
|
2541
3047
|
"kind": "Function",
|
|
2542
3048
|
"canonicalReference": "@alloy-js/csharp!Name:function(1)",
|