@alloy-js/java 0.5.0 → 0.6.0

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 (176) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/src/components/Annotation.d.ts +4 -4
  3. package/dist/src/components/Annotation.d.ts.map +1 -1
  4. package/dist/src/components/Annotation.js +27 -5
  5. package/dist/src/components/Annotation.js.map +1 -1
  6. package/dist/src/components/ArgumentList.d.ts +12 -0
  7. package/dist/src/components/ArgumentList.d.ts.map +1 -0
  8. package/dist/src/components/ArgumentList.js +33 -0
  9. package/dist/src/components/ArgumentList.js.map +1 -0
  10. package/dist/src/components/Class.d.ts +4 -4
  11. package/dist/src/components/Class.d.ts.map +1 -1
  12. package/dist/src/components/Class.js +33 -14
  13. package/dist/src/components/Class.js.map +1 -1
  14. package/dist/src/components/Constructor.d.ts +3 -3
  15. package/dist/src/components/Constructor.d.ts.map +1 -1
  16. package/dist/src/components/Constructor.js +9 -10
  17. package/dist/src/components/Constructor.js.map +1 -1
  18. package/dist/src/components/Declaration.d.ts.map +1 -1
  19. package/dist/src/components/Declaration.js +0 -1
  20. package/dist/src/components/Declaration.js.map +1 -1
  21. package/dist/src/components/Enum.d.ts +14 -6
  22. package/dist/src/components/Enum.d.ts.map +1 -1
  23. package/dist/src/components/Enum.js +38 -16
  24. package/dist/src/components/Enum.js.map +1 -1
  25. package/dist/src/components/ExtendsClause.d.ts +9 -0
  26. package/dist/src/components/ExtendsClause.d.ts.map +1 -0
  27. package/dist/src/components/ExtendsClause.js +28 -0
  28. package/dist/src/components/ExtendsClause.js.map +1 -0
  29. package/dist/src/components/ImplementsClause.d.ts +9 -0
  30. package/dist/src/components/ImplementsClause.d.ts.map +1 -0
  31. package/dist/src/components/ImplementsClause.js +28 -0
  32. package/dist/src/components/ImplementsClause.js.map +1 -0
  33. package/dist/src/components/ImportStatement.d.ts +1 -1
  34. package/dist/src/components/ImportStatement.d.ts.map +1 -1
  35. package/dist/src/components/ImportStatement.js +1 -1
  36. package/dist/src/components/ImportStatement.js.map +1 -1
  37. package/dist/src/components/Interface.d.ts +4 -4
  38. package/dist/src/components/Interface.d.ts.map +1 -1
  39. package/dist/src/components/Interface.js +23 -16
  40. package/dist/src/components/Interface.js.map +1 -1
  41. package/dist/src/components/MavenProject.d.ts +4 -2
  42. package/dist/src/components/MavenProject.d.ts.map +1 -1
  43. package/dist/src/components/MavenProject.js +183 -122
  44. package/dist/src/components/MavenProject.js.map +1 -1
  45. package/dist/src/components/Method.d.ts +3 -3
  46. package/dist/src/components/Method.d.ts.map +1 -1
  47. package/dist/src/components/Method.js +8 -4
  48. package/dist/src/components/Method.js.map +1 -1
  49. package/dist/src/{object-modifiers.d.ts → components/Modifiers.d.ts} +6 -3
  50. package/dist/src/components/Modifiers.d.ts.map +1 -0
  51. package/dist/src/components/Modifiers.js +27 -0
  52. package/dist/src/components/Modifiers.js.map +1 -0
  53. package/dist/src/components/Name.js +1 -1
  54. package/dist/src/components/Name.js.map +1 -1
  55. package/dist/src/components/NamedArgumentList.d.ts +11 -0
  56. package/dist/src/components/NamedArgumentList.d.ts.map +1 -0
  57. package/dist/src/components/NamedArgumentList.js +30 -0
  58. package/dist/src/components/NamedArgumentList.js.map +1 -0
  59. package/dist/src/components/ObjectDeclaration.d.ts +3 -3
  60. package/dist/src/components/ObjectDeclaration.d.ts.map +1 -1
  61. package/dist/src/components/ObjectDeclaration.js +8 -4
  62. package/dist/src/components/ObjectDeclaration.js.map +1 -1
  63. package/dist/src/components/PackageDirectory.d.ts.map +1 -1
  64. package/dist/src/components/PackageDirectory.js.map +1 -1
  65. package/dist/src/components/Parameters.d.ts +3 -3
  66. package/dist/src/components/Parameters.d.ts.map +1 -1
  67. package/dist/src/components/Parameters.js +1 -1
  68. package/dist/src/components/Parameters.js.map +1 -1
  69. package/dist/src/components/ProjectDirectory.d.ts.map +1 -1
  70. package/dist/src/components/ProjectDirectory.js +3 -3
  71. package/dist/src/components/ProjectDirectory.js.map +1 -1
  72. package/dist/src/components/Reference.js +1 -1
  73. package/dist/src/components/Reference.js.map +1 -1
  74. package/dist/src/components/SourceFile.d.ts.map +1 -1
  75. package/dist/src/components/SourceFile.js +3 -2
  76. package/dist/src/components/SourceFile.js.map +1 -1
  77. package/dist/src/components/TypeArguments.d.ts +24 -0
  78. package/dist/src/components/TypeArguments.d.ts.map +1 -0
  79. package/dist/src/components/TypeArguments.js +82 -0
  80. package/dist/src/components/TypeArguments.js.map +1 -0
  81. package/dist/src/components/TypeParameters.d.ts +9 -0
  82. package/dist/src/components/TypeParameters.d.ts.map +1 -0
  83. package/dist/src/components/TypeParameters.js +40 -0
  84. package/dist/src/components/TypeParameters.js.map +1 -0
  85. package/dist/src/components/Variable.d.ts +5 -5
  86. package/dist/src/components/Variable.d.ts.map +1 -1
  87. package/dist/src/components/Variable.js +4 -3
  88. package/dist/src/components/Variable.js.map +1 -1
  89. package/dist/src/components/index.d.ts +8 -2
  90. package/dist/src/components/index.d.ts.map +1 -1
  91. package/dist/src/components/index.js +8 -2
  92. package/dist/src/components/index.js.map +1 -1
  93. package/dist/src/components/stc/index.d.ts +37 -17
  94. package/dist/src/components/stc/index.d.ts.map +1 -1
  95. package/dist/src/components/stc/index.js +7 -2
  96. package/dist/src/components/stc/index.js.map +1 -1
  97. package/dist/src/index.d.ts +0 -3
  98. package/dist/src/index.d.ts.map +1 -1
  99. package/dist/src/index.js +0 -3
  100. package/dist/src/index.js.map +1 -1
  101. package/dist/test/maven.test.d.ts +2 -0
  102. package/dist/test/maven.test.d.ts.map +1 -0
  103. package/dist/test/type-arguments.test.d.ts +2 -0
  104. package/dist/test/type-arguments.test.d.ts.map +1 -0
  105. package/dist/test/utils.d.ts +3 -3
  106. package/dist/test/utils.d.ts.map +1 -1
  107. package/dist/tsconfig.tsbuildinfo +1 -1
  108. package/package.json +3 -5
  109. package/src/components/Annotation.tsx +24 -13
  110. package/src/components/ArgumentList.tsx +29 -0
  111. package/src/components/Class.tsx +24 -20
  112. package/src/components/Constructor.tsx +11 -10
  113. package/src/components/Declaration.tsx +1 -3
  114. package/src/components/Enum.tsx +39 -23
  115. package/src/components/ExtendsClause.tsx +19 -0
  116. package/src/components/ImplementsClause.tsx +19 -0
  117. package/src/components/ImportStatement.tsx +5 -2
  118. package/src/components/Interface.tsx +20 -20
  119. package/src/components/MavenProject.tsx +256 -121
  120. package/src/components/Method.tsx +12 -10
  121. package/src/components/Modifiers.tsx +54 -0
  122. package/src/components/NamedArgumentList.tsx +31 -0
  123. package/src/components/ObjectDeclaration.tsx +6 -6
  124. package/src/components/PackageDirectory.tsx +14 -7
  125. package/src/components/Parameters.tsx +4 -4
  126. package/src/components/ProjectDirectory.tsx +7 -5
  127. package/src/components/SourceFile.tsx +15 -11
  128. package/src/components/TypeArguments.tsx +88 -0
  129. package/src/components/TypeParameters.tsx +34 -0
  130. package/src/components/Variable.tsx +6 -6
  131. package/src/components/index.ts +8 -2
  132. package/src/components/stc/index.ts +7 -2
  133. package/src/index.ts +0 -3
  134. package/temp/api.json +1455 -963
  135. package/test/annotation.test.tsx +38 -25
  136. package/test/class.test.tsx +32 -27
  137. package/test/constructor.test.tsx +24 -25
  138. package/test/enum.test.tsx +28 -25
  139. package/test/externals.test.tsx +13 -5
  140. package/test/interface.test.tsx +20 -15
  141. package/test/{maven.tsx → maven.test.tsx} +15 -13
  142. package/test/method.test.tsx +39 -23
  143. package/test/package.test.tsx +2 -3
  144. package/test/reference.test.tsx +14 -12
  145. package/test/{generics.tsx → type-arguments.test.tsx} +6 -6
  146. package/test/utils.tsx +10 -6
  147. package/test/values.test.tsx +1 -3
  148. package/test/variables.test.tsx +7 -7
  149. package/dist/src/arguments.d.ts +0 -15
  150. package/dist/src/arguments.d.ts.map +0 -1
  151. package/dist/src/arguments.js +0 -27
  152. package/dist/src/arguments.js.map +0 -1
  153. package/dist/src/components/Block.d.ts +0 -6
  154. package/dist/src/components/Block.d.ts.map +0 -1
  155. package/dist/src/components/Block.js +0 -4
  156. package/dist/src/components/Block.js.map +0 -1
  157. package/dist/src/components/Generics.d.ts +0 -6
  158. package/dist/src/components/Generics.d.ts.map +0 -1
  159. package/dist/src/components/Generics.js +0 -8
  160. package/dist/src/components/Generics.js.map +0 -1
  161. package/dist/src/generics.d.ts +0 -28
  162. package/dist/src/generics.d.ts.map +0 -1
  163. package/dist/src/generics.js +0 -51
  164. package/dist/src/generics.js.map +0 -1
  165. package/dist/src/object-modifiers.d.ts.map +0 -1
  166. package/dist/src/object-modifiers.js +0 -31
  167. package/dist/src/object-modifiers.js.map +0 -1
  168. package/dist/test/generics.d.ts +0 -2
  169. package/dist/test/generics.d.ts.map +0 -1
  170. package/dist/test/maven.d.ts +0 -2
  171. package/dist/test/maven.d.ts.map +0 -1
  172. package/src/arguments.ts +0 -30
  173. package/src/components/Block.tsx +0 -8
  174. package/src/components/Generics.tsx +0 -12
  175. package/src/generics.ts +0 -59
  176. package/src/object-modifiers.ts +0 -48
