@alloy-js/csharp 0.18.0-dev.6 → 0.18.0-dev.8

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 (64) hide show
  1. package/dist/src/components/ClassDeclaration.d.ts +2 -0
  2. package/dist/src/components/ClassDeclaration.d.ts.map +1 -1
  3. package/dist/src/components/ClassDeclaration.js +6 -1
  4. package/dist/src/components/ClassMethod.d.ts +11 -2
  5. package/dist/src/components/ClassMethod.d.ts.map +1 -1
  6. package/dist/src/components/ClassMethod.js +11 -2
  7. package/dist/src/components/doc/comment.d.ts +69 -0
  8. package/dist/src/components/doc/comment.d.ts.map +1 -0
  9. package/dist/src/components/doc/comment.js +71 -0
  10. package/dist/src/components/doc/comment.test.d.ts +2 -0
  11. package/dist/src/components/doc/comment.test.d.ts.map +1 -0
  12. package/dist/src/components/doc/comment.test.js +338 -0
  13. package/dist/src/components/index.d.ts +3 -1
  14. package/dist/src/components/index.d.ts.map +1 -1
  15. package/dist/src/components/index.js +3 -1
  16. package/dist/src/components/interface/declaration.d.ts +34 -0
  17. package/dist/src/components/interface/declaration.d.ts.map +1 -0
  18. package/dist/src/components/interface/declaration.js +90 -0
  19. package/dist/src/components/interface/declaration.test.d.ts +2 -0
  20. package/dist/src/components/interface/declaration.test.d.ts.map +1 -0
  21. package/dist/src/components/interface/declaration.test.js +69 -0
  22. package/dist/src/components/interface/method.d.ts +18 -0
  23. package/dist/src/components/interface/method.d.ts.map +1 -0
  24. package/dist/src/components/interface/method.js +59 -0
  25. package/dist/src/components/interface/method.test.d.ts +2 -0
  26. package/dist/src/components/interface/method.test.d.ts.map +1 -0
  27. package/dist/src/components/interface/method.test.js +131 -0
  28. package/dist/src/components/interface/property.d.ts +21 -0
  29. package/dist/src/components/interface/property.d.ts.map +1 -0
  30. package/dist/src/components/interface/property.js +59 -0
  31. package/dist/src/components/interface/property.test.d.ts +2 -0
  32. package/dist/src/components/interface/property.test.d.ts.map +1 -0
  33. package/dist/src/components/interface/property.test.js +165 -0
  34. package/dist/src/modifiers.d.ts +0 -8
  35. package/dist/src/modifiers.d.ts.map +1 -1
  36. package/dist/src/modifiers.js +0 -4
  37. package/dist/src/name-policy.d.ts +1 -1
  38. package/dist/src/name-policy.d.ts.map +1 -1
  39. package/dist/src/name-policy.js +1 -0
  40. package/dist/test/class-method.test.js +21 -0
  41. package/dist/test/class.test.js +13 -0
  42. package/dist/test/vitest.setup.d.ts +2 -0
  43. package/dist/test/vitest.setup.d.ts.map +1 -0
  44. package/dist/test/vitest.setup.js +1 -0
  45. package/dist/tsconfig.tsbuildinfo +1 -1
  46. package/package.json +2 -2
  47. package/src/components/ClassDeclaration.tsx +4 -0
  48. package/src/components/ClassMethod.tsx +24 -3
  49. package/src/components/doc/comment.test.tsx +336 -0
  50. package/src/components/doc/comment.tsx +122 -0
  51. package/src/components/index.ts +3 -1
  52. package/src/components/interface/declaration.test.tsx +56 -0
  53. package/src/components/interface/declaration.tsx +109 -0
  54. package/src/components/interface/method.test.tsx +120 -0
  55. package/src/components/interface/method.tsx +82 -0
  56. package/src/components/interface/property.test.tsx +144 -0
  57. package/src/components/interface/property.tsx +90 -0
  58. package/src/modifiers.ts +0 -15
  59. package/src/name-policy.ts +2 -0
  60. package/temp/api.json +699 -81
  61. package/test/class-method.test.tsx +16 -0
  62. package/test/class.test.tsx +11 -0
  63. package/test/vitest.setup.ts +1 -0
  64. package/vitest.config.ts +3 -0
package/temp/api.json CHANGED
@@ -631,6 +631,34 @@
631
631
  "name": "ClassDeclarationProps",
632
632
  "preserveMemberOrder": false,
