lombok-typescript 0.7.0 → 0.8.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/README.md +18 -6
- package/dist/cli/index.cjs +149 -5
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +149 -5
- package/dist/cli/index.js.map +1 -1
- package/dist/codegen/index.cjs +149 -5
- package/dist/codegen/index.cjs.map +1 -1
- package/dist/codegen/index.js +149 -5
- package/dist/codegen/index.js.map +1 -1
- package/dist/legacy/index.cjs +106 -0
- package/dist/legacy/index.cjs.map +1 -1
- package/dist/legacy/index.d.cts +18 -3
- package/dist/legacy/index.d.ts +18 -3
- package/dist/legacy/index.js +100 -1
- package/dist/legacy/index.js.map +1 -1
- package/dist/stage3/index.cjs +118 -1
- package/dist/stage3/index.cjs.map +1 -1
- package/dist/stage3/index.d.cts +18 -3
- package/dist/stage3/index.d.ts +18 -3
- package/dist/stage3/index.js +112 -2
- package/dist/stage3/index.js.map +1 -1
- package/dist/{proxy-BJ6_DDQ0.d.cts → visitor-B5ByGIWE.d.cts} +17 -1
- package/dist/{proxy-BQ3WvvT_.d.ts → visitor-BqARKwCX.d.ts} +17 -1
- package/package.json +2 -2
|
@@ -120,4 +120,20 @@ interface ProxyHooks {
|
|
|
120
120
|
after?: (method: string, result: unknown) => void;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
interface TemplateMethodOptions {
|
|
124
|
+
/** Template method name to generate or assign. Default `execute`. */
|
|
125
|
+
template?: string;
|
|
126
|
+
/** Hook step names in call order. */
|
|
127
|
+
steps: string[];
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
interface HookOptions {
|
|
131
|
+
name: string;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
declare function getVisitableRegistry(): ReadonlyMap<string, AnyClass>;
|
|
135
|
+
interface VisitorOptions {
|
|
136
|
+
visitMethods: Record<string, string>;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export { type AccessorsOptions as A, type ClassDecoratorLogic as C, type FieldDefaultsOptions as F, type HandlerOptions as H, type LogOptions as L, type MemoizeOptions as M, type ProxyHooks as P, type StateOptions as S, type TemplateMethodOptions as T, type VisitorOptions as V, type FlyweightOptions as a, type HookOptions as b, type TransitionOptions as c, type AnyClass as d, CommandHistory as e, type FieldDecoratorLogic as f, type MethodDecoratorLogic as g, type ParameterDecoratorLogic as h, StrategyRegistry as i, createFromFactory as j, defineClassDecorator as k, defineFieldDecorator as l, defineMethodDecorator as m, defineParameterDecorator as n, getFactoryRegistry as o, getStrategyFromRegistry as p, getStrategyRegistry as q, getVisitableRegistry as r, listStrategies as s, registerFactory as t, registerStrategy as u };
|
|
@@ -120,4 +120,20 @@ interface ProxyHooks {
|
|
|
120
120
|
after?: (method: string, result: unknown) => void;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
interface TemplateMethodOptions {
|
|
124
|
+
/** Template method name to generate or assign. Default `execute`. */
|
|
125
|
+
template?: string;
|
|
126
|
+
/** Hook step names in call order. */
|
|
127
|
+
steps: string[];
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
interface HookOptions {
|
|
131
|
+
name: string;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
declare function getVisitableRegistry(): ReadonlyMap<string, AnyClass>;
|
|
135
|
+
interface VisitorOptions {
|
|
136
|
+
visitMethods: Record<string, string>;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export { type AccessorsOptions as A, type ClassDecoratorLogic as C, type FieldDefaultsOptions as F, type HandlerOptions as H, type LogOptions as L, type MemoizeOptions as M, type ProxyHooks as P, type StateOptions as S, type TemplateMethodOptions as T, type VisitorOptions as V, type FlyweightOptions as a, type HookOptions as b, type TransitionOptions as c, type AnyClass as d, CommandHistory as e, type FieldDecoratorLogic as f, type MethodDecoratorLogic as g, type ParameterDecoratorLogic as h, StrategyRegistry as i, createFromFactory as j, defineClassDecorator as k, defineFieldDecorator as l, defineMethodDecorator as m, defineParameterDecorator as n, getFactoryRegistry as o, getStrategyFromRegistry as p, getStrategyRegistry as q, getVisitableRegistry as r, listStrategies as s, registerFactory as t, registerStrategy as u };
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lombok-typescript",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org"
|
|
6
6
|
},
|
|
7
|
-
"description": "TypeScript
|
|
7
|
+
"description": "TypeScript decorators for template method, visitor, abstract factory, and more.",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "./dist/index.cjs",
|
|
10
10
|
"module": "./dist/index.js",
|