@@ -3,29 +3,37 @@ export declare const Annotation: (props: base.AnnotationProps) => import("@alloy
3
3
  code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.AnnotationProps>;
4
4
  children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.AnnotationProps>;
5
5
  };
6
- export declare const Block: (props?: base.BlockProps | undefined) => import("@alloy-js/core").ComponentCreator<base.BlockProps> & {
7
- code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.BlockProps>;
8
- children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.BlockProps>;
6
+ export declare const ArgumentList: (props?: base.ArgumentListProps | undefined) => import("@alloy-js/core").ComponentCreator<base.ArgumentListProps> & {
7
+ code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ArgumentListProps>;
8
+ children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ArgumentListProps>;
9
9
  };
10
- export declare const Class: (props: base.ClassProps) => import("@alloy-js/core").ComponentCreator<base.ClassProps> & {
10
+ export declare const Class: (props: Omit<base.ClassProps, "children"> & Partial<Pick<base.ClassProps, "children">>) => import("@alloy-js/core").ComponentCreator<base.ClassProps> & {
11
11
  code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ClassProps>;
12
12
  children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ClassProps>;
13
13
  };
14
- export declare const Constructor: (props?: base.ConstructorProps | undefined) => import("@alloy-js/core").ComponentCreator<base.ConstructorProps> & {
14
+ export declare const Constructor: (props?: (Omit<base.ConstructorProps, "children"> & Partial<Pick<base.ConstructorProps, "children">>) | undefined) => import("@alloy-js/core").ComponentCreator<base.ConstructorProps> & {
15
15
  code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ConstructorProps>;
16
16
  children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ConstructorProps>;
17
17
  };
18
- export declare const Declaration: (props: base.DeclarationProps) => import("@alloy-js/core").ComponentCreator<base.DeclarationProps> & {
18
+ export declare const Declaration: (props: Omit<base.DeclarationProps, "children"> & Partial<Pick<base.DeclarationProps, "children">>) => import("@alloy-js/core").ComponentCreator<base.DeclarationProps> & {
19
19
  code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.DeclarationProps>;
20
20
  children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.DeclarationProps>;
21
21
  };
22
- export declare const Enum: (props: base.EnumProps) => import("@alloy-js/core").ComponentCreator<base.EnumProps> & {
22
+ export declare const Enum: (props: Omit<base.EnumProps, "children"> & Partial<Pick<base.EnumProps, "children">>) => import("@alloy-js/core").ComponentCreator<base.EnumProps> & {
23
23
  code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.EnumProps>;
24
24
  children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.EnumProps>;
25
25
  };
26
- export declare const Generics: (props?: base.GenericsProps | undefined) => import("@alloy-js/core").ComponentCreator<base.GenericsProps> & {
27
- code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.GenericsProps>;
28
- children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.GenericsProps>;
26
+ export declare const ExtendsClause: (props: base.ExtendsClauseProps) => import("@alloy-js/core").ComponentCreator<base.ExtendsClauseProps> & {
27
+ code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ExtendsClauseProps>;
28
+ children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ExtendsClauseProps>;
29
+ };
30
+ export declare const ImplementsClause: (props: base.ImplementsClauseProps) => import("@alloy-js/core").ComponentCreator<base.ImplementsClauseProps> & {
31
+ code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ImplementsClauseProps>;
32
+ children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ImplementsClauseProps>;
33
+ };
34
+ export declare const TypeArguments: (props?: base.TypeArgumentsProps | undefined) => import("@alloy-js/core").ComponentCreator<base.TypeArgumentsProps> & {
35
+ code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.TypeArgumentsProps>;
36
+ children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.TypeArgumentsProps>;
29
37
  };
30
38
  export declare const EnumMember: (props: base.EnumMemberProps) => import("@alloy-js/core").ComponentCreator<base.EnumMemberProps> & {
31
39
  code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.EnumMemberProps>;
@@ -35,7 +43,7 @@ export declare const ImportStatement: (props: base.ImportSymbol) => import("@all
35
43
  code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ImportSymbol>;
36
44
  children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ImportSymbol>;
37
45
  };
38
- export declare const Interface: (props: base.InterfaceProps) => import("@alloy-js/core").ComponentCreator<base.InterfaceProps> & {
46
+ export declare const Interface: (props: Omit<base.InterfaceProps, "children"> & Partial<Pick<base.InterfaceProps, "children">>) => import("@alloy-js/core").ComponentCreator<base.InterfaceProps> & {
39
47
  code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.InterfaceProps>;
40
48
  children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.InterfaceProps>;
41
49
  };
@@ -43,19 +51,23 @@ export declare const MavenProject: (props: base.MavenProjectProps) => import("@a
43
51
  code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.MavenProjectProps>;
44
52
  children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.MavenProjectProps>;
45
53
  };
46
- export declare const Method: (props: base.MethodProps) => import("@alloy-js/core").ComponentCreator<base.MethodProps> & {
54
+ export declare const Method: (props: Omit<base.MethodProps, "children"> & Partial<Pick<base.MethodProps, "children">>) => import("@alloy-js/core").ComponentCreator<base.MethodProps> & {
47
55
  code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.MethodProps>;
48
56
  children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.MethodProps>;
49
57
  };
50
- export declare const Name: (props?: {} | undefined) => import("@alloy-js/core").ComponentCreator<{}> & {
58
+ export declare const Modifiers: (props?: base.ModifierProps | undefined) => import("@alloy-js/core").ComponentCreator<base.ModifierProps> & {
59
+ code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ModifierProps>;
60
+ children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ModifierProps>;
61
+ };
62
+ export declare const Name: (props?: (Omit<{}, "children"> & Partial<Pick<{}, "children">>) | undefined) => import("@alloy-js/core").ComponentCreator<{}> & {
51
63
  code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<{}>;
52
64
  children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<{}>;
53
65
  };
54
- export declare const ObjectDeclaration: (props: base.ObjectDeclarationProps) => import("@alloy-js/core").ComponentCreator<base.ObjectDeclarationProps> & {
66
+ export declare const ObjectDeclaration: (props: Omit<base.ObjectDeclarationProps, "children"> & Partial<Pick<base.ObjectDeclarationProps, "children">>) => import("@alloy-js/core").ComponentCreator<base.ObjectDeclarationProps> & {
55
67
  code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ObjectDeclarationProps>;
56
68
  children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ObjectDeclarationProps>;
57
69
  };
58
- export declare const PackageDirectory: (props: base.PackageDirectoryProps) => import("@alloy-js/core").ComponentCreator<base.PackageDirectoryProps> & {
70
+ export declare const PackageDirectory: (props: Omit<base.PackageDirectoryProps, "children"> & Partial<Pick<base.PackageDirectoryProps, "children">>) => import("@alloy-js/core").ComponentCreator<base.PackageDirectoryProps> & {
59
71
  code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.PackageDirectoryProps>;
60
72
  children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.PackageDirectoryProps>;
61
73
  };
@@ -63,7 +75,7 @@ export declare const Parameters: (props?: base.ParametersProps | undefined) => i
63
75
  code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ParametersProps>;
64
76
  children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ParametersProps>;
65
77
  };
66
- export declare const ProjectDirectory: (props: base.ProjectDirectoryProps) => import("@alloy-js/core").ComponentCreator<base.ProjectDirectoryProps> & {
78
+ export declare const ProjectDirectory: (props: Omit<base.ProjectDirectoryProps, "children"> & Partial<Pick<base.ProjectDirectoryProps, "children">>) => import("@alloy-js/core").ComponentCreator<base.ProjectDirectoryProps> & {
67
79
  code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ProjectDirectoryProps>;
68
80
  children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ProjectDirectoryProps>;
69
81
  };
@@ -71,7 +83,7 @@ export declare const Reference: (props: base.ReferenceProps) => import("@alloy-j
71
83
  code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ReferenceProps>;
72
84
  children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.ReferenceProps>;
73
85
  };
74
- export declare const SourceFile: (props: base.SourceFileProps) => import("@alloy-js/core").ComponentCreator<base.SourceFileProps> & {
86
+ export declare const SourceFile: (props: Omit<base.SourceFileProps, "children"> & Partial<Pick<base.SourceFileProps, "children">>) => import("@alloy-js/core").ComponentCreator<base.SourceFileProps> & {
75
87
  code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.SourceFileProps>;
76
88
  children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.SourceFileProps>;
77
89
  };
@@ -83,4 +95,12 @@ export declare const Variable: (props: base.VariableProps) => import("@alloy-js/
83
95
  code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.VariableProps>;
84
96
  children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.VariableProps>;
85
97
  };
98
+ export declare const TypeParameters: (props?: base.TypeParametersProps | undefined) => import("@alloy-js/core").ComponentCreator<base.TypeParametersProps> & {
99
+ code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.TypeParametersProps>;
100
+ children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.TypeParametersProps>;
101
+ };
102
+ export declare const NamedArgumentList: (props: base.NamedArgumentListProps) => import("@alloy-js/core").ComponentCreator<base.NamedArgumentListProps> & {
103
+ code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.NamedArgumentListProps>;
104
+ children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.NamedArgumentListProps>;
105
+ };
86
106
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stc/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAEpC,eAAO,MAAM,UAAU;;;CAAuB,CAAC;AAC/C,eAAO,MAAM,KAAK;;;CAAkB,CAAC;AACrC,eAAO,MAAM,KAAK;;;CAAkB,CAAC;AACrC,eAAO,MAAM,WAAW;;;CAAwB,CAAC;AACjD,eAAO,MAAM,WAAW;;;CAAwB,CAAC;AACjD,eAAO,MAAM,IAAI;;;CAAiB,CAAC;AACnC,eAAO,MAAM,QAAQ;;;CAAqB,CAAC;AAC3C,eAAO,MAAM,UAAU;;;CAAuB,CAAC;AAC/C,eAAO,MAAM,eAAe;;;CAA4B,CAAC;AACzD,eAAO,MAAM,SAAS;;;CAAsB,CAAC;AAC7C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AiB;;;CAA8B,CAAC;AAC7D,eAAO,MAAM,gBAAgB;;;CAA6B,CAAC;AAC3D,eAAO,MAAM,UAAU;;;CAAuB,CAAC;AAC/C,eAAO,MAAM,gBAAgB;;;CAA6B,CAAC;AAC3D,eAAO,MAAM,SAAS;;;CAAsB,CAAC;AAC7C,eAAO,MAAM,UAAU;;;CAAuB,CAAC;AAC/C,eAAO,MAAM,KAAK;;;CAAkB,CAAC;AACrC,eAAO,MAAM,QAAQ;;;CAAqB,CAAC;AAC3C,eAAO,MAAM,cAAc;;;CAA2B,CAAC;AACvD,eAAO,MAAM,iBAAiB;;;CAA8B,CAAC"}
@@ -1,17 +1,20 @@
1
1
  import { stc } from "@alloy-js/core";
2
2
  import * as base from "../index.js";
3
3
  export const Annotation = stc(base.Annotation);
4
- export const Block = stc(base.Block);
4
+ export const ArgumentList = stc(base.ArgumentList);
5
5
  export const Class = stc(base.Class);
6
6
  export const Constructor = stc(base.Constructor);
7
7
  export const Declaration = stc(base.Declaration);
8
8
  export const Enum = stc(base.Enum);
9
- export const Generics = stc(base.Generics);
9
+ export const ExtendsClause = stc(base.ExtendsClause);
10
+ export const ImplementsClause = stc(base.ImplementsClause);
11
+ export const TypeArguments = stc(base.TypeArguments);
10
12
  export const EnumMember = stc(base.EnumMember);
11
13
  export const ImportStatement = stc(base.ImportStatement);
12
14
  export const Interface = stc(base.Interface);
13
15
  export const MavenProject = stc(base.MavenProject);
14
16
  export const Method = stc(base.Method);
17
+ export const Modifiers = stc(base.Modifiers);
15
18
  export const Name = stc(base.Name);
16
19
  export const ObjectDeclaration = stc(base.ObjectDeclaration);
17
20
  export const PackageDirectory = stc(base.PackageDirectory);
@@ -21,4 +24,6 @@ export const Reference = stc(base.Reference);
21
24
  export const SourceFile = stc(base.SourceFile);
22
25
  export const Value = stc(base.Value);
23
26
  export const Variable = stc(base.Variable);
27
+ export const TypeParameters = stc(base.TypeParameters);
28
+ export const NamedArgumentList = stc(base.NamedArgumentList);
24
29
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["stc","base","Annotation","Block","Class","Constructor","Declaration","Enum","Generics","EnumMember","ImportStatement","Interface","MavenProject","Method","Name","ObjectDeclaration","PackageDirectory","Parameters","ProjectDirectory","Reference","SourceFile","Value","Variable"],"sources":["../../../../src/components/stc/index.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,GAAG,QAAQ,gBAAgB;AACpC,OAAO,KAAKC,IAAI,MAAM,aAAa;AAEnC,OAAO,MAAMC,UAAU,GAAGF,GAAG,CAACC,IAAI,CAACC,UAAU,CAAC;AAC9C,OAAO,MAAMC,KAAK,GAAGH,GAAG,CAACC,IAAI,CAACE,KAAK,CAAC;AACpC,OAAO,MAAMC,KAAK,GAAGJ,GAAG,CAACC,IAAI,CAACG,KAAK,CAAC;AACpC,OAAO,MAAMC,WAAW,GAAGL,GAAG,CAACC,IAAI,CAACI,WAAW,CAAC;AAChD,OAAO,MAAMC,WAAW,GAAGN,GAAG,CAACC,IAAI,CAACK,WAAW,CAAC;AAChD,OAAO,MAAMC,IAAI,GAAGP,GAAG,CAACC,IAAI,CAACM,IAAI,CAAC;AAClC,OAAO,MAAMC,QAAQ,GAAGR,GAAG,CAACC,IAAI,CAACO,QAAQ,CAAC;AAC1C,OAAO,MAAMC,UAAU,GAAGT,GAAG,CAACC,IAAI,CAACQ,UAAU,CAAC;AAC9C,OAAO,MAAMC,eAAe,GAAGV,GAAG,CAACC,IAAI,CAACS,eAAe,CAAC;AACxD,OAAO,MAAMC,SAAS,GAAGX,GAAG,CAACC,IAAI,CAACU,SAAS,CAAC;AAC5C,OAAO,MAAMC,YAAY,GAAGZ,GAAG,CAACC,IAAI,CAACW,YAAY,CAAC;AAClD,OAAO,MAAMC,MAAM,GAAGb,GAAG,CAACC,IAAI,CAACY,MAAM,CAAC;AACtC,OAAO,MAAMC,IAAI,GAAGd,GAAG,CAACC,IAAI,CAACa,IAAI,CAAC;AAClC,OAAO,MAAMC,iBAAiB,GAAGf,GAAG,CAACC,IAAI,CAACc,iBAAiB,CAAC;AAC5D,OAAO,MAAMC,gBAAgB,GAAGhB,GAAG,CAACC,IAAI,CAACe,gBAAgB,CAAC;AAC1D,OAAO,MAAMC,UAAU,GAAGjB,GAAG,CAACC,IAAI,CAACgB,UAAU,CAAC;AAC9C,OAAO,MAAMC,gBAAgB,GAAGlB,GAAG,CAACC,IAAI,CAACiB,gBAAgB,CAAC;AAC1D,OAAO,MAAMC,SAAS,GAAGnB,GAAG,CAACC,IAAI,CAACkB,SAAS,CAAC;AAC5C,OAAO,MAAMC,UAAU,GAAGpB,GAAG,CAACC,IAAI,CAACmB,UAAU,CAAC;AAC9C,OAAO,MAAMC,KAAK,GAAGrB,GAAG,CAACC,IAAI,CAACoB,KAAK,CAAC;AACpC,OAAO,MAAMC,QAAQ,GAAGtB,GAAG,CAACC,IAAI,CAACqB,QAAQ,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["stc","base","Annotation","ArgumentList","Class","Constructor","Declaration","Enum","ExtendsClause","ImplementsClause","TypeArguments","EnumMember","ImportStatement","Interface","MavenProject","Method","Modifiers","Name","ObjectDeclaration","PackageDirectory","Parameters","ProjectDirectory","Reference","SourceFile","Value","Variable","TypeParameters","NamedArgumentList"],"sources":["../../../../src/components/stc/index.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,GAAG,QAAQ,gBAAgB;AACpC,OAAO,KAAKC,IAAI,MAAM,aAAa;AAEnC,OAAO,MAAMC,UAAU,GAAGF,GAAG,CAACC,IAAI,CAACC,UAAU,CAAC;AAC9C,OAAO,MAAMC,YAAY,GAAGH,GAAG,CAACC,IAAI,CAACE,YAAY,CAAC;AAClD,OAAO,MAAMC,KAAK,GAAGJ,GAAG,CAACC,IAAI,CAACG,KAAK,CAAC;AACpC,OAAO,MAAMC,WAAW,GAAGL,GAAG,CAACC,IAAI,CAACI,WAAW,CAAC;AAChD,OAAO,MAAMC,WAAW,GAAGN,GAAG,CAACC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AU,CAAC;AAC9C,OAAO,MAAMC,KAAK,GAAGxB,GAAG,CAACC,IAAI,CAACuB,KAAK,CAAC;AACpC,OAAO,MAAMC,QAAQ,GAAGzB,GAAG,CAACC,IAAI,CAACwB,QAAQ,CAAC;AAC1C,OAAO,MAAMC,cAAc,GAAG1B,GAAG,CAACC,IAAI,CAACyB,cAAc,CAAC;AACtD,OAAO,MAAMC,iBAAiB,GAAG3B,GAAG,CAACC,IAAI,CAAC0B,iBAAiB,CAAC","ignoreList":[]}
@@ -1,9 +1,6 @@
1
- export * from "./arguments.js";
2
1
  export * from "./builtins/index.js";
3
2
  export * from "./components/index.js";
4
3
  export * from "./create-library.js";
5
- export * from "./generics.js";
6
4
  export * from "./name-policy.js";
7
- export * from "./object-modifiers.js";
8
5
  export * from "./symbols/index.js";
9
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC"}
package/dist/src/index.js CHANGED
@@ -1,9 +1,6 @@
1
- export * from "./arguments.js";
2
1
  export * from "./builtins/index.js";
3
2
  export * from "./components/index.js";
4
3
  export * from "./create-library.js";
5
- export * from "./generics.js";
6
4
  export * from "./name-policy.js";
7
- export * from "./object-modifiers.js";
8
5
  export * from "./symbols/index.js";
9
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc,gBAAgB;AAC9B,cAAc,qBAAqB;AACnC,cAAc,uBAAuB;AACrC,cAAc,qBAAqB;AACnC,cAAc,eAAe;AAC7B,cAAc,kBAAkB;AAChC,cAAc,uBAAuB;AACrC,cAAc,oBAAoB","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc,qBAAqB;AACnC,cAAc,uBAAuB;AACrC,cAAc,qBAAqB;AACnC,cAAc,kBAAkB;AAChC,cAAc,oBAAoB","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=maven.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"maven.test.d.ts","sourceRoot":"","sources":["../../test/maven.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=type-arguments.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type-arguments.test.d.ts","sourceRoot":"","sources":["../../test/type-arguments.test.tsx"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
- import { Children, OutputDirectory, OutputFile } from "@alloy-js/core";
2
- export declare function toSourceText(c: Children): string;
3
- export declare function testRender(c: Children): OutputDirectory;
1
+ import { Children, OutputDirectory, OutputFile, PrintTreeOptions } from "@alloy-js/core";
2
+ export declare function toSourceText(c: Children, options?: PrintTreeOptions): string;
3
+ export declare function testRender(c: Children, options?: PrintTreeOptions): OutputDirectory;
4
4
  export declare function findFile(res: OutputDirectory, path: string): OutputFile;
5
5
  export declare function assertFileContents(res: OutputDirectory, expectedFiles: Record<string, string>): void;
6
6
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../test/utils.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAER,eAAe,EACf,UAAU,EAEX,MAAM,gBAAgB,CAAC;AAKxB,wBAAgB,YAAY,CAAC,CAAC,EAAE,QAAQ,GAAG,MAAM,CAWhD;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,QAAQ,GAAG,eAAe,CAQvD;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,GAAG,UAAU,CA2BvE;AAED,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,eAAe,EACpB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,QAMtC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../test/utils.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAER,eAAe,EACf,UAAU,EACV,gBAAgB,EAEjB,MAAM,gBAAgB,CAAC;AAKxB,wBAAgB,YAAY,CAAC,CAAC,EAAE,QAAQ,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAY5E;AAED,wBAAgB,UAAU,CACxB,CAAC,EAAE,QAAQ,EACX,OAAO,CAAC,EAAE,gBAAgB,GACzB,eAAe,CAOjB;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,GAAG,UAAU,CA2BvE;AAED,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,eAAe,EACpB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,QAMtC"}