@ddd-tool/domain-designer-generator 0.1.0-beta.9 → 0.3.1
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/domain/generator-agg.d.ts +1245 -1245
- package/domain/{define.d.ts → types.d.ts} +47 -41
- package/domain-plugin/generator-csharp-plugin.d.ts +73 -73
- package/domain-plugin/generator-go-plugin.d.ts +73 -73
- package/domain-plugin/generator-java-plugin.d.ts +73 -73
- package/domain-plugin/generator-kotlin-plugin.d.ts +73 -73
- package/index.d.ts +1 -1
- package/index.js +1822 -1606
- package/package.json +5 -13
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import { Ref } from '@vue/reactivity';
|
|
2
|
-
import { CodeFile
|
|
2
|
+
import { CodeFile } from '../domain/types';
|
|
3
3
|
import { DomainDesignAgg, DomainDesignCommand, DomainDesignEvent, DomainDesignFacadeCommand, DomainDesignInfo, DomainDesignInfoType, DomainDesignObject } from '@ddd-tool/domain-designer-core';
|
|
4
4
|
declare const _default: import("vue-fn/domain-server").DomainHotSwapPlugin<import("vue-fn/domain-server").DomainSingletonAgg<{
|
|
5
5
|
designer: Ref<{
|
|
6
6
|
startWorkflow: (name: string) => string;
|
|
7
|
-
defineUserStory: (name: string, workflowNames: import("@ddd-tool/domain-designer-core/
|
|
8
|
-
note: import("@ddd-tool/domain-designer-core/
|
|
7
|
+
defineUserStory: (name: string, workflowNames: import("@ddd-tool/domain-designer-core/types").NonEmptyArray<string>) => void;
|
|
8
|
+
note: import("@ddd-tool/domain-designer-core/types").DomainDesignNoteProvider;
|
|
9
9
|
info: {
|
|
10
10
|
document: <NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote) => DomainDesignInfo<"Document", NAME>;
|
|
11
11
|
func: {
|
|
12
12
|
<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Function", NAME>;
|
|
13
|
-
<NAME extends string>(name: NAME, dependsOn: import("@ddd-tool/domain-designer-core/
|
|
13
|
+
<NAME extends string>(name: NAME, dependsOn: import("@ddd-tool/domain-designer-core/types").NonEmptyArray<import("@ddd-tool/domain-designer-core/types").DomainDesignInfoFuncDependsOn | string | [string, string | import("@ddd-tool/domain-designer-core").DomainDesignNote]>, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Function", NAME>;
|
|
14
14
|
};
|
|
15
15
|
id: <NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote) => DomainDesignInfo<"Id", NAME>;
|
|
16
16
|
valueObj: <NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote) => DomainDesignInfo<"ValueObject", NAME>;
|
|
17
17
|
version: <NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote) => DomainDesignInfo<"Version", NAME>;
|
|
18
18
|
};
|
|
19
|
-
actor: import("@ddd-tool/domain-designer-core/
|
|
20
|
-
command: import("@ddd-tool/domain-designer-core/
|
|
21
|
-
facadeCmd: import("@ddd-tool/domain-designer-core/
|
|
22
|
-
agg: import("@ddd-tool/domain-designer-core/
|
|
23
|
-
event: import("@ddd-tool/domain-designer-core/
|
|
24
|
-
system: import("@ddd-tool/domain-designer-core/
|
|
25
|
-
policy: import("@ddd-tool/domain-designer-core/
|
|
26
|
-
service: import("@ddd-tool/domain-designer-core/
|
|
27
|
-
readModel: import("@ddd-tool/domain-designer-core/
|
|
19
|
+
actor: import("@ddd-tool/domain-designer-core/types").DomainDesignActorProvider;
|
|
20
|
+
command: import("@ddd-tool/domain-designer-core/types").DomainDesignCommandProvider;
|
|
21
|
+
facadeCmd: import("@ddd-tool/domain-designer-core/types").DomainDesignFacadeCommandProvider;
|
|
22
|
+
agg: import("@ddd-tool/domain-designer-core/types").DomainDesignAggProvider;
|
|
23
|
+
event: import("@ddd-tool/domain-designer-core/types").DomainDesignEventProvider;
|
|
24
|
+
system: import("@ddd-tool/domain-designer-core/types").DomainDesignSystemProvider;
|
|
25
|
+
policy: import("@ddd-tool/domain-designer-core/types").DomainDesignPolicyProvider;
|
|
26
|
+
service: import("@ddd-tool/domain-designer-core/types").DomainDesignServiceProvider;
|
|
27
|
+
readModel: import("@ddd-tool/domain-designer-core/types").DomainDesignReadModelProvider;
|
|
28
28
|
_getContext: () => {
|
|
29
29
|
startWorkflow(name: string): string;
|
|
30
|
-
defineUserStory(name: string, workflowNames: import("@ddd-tool/domain-designer-core/
|
|
30
|
+
defineUserStory(name: string, workflowNames: import("@ddd-tool/domain-designer-core/types").NonEmptyArray<string>): void;
|
|
31
31
|
linkTo(srcRule: "Info" | "Actor" | "Command" | "FacadeCommand" | "Agg" | "Event" | "Policy" | "Service" | "System" | "ReadModel", srcId: string, targetRule: "Info" | "Actor" | "Command" | "FacadeCommand" | "Agg" | "Event" | "Policy" | "Service" | "System" | "ReadModel", targetId: string, linkType?: import("@ddd-tool/domain-designer-core/common").LinkType): void;
|
|
32
32
|
getDesignerId(): string;
|
|
33
|
-
getDesignerOptions(): Required<import("@ddd-tool/domain-designer-core/
|
|
33
|
+
getDesignerOptions(): Required<import("@ddd-tool/domain-designer-core/types").DomainDesignOptions>;
|
|
34
34
|
getWorkflows(): Record<string, string[]>;
|
|
35
35
|
getUserStories(): Record<string, string[]>;
|
|
36
36
|
getLinks(): Record<string, import("@ddd-tool/domain-designer-core/common").LinkType>;
|
|
37
37
|
getIdMap(): Record<string, DomainDesignObject>;
|
|
38
|
-
getAssociationMap(): Record<string, import("@ddd-tool/domain-designer-core/
|
|
38
|
+
getAssociationMap(): Record<string, import("@ddd-tool/domain-designer-core/types").DomainObjectSet<DomainDesignObject>>;
|
|
39
39
|
getCommands(): DomainDesignCommand<any>[];
|
|
40
40
|
getFacadeCommands(): DomainDesignFacadeCommand<any>[];
|
|
41
41
|
getActors(): import("@ddd-tool/domain-designer-core").DomainDesignActor[];
|
|
@@ -55,67 +55,67 @@ declare const _default: import("vue-fn/domain-server").DomainHotSwapPlugin<impor
|
|
|
55
55
|
registerSystem(system: import("@ddd-tool/domain-designer-core").DomainDesignSystem): void;
|
|
56
56
|
registerAgg(agg: DomainDesignAgg<any>): void;
|
|
57
57
|
registerReadModel(readModel: import("@ddd-tool/domain-designer-core").DomainDesignReadModel<any>): void;
|
|
58
|
-
customInfoArrToInfoObj<G_NAME extends string, ARR extends import("@ddd-tool/domain-designer-core/
|
|
59
|
-
customInfoArrToInfoArr<G_NAME extends string, ARR extends import("@ddd-tool/domain-designer-core/
|
|
58
|
+
customInfoArrToInfoObj<G_NAME extends string, ARR extends import("@ddd-tool/domain-designer-core/types").NonEmptyArray<import("@ddd-tool/domain-designer-core/types").CustomInfo<G_NAME>>>(arr: ARR): import("@ddd-tool/domain-designer-core/types").CustomInfoArrayToInfoObject<ARR>;
|
|
59
|
+
customInfoArrToInfoArr<G_NAME extends string, ARR extends import("@ddd-tool/domain-designer-core/types").NonEmptyArray<import("@ddd-tool/domain-designer-core/types").CustomInfo<G_NAME>>>(arr: ARR): DomainDesignInfo<DomainDesignInfoType, string>[];
|
|
60
60
|
toFormat<OBJ extends {
|
|
61
61
|
_attributes: {
|
|
62
62
|
__id: string;
|
|
63
63
|
name: string;
|
|
64
64
|
};
|
|
65
65
|
}>(obj: OBJ): string;
|
|
66
|
-
createNote: import("@ddd-tool/domain-designer-core/
|
|
66
|
+
createNote: import("@ddd-tool/domain-designer-core/types").DomainDesignNoteProvider;
|
|
67
67
|
info: {
|
|
68
68
|
document<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Document", NAME>;
|
|
69
69
|
func<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Function", NAME>;
|
|
70
|
-
func<NAME extends string>(name: NAME, dependsOn: import("@ddd-tool/domain-designer-core/
|
|
70
|
+
func<NAME extends string>(name: NAME, dependsOn: import("@ddd-tool/domain-designer-core/types").NonEmptyArray<import("@ddd-tool/domain-designer-core/types").DomainDesignInfoFuncDependsOn | string | [string, string | import("@ddd-tool/domain-designer-core").DomainDesignNote]>, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Function", NAME>;
|
|
71
71
|
id<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Id", NAME>;
|
|
72
72
|
valueObj<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"ValueObject", NAME>;
|
|
73
73
|
version<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Version", NAME>;
|
|
74
74
|
};
|
|
75
|
-
createPersion: import("@ddd-tool/domain-designer-core/
|
|
76
|
-
createCommand: import("@ddd-tool/domain-designer-core/
|
|
77
|
-
createFacadeCommand: import("@ddd-tool/domain-designer-core/
|
|
78
|
-
createAgg: import("@ddd-tool/domain-designer-core/
|
|
79
|
-
createEvent: import("@ddd-tool/domain-designer-core/
|
|
80
|
-
createPolicy: import("@ddd-tool/domain-designer-core/
|
|
81
|
-
createService: import("@ddd-tool/domain-designer-core/
|
|
82
|
-
createSystem: import("@ddd-tool/domain-designer-core/
|
|
83
|
-
createReadModel: import("@ddd-tool/domain-designer-core/
|
|
75
|
+
createPersion: import("@ddd-tool/domain-designer-core/types").DomainDesignActorProvider;
|
|
76
|
+
createCommand: import("@ddd-tool/domain-designer-core/types").DomainDesignCommandProvider;
|
|
77
|
+
createFacadeCommand: import("@ddd-tool/domain-designer-core/types").DomainDesignFacadeCommandProvider;
|
|
78
|
+
createAgg: import("@ddd-tool/domain-designer-core/types").DomainDesignAggProvider;
|
|
79
|
+
createEvent: import("@ddd-tool/domain-designer-core/types").DomainDesignEventProvider;
|
|
80
|
+
createPolicy: import("@ddd-tool/domain-designer-core/types").DomainDesignPolicyProvider;
|
|
81
|
+
createService: import("@ddd-tool/domain-designer-core/types").DomainDesignServiceProvider;
|
|
82
|
+
createSystem: import("@ddd-tool/domain-designer-core/types").DomainDesignSystemProvider;
|
|
83
|
+
createReadModel: import("@ddd-tool/domain-designer-core/types").DomainDesignReadModelProvider;
|
|
84
84
|
};
|
|
85
85
|
}, import("@ddd-tool/domain-designer-core").DomainDesigner | {
|
|
86
86
|
startWorkflow: (name: string) => string;
|
|
87
|
-
defineUserStory: (name: string, workflowNames: import("@ddd-tool/domain-designer-core/
|
|
88
|
-
note: import("@ddd-tool/domain-designer-core/
|
|
87
|
+
defineUserStory: (name: string, workflowNames: import("@ddd-tool/domain-designer-core/types").NonEmptyArray<string>) => void;
|
|
88
|
+
note: import("@ddd-tool/domain-designer-core/types").DomainDesignNoteProvider;
|
|
89
89
|
info: {
|
|
90
90
|
document: <NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote) => DomainDesignInfo<"Document", NAME>;
|
|
91
91
|
func: {
|
|
92
92
|
<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Function", NAME>;
|
|
93
|
-
<NAME extends string>(name: NAME, dependsOn: import("@ddd-tool/domain-designer-core/
|
|
93
|
+
<NAME extends string>(name: NAME, dependsOn: import("@ddd-tool/domain-designer-core/types").NonEmptyArray<import("@ddd-tool/domain-designer-core/types").DomainDesignInfoFuncDependsOn | string | [string, string | import("@ddd-tool/domain-designer-core").DomainDesignNote]>, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Function", NAME>;
|
|
94
94
|
};
|
|
95
95
|
id: <NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote) => DomainDesignInfo<"Id", NAME>;
|
|
96
96
|
valueObj: <NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote) => DomainDesignInfo<"ValueObject", NAME>;
|
|
97
97
|
version: <NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote) => DomainDesignInfo<"Version", NAME>;
|
|
98
98
|
};
|
|
99
|
-
actor: import("@ddd-tool/domain-designer-core/
|
|
100
|
-
command: import("@ddd-tool/domain-designer-core/
|
|
101
|
-
facadeCmd: import("@ddd-tool/domain-designer-core/
|
|
102
|
-
agg: import("@ddd-tool/domain-designer-core/
|
|
103
|
-
event: import("@ddd-tool/domain-designer-core/
|
|
104
|
-
system: import("@ddd-tool/domain-designer-core/
|
|
105
|
-
policy: import("@ddd-tool/domain-designer-core/
|
|
106
|
-
service: import("@ddd-tool/domain-designer-core/
|
|
107
|
-
readModel: import("@ddd-tool/domain-designer-core/
|
|
99
|
+
actor: import("@ddd-tool/domain-designer-core/types").DomainDesignActorProvider;
|
|
100
|
+
command: import("@ddd-tool/domain-designer-core/types").DomainDesignCommandProvider;
|
|
101
|
+
facadeCmd: import("@ddd-tool/domain-designer-core/types").DomainDesignFacadeCommandProvider;
|
|
102
|
+
agg: import("@ddd-tool/domain-designer-core/types").DomainDesignAggProvider;
|
|
103
|
+
event: import("@ddd-tool/domain-designer-core/types").DomainDesignEventProvider;
|
|
104
|
+
system: import("@ddd-tool/domain-designer-core/types").DomainDesignSystemProvider;
|
|
105
|
+
policy: import("@ddd-tool/domain-designer-core/types").DomainDesignPolicyProvider;
|
|
106
|
+
service: import("@ddd-tool/domain-designer-core/types").DomainDesignServiceProvider;
|
|
107
|
+
readModel: import("@ddd-tool/domain-designer-core/types").DomainDesignReadModelProvider;
|
|
108
108
|
_getContext: () => {
|
|
109
109
|
startWorkflow(name: string): string;
|
|
110
|
-
defineUserStory(name: string, workflowNames: import("@ddd-tool/domain-designer-core/
|
|
110
|
+
defineUserStory(name: string, workflowNames: import("@ddd-tool/domain-designer-core/types").NonEmptyArray<string>): void;
|
|
111
111
|
linkTo(srcRule: "Info" | "Actor" | "Command" | "FacadeCommand" | "Agg" | "Event" | "Policy" | "Service" | "System" | "ReadModel", srcId: string, targetRule: "Info" | "Actor" | "Command" | "FacadeCommand" | "Agg" | "Event" | "Policy" | "Service" | "System" | "ReadModel", targetId: string, linkType?: import("@ddd-tool/domain-designer-core/common").LinkType): void;
|
|
112
112
|
getDesignerId(): string;
|
|
113
|
-
getDesignerOptions(): Required<import("@ddd-tool/domain-designer-core/
|
|
113
|
+
getDesignerOptions(): Required<import("@ddd-tool/domain-designer-core/types").DomainDesignOptions>;
|
|
114
114
|
getWorkflows(): Record<string, string[]>;
|
|
115
115
|
getUserStories(): Record<string, string[]>;
|
|
116
116
|
getLinks(): Record<string, import("@ddd-tool/domain-designer-core/common").LinkType>;
|
|
117
117
|
getIdMap(): Record<string, DomainDesignObject>;
|
|
118
|
-
getAssociationMap(): Record<string, import("@ddd-tool/domain-designer-core/
|
|
118
|
+
getAssociationMap(): Record<string, import("@ddd-tool/domain-designer-core/types").DomainObjectSet<DomainDesignObject>>;
|
|
119
119
|
getCommands(): DomainDesignCommand<any>[];
|
|
120
120
|
getFacadeCommands(): DomainDesignFacadeCommand<any>[];
|
|
121
121
|
getActors(): import("@ddd-tool/domain-designer-core").DomainDesignActor[];
|
|
@@ -135,60 +135,60 @@ declare const _default: import("vue-fn/domain-server").DomainHotSwapPlugin<impor
|
|
|
135
135
|
registerSystem(system: import("@ddd-tool/domain-designer-core").DomainDesignSystem): void;
|
|
136
136
|
registerAgg(agg: DomainDesignAgg<any>): void;
|
|
137
137
|
registerReadModel(readModel: import("@ddd-tool/domain-designer-core").DomainDesignReadModel<any>): void;
|
|
138
|
-
customInfoArrToInfoObj<G_NAME extends string, ARR extends import("@ddd-tool/domain-designer-core/
|
|
139
|
-
customInfoArrToInfoArr<G_NAME extends string, ARR extends import("@ddd-tool/domain-designer-core/
|
|
138
|
+
customInfoArrToInfoObj<G_NAME extends string, ARR extends import("@ddd-tool/domain-designer-core/types").NonEmptyArray<import("@ddd-tool/domain-designer-core/types").CustomInfo<G_NAME>>>(arr: ARR): import("@ddd-tool/domain-designer-core/types").CustomInfoArrayToInfoObject<ARR>;
|
|
139
|
+
customInfoArrToInfoArr<G_NAME extends string, ARR extends import("@ddd-tool/domain-designer-core/types").NonEmptyArray<import("@ddd-tool/domain-designer-core/types").CustomInfo<G_NAME>>>(arr: ARR): DomainDesignInfo<DomainDesignInfoType, string>[];
|
|
140
140
|
toFormat<OBJ extends {
|
|
141
141
|
_attributes: {
|
|
142
142
|
__id: string;
|
|
143
143
|
name: string;
|
|
144
144
|
};
|
|
145
145
|
}>(obj: OBJ): string;
|
|
146
|
-
createNote: import("@ddd-tool/domain-designer-core/
|
|
146
|
+
createNote: import("@ddd-tool/domain-designer-core/types").DomainDesignNoteProvider;
|
|
147
147
|
info: {
|
|
148
148
|
document<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Document", NAME>;
|
|
149
149
|
func<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Function", NAME>;
|
|
150
|
-
func<NAME extends string>(name: NAME, dependsOn: import("@ddd-tool/domain-designer-core/
|
|
150
|
+
func<NAME extends string>(name: NAME, dependsOn: import("@ddd-tool/domain-designer-core/types").NonEmptyArray<import("@ddd-tool/domain-designer-core/types").DomainDesignInfoFuncDependsOn | string | [string, string | import("@ddd-tool/domain-designer-core").DomainDesignNote]>, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Function", NAME>;
|
|
151
151
|
id<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Id", NAME>;
|
|
152
152
|
valueObj<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"ValueObject", NAME>;
|
|
153
153
|
version<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Version", NAME>;
|
|
154
154
|
};
|
|
155
|
-
createPersion: import("@ddd-tool/domain-designer-core/
|
|
156
|
-
createCommand: import("@ddd-tool/domain-designer-core/
|
|
157
|
-
createFacadeCommand: import("@ddd-tool/domain-designer-core/
|
|
158
|
-
createAgg: import("@ddd-tool/domain-designer-core/
|
|
159
|
-
createEvent: import("@ddd-tool/domain-designer-core/
|
|
160
|
-
createPolicy: import("@ddd-tool/domain-designer-core/
|
|
161
|
-
createService: import("@ddd-tool/domain-designer-core/
|
|
162
|
-
createSystem: import("@ddd-tool/domain-designer-core/
|
|
163
|
-
createReadModel: import("@ddd-tool/domain-designer-core/
|
|
155
|
+
createPersion: import("@ddd-tool/domain-designer-core/types").DomainDesignActorProvider;
|
|
156
|
+
createCommand: import("@ddd-tool/domain-designer-core/types").DomainDesignCommandProvider;
|
|
157
|
+
createFacadeCommand: import("@ddd-tool/domain-designer-core/types").DomainDesignFacadeCommandProvider;
|
|
158
|
+
createAgg: import("@ddd-tool/domain-designer-core/types").DomainDesignAggProvider;
|
|
159
|
+
createEvent: import("@ddd-tool/domain-designer-core/types").DomainDesignEventProvider;
|
|
160
|
+
createPolicy: import("@ddd-tool/domain-designer-core/types").DomainDesignPolicyProvider;
|
|
161
|
+
createService: import("@ddd-tool/domain-designer-core/types").DomainDesignServiceProvider;
|
|
162
|
+
createSystem: import("@ddd-tool/domain-designer-core/types").DomainDesignSystemProvider;
|
|
163
|
+
createReadModel: import("@ddd-tool/domain-designer-core/types").DomainDesignReadModelProvider;
|
|
164
164
|
};
|
|
165
165
|
}>;
|
|
166
166
|
context: Ref<{
|
|
167
167
|
namespace: string;
|
|
168
168
|
moduleName: string;
|
|
169
|
-
additions: Set<
|
|
170
|
-
}, import("../domain/
|
|
169
|
+
additions: Set<"CommandHandler" | "Lombok" | "LombokBuilder" | "RecordValueObject" | "Jpa" | "Timezone" | "SpringFramework" | "ValueClass" | "RecordStruct" | "PrimaryConstructor" | "CommandHandlerInterface" | "AggInterface" | "SinglePackageEachDesigner"> & Omit<Set<"CommandHandler" | "Lombok" | "LombokBuilder" | "RecordValueObject" | "Jpa" | "Timezone" | "SpringFramework" | "ValueClass" | "RecordStruct" | "PrimaryConstructor" | "CommandHandlerInterface" | "AggInterface" | "SinglePackageEachDesigner">, keyof Set<any>>;
|
|
170
|
+
}, import("../domain/types").GeneratorContext<any> | {
|
|
171
171
|
namespace: string;
|
|
172
172
|
moduleName: string;
|
|
173
|
-
additions: Set<
|
|
173
|
+
additions: Set<"CommandHandler" | "Lombok" | "LombokBuilder" | "RecordValueObject" | "Jpa" | "Timezone" | "SpringFramework" | "ValueClass" | "RecordStruct" | "PrimaryConstructor" | "CommandHandlerInterface" | "AggInterface" | "SinglePackageEachDesigner"> & Omit<Set<"CommandHandler" | "Lombok" | "LombokBuilder" | "RecordValueObject" | "Jpa" | "Timezone" | "SpringFramework" | "ValueClass" | "RecordStruct" | "PrimaryConstructor" | "CommandHandlerInterface" | "AggInterface" | "SinglePackageEachDesigner">, keyof Set<any>>;
|
|
174
174
|
}>;
|
|
175
175
|
}, {
|
|
176
176
|
genCodeFiles(): CodeFile[];
|
|
177
177
|
clearCaches(): void;
|
|
178
|
-
setContext<LANG extends import("../domain/
|
|
178
|
+
setContext<LANG extends import("../domain/types").Language>(ctx: import("../domain/types").GeneratorContext<LANG>): void;
|
|
179
179
|
setDomainDesigner(d: import("@ddd-tool/domain-designer-core").DomainDesigner): void;
|
|
180
|
-
_genInfoCode(info: DomainDesignInfo<DomainDesignInfoType, string>): ReturnType<import("../domain/
|
|
181
|
-
_setInfoCodeProvider(provider: import("../domain/
|
|
182
|
-
_genCommandCode(cmd: DomainDesignCommand<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/
|
|
183
|
-
_setCommandCodeProvider(provider: import("../domain/
|
|
184
|
-
_genFacadeCommandCode(cmd: DomainDesignFacadeCommand<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/
|
|
185
|
-
_setFacadeCommandCodeProvider(provider: import("../domain/
|
|
186
|
-
_genAggCode(agg: DomainDesignAgg<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/
|
|
187
|
-
_setAggCodeProvider(provider: import("../domain/
|
|
188
|
-
_genEventCode(event: DomainDesignEvent<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/
|
|
189
|
-
_setEventCodeProvider(provider: import("../domain/
|
|
190
|
-
_genReadModelCode(readModel: import("@ddd-tool/domain-designer-core").DomainDesignReadModel<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/
|
|
191
|
-
_setReadModelCodeProvider(provider: import("../domain/
|
|
180
|
+
_genInfoCode(info: DomainDesignInfo<DomainDesignInfoType, string>): ReturnType<import("../domain/types").InfoCodeProvider>;
|
|
181
|
+
_setInfoCodeProvider(provider: import("../domain/types").InfoCodeProvider): void;
|
|
182
|
+
_genCommandCode(cmd: DomainDesignCommand<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/types").CommandCodeProvider>;
|
|
183
|
+
_setCommandCodeProvider(provider: import("../domain/types").CommandCodeProvider): void;
|
|
184
|
+
_genFacadeCommandCode(cmd: DomainDesignFacadeCommand<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/types").FacadeCommandCodeProvider>;
|
|
185
|
+
_setFacadeCommandCodeProvider(provider: import("../domain/types").FacadeCommandCodeProvider): void;
|
|
186
|
+
_genAggCode(agg: DomainDesignAgg<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/types").AggCodeProvider>;
|
|
187
|
+
_setAggCodeProvider(provider: import("../domain/types").AggCodeProvider): void;
|
|
188
|
+
_genEventCode(event: DomainDesignEvent<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/types").EventCodeProvider>;
|
|
189
|
+
_setEventCodeProvider(provider: import("../domain/types").EventCodeProvider): void;
|
|
190
|
+
_genReadModelCode(readModel: import("@ddd-tool/domain-designer-core").DomainDesignReadModel<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/types").ReadModelCodeProvider>;
|
|
191
|
+
_setReadModelCodeProvider(provider: import("../domain/types").ReadModelCodeProvider): void;
|
|
192
192
|
_setCodeFileProvider(provider: () => CodeFile[]): void;
|
|
193
193
|
}, {}>>;
|
|
194
194
|
export default _default;
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import { DomainDesignAgg, DomainDesignCommand, DomainDesignEvent, DomainDesignFacadeCommand, DomainDesignInfo, DomainDesignInfoType, DomainDesignObject } from '@ddd-tool/domain-designer-core';
|
|
2
|
-
import { CodeFile
|
|
2
|
+
import { CodeFile } from '../domain/types';
|
|
3
3
|
import { Ref } from '@vue/reactivity';
|
|
4
4
|
declare const _default: import("vue-fn/domain-server").DomainHotSwapPlugin<import("vue-fn/domain-server").DomainSingletonAgg<{
|
|
5
5
|
designer: Ref<{
|
|
6
6
|
startWorkflow: (name: string) => string;
|
|
7
|
-
defineUserStory: (name: string, workflowNames: import("@ddd-tool/domain-designer-core/
|
|
8
|
-
note: import("@ddd-tool/domain-designer-core/
|
|
7
|
+
defineUserStory: (name: string, workflowNames: import("@ddd-tool/domain-designer-core/types").NonEmptyArray<string>) => void;
|
|
8
|
+
note: import("@ddd-tool/domain-designer-core/types").DomainDesignNoteProvider;
|
|
9
9
|
info: {
|
|
10
10
|
document: <NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote) => DomainDesignInfo<"Document", NAME>;
|
|
11
11
|
func: {
|
|
12
12
|
<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Function", NAME>;
|
|
13
|
-
<NAME extends string>(name: NAME, dependsOn: import("@ddd-tool/domain-designer-core/
|
|
13
|
+
<NAME extends string>(name: NAME, dependsOn: import("@ddd-tool/domain-designer-core/types").NonEmptyArray<import("@ddd-tool/domain-designer-core/types").DomainDesignInfoFuncDependsOn | string | [string, string | import("@ddd-tool/domain-designer-core").DomainDesignNote]>, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Function", NAME>;
|
|
14
14
|
};
|
|
15
15
|
id: <NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote) => DomainDesignInfo<"Id", NAME>;
|
|
16
16
|
valueObj: <NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote) => DomainDesignInfo<"ValueObject", NAME>;
|
|
17
17
|
version: <NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote) => DomainDesignInfo<"Version", NAME>;
|
|
18
18
|
};
|
|
19
|
-
actor: import("@ddd-tool/domain-designer-core/
|
|
20
|
-
command: import("@ddd-tool/domain-designer-core/
|
|
21
|
-
facadeCmd: import("@ddd-tool/domain-designer-core/
|
|
22
|
-
agg: import("@ddd-tool/domain-designer-core/
|
|
23
|
-
event: import("@ddd-tool/domain-designer-core/
|
|
24
|
-
system: import("@ddd-tool/domain-designer-core/
|
|
25
|
-
policy: import("@ddd-tool/domain-designer-core/
|
|
26
|
-
service: import("@ddd-tool/domain-designer-core/
|
|
27
|
-
readModel: import("@ddd-tool/domain-designer-core/
|
|
19
|
+
actor: import("@ddd-tool/domain-designer-core/types").DomainDesignActorProvider;
|
|
20
|
+
command: import("@ddd-tool/domain-designer-core/types").DomainDesignCommandProvider;
|
|
21
|
+
facadeCmd: import("@ddd-tool/domain-designer-core/types").DomainDesignFacadeCommandProvider;
|
|
22
|
+
agg: import("@ddd-tool/domain-designer-core/types").DomainDesignAggProvider;
|
|
23
|
+
event: import("@ddd-tool/domain-designer-core/types").DomainDesignEventProvider;
|
|
24
|
+
system: import("@ddd-tool/domain-designer-core/types").DomainDesignSystemProvider;
|
|
25
|
+
policy: import("@ddd-tool/domain-designer-core/types").DomainDesignPolicyProvider;
|
|
26
|
+
service: import("@ddd-tool/domain-designer-core/types").DomainDesignServiceProvider;
|
|
27
|
+
readModel: import("@ddd-tool/domain-designer-core/types").DomainDesignReadModelProvider;
|
|
28
28
|
_getContext: () => {
|
|
29
29
|
startWorkflow(name: string): string;
|
|
30
|
-
defineUserStory(name: string, workflowNames: import("@ddd-tool/domain-designer-core/
|
|
30
|
+
defineUserStory(name: string, workflowNames: import("@ddd-tool/domain-designer-core/types").NonEmptyArray<string>): void;
|
|
31
31
|
linkTo(srcRule: "Info" | "Actor" | "Command" | "FacadeCommand" | "Agg" | "Event" | "Policy" | "Service" | "System" | "ReadModel", srcId: string, targetRule: "Info" | "Actor" | "Command" | "FacadeCommand" | "Agg" | "Event" | "Policy" | "Service" | "System" | "ReadModel", targetId: string, linkType?: import("@ddd-tool/domain-designer-core/common").LinkType): void;
|
|
32
32
|
getDesignerId(): string;
|
|
33
|
-
getDesignerOptions(): Required<import("@ddd-tool/domain-designer-core/
|
|
33
|
+
getDesignerOptions(): Required<import("@ddd-tool/domain-designer-core/types").DomainDesignOptions>;
|
|
34
34
|
getWorkflows(): Record<string, string[]>;
|
|
35
35
|
getUserStories(): Record<string, string[]>;
|
|
36
36
|
getLinks(): Record<string, import("@ddd-tool/domain-designer-core/common").LinkType>;
|
|
37
37
|
getIdMap(): Record<string, DomainDesignObject>;
|
|
38
|
-
getAssociationMap(): Record<string, import("@ddd-tool/domain-designer-core/
|
|
38
|
+
getAssociationMap(): Record<string, import("@ddd-tool/domain-designer-core/types").DomainObjectSet<DomainDesignObject>>;
|
|
39
39
|
getCommands(): DomainDesignCommand<any>[];
|
|
40
40
|
getFacadeCommands(): DomainDesignFacadeCommand<any>[];
|
|
41
41
|
getActors(): import("@ddd-tool/domain-designer-core").DomainDesignActor[];
|
|
@@ -55,67 +55,67 @@ declare const _default: import("vue-fn/domain-server").DomainHotSwapPlugin<impor
|
|
|
55
55
|
registerSystem(system: import("@ddd-tool/domain-designer-core").DomainDesignSystem): void;
|
|
56
56
|
registerAgg(agg: DomainDesignAgg<any>): void;
|
|
57
57
|
registerReadModel(readModel: import("@ddd-tool/domain-designer-core").DomainDesignReadModel<any>): void;
|
|
58
|
-
customInfoArrToInfoObj<G_NAME extends string, ARR extends import("@ddd-tool/domain-designer-core/
|
|
59
|
-
customInfoArrToInfoArr<G_NAME extends string, ARR extends import("@ddd-tool/domain-designer-core/
|
|
58
|
+
customInfoArrToInfoObj<G_NAME extends string, ARR extends import("@ddd-tool/domain-designer-core/types").NonEmptyArray<import("@ddd-tool/domain-designer-core/types").CustomInfo<G_NAME>>>(arr: ARR): import("@ddd-tool/domain-designer-core/types").CustomInfoArrayToInfoObject<ARR>;
|
|
59
|
+
customInfoArrToInfoArr<G_NAME extends string, ARR extends import("@ddd-tool/domain-designer-core/types").NonEmptyArray<import("@ddd-tool/domain-designer-core/types").CustomInfo<G_NAME>>>(arr: ARR): DomainDesignInfo<DomainDesignInfoType, string>[];
|
|
60
60
|
toFormat<OBJ extends {
|
|
61
61
|
_attributes: {
|
|
62
62
|
__id: string;
|
|
63
63
|
name: string;
|
|
64
64
|
};
|
|
65
65
|
}>(obj: OBJ): string;
|
|
66
|
-
createNote: import("@ddd-tool/domain-designer-core/
|
|
66
|
+
createNote: import("@ddd-tool/domain-designer-core/types").DomainDesignNoteProvider;
|
|
67
67
|
info: {
|
|
68
68
|
document<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Document", NAME>;
|
|
69
69
|
func<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Function", NAME>;
|
|
70
|
-
func<NAME extends string>(name: NAME, dependsOn: import("@ddd-tool/domain-designer-core/
|
|
70
|
+
func<NAME extends string>(name: NAME, dependsOn: import("@ddd-tool/domain-designer-core/types").NonEmptyArray<import("@ddd-tool/domain-designer-core/types").DomainDesignInfoFuncDependsOn | string | [string, string | import("@ddd-tool/domain-designer-core").DomainDesignNote]>, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Function", NAME>;
|
|
71
71
|
id<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Id", NAME>;
|
|
72
72
|
valueObj<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"ValueObject", NAME>;
|
|
73
73
|
version<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Version", NAME>;
|
|
74
74
|
};
|
|
75
|
-
createPersion: import("@ddd-tool/domain-designer-core/
|
|
76
|
-
createCommand: import("@ddd-tool/domain-designer-core/
|
|
77
|
-
createFacadeCommand: import("@ddd-tool/domain-designer-core/
|
|
78
|
-
createAgg: import("@ddd-tool/domain-designer-core/
|
|
79
|
-
createEvent: import("@ddd-tool/domain-designer-core/
|
|
80
|
-
createPolicy: import("@ddd-tool/domain-designer-core/
|
|
81
|
-
createService: import("@ddd-tool/domain-designer-core/
|
|
82
|
-
createSystem: import("@ddd-tool/domain-designer-core/
|
|
83
|
-
createReadModel: import("@ddd-tool/domain-designer-core/
|
|
75
|
+
createPersion: import("@ddd-tool/domain-designer-core/types").DomainDesignActorProvider;
|
|
76
|
+
createCommand: import("@ddd-tool/domain-designer-core/types").DomainDesignCommandProvider;
|
|
77
|
+
createFacadeCommand: import("@ddd-tool/domain-designer-core/types").DomainDesignFacadeCommandProvider;
|
|
78
|
+
createAgg: import("@ddd-tool/domain-designer-core/types").DomainDesignAggProvider;
|
|
79
|
+
createEvent: import("@ddd-tool/domain-designer-core/types").DomainDesignEventProvider;
|
|
80
|
+
createPolicy: import("@ddd-tool/domain-designer-core/types").DomainDesignPolicyProvider;
|
|
81
|
+
createService: import("@ddd-tool/domain-designer-core/types").DomainDesignServiceProvider;
|
|
82
|
+
createSystem: import("@ddd-tool/domain-designer-core/types").DomainDesignSystemProvider;
|
|
83
|
+
createReadModel: import("@ddd-tool/domain-designer-core/types").DomainDesignReadModelProvider;
|
|
84
84
|
};
|
|
85
85
|
}, import("@ddd-tool/domain-designer-core").DomainDesigner | {
|
|
86
86
|
startWorkflow: (name: string) => string;
|
|
87
|
-
defineUserStory: (name: string, workflowNames: import("@ddd-tool/domain-designer-core/
|
|
88
|
-
note: import("@ddd-tool/domain-designer-core/
|
|
87
|
+
defineUserStory: (name: string, workflowNames: import("@ddd-tool/domain-designer-core/types").NonEmptyArray<string>) => void;
|
|
88
|
+
note: import("@ddd-tool/domain-designer-core/types").DomainDesignNoteProvider;
|
|
89
89
|
info: {
|
|
90
90
|
document: <NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote) => DomainDesignInfo<"Document", NAME>;
|
|
91
91
|
func: {
|
|
92
92
|
<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Function", NAME>;
|
|
93
|
-
<NAME extends string>(name: NAME, dependsOn: import("@ddd-tool/domain-designer-core/
|
|
93
|
+
<NAME extends string>(name: NAME, dependsOn: import("@ddd-tool/domain-designer-core/types").NonEmptyArray<import("@ddd-tool/domain-designer-core/types").DomainDesignInfoFuncDependsOn | string | [string, string | import("@ddd-tool/domain-designer-core").DomainDesignNote]>, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Function", NAME>;
|
|
94
94
|
};
|
|
95
95
|
id: <NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote) => DomainDesignInfo<"Id", NAME>;
|
|
96
96
|
valueObj: <NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote) => DomainDesignInfo<"ValueObject", NAME>;
|
|
97
97
|
version: <NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote) => DomainDesignInfo<"Version", NAME>;
|
|
98
98
|
};
|
|
99
|
-
actor: import("@ddd-tool/domain-designer-core/
|
|
100
|
-
command: import("@ddd-tool/domain-designer-core/
|
|
101
|
-
facadeCmd: import("@ddd-tool/domain-designer-core/
|
|
102
|
-
agg: import("@ddd-tool/domain-designer-core/
|
|
103
|
-
event: import("@ddd-tool/domain-designer-core/
|
|
104
|
-
system: import("@ddd-tool/domain-designer-core/
|
|
105
|
-
policy: import("@ddd-tool/domain-designer-core/
|
|
106
|
-
service: import("@ddd-tool/domain-designer-core/
|
|
107
|
-
readModel: import("@ddd-tool/domain-designer-core/
|
|
99
|
+
actor: import("@ddd-tool/domain-designer-core/types").DomainDesignActorProvider;
|
|
100
|
+
command: import("@ddd-tool/domain-designer-core/types").DomainDesignCommandProvider;
|
|
101
|
+
facadeCmd: import("@ddd-tool/domain-designer-core/types").DomainDesignFacadeCommandProvider;
|
|
102
|
+
agg: import("@ddd-tool/domain-designer-core/types").DomainDesignAggProvider;
|
|
103
|
+
event: import("@ddd-tool/domain-designer-core/types").DomainDesignEventProvider;
|
|
104
|
+
system: import("@ddd-tool/domain-designer-core/types").DomainDesignSystemProvider;
|
|
105
|
+
policy: import("@ddd-tool/domain-designer-core/types").DomainDesignPolicyProvider;
|
|
106
|
+
service: import("@ddd-tool/domain-designer-core/types").DomainDesignServiceProvider;
|
|
107
|
+
readModel: import("@ddd-tool/domain-designer-core/types").DomainDesignReadModelProvider;
|
|
108
108
|
_getContext: () => {
|
|
109
109
|
startWorkflow(name: string): string;
|
|
110
|
-
defineUserStory(name: string, workflowNames: import("@ddd-tool/domain-designer-core/
|
|
110
|
+
defineUserStory(name: string, workflowNames: import("@ddd-tool/domain-designer-core/types").NonEmptyArray<string>): void;
|
|
111
111
|
linkTo(srcRule: "Info" | "Actor" | "Command" | "FacadeCommand" | "Agg" | "Event" | "Policy" | "Service" | "System" | "ReadModel", srcId: string, targetRule: "Info" | "Actor" | "Command" | "FacadeCommand" | "Agg" | "Event" | "Policy" | "Service" | "System" | "ReadModel", targetId: string, linkType?: import("@ddd-tool/domain-designer-core/common").LinkType): void;
|
|
112
112
|
getDesignerId(): string;
|
|
113
|
-
getDesignerOptions(): Required<import("@ddd-tool/domain-designer-core/
|
|
113
|
+
getDesignerOptions(): Required<import("@ddd-tool/domain-designer-core/types").DomainDesignOptions>;
|
|
114
114
|
getWorkflows(): Record<string, string[]>;
|
|
115
115
|
getUserStories(): Record<string, string[]>;
|
|
116
116
|
getLinks(): Record<string, import("@ddd-tool/domain-designer-core/common").LinkType>;
|
|
117
117
|
getIdMap(): Record<string, DomainDesignObject>;
|
|
118
|
-
getAssociationMap(): Record<string, import("@ddd-tool/domain-designer-core/
|
|
118
|
+
getAssociationMap(): Record<string, import("@ddd-tool/domain-designer-core/types").DomainObjectSet<DomainDesignObject>>;
|
|
119
119
|
getCommands(): DomainDesignCommand<any>[];
|
|
120
120
|
getFacadeCommands(): DomainDesignFacadeCommand<any>[];
|
|
121
121
|
getActors(): import("@ddd-tool/domain-designer-core").DomainDesignActor[];
|
|
@@ -135,60 +135,60 @@ declare const _default: import("vue-fn/domain-server").DomainHotSwapPlugin<impor
|
|
|
135
135
|
registerSystem(system: import("@ddd-tool/domain-designer-core").DomainDesignSystem): void;
|
|
136
136
|
registerAgg(agg: DomainDesignAgg<any>): void;
|
|
137
137
|
registerReadModel(readModel: import("@ddd-tool/domain-designer-core").DomainDesignReadModel<any>): void;
|
|
138
|
-
customInfoArrToInfoObj<G_NAME extends string, ARR extends import("@ddd-tool/domain-designer-core/
|
|
139
|
-
customInfoArrToInfoArr<G_NAME extends string, ARR extends import("@ddd-tool/domain-designer-core/
|
|
138
|
+
customInfoArrToInfoObj<G_NAME extends string, ARR extends import("@ddd-tool/domain-designer-core/types").NonEmptyArray<import("@ddd-tool/domain-designer-core/types").CustomInfo<G_NAME>>>(arr: ARR): import("@ddd-tool/domain-designer-core/types").CustomInfoArrayToInfoObject<ARR>;
|
|
139
|
+
customInfoArrToInfoArr<G_NAME extends string, ARR extends import("@ddd-tool/domain-designer-core/types").NonEmptyArray<import("@ddd-tool/domain-designer-core/types").CustomInfo<G_NAME>>>(arr: ARR): DomainDesignInfo<DomainDesignInfoType, string>[];
|
|
140
140
|
toFormat<OBJ extends {
|
|
141
141
|
_attributes: {
|
|
142
142
|
__id: string;
|
|
143
143
|
name: string;
|
|
144
144
|
};
|
|
145
145
|
}>(obj: OBJ): string;
|
|
146
|
-
createNote: import("@ddd-tool/domain-designer-core/
|
|
146
|
+
createNote: import("@ddd-tool/domain-designer-core/types").DomainDesignNoteProvider;
|
|
147
147
|
info: {
|
|
148
148
|
document<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Document", NAME>;
|
|
149
149
|
func<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Function", NAME>;
|
|
150
|
-
func<NAME extends string>(name: NAME, dependsOn: import("@ddd-tool/domain-designer-core/
|
|
150
|
+
func<NAME extends string>(name: NAME, dependsOn: import("@ddd-tool/domain-designer-core/types").NonEmptyArray<import("@ddd-tool/domain-designer-core/types").DomainDesignInfoFuncDependsOn | string | [string, string | import("@ddd-tool/domain-designer-core").DomainDesignNote]>, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Function", NAME>;
|
|
151
151
|
id<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Id", NAME>;
|
|
152
152
|
valueObj<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"ValueObject", NAME>;
|
|
153
153
|
version<NAME extends string>(name: NAME, note?: string | import("@ddd-tool/domain-designer-core").DomainDesignNote): DomainDesignInfo<"Version", NAME>;
|
|
154
154
|
};
|
|
155
|
-
createPersion: import("@ddd-tool/domain-designer-core/
|
|
156
|
-
createCommand: import("@ddd-tool/domain-designer-core/
|
|
157
|
-
createFacadeCommand: import("@ddd-tool/domain-designer-core/
|
|
158
|
-
createAgg: import("@ddd-tool/domain-designer-core/
|
|
159
|
-
createEvent: import("@ddd-tool/domain-designer-core/
|
|
160
|
-
createPolicy: import("@ddd-tool/domain-designer-core/
|
|
161
|
-
createService: import("@ddd-tool/domain-designer-core/
|
|
162
|
-
createSystem: import("@ddd-tool/domain-designer-core/
|
|
163
|
-
createReadModel: import("@ddd-tool/domain-designer-core/
|
|
155
|
+
createPersion: import("@ddd-tool/domain-designer-core/types").DomainDesignActorProvider;
|
|
156
|
+
createCommand: import("@ddd-tool/domain-designer-core/types").DomainDesignCommandProvider;
|
|
157
|
+
createFacadeCommand: import("@ddd-tool/domain-designer-core/types").DomainDesignFacadeCommandProvider;
|
|
158
|
+
createAgg: import("@ddd-tool/domain-designer-core/types").DomainDesignAggProvider;
|
|
159
|
+
createEvent: import("@ddd-tool/domain-designer-core/types").DomainDesignEventProvider;
|
|
160
|
+
createPolicy: import("@ddd-tool/domain-designer-core/types").DomainDesignPolicyProvider;
|
|
161
|
+
createService: import("@ddd-tool/domain-designer-core/types").DomainDesignServiceProvider;
|
|
162
|
+
createSystem: import("@ddd-tool/domain-designer-core/types").DomainDesignSystemProvider;
|
|
163
|
+
createReadModel: import("@ddd-tool/domain-designer-core/types").DomainDesignReadModelProvider;
|
|
164
164
|
};
|
|
165
165
|
}>;
|
|
166
166
|
context: Ref<{
|
|
167
167
|
namespace: string;
|
|
168
168
|
moduleName: string;
|
|
169
|
-
additions: Set<
|
|
170
|
-
}, import("../domain/
|
|
169
|
+
additions: Set<"CommandHandler" | "Lombok" | "LombokBuilder" | "RecordValueObject" | "Jpa" | "Timezone" | "SpringFramework" | "ValueClass" | "RecordStruct" | "PrimaryConstructor" | "CommandHandlerInterface" | "AggInterface" | "SinglePackageEachDesigner"> & Omit<Set<"CommandHandler" | "Lombok" | "LombokBuilder" | "RecordValueObject" | "Jpa" | "Timezone" | "SpringFramework" | "ValueClass" | "RecordStruct" | "PrimaryConstructor" | "CommandHandlerInterface" | "AggInterface" | "SinglePackageEachDesigner">, keyof Set<any>>;
|
|
170
|
+
}, import("../domain/types").GeneratorContext<any> | {
|
|
171
171
|
namespace: string;
|
|
172
172
|
moduleName: string;
|
|
173
|
-
additions: Set<
|
|
173
|
+
additions: Set<"CommandHandler" | "Lombok" | "LombokBuilder" | "RecordValueObject" | "Jpa" | "Timezone" | "SpringFramework" | "ValueClass" | "RecordStruct" | "PrimaryConstructor" | "CommandHandlerInterface" | "AggInterface" | "SinglePackageEachDesigner"> & Omit<Set<"CommandHandler" | "Lombok" | "LombokBuilder" | "RecordValueObject" | "Jpa" | "Timezone" | "SpringFramework" | "ValueClass" | "RecordStruct" | "PrimaryConstructor" | "CommandHandlerInterface" | "AggInterface" | "SinglePackageEachDesigner">, keyof Set<any>>;
|
|
174
174
|
}>;
|
|
175
175
|
}, {
|
|
176
176
|
genCodeFiles(): CodeFile[];
|
|
177
177
|
clearCaches(): void;
|
|
178
|
-
setContext<LANG extends import("../domain/
|
|
178
|
+
setContext<LANG extends import("../domain/types").Language>(ctx: import("../domain/types").GeneratorContext<LANG>): void;
|
|
179
179
|
setDomainDesigner(d: import("@ddd-tool/domain-designer-core").DomainDesigner): void;
|
|
180
|
-
_genInfoCode(info: DomainDesignInfo<DomainDesignInfoType, string>): ReturnType<import("../domain/
|
|
181
|
-
_setInfoCodeProvider(provider: import("../domain/
|
|
182
|
-
_genCommandCode(cmd: DomainDesignCommand<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/
|
|
183
|
-
_setCommandCodeProvider(provider: import("../domain/
|
|
184
|
-
_genFacadeCommandCode(cmd: DomainDesignFacadeCommand<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/
|
|
185
|
-
_setFacadeCommandCodeProvider(provider: import("../domain/
|
|
186
|
-
_genAggCode(agg: DomainDesignAgg<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/
|
|
187
|
-
_setAggCodeProvider(provider: import("../domain/
|
|
188
|
-
_genEventCode(event: DomainDesignEvent<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/
|
|
189
|
-
_setEventCodeProvider(provider: import("../domain/
|
|
190
|
-
_genReadModelCode(readModel: import("@ddd-tool/domain-designer-core").DomainDesignReadModel<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/
|
|
191
|
-
_setReadModelCodeProvider(provider: import("../domain/
|
|
180
|
+
_genInfoCode(info: DomainDesignInfo<DomainDesignInfoType, string>): ReturnType<import("../domain/types").InfoCodeProvider>;
|
|
181
|
+
_setInfoCodeProvider(provider: import("../domain/types").InfoCodeProvider): void;
|
|
182
|
+
_genCommandCode(cmd: DomainDesignCommand<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/types").CommandCodeProvider>;
|
|
183
|
+
_setCommandCodeProvider(provider: import("../domain/types").CommandCodeProvider): void;
|
|
184
|
+
_genFacadeCommandCode(cmd: DomainDesignFacadeCommand<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/types").FacadeCommandCodeProvider>;
|
|
185
|
+
_setFacadeCommandCodeProvider(provider: import("../domain/types").FacadeCommandCodeProvider): void;
|
|
186
|
+
_genAggCode(agg: DomainDesignAgg<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/types").AggCodeProvider>;
|
|
187
|
+
_setAggCodeProvider(provider: import("../domain/types").AggCodeProvider): void;
|
|
188
|
+
_genEventCode(event: DomainDesignEvent<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/types").EventCodeProvider>;
|
|
189
|
+
_setEventCodeProvider(provider: import("../domain/types").EventCodeProvider): void;
|
|
190
|
+
_genReadModelCode(readModel: import("@ddd-tool/domain-designer-core").DomainDesignReadModel<Record<string, DomainDesignInfo<DomainDesignInfoType, string>>>): ReturnType<import("../domain/types").ReadModelCodeProvider>;
|
|
191
|
+
_setReadModelCodeProvider(provider: import("../domain/types").ReadModelCodeProvider): void;
|
|
192
192
|
_setCodeFileProvider(provider: () => CodeFile[]): void;
|
|
193
193
|
}, {}>>;
|
|
194
194
|
export default _default;
|