@molda-org/quotes-custom-orders 0.1.0-next.6 → 0.1.0-next.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +7 -10
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -76,9 +76,9 @@ export declare const QuotesCustomOrdersBlueprint: import("@molda-org/module-runt
|
|
|
76
76
|
[k: string]: import("@molda-org/module-runtime").ModuleActionDefinition<{
|
|
77
77
|
id: string;
|
|
78
78
|
data: Record<string, unknown>;
|
|
79
|
-
}, import("@molda-org/module-runtime").ModuleRecord<Record<string, unknown
|
|
79
|
+
}, import("@molda-org/module-runtime").ModuleRecord<Readonly<Record<string, unknown>>>> | import("@molda-org/module-runtime").ModuleActionDefinition<{
|
|
80
80
|
data: Record<string, unknown>;
|
|
81
|
-
}, import("@molda-org/module-runtime").ModuleRecord<Record<string, unknown
|
|
81
|
+
}, import("@molda-org/module-runtime").ModuleRecord<Readonly<Record<string, unknown>>>> | import("@molda-org/module-runtime").ModuleActionDefinition<{
|
|
82
82
|
id: string;
|
|
83
83
|
expectedRevision: number;
|
|
84
84
|
patch: Record<string, unknown>;
|
|
@@ -87,9 +87,7 @@ export declare const QuotesCustomOrdersBlueprint: import("@molda-org/module-runt
|
|
|
87
87
|
id: string;
|
|
88
88
|
expectedRevision: number;
|
|
89
89
|
patch: Record<string, unknown>;
|
|
90
|
-
}, import("@molda-org/module-runtime").ModuleRecord<
|
|
91
|
-
[x: string]: unknown;
|
|
92
|
-
}>>;
|
|
90
|
+
}, import("@molda-org/module-runtime").ModuleRecord<Readonly<Record<string, unknown>>>>;
|
|
93
91
|
}, {
|
|
94
92
|
[k: string]: import("@molda-org/module-runtime").ModuleViewDefinition<{
|
|
95
93
|
id: string;
|
|
@@ -103,9 +101,9 @@ export declare function createQuotesCustomOrdersService(repository: ModuleReposi
|
|
|
103
101
|
[k: string]: import("@molda-org/module-runtime").ModuleActionDefinition<{
|
|
104
102
|
id: string;
|
|
105
103
|
data: Record<string, unknown>;
|
|
106
|
-
}, import("@molda-org/module-runtime").ModuleRecord<Record<string, unknown
|
|
104
|
+
}, import("@molda-org/module-runtime").ModuleRecord<Readonly<Record<string, unknown>>>> | import("@molda-org/module-runtime").ModuleActionDefinition<{
|
|
107
105
|
data: Record<string, unknown>;
|
|
108
|
-
}, import("@molda-org/module-runtime").ModuleRecord<Record<string, unknown
|
|
106
|
+
}, import("@molda-org/module-runtime").ModuleRecord<Readonly<Record<string, unknown>>>> | import("@molda-org/module-runtime").ModuleActionDefinition<{
|
|
109
107
|
id: string;
|
|
110
108
|
expectedRevision: number;
|
|
111
109
|
patch: Record<string, unknown>;
|
|
@@ -114,9 +112,7 @@ export declare function createQuotesCustomOrdersService(repository: ModuleReposi
|
|
|
114
112
|
id: string;
|
|
115
113
|
expectedRevision: number;
|
|
116
114
|
patch: Record<string, unknown>;
|
|
117
|
-
}, import("@molda-org/module-runtime").ModuleRecord<
|
|
118
|
-
[x: string]: unknown;
|
|
119
|
-
}>>;
|
|
115
|
+
}, import("@molda-org/module-runtime").ModuleRecord<Readonly<Record<string, unknown>>>>;
|
|
120
116
|
}, {
|
|
121
117
|
[k: string]: import("@molda-org/module-runtime").ModuleViewDefinition<{
|
|
122
118
|
id: string;
|
|
@@ -147,3 +143,4 @@ export declare function createQuotesCustomOrdersService(repository: ModuleReposi
|
|
|
147
143
|
equals?: Record<string, unknown> | undefined;
|
|
148
144
|
}, context: import("@molda-org/module-runtime").ModuleExecutionContext): Promise<never>;
|
|
149
145
|
};
|
|
146
|
+
export declare function createQuotesCustomOrdersRuntimeModule(repository: ModuleRepository): import("@molda-org/module-runtime").ResourceModuleContribution;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createResourceModuleService, defineResourceModule, } from '@molda-org/module-runtime';
|
|
1
|
+
import { createResourceModuleContribution, createResourceModuleService, defineResourceModule, } from '@molda-org/module-runtime';
|
|
2
2
|
export const QuotesCustomOrdersActionIds = ["requestQuote", "reviseQuote", "acceptQuote", "approveDeliverable"];
|
|
3
3
|
export const QuotesCustomOrdersViewIds = ["quoteRequests", "activeCustomOrders", "awaitingApproval"];
|
|
4
4
|
export const QuotesCustomOrdersHookIds = ["useQuoteRequests", "useCustomOrders", "useAwaitingApproval"];
|
|
@@ -23,4 +23,7 @@ export const QuotesCustomOrdersBlueprint = defineResourceModule(QuotesCustomOrde
|
|
|
23
23
|
export function createQuotesCustomOrdersService(repository) {
|
|
24
24
|
return createResourceModuleService(QuotesCustomOrdersSpecification, repository);
|
|
25
25
|
}
|
|
26
|
+
export function createQuotesCustomOrdersRuntimeModule(repository) {
|
|
27
|
+
return createResourceModuleContribution(QuotesCustomOrdersSpecification, repository);
|
|
28
|
+
}
|
|
26
29
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,2BAA2B,EAC3B,oBAAoB,GAGrB,MAAM,2BAA2B,CAAC;AAcnC,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,cAAc,EAAC,aAAa,EAAC,aAAa,EAAC,oBAAoB,CAAU,CAAC;AACtH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,eAAe,EAAC,oBAAoB,EAAC,kBAAkB,CAAU,CAAC;AAC5G,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,kBAAkB,EAAC,iBAAiB,EAAC,qBAAqB,CAAU,CAAC;AAE/G,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,EAAE,EAAE,sBAAsB;IAC1B,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACP,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EA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AAU,EAAE;KAC1N;IACD,KAAK,EAAE;QACL,aAAa,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,qBAAqB,EAAE;QACxF,kBAAkB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,eAAe,EAAE,UAAU,EAAE,2BAA2B,EAAE;QAC1G,gBAAgB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,wBAAwB,EAAE;KACrG;IACD,UAAU,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,WAAW,EAAE,qDAAqD,EAAE,CAAC;IAChG,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,+BAA+B,EAAE,WAAW,EAAE,4DAA4D,EAAE,CAAC;CAChF,CAAC;AAEjD,MAAM,CAAC,MAAM,2BAA2B,GAAG,oBAAoB,CAAC,+BAA+B,CAAC,CAAC;AAEjG,MAAM,UAAU,+BAA+B,CAAC,UAA4B;IAC1E,OAAO,2BAA2B,CAAC,+BAA+B,EAAE,UAAU,CAAC,CAAC;AAClF,CAAC;AAED,MAAM,UAAU,qCAAqC,CAAC,UAA4B;IAChF,OAAO,gCAAgC,CAAC,+BAA+B,EAAE,UAAU,CAAC,CAAC;AACvF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molda-org/quotes-custom-orders",
|
|
3
|
-
"version": "0.1.0-next.
|
|
3
|
+
"version": "0.1.0-next.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "tsc -p tsconfig.json",
|
|
16
|
+
"prepack": "npm run build",
|
|
16
17
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
17
18
|
},
|
|
18
19
|
"dependencies": {
|
|
19
|
-
"@molda-org/module-contracts": "0.1.0-next.
|
|
20
|
-
"@molda-org/module-runtime": "0.1.0-next.
|
|
20
|
+
"@molda-org/module-contracts": "0.1.0-next.8",
|
|
21
|
+
"@molda-org/module-runtime": "0.1.0-next.8"
|
|
21
22
|
},
|
|
22
23
|
"devDependencies": {
|
|
23
24
|
"@types/node": "22.19.19",
|