633
633
  "members": [
634
+ {
635
+ "kind": "PropertySignature",
636
+ "canonicalReference": "@alloy-js/csharp!ClassDeclarationProps#doc:member",
637
+ "docComment": "/**\n * Doc comment\n */\n",
638
+ "excerptTokens": [
639
+ {
640
+ "kind": "Content",
641
+ "text": "doc?: "
642
+ },
643
+ {
644
+ "kind": "Reference",
645
+ "text": "core.Children",
646
+ "canonicalReference": "@alloy-js/core!Children:type"
647
+ },
648
+ {
649
+ "kind": "Content",
650
+ "text": ";"
651
+ }
652
+ ],
653
+ "isReadonly": false,
654
+ "isOptional": true,
655
+ "releaseTag": "Public",
656
+ "name": "doc",
657
+ "propertyTypeTokenRange": {
658
+ "startIndex": 1,
659
+ "endIndex": 2
660
+ }
661
+ },
634
662
  {
635
663
  "kind": "PropertySignature",
636
664
  "canonicalReference": "@alloy-js/csharp!ClassDeclarationProps#name:member",
@@ -952,6 +980,132 @@
952
980
  ],
953
981
  "name": "ClassMethod"
954
982
  },
983
+ {
984
+ "kind": "Interface",
985
+ "canonicalReference": "@alloy-js/csharp!ClassMethodModifiers:interface",
986
+ "docComment": "/**\n * Method modifiers. Can only be one.\n */\n",
987
+ "excerptTokens": [
988
+ {
989
+ "kind": "Content",
990
+ "text": "export interface ClassMethodModifiers "
991
+ }
992
+ ],
993
+ "fileUrlPath": "src/components/ClassMethod.tsx",
994
+ "releaseTag": "Public",
995
+ "name": "ClassMethodModifiers",
996
+ "preserveMemberOrder": false,
997
+ "members": [
998
+ {
999
+ "kind": "PropertySignature",
1000
+ "canonicalReference": "@alloy-js/csharp!ClassMethodModifiers#abstract:member",
1001
+ "docComment": "",
1002
+ "excerptTokens": [
1003
+ {
1004
+ "kind": "Content",
1005
+ "text": "readonly abstract?: "
1006
+ },
1007
+ {
1008
+ "kind": "Content",
1009
+ "text": "boolean"
1010
+ },
1011
+ {
1012
+ "kind": "Content",
1013
+ "text": ";"
1014
+ }
1015
+ ],
1016
+ "isReadonly": true,
1017
+ "isOptional": true,
1018
+ "releaseTag": "Public",
1019
+ "name": "abstract",
1020
+ "propertyTypeTokenRange": {
1021
+ "startIndex": 1,
1022
+ "endIndex": 2
1023
+ }
1024
+ },
1025
+ {
1026
+ "kind": "PropertySignature",
1027
+ "canonicalReference": "@alloy-js/csharp!ClassMethodModifiers#sealed:member",
1028
+ "docComment": "",
1029
+ "excerptTokens": [
1030
+ {
1031
+ "kind": "Content",
1032
+ "text": "readonly sealed?: "
1033
+ },
1034
+ {
1035
+ "kind": "Content",
1036
+ "text": "boolean"
1037
+ },
1038
+ {
1039
+ "kind": "Content",
1040
+ "text": ";"
1041
+ }
1042
+ ],
1043
+ "isReadonly": true,
1044
+ "isOptional": true,
1045
+ "releaseTag": "Public",
1046
+ "name": "sealed",
1047
+ "propertyTypeTokenRange": {
1048
+ "startIndex": 1,
1049
+ "endIndex": 2
1050
+ }
1051
+ },
1052
+ {
1053
+ "kind": "PropertySignature",
1054
+ "canonicalReference": "@alloy-js/csharp!ClassMethodModifiers#static:member",
1055
+ "docComment": "",
1056
+ "excerptTokens": [
1057
+ {
1058
+ "kind": "Content",
1059
+ "text": "readonly static?: "
1060
+ },
1061
+ {
1062
+ "kind": "Content",
1063
+ "text": "boolean"
1064
+ },
1065
+ {
1066
+ "kind": "Content",
1067
+ "text": ";"
1068
+ }
1069
+ ],
1070
+ "isReadonly": true,
1071
+ "isOptional": true,
1072
+ "releaseTag": "Public",
1073
+ "name": "static",
1074
+ "propertyTypeTokenRange": {
1075
+ "startIndex": 1,
1076
+ "endIndex": 2
1077
+ }
1078
+ },
1079
+ {
1080
+ "kind": "PropertySignature",
1081
+ "canonicalReference": "@alloy-js/csharp!ClassMethodModifiers#virtual:member",
1082
+ "docComment": "",
1083
+ "excerptTokens": [
1084
+ {
1085
+ "kind": "Content",
1086
+ "text": "readonly virtual?: "
1087
+ },
1088
+ {
1089
+ "kind": "Content",
1090
+ "text": "boolean"
1091
+ },
1092
+ {
1093
+ "kind": "Content",
1094
+ "text": ";"
1095
+ }
1096
+ ],
1097
+ "isReadonly": true,
1098
+ "isOptional": true,
1099
+ "releaseTag": "Public",
1100
+ "name": "virtual",
1101
+ "propertyTypeTokenRange": {
1102
+ "startIndex": 1,
1103
+ "endIndex": 2
1104
+ }
1105
+ }
1106
+ ],
1107
+ "extendsTokenRanges": []
1108
+ },
955
1109
  {
956
1110
  "kind": "Interface",
957
1111
  "canonicalReference": "@alloy-js/csharp!ClassMethodProps:interface",
@@ -972,8 +1126,8 @@
972
1126
  },
