@open-mercato/core 0.4.6-canary-8ae94de818 → 0.4.6-canary-d4ca4fecc3
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/modules/integrations/setup.js +2 -2
- package/dist/modules/integrations/setup.js.map +2 -2
- package/dist/modules/payment_gateways/setup.js +2 -2
- package/dist/modules/payment_gateways/setup.js.map +2 -2
- package/package.json +2 -2
- package/src/modules/integrations/setup.ts +2 -2
- package/src/modules/payment_gateways/setup.ts +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const setup = {
|
|
2
2
|
defaultRoleFeatures: {
|
|
3
|
-
superadmin: ["integrations.view", "integrations.manage", "integrations.credentials.manage"],
|
|
4
|
-
admin: ["integrations.view", "integrations.manage", "integrations.credentials.manage"],
|
|
3
|
+
superadmin: ["integrations.*", "integrations.view", "integrations.manage", "integrations.credentials.manage"],
|
|
4
|
+
admin: ["integrations.*", "integrations.view", "integrations.manage", "integrations.credentials.manage"],
|
|
5
5
|
employee: ["integrations.view"]
|
|
6
6
|
}
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/modules/integrations/setup.ts"],
|
|
4
|
-
"sourcesContent": ["import type { ModuleSetupConfig } from '@open-mercato/shared/modules/setup'\n\nexport const setup: ModuleSetupConfig = {\n defaultRoleFeatures: {\n superadmin: ['integrations.view', 'integrations.manage', 'integrations.credentials.manage'],\n admin: ['integrations.view', 'integrations.manage', 'integrations.credentials.manage'],\n employee: ['integrations.view'],\n },\n}\n\nexport default setup\n"],
|
|
5
|
-
"mappings": "AAEO,MAAM,QAA2B;AAAA,EACtC,qBAAqB;AAAA,IACnB,YAAY,CAAC,qBAAqB,uBAAuB,iCAAiC;AAAA,
|
|
4
|
+
"sourcesContent": ["import type { ModuleSetupConfig } from '@open-mercato/shared/modules/setup'\n\nexport const setup: ModuleSetupConfig = {\n defaultRoleFeatures: {\n superadmin: ['integrations.*', 'integrations.view', 'integrations.manage', 'integrations.credentials.manage'],\n admin: ['integrations.*', 'integrations.view', 'integrations.manage', 'integrations.credentials.manage'],\n employee: ['integrations.view'],\n },\n}\n\nexport default setup\n"],
|
|
5
|
+
"mappings": "AAEO,MAAM,QAA2B;AAAA,EACtC,qBAAqB;AAAA,IACnB,YAAY,CAAC,kBAAkB,qBAAqB,uBAAuB,iCAAiC;AAAA,IAC5G,OAAO,CAAC,kBAAkB,qBAAqB,uBAAuB,iCAAiC;AAAA,IACvG,UAAU,CAAC,mBAAmB;AAAA,EAChC;AACF;AAEA,IAAO,gBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const setup = {
|
|
2
2
|
defaultRoleFeatures: {
|
|
3
|
-
superadmin: ["payment_gateways.view", "payment_gateways.manage", "payment_gateways.capture", "payment_gateways.refund"],
|
|
4
|
-
admin: ["payment_gateways.view", "payment_gateways.manage", "payment_gateways.capture", "payment_gateways.refund"],
|
|
3
|
+
superadmin: ["payment_gateways.*", "payment_gateways.view", "payment_gateways.manage", "payment_gateways.capture", "payment_gateways.refund"],
|
|
4
|
+
admin: ["payment_gateways.*", "payment_gateways.view", "payment_gateways.manage", "payment_gateways.capture", "payment_gateways.refund"],
|
|
5
5
|
employee: ["payment_gateways.view"]
|
|
6
6
|
}
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/modules/payment_gateways/setup.ts"],
|
|
4
|
-
"sourcesContent": ["import type { ModuleSetupConfig } from '@open-mercato/shared/modules/setup'\n\nexport const setup: ModuleSetupConfig = {\n defaultRoleFeatures: {\n superadmin: ['payment_gateways.view', 'payment_gateways.manage', 'payment_gateways.capture', 'payment_gateways.refund'],\n admin: ['payment_gateways.view', 'payment_gateways.manage', 'payment_gateways.capture', 'payment_gateways.refund'],\n employee: ['payment_gateways.view'],\n },\n}\n\nexport default setup\n"],
|
|
5
|
-
"mappings": "AAEO,MAAM,QAA2B;AAAA,EACtC,qBAAqB;AAAA,IACnB,YAAY,CAAC,yBAAyB,2BAA2B,4BAA4B,yBAAyB;AAAA,
|
|
4
|
+
"sourcesContent": ["import type { ModuleSetupConfig } from '@open-mercato/shared/modules/setup'\n\nexport const setup: ModuleSetupConfig = {\n defaultRoleFeatures: {\n superadmin: ['payment_gateways.*', 'payment_gateways.view', 'payment_gateways.manage', 'payment_gateways.capture', 'payment_gateways.refund'],\n admin: ['payment_gateways.*', 'payment_gateways.view', 'payment_gateways.manage', 'payment_gateways.capture', 'payment_gateways.refund'],\n employee: ['payment_gateways.view'],\n },\n}\n\nexport default setup\n"],
|
|
5
|
+
"mappings": "AAEO,MAAM,QAA2B;AAAA,EACtC,qBAAqB;AAAA,IACnB,YAAY,CAAC,sBAAsB,yBAAyB,2BAA2B,4BAA4B,yBAAyB;AAAA,IAC5I,OAAO,CAAC,sBAAsB,yBAAyB,2BAA2B,4BAA4B,yBAAyB;AAAA,IACvI,UAAU,CAAC,uBAAuB;AAAA,EACpC;AACF;AAEA,IAAO,gBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-mercato/core",
|
|
3
|
-
"version": "0.4.6-canary-
|
|
3
|
+
"version": "0.4.6-canary-d4ca4fecc3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
}
|
|
208
208
|
},
|
|
209
209
|
"dependencies": {
|
|
210
|
-
"@open-mercato/shared": "0.4.6-canary-
|
|
210
|
+
"@open-mercato/shared": "0.4.6-canary-d4ca4fecc3",
|
|
211
211
|
"@types/html-to-text": "^9.0.4",
|
|
212
212
|
"@types/semver": "^7.5.8",
|
|
213
213
|
"@xyflow/react": "^12.6.0",
|
|
@@ -2,8 +2,8 @@ import type { ModuleSetupConfig } from '@open-mercato/shared/modules/setup'
|
|
|
2
2
|
|
|
3
3
|
export const setup: ModuleSetupConfig = {
|
|
4
4
|
defaultRoleFeatures: {
|
|
5
|
-
superadmin: ['integrations.view', 'integrations.manage', 'integrations.credentials.manage'],
|
|
6
|
-
admin: ['integrations.view', 'integrations.manage', 'integrations.credentials.manage'],
|
|
5
|
+
superadmin: ['integrations.*', 'integrations.view', 'integrations.manage', 'integrations.credentials.manage'],
|
|
6
|
+
admin: ['integrations.*', 'integrations.view', 'integrations.manage', 'integrations.credentials.manage'],
|
|
7
7
|
employee: ['integrations.view'],
|
|
8
8
|
},
|
|
9
9
|
}
|
|
@@ -2,8 +2,8 @@ import type { ModuleSetupConfig } from '@open-mercato/shared/modules/setup'
|
|
|
2
2
|
|
|
3
3
|
export const setup: ModuleSetupConfig = {
|
|
4
4
|
defaultRoleFeatures: {
|
|
5
|
-
superadmin: ['payment_gateways.view', 'payment_gateways.manage', 'payment_gateways.capture', 'payment_gateways.refund'],
|
|
6
|
-
admin: ['payment_gateways.view', 'payment_gateways.manage', 'payment_gateways.capture', 'payment_gateways.refund'],
|
|
5
|
+
superadmin: ['payment_gateways.*', 'payment_gateways.view', 'payment_gateways.manage', 'payment_gateways.capture', 'payment_gateways.refund'],
|
|
6
|
+
admin: ['payment_gateways.*', 'payment_gateways.view', 'payment_gateways.manage', 'payment_gateways.capture', 'payment_gateways.refund'],
|
|
7
7
|
employee: ['payment_gateways.view'],
|
|
8
8
|
},
|
|
9
9
|
}
|