@vita-mojo/types 1.0.44 → 1.0.45-VMOS-13521-9375f88-970-rc.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vita-mojo/types",
3
- "version": "1.0.44",
3
+ "version": "1.0.45-VMOS-13521-9375f88-970-rc.0",
4
4
  "main": "./src/index.js",
5
5
  "type": "commonjs"
6
6
  }
@@ -0,0 +1,11 @@
1
+ export type PermissionDefinition = {
2
+ namespace: string;
3
+ resource: string;
4
+ permission: string;
5
+ method: string;
6
+ endpoint: string;
7
+ docstring?: string;
8
+ };
9
+ export type PermissionsMap = {
10
+ [key: string]: PermissionDefinition;
11
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=auth-permissions-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth-permissions-types.js","sourceRoot":"","sources":["../../../../packages/types/src/auth-permissions-types.ts"],"names":[],"mappings":""}
package/src/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { Allergen } from './allergen';
2
+ export * from './auth-permissions-types';
2
3
  export * as Order from './order';
3
4
  export { Permission } from './permission.interface';
4
5
  export { Profile } from './profile.interface';
package/src/index.js CHANGED
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Order = void 0;
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("./auth-permissions-types"), exports);
4
6
  exports.Order = require("./order");
5
7
  //# sourceMappingURL=index.js.map
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/types/src/index.ts"],"names":[],"mappings":";;;AACA,mCAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/types/src/index.ts"],"names":[],"mappings":";;;;AACA,mEAAyC;AACzC,mCAAiC"}