973
1127
  {
974
1128
  "kind": "Reference",
975
- "text": "MethodModifiers",
976
- "canonicalReference": "@alloy-js/csharp!MethodModifiers:interface"
1129
+ "text": "ClassMethodModifiers",
1130
+ "canonicalReference": "@alloy-js/csharp!ClassMethodModifiers:interface"
977
1131
  },
978
1132
  {
979
1133
  "kind": "Content",
@@ -1040,6 +1194,34 @@
1040
1194
  "endIndex": 2
1041
1195
  }
1042
1196
  },
1197
+ {
1198
+ "kind": "PropertySignature",
1199
+ "canonicalReference": "@alloy-js/csharp!ClassMethodProps#doc:member",
1200
+ "docComment": "/**\n * Doc comment\n */\n",
1201
+ "excerptTokens": [
1202
+ {
1203
+ "kind": "Content",
1204
+ "text": "doc?: "
1205
+ },
1206
+ {
1207
+ "kind": "Reference",
1208
+ "text": "Children",
1209
+ "canonicalReference": "@alloy-js/core!Children:type"
1210
+ },
1211
+ {
1212
+ "kind": "Content",
1213
+ "text": ";"
1214
+ }
1215
+ ],
1216
+ "isReadonly": false,
1217
+ "isOptional": true,
1218
+ "releaseTag": "Public",
1219
+ "name": "doc",
1220
+ "propertyTypeTokenRange": {
1221
+ "startIndex": 1,
1222
+ "endIndex": 2
1223
+ }
1224
+ },
1043
1225
  {
1044
1226
  "kind": "PropertySignature",
1045
1227
  "canonicalReference": "@alloy-js/csharp!ClassMethodProps#name:member",
@@ -1405,7 +1587,7 @@
1405
1587
  },
1406
1588
  {
1407
1589
  "kind": "Content",
1408
- "text": "\"class\" | \"constant\" | \"enum\" | \"enum-member\" | \"function\" | \"interface\" | \"class-member-private\" | \"class-member-public\" | \"class-method\" | \"parameter\" | \"type-parameter\""
1590
+ "text": "\"class\" | \"constant\" | \"enum\" | \"enum-member\" | \"function\" | \"interface\" | \"class-member-private\" | \"class-member-public\" | \"class-method\" | \"class-property\" | \"parameter\" | \"type-parameter\""
1409
1591
  },
1410
1592
  {
1411
1593
  "kind": "Content",
@@ -2308,28 +2490,33 @@
2308
2490
  },
