@open-mercato/core 0.4.6-canary-8ae94de818 → 0.4.6-canary-e6fd8df30a

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.
@@ -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,IAC1F,OAAO,CAAC,qBAAqB,uBAAuB,iCAAiC;AAAA,IACrF,UAAU,CAAC,mBAAmB;AAAA,EAChC;AACF;AAEA,IAAO,gBAAQ;",
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,IACtH,OAAO,CAAC,yBAAyB,2BAA2B,4BAA4B,yBAAyB;AAAA,IACjH,UAAU,CAAC,uBAAuB;AAAA,EACpC;AACF;AAEA,IAAO,gBAAQ;",
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-8ae94de818",
3
+ "version": "0.4.6-canary-e6fd8df30a",
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-8ae94de818",
210
+ "@open-mercato/shared": "0.4.6-canary-e6fd8df30a",
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
  }