@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.
- package/CHANGELOG.md +23 -0
- package/dist/src/components/Annotation.d.ts +4 -4
- package/dist/src/components/Annotation.d.ts.map +1 -1
- package/dist/src/components/Annotation.js +27 -5
- package/dist/src/components/Annotation.js.map +1 -1
- package/dist/src/components/ArgumentList.d.ts +12 -0
- package/dist/src/components/ArgumentList.d.ts.map +1 -0
- package/dist/src/components/ArgumentList.js +33 -0
- package/dist/src/components/ArgumentList.js.map +1 -0
- package/dist/src/components/Class.d.ts +4 -4
- package/dist/src/components/Class.d.ts.map +1 -1
- package/dist/src/components/Class.js +33 -14
- package/dist/src/components/Class.js.map +1 -1
- package/dist/src/components/Constructor.d.ts +3 -3
- package/dist/src/components/Constructor.d.ts.map +1 -1
- package/dist/src/components/Constructor.js +9 -10
- package/dist/src/components/Constructor.js.map +1 -1
- package/dist/src/components/Declaration.d.ts.map +1 -1
- package/dist/src/components/Declaration.js +0 -1
- package/dist/src/components/Declaration.js.map +1 -1
- package/dist/src/components/Enum.d.ts +14 -6
- package/dist/src/components/Enum.d.ts.map +1 -1
- package/dist/src/components/Enum.js +38 -16
- package/dist/src/components/Enum.js.map +1 -1
- package/dist/src/components/ExtendsClause.d.ts +9 -0
- package/dist/src/components/ExtendsClause.d.ts.map +1 -0
- package/dist/src/components/ExtendsClause.js +28 -0
- package/dist/src/components/ExtendsClause.js.map +1 -0
- package/dist/src/components/ImplementsClause.d.ts +9 -0
- package/dist/src/components/ImplementsClause.d.ts.map +1 -0
- package/dist/src/components/ImplementsClause.js +28 -0
- package/dist/src/components/ImplementsClause.js.map +1 -0
- package/dist/src/components/ImportStatement.d.ts +1 -1
- package/dist/src/components/ImportStatement.d.ts.map +1 -1
- package/dist/src/components/ImportStatement.js +1 -1
- package/dist/src/components/ImportStatement.js.map +1 -1
- package/dist/src/components/Interface.d.ts +4 -4
- package/dist/src/components/Interface.d.ts.map +1 -1
- package/dist/src/components/Interface.js +23 -16
- package/dist/src/components/Interface.js.map +1 -1
- package/dist/src/components/MavenProject.d.ts +4 -2
- package/dist/src/components/MavenProject.d.ts.map +1 -1
- package/dist/src/components/MavenProject.js +183 -122
- package/dist/src/components/MavenProject.js.map +1 -1
- package/dist/src/components/Method.d.ts +3 -3
- package/dist/src/components/Method.d.ts.map +1 -1
- package/dist/src/components/Method.js +8 -4
- package/dist/src/components/Method.js.map +1 -1
- package/dist/src/{object-modifiers.d.ts → components/Modifiers.d.ts} +6 -3
- package/dist/src/components/Modifiers.d.ts.map +1 -0
- package/dist/src/components/Modifiers.js +27 -0
- package/dist/src/components/Modifiers.js.map +1 -0
- package/dist/src/components/Name.js +1 -1
- package/dist/src/components/Name.js.map +1 -1
- package/dist/src/components/NamedArgumentList.d.ts +11 -0
- package/dist/src/components/NamedArgumentList.d.ts.map +1 -0
- package/dist/src/components/NamedArgumentList.js +30 -0
- package/dist/src/components/NamedArgumentList.js.map +1 -0
- package/dist/src/components/ObjectDeclaration.d.ts +3 -3
- package/dist/src/components/ObjectDeclaration.d.ts.map +1 -1
- package/dist/src/components/ObjectDeclaration.js +8 -4
- package/dist/src/components/ObjectDeclaration.js.map +1 -1
- package/dist/src/components/PackageDirectory.d.ts.map +1 -1
- package/dist/src/components/PackageDirectory.js.map +1 -1
- package/dist/src/components/Parameters.d.ts +3 -3
- package/dist/src/components/Parameters.d.ts.map +1 -1
- package/dist/src/components/Parameters.js +1 -1
- package/dist/src/components/Parameters.js.map +1 -1
- package/dist/src/components/ProjectDirectory.d.ts.map +1 -1
- package/dist/src/components/ProjectDirectory.js +3 -3
- package/dist/src/components/ProjectDirectory.js.map +1 -1
- package/dist/src/components/Reference.js +1 -1
- package/dist/src/components/Reference.js.map +1 -1
- package/dist/src/components/SourceFile.d.ts.map +1 -1
- package/dist/src/components/SourceFile.js +3 -2
- package/dist/src/components/SourceFile.js.map +1 -1
- package/dist/src/components/TypeArguments.d.ts +24 -0
- package/dist/src/components/TypeArguments.d.ts.map +1 -0
- package/dist/src/components/TypeArguments.js +82 -0
- package/dist/src/components/TypeArguments.js.map +1 -0
- package/dist/src/components/TypeParameters.d.ts +9 -0
- package/dist/src/components/TypeParameters.d.ts.map +1 -0
- package/dist/src/components/TypeParameters.js +40 -0
- package/dist/src/components/TypeParameters.js.map +1 -0
- package/dist/src/components/Variable.d.ts +5 -5
- package/dist/src/components/Variable.d.ts.map +1 -1
- package/dist/src/components/Variable.js +4 -3
- package/dist/src/components/Variable.js.map +1 -1
- package/dist/src/components/index.d.ts +8 -2
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +8 -2
- package/dist/src/components/index.js.map +1 -1
- package/dist/src/components/stc/index.d.ts +37 -17
- package/dist/src/components/stc/index.d.ts.map +1 -1
- package/dist/src/components/stc/index.js +7 -2
- package/dist/src/components/stc/index.js.map +1 -1
- package/dist/src/index.d.ts +0 -3
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +0 -3
- package/dist/src/index.js.map +1 -1
- package/dist/test/maven.test.d.ts +2 -0
- package/dist/test/maven.test.d.ts.map +1 -0
- package/dist/test/type-arguments.test.d.ts +2 -0
- package/dist/test/type-arguments.test.d.ts.map +1 -0
- package/dist/test/utils.d.ts +3 -3
- package/dist/test/utils.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -5
- package/src/components/Annotation.tsx +24 -13
- package/src/components/ArgumentList.tsx +29 -0
- package/src/components/Class.tsx +24 -20
- package/src/components/Constructor.tsx +11 -10
- package/src/components/Declaration.tsx +1 -3
- package/src/components/Enum.tsx +39 -23
- package/src/components/ExtendsClause.tsx +19 -0
- package/src/components/ImplementsClause.tsx +19 -0
- package/src/components/ImportStatement.tsx +5 -2
- package/src/components/Interface.tsx +20 -20
- package/src/components/MavenProject.tsx +256 -121
- package/src/components/Method.tsx +12 -10
- package/src/components/Modifiers.tsx +54 -0
- package/src/components/NamedArgumentList.tsx +31 -0
- package/src/components/ObjectDeclaration.tsx +6 -6
- package/src/components/PackageDirectory.tsx +14 -7
- package/src/components/Parameters.tsx +4 -4
- package/src/components/ProjectDirectory.tsx +7 -5
- package/src/components/SourceFile.tsx +15 -11
- package/src/components/TypeArguments.tsx +88 -0
- package/src/components/TypeParameters.tsx +34 -0
- package/src/components/Variable.tsx +6 -6
- package/src/components/index.ts +8 -2
- package/src/components/stc/index.ts +7 -2
- package/src/index.ts +0 -3
- package/temp/api.json +1455 -963
- package/test/annotation.test.tsx +38 -25
- package/test/class.test.tsx +32 -27
- package/test/constructor.test.tsx +24 -25
- package/test/enum.test.tsx +28 -25
- package/test/externals.test.tsx +13 -5
- package/test/interface.test.tsx +20 -15
- package/test/{maven.tsx → maven.test.tsx} +15 -13
- package/test/method.test.tsx +39 -23
- package/test/package.test.tsx +2 -3
- package/test/reference.test.tsx +14 -12
- package/test/{generics.tsx → type-arguments.test.tsx} +6 -6
- package/test/utils.tsx +10 -6
- package/test/values.test.tsx +1 -3
- package/test/variables.test.tsx +7 -7
- package/dist/src/arguments.d.ts +0 -15
- package/dist/src/arguments.d.ts.map +0 -1
- package/dist/src/arguments.js +0 -27
- package/dist/src/arguments.js.map +0 -1
- package/dist/src/components/Block.d.ts +0 -6
- package/dist/src/components/Block.d.ts.map +0 -1
- package/dist/src/components/Block.js +0 -4
- package/dist/src/components/Block.js.map +0 -1
- package/dist/src/components/Generics.d.ts +0 -6
- package/dist/src/components/Generics.d.ts.map +0 -1
- package/dist/src/components/Generics.js +0 -8
- package/dist/src/components/Generics.js.map +0 -1
- package/dist/src/generics.d.ts +0 -28
- package/dist/src/generics.d.ts.map +0 -1
- package/dist/src/generics.js +0 -51
- package/dist/src/generics.js.map +0 -1
- package/dist/src/object-modifiers.d.ts.map +0 -1
- package/dist/src/object-modifiers.js +0 -31
- package/dist/src/object-modifiers.js.map +0 -1
- package/dist/test/generics.d.ts +0 -2
- package/dist/test/generics.d.ts.map +0 -1
- package/dist/test/maven.d.ts +0 -2
- package/dist/test/maven.d.ts.map +0 -1
- package/src/arguments.ts +0 -30
- package/src/components/Block.tsx +0 -8
- package/src/components/Generics.tsx +0 -12
- package/src/generics.ts +0 -59
- 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
|
|
7
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.
|
|
8
|
-
children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.
|
|
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
|
|
27
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.
|
|
28
|
-
children(...children: import("@alloy-js/core").Children[]): import("@alloy-js/core").ComponentCreator<base.
|
|
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
|
|
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,
|
|
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,YAAY;;;CAAyB,CAAC;AACnD,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,aAAa;;;CAA0B,CAAC;AACrD,eAAO,MAAM,gBAAgB;;;CAA6B,CAAC;AAC3D,eAAO,MAAM,aAAa;;;CAA0B,CAAC;AACrD,eAAO,MAAM,UAAU;;;CAAuB,CAAC;AAC/C,eAAO,MAAM,eAAe;;;CAA4B,CAAC;AACzD,eAAO,MAAM,SAAS;;;CAAsB,CAAC;AAC7C,eAAO,MAAM,YAAY;;;CAAyB,CAAC;AACnD,eAAO,MAAM,MAAM;;;CAAmB,CAAC;AACvC,eAAO,MAAM,SAAS;;;CAAsB,CAAC;AAC7C,eAAO,MAAM,IAAI;;;CAAiB,CAAC;AACnC,eAAO,MAAM,iBAAiB;;;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
|
|
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
|
|
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","
|
|
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,IAAI,CAACK,WAAW,CAAC;AAChD,OAAO,MAAMC,IAAI,GAAGP,GAAG,CAACC,IAAI,CAACM,IAAI,CAAC;AAClC,OAAO,MAAMC,aAAa,GAAGR,GAAG,CAACC,IAAI,CAACO,aAAa,CAAC;AACpD,OAAO,MAAMC,gBAAgB,GAAGT,GAAG,CAACC,IAAI,CAACQ,gBAAgB,CAAC;AAC1D,OAAO,MAAMC,aAAa,GAAGV,GAAG,CAACC,IAAI,CAACS,aAAa,CAAC;AACpD,OAAO,MAAMC,UAAU,GAAGX,GAAG,CAACC,IAAI,CAACU,UAAU,CAAC;AAC9C,OAAO,MAAMC,eAAe,GAAGZ,GAAG,CAACC,IAAI,CAACW,eAAe,CAAC;AACxD,OAAO,MAAMC,SAAS,GAAGb,GAAG,CAACC,IAAI,CAACY,SAAS,CAAC;AAC5C,OAAO,MAAMC,YAAY,GAAGd,GAAG,CAACC,IAAI,CAACa,YAAY,CAAC;AAClD,OAAO,MAAMC,MAAM,GAAGf,GAAG,CAACC,IAAI,CAACc,MAAM,CAAC;AACtC,OAAO,MAAMC,SAAS,GAAGhB,GAAG,CAACC,IAAI,CAACe,SAAS,CAAC;AAC5C,OAAO,MAAMC,IAAI,GAAGjB,GAAG,CAACC,IAAI,CAACgB,IAAI,CAAC;AAClC,OAAO,MAAMC,iBAAiB,GAAGlB,GAAG,CAACC,IAAI,CAACiB,iBAAiB,CAAC;AAC5D,OAAO,MAAMC,gBAAgB,GAAGnB,GAAG,CAACC,IAAI,CAACkB,gBAAgB,CAAC;AAC1D,OAAO,MAAMC,UAAU,GAAGpB,GAAG,CAACC,IAAI,CAACmB,UAAU,CAAC;AAC9C,OAAO,MAAMC,gBAAgB,GAAGrB,GAAG,CAACC,IAAI,CAACoB,gBAAgB,CAAC;AAC1D,OAAO,MAAMC,SAAS,GAAGtB,GAAG,CAACC,IAAI,CAACqB,SAAS,CAAC;AAC5C,OAAO,MAAMC,UAAU,GAAGvB,GAAG,CAACC,IAAI,CAACsB,UAAU,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":[]}
|
package/dist/src/index.d.ts
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.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,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
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc,
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"maven.test.d.ts","sourceRoot":"","sources":["../../test/maven.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type-arguments.test.d.ts","sourceRoot":"","sources":["../../test/type-arguments.test.tsx"],"names":[],"mappings":""}
|
package/dist/test/utils.d.ts
CHANGED
|
@@ -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
|
package/dist/test/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../test/utils.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAER,eAAe,EACf,UAAU,
|
|
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"}
|