2309
2491
  {
2310
2492
  "kind": "Function",
2311
- "canonicalReference": "@alloy-js/csharp!getMethodModifier:function(1)",
2312
- "docComment": "",
2493
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclaration:function(1)",
2494
+ "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
2495
  "excerptTokens": [
2314
2496
  {
2315
2497
  "kind": "Content",
2316
- "text": "getMethodModifier: (data: "
2498
+ "text": "export declare function InterfaceDeclaration(props: "
2317
2499
  },
2318
2500
  {
2319
2501
  "kind": "Reference",
2320
- "text": "MethodModifiers",
2321
- "canonicalReference": "@alloy-js/csharp!MethodModifiers:interface"
2502
+ "text": "InterfaceDeclarationProps",
2503
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps:interface"
2322
2504
  },
2323
2505
  {
2324
2506
  "kind": "Content",
2325
- "text": ") => "
2507
+ "text": "): "
2508
+ },
2509
+ {
2510
+ "kind": "Reference",
2511
+ "text": "core.Children",
2512
+ "canonicalReference": "@alloy-js/core!Children:type"
2326
2513
  },
2327
2514
  {
2328
2515
  "kind": "Content",
2329
- "text": "string"
2516
+ "text": ";"
2330
2517
  }
2331
2518
  ],
2332
- "fileUrlPath": "src/modifiers.ts",
2519
+ "fileUrlPath": "src/components/interface/declaration.tsx",
2333
2520
  "returnTypeTokenRange": {
2334
2521
  "startIndex": 3,
2335
2522
  "endIndex": 4
@@ -2338,7 +2525,7 @@
2338
2525
  "overloadIndex": 1,
2339
2526
  "parameters": [
2340
2527
  {
2341
- "parameterName": "data",
2528
+ "parameterName": "props",
2342
2529
  "parameterTypeTokenRange": {
2343
2530
  "startIndex": 1,
2344
2531
  "endIndex": 2
@@ -2346,108 +2533,86 @@
2346
2533
  "isOptional": false
2347
2534
  }
2348
2535
  ],
2349
- "name": "getMethodModifier"
2536
+ "name": "InterfaceDeclaration"
2350
2537
  },
2351
2538
  {
2352
- "kind": "Function",
2353
- "canonicalReference": "@alloy-js/csharp!makeModifiers:function(1)",
2539
+ "kind": "Interface",
2540
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps:interface",
2354
2541
  "docComment": "",
2355
2542
  "excerptTokens": [
2356
2543
  {
2357
2544
  "kind": "Content",
2358
- "text": "export declare function makeModifiers<T>(obj: "
2545
+ "text": "export interface InterfaceDeclarationProps extends "
2359
2546
  },
2360
2547
  {
2361
2548
  "kind": "Reference",
2362
- "text": "Array",
2363
- "canonicalReference": "!Array:interface"
2549
+ "text": "Omit",
2550
+ "canonicalReference": "!Omit:type"
2364
2551
  },
2365
2552
  {
2366
2553
  "kind": "Content",
2367
- "text": "<keyof T>"
2554
+ "text": "<"
2368
2555
  },
2369
2556
  {
2370
- "kind": "Content",
2371
- "text": "): "
2557
+ "kind": "Reference",
2558
+ "text": "core.DeclarationProps",
2559
+ "canonicalReference": "@alloy-js/core!DeclarationProps:type"
2372
2560
  },
2373
2561
  {
2374
2562
  "kind": "Content",
2375
- "text": "(data: T) => string"
2563
+ "text": ", \"nameKind\">"
2376
2564
  },
2377
2565
  {
2378
2566
  "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": [
2567
+ "text": ", "
2568
+ },
2390
2569
  {
2391
- "parameterName": "obj",
2392
- "parameterTypeTokenRange": {
2393
- "startIndex": 1,
2394
- "endIndex": 3
2395
- },
2396
- "isOptional": false
2397
- }
2398
- ],
2399
- "typeParameters": [
2570
+ "kind": "Reference",
2571
+ "text": "AccessModifiers",
2572
+ "canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
2573
+ },
2400
2574
  {
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
- },
2414
- {
2415
- "kind": "Interface",
2416
- "canonicalReference": "@alloy-js/csharp!MethodModifiers:interface",
2417
- "docComment": "/**\n * Method modifiers. Can only be one.\n */\n",
2418
- "excerptTokens": [
2575
+ "kind": "Content",
2576
+ "text": ", "
2577
+ },
2578
+ {
2579
+ "kind": "Reference",
2580
+ "text": "InterfaceModifiers",
2581
+ "canonicalReference": "@alloy-js/csharp!InterfaceModifiers:interface"
2582
+ },
2419
2583
  {
2420
2584
  "kind": "Content",
2421
- "text": "export interface MethodModifiers "
2585
+ "text": " "
2422
2586
  }
2423
2587
  ],
2424
- "fileUrlPath": "src/modifiers.ts",
2588
+ "fileUrlPath": "src/components/interface/declaration.tsx",
2425
2589
  "releaseTag": "Public",
2426
- "name": "MethodModifiers",
2590
+ "name": "InterfaceDeclarationProps",
2427
2591
  "preserveMemberOrder": false,
2428
2592
  "members": [
2429
2593
  {
2430
2594
  "kind": "PropertySignature",
2431
- "canonicalReference": "@alloy-js/csharp!MethodModifiers#abstract:member",
2432
- "docComment": "",
2595
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#doc:member",
2596
+ "docComment": "/**\n * Doc comment\n */\n",
2433
2597
  "excerptTokens": [
2434
2598
  {
2435
2599
  "kind": "Content",
2436
- "text": "readonly abstract?: "
2600
+ "text": "doc?: "
2437
2601
  },
2438
2602
  {
2439
- "kind": "Content",
2440
- "text": "boolean"
2603
+ "kind": "Reference",
2604
+ "text": "core.Children",
2605
+ "canonicalReference": "@alloy-js/core!Children:type"
2441
2606
  },
2442
2607
  {
2443
2608
  "kind": "Content",
2444
2609
  "text": ";"
2445
2610
  }
2446
2611
  ],
2447
- "isReadonly": true,
2612
+ "isReadonly": false,
2448
2613
  "isOptional": true,
2449
2614
  "releaseTag": "Public",
2450
- "name": "abstract",
2615
+ "name": "doc",
2451
2616
  "propertyTypeTokenRange": {
2452
2617
  "startIndex": 1,
2453
2618
  "endIndex": 2
@@ -2455,26 +2620,54 @@
2455
2620
  },
2456
2621
  {
2457
2622
  "kind": "PropertySignature",
2458
- "canonicalReference": "@alloy-js/csharp!MethodModifiers#sealed:member",
2623
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#name:member",
2459
2624
  "docComment": "",
2460
2625
  "excerptTokens": [
2461
2626
  {
2462
2627
  "kind": "Content",
2463
- "text": "readonly sealed?: "
2628
+ "text": "name: "
2464
2629
  },
2465
2630
  {
2466
2631
  "kind": "Content",
2467
- "text": "boolean"
2632
+ "text": "string"
2468
2633
  },
2469
2634
  {
2470
2635
  "kind": "Content",
2471
2636
  "text": ";"
2472
2637
  }
2473
2638
  ],
2474
- "isReadonly": true,
2639
+ "isReadonly": false,
2640
+ "isOptional": false,
2641
+ "releaseTag": "Public",
2642
+ "name": "name",
2643
+ "propertyTypeTokenRange": {
2644
+ "startIndex": 1,
2645
+ "endIndex": 2
2646
+ }
2647
+ },
2648
+ {
2649
+ "kind": "PropertySignature",
2650
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#refkey:member",
2651
+ "docComment": "",
2652
+ "excerptTokens": [
2653
+ {
2654
+ "kind": "Content",
2655
+ "text": "refkey?: "
2656
+ },
2657
+ {
2658
+ "kind": "Reference",
2659
+ "text": "core.Refkey",
2660
+ "canonicalReference": "@alloy-js/core!Refkey:type"
2661
+ },
2662
+ {
2663
+ "kind": "Content",
2664
+ "text": ";"
2665
+ }
2666
+ ],
2667
+ "isReadonly": false,
2475
2668
  "isOptional": true,
2476
2669
  "releaseTag": "Public",
2477
- "name": "sealed",
2670
+ "name": "refkey",
2478
2671
  "propertyTypeTokenRange": {
2479
2672
  "startIndex": 1,
2480
2673
  "endIndex": 2
@@ -2482,12 +2675,131 @@
2482
2675
  },
2483
2676
  {
2484
2677
  "kind": "PropertySignature",
2485
- "canonicalReference": "@alloy-js/csharp!MethodModifiers#static:member",
2678
+ "canonicalReference": "@alloy-js/csharp!InterfaceDeclarationProps#typeParameters:member",
2486
2679
  "docComment": "",
2487
2680
  "excerptTokens": [
2488
2681
  {
2489
2682
  "kind": "Content",
2490
- "text": "readonly static?: "
2683
+ "text": "typeParameters?: "
2684
+ },
2685
+ {
2686
+ "kind": "Reference",
2687
+ "text": "Record",
2688
+ "canonicalReference": "!Record:type"
2689
+ },
2690
+ {
2691
+ "kind": "Content",
2692
+ "text": "<string, "
2693
+ },
2694
+ {
2695
+ "kind": "Reference",
2696
+ "text": "core.Refkey",
2697
+ "canonicalReference": "@alloy-js/core!Refkey:type"
2698
+ },
2699
+ {
2700
+ "kind": "Content",
2701
+ "text": ">"
2702
+ },
2703
+ {
2704
+ "kind": "Content",
2705
+ "text": ";"
2706
+ }
2707
+ ],
2708
+ "isReadonly": false,
2709
+ "isOptional": true,
2710
+ "releaseTag": "Public",
2711
+ "name": "typeParameters",
2712
+ "propertyTypeTokenRange": {
2713
+ "startIndex": 1,
2714
+ "endIndex": 5
2715
+ }
2716
+ }
2717
+ ],
2718
+ "extendsTokenRanges": [
2719
+ {
2720
+ "startIndex": 1,
2721
+ "endIndex": 5
2722
+ },
2723
+ {
2724
+ "startIndex": 6,
2725
+ "endIndex": 7
2726
+ },
2727
+ {
2728
+ "startIndex": 8,
2729
+ "endIndex": 9
2730
+ }
2731
+ ]
2732
+ },
2733
+ {
2734
+ "kind": "Function",
2735
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethod:function(1)",
2736
+ "docComment": "",
2737
+ "excerptTokens": [
2738
+ {
2739
+ "kind": "Content",
2740
+ "text": "export declare function InterfaceMethod(props: "
2741
+ },
2742
+ {
2743
+ "kind": "Reference",
2744
+ "text": "InterfaceMethodProps",
2745
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps:interface"
2746
+ },
2747
+ {
2748
+ "kind": "Content",
2749
+ "text": "): "
2750
+ },
2751
+ {
2752
+ "kind": "Reference",
2753
+ "text": "Children",
2754
+ "canonicalReference": "@alloy-js/core!Children:type"
2755
+ },
2756
+ {
2757
+ "kind": "Content",
2758
+ "text": ";"
2759
+ }
2760
+ ],
2761
+ "fileUrlPath": "src/components/interface/method.tsx",
2762
+ "returnTypeTokenRange": {
2763
+ "startIndex": 3,
2764
+ "endIndex": 4
2765
+ },
2766
+ "releaseTag": "Public",
2767
+ "overloadIndex": 1,
2768
+ "parameters": [
2769
+ {
2770
+ "parameterName": "props",
2771
+ "parameterTypeTokenRange": {
2772
+ "startIndex": 1,
2773
+ "endIndex": 2
2774
+ },
2775
+ "isOptional": false
2776
+ }
2777
+ ],
2778
+ "name": "InterfaceMethod"
2779
+ },
2780
+ {
2781
+ "kind": "Interface",
2782
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodModifiers:interface",
2783
+ "docComment": "/**\n * Method modifiers. Can only be one.\n */\n",
2784
+ "excerptTokens": [
2785
+ {
2786
+ "kind": "Content",
2787
+ "text": "export interface InterfaceMethodModifiers "
2788
+ }
2789
+ ],
2790
+ "fileUrlPath": "src/components/interface/method.tsx",
2791
+ "releaseTag": "Public",
2792
+ "name": "InterfaceMethodModifiers",
2793
+ "preserveMemberOrder": false,
2794
+ "members": [
2795
+ {
2796
+ "kind": "PropertySignature",
2797
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodModifiers#new:member",
2798
+ "docComment": "",
2799
+ "excerptTokens": [
2800
+ {
2801
+ "kind": "Content",
2802
+ "text": "readonly new?: "
2491
2803
  },
2492
2804
  {
2493
2805
  "kind": "Content",
@@ -2501,20 +2813,263 @@
2501
2813
  "isReadonly": true,
2502
2814
  "isOptional": true,
2503
2815
  "releaseTag": "Public",
2504
- "name": "static",
2816
+ "name": "new",
2505
2817
  "propertyTypeTokenRange": {
2506
2818
  "startIndex": 1,
2507
2819
  "endIndex": 2
2508
2820
  }
2821
+ }
2822
+ ],
2823
+ "extendsTokenRanges": []
2824
+ },
2825
+ {
2826
+ "kind": "Interface",
2827
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps:interface",
2828
+ "docComment": "",
2829
+ "excerptTokens": [
2830
+ {
2831
+ "kind": "Content",
2832
+ "text": "export interface InterfaceMethodProps extends "
2509
2833
  },
2834
+ {
2835
+ "kind": "Reference",
2836
+ "text": "AccessModifiers",
2837
+ "canonicalReference": "@alloy-js/csharp!AccessModifiers:interface"
2838
+ },
2839
+ {
2840
+ "kind": "Content",
2841
+ "text": ", "
2842
+ },
2843
+ {
2844
+ "kind": "Reference",
2845
+ "text": "InterfaceMethodModifiers",
2846
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodModifiers:interface"
2847
+ },
2848
+ {
2849
+ "kind": "Content",
2850
+ "text": " "
2851
+ }
2852
+ ],
2853
+ "fileUrlPath": "src/components/interface/method.tsx",
2854
+ "releaseTag": "Public",
2855
+ "name": "InterfaceMethodProps",
2856
+ "preserveMemberOrder": false,
2857
+ "members": [
2510
2858
  {
2511
2859
  "kind": "PropertySignature",
2512
- "canonicalReference": "@alloy-js/csharp!MethodModifiers#virtual:member",
2860
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#children:member",
2513
2861
  "docComment": "",
2514
2862
  "excerptTokens": [
2515
2863
  {
2516
2864
  "kind": "Content",
2517
- "text": "readonly virtual?: "
2865
+ "text": "children?: "
2866
+ },
2867
+ {
2868
+ "kind": "Reference",
2869
+ "text": "Children",
2870
+ "canonicalReference": "@alloy-js/core!Children:type"
2871
+ },
2872
+ {
2873
+ "kind": "Content",
2874
+ "text": ";"
2875
+ }
2876
+ ],
2877
+ "isReadonly": false,
2878
+ "isOptional": true,
2879
+ "releaseTag": "Public",
2880
+ "name": "children",
2881
+ "propertyTypeTokenRange": {
2882
+ "startIndex": 1,
2883
+ "endIndex": 2
2884
+ }
2885
+ },
2886
+ {
2887
+ "kind": "PropertySignature",
2888
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#doc:member",
2889
+ "docComment": "/**\n * Doc comment\n */\n",
2890
+ "excerptTokens": [
2891
+ {
2892
+ "kind": "Content",
2893
+ "text": "doc?: "
2894
+ },
2895
+ {
2896
+ "kind": "Reference",
2897
+ "text": "Children",
2898
+ "canonicalReference": "@alloy-js/core!Children:type"
2899
+ },
2900
+ {
2901
+ "kind": "Content",
2902
+ "text": ";"
2903
+ }
2904
+ ],
2905
+ "isReadonly": false,
2906
+ "isOptional": true,
2907
+ "releaseTag": "Public",
2908
+ "name": "doc",
2909
+ "propertyTypeTokenRange": {
2910
+ "startIndex": 1,
2911
+ "endIndex": 2
2912
+ }
2913
+ },
2914
+ {
2915
+ "kind": "PropertySignature",
2916
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#name:member",
2917
+ "docComment": "",
2918
+ "excerptTokens": [
2919
+ {
2920
+ "kind": "Content",
2921
+ "text": "name: "
2922
+ },
2923
+ {
2924
+ "kind": "Content",
2925
+ "text": "string"
2926
+ },
2927
+ {
2928
+ "kind": "Content",
2929
+ "text": ";"
2930
+ }
2931
+ ],
2932
+ "isReadonly": false,
2933
+ "isOptional": false,
2934
+ "releaseTag": "Public",
2935
+ "name": "name",
2936
+ "propertyTypeTokenRange": {
2937
+ "startIndex": 1,
2938
+ "endIndex": 2
2939
+ }
2940
+ },
2941
+ {
2942
+ "kind": "PropertySignature",
2943
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#parameters:member",
2944
+ "docComment": "",
2945
+ "excerptTokens": [
2946
+ {
2947
+ "kind": "Content",
2948
+ "text": "parameters?: "
2949
+ },
2950
+ {
2951
+ "kind": "Reference",
2952
+ "text": "Array",
2953
+ "canonicalReference": "!Array:interface"
2954
+ },
2955
+ {
2956
+ "kind": "Content",
2957
+ "text": "<"
2958
+ },
2959
+ {
2960
+ "kind": "Reference",
2961
+ "text": "ParameterProps",
2962
+ "canonicalReference": "@alloy-js/csharp!ParameterProps:interface"
2963
+ },
2964
+ {
2965
+ "kind": "Content",
2966
+ "text": ">"
2967
+ },
2968
+ {
2969
+ "kind": "Content",
2970
+ "text": ";"
2971
+ }
2972
+ ],
2973
+ "isReadonly": false,
2974
+ "isOptional": true,
2975
+ "releaseTag": "Public",
2976
+ "name": "parameters",
2977
+ "propertyTypeTokenRange": {
2978
+ "startIndex": 1,
2979
+ "endIndex": 5
2980
+ }
2981
+ },
2982
+ {
2983
+ "kind": "PropertySignature",
2984
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#refkey:member",
2985
+ "docComment": "",
2986
+ "excerptTokens": [
2987
+ {
2988
+ "kind": "Content",
2989
+ "text": "refkey?: "
2990
+ },
2991
+ {
2992
+ "kind": "Reference",
2993
+ "text": "Refkey",
2994
+ "canonicalReference": "@alloy-js/core!Refkey:type"
2995
+ },
2996
+ {
2997
+ "kind": "Content",
2998
+ "text": ";"
2999
+ }
3000
+ ],
3001
+ "isReadonly": false,
3002
+ "isOptional": true,
3003
+ "releaseTag": "Public",
3004
+ "name": "refkey",
3005
+ "propertyTypeTokenRange": {
3006
+ "startIndex": 1,
3007
+ "endIndex": 2
3008
+ }
3009
+ },
3010
+ {
3011
+ "kind": "PropertySignature",
3012
+ "canonicalReference": "@alloy-js/csharp!InterfaceMethodProps#returns:member",
3013
+ "docComment": "",
3014
+ "excerptTokens": [
3015
+ {
3016
+ "kind": "Content",
3017
+ "text": "returns?: "
3018
+ },
3019
+ {
3020
+ "kind": "Reference",
3021
+ "text": "Children",
3022
+ "canonicalReference": "@alloy-js/core!Children:type"
3023
+ },
3024
+ {
3025
+ "kind": "Content",
3026
+ "text": ";"
3027
+ }
3028
+ ],
3029
+ "isReadonly": false,
3030
+ "isOptional": true,
3031
+ "releaseTag": "Public",
3032
+ "name": "returns",
3033
+ "propertyTypeTokenRange": {
3034
+ "startIndex": 1,
3035
+ "endIndex": 2
3036
+ }
3037
+ }
3038
+ ],
3039
+ "extendsTokenRanges": [
3040
+ {
3041
+ "startIndex": 1,
3042
+ "endIndex": 2
3043
+ },
3044
+ {
3045
+ "startIndex": 3,
3046
+ "endIndex": 4
3047
+ }
3048
+ ]
3049
+ },
3050
+ {
3051
+ "kind": "Interface",
3052
+ "canonicalReference": "@alloy-js/csharp!InterfaceModifiers:interface",
3053
+ "docComment": "",
3054
+ "excerptTokens": [
3055
+ {
3056
+ "kind": "Content",
3057
+ "text": "export interface InterfaceModifiers "
3058
+ }
3059
+ ],
3060
+ "fileUrlPath": "src/components/interface/declaration.tsx",
3061
+ "releaseTag": "Public",
3062
+ "name": "InterfaceModifiers",
3063
+ "preserveMemberOrder": false,
3064
+ "members": [
3065
+ {
3066
+ "kind": "PropertySignature",
3067
+ "canonicalReference": "@alloy-js/csharp!InterfaceModifiers#partial:member",
3068
+ "docComment": "",
3069
+ "excerptTokens": [
3070
+ {
3071
+ "kind": "Content",
3072
+ "text": "readonly partial?: "
2518
3073
  },
2519
3074
  {
2520
3075
  "kind": "Content",
@@ -2528,7 +3083,7 @@
2528
3083
  "isReadonly": true,
2529
3084
  "isOptional": true,
2530
3085
  "releaseTag": "Public",
2531
- "name": "virtual",
3086
+ "name": "partial",
2532
3087
  "propertyTypeTokenRange": {
2533
3088
  "startIndex": 1,
2534
3089
  "endIndex": 2
@@ -2537,6 +3092,69 @@
2537
3092
  ],
2538
3093
  "extendsTokenRanges": []
2539
3094
  },
3095
+ {
3096
+ "kind": "Function",
3097
+ "canonicalReference": "@alloy-js/csharp!makeModifiers:function(1)",
3098
+ "docComment": "",
3099
+ "excerptTokens": [
3100
+ {
3101
+ "kind": "Content",
3102
+ "text": "export declare function makeModifiers<T>(obj: "
3103
+ },
3104
+ {
3105
+ "kind": "Reference",
3106
+ "text": "Array",
3107
+ "canonicalReference": "!Array:interface"
3108
+ },
3109
+ {
3110
+ "kind": "Content",
3111
+ "text": "<keyof T>"
3112
+ },
3113
+ {
3114
+ "kind": "Content",
3115
+ "text": "): "
3116
+ },
3117
+ {
3118
+ "kind": "Content",
3119
+ "text": "(data: T) => string"
3120
+ },
3121
+ {
3122
+ "kind": "Content",
3123
+ "text": ";"
3124
+ }
3125
+ ],
3126
+ "fileUrlPath": "src/modifiers.ts",
3127
+ "returnTypeTokenRange": {
3128
+ "startIndex": 4,
3129
+ "endIndex": 5
3130
+ },
3131
+ "releaseTag": "Public",
3132
+ "overloadIndex": 1,
3133
+ "parameters": [
3134
+ {
3135
+ "parameterName": "obj",
3136
+ "parameterTypeTokenRange": {
3137
+ "startIndex": 1,
3138
+ "endIndex": 3
3139
+ },
3140
+ "isOptional": false
3141
+ }
3142
+ ],
3143
+ "typeParameters": [
3144
+ {
3145
+ "typeParameterName": "T",
3146
+ "constraintTokenRange": {
3147
+ "startIndex": 0,
3148
+ "endIndex": 0
3149
+ },
3150
+ "defaultTypeTokenRange": {
3151
+ "startIndex": 0,
3152
+ "endIndex": 0
3153
+ }
3154
+ }
3155
+ ],
3156
+ "name": "makeModifiers"
3157
+ },
2540
3158
  {
2541
3159
  "kind": "Function",
2542
3160
  "canonicalReference": "@alloy-js/csharp!Name:function(1)",