@cloudcommerce/types 2.14.2 → 2.14.6
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/index.ts +9 -1
- package/package.json +2 -2
package/index.ts
CHANGED
|
@@ -121,7 +121,15 @@ export type AppModuleBody<M extends AppModuleName | undefined = undefined> = {
|
|
|
121
121
|
M extends 'apply_discount' ? ApplyDiscountParams :
|
|
122
122
|
M extends 'create_transaction' ? CreateTransactionParams :
|
|
123
123
|
Record<string, any>,
|
|
124
|
-
application: Applications
|
|
124
|
+
application: Partial<Applications> & {
|
|
125
|
+
_id: Applications['_id'],
|
|
126
|
+
state?: 'active',
|
|
127
|
+
app_id: Applications['app_id'],
|
|
128
|
+
version: Applications['version'],
|
|
129
|
+
modules: Exclude<Applications['modules'], undefined>,
|
|
130
|
+
data: Applications['data'],
|
|
131
|
+
hidden_data: Applications['hidden_data'],
|
|
132
|
+
},
|
|
125
133
|
};
|
|
126
134
|
|
|
127
135
|
export type AppModuleResponse<M extends AppModuleName | undefined = undefined> =
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.14.
|
|
4
|
+
"version": "2.14.6",
|
|
5
5
|
"description": "e-com.plus Cloud Commerce reusable type definitions",
|
|
6
6
|
"main": "index.ts",
|
|
7
7
|
"files": [
|
|
@@ -21,6 +21,6 @@
|
|
|
21
21
|
},
|
|
22
22
|
"homepage": "https://github.com/ecomplus/cloud-commerce/tree/main/packages/types#readme",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@cloudcommerce/api": "2.14.
|
|
24
|
+
"@cloudcommerce/api": "2.14.6"
|
|
25
25
|
}
|
|
26
26
|
}
|