@forklaunch/implementation-iam-base 0.1.8 → 0.1.10

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.
Files changed (42) hide show
  1. package/lib/__test__/schemaEquality.test.d.ts +1 -1
  2. package/lib/__test__/schemaEquality.test.js +235 -135
  3. package/lib/jest.config.d.ts +1 -1
  4. package/lib/jest.config.js +16 -16
  5. package/lib/schemas/index.d.ts +1 -1
  6. package/lib/schemas/organization.schema.d.ts +361 -150
  7. package/lib/schemas/organization.schema.js +4 -1
  8. package/lib/schemas/permission.schema.d.ts +88 -34
  9. package/lib/schemas/permission.schema.js +4 -1
  10. package/lib/schemas/role.schema.d.ts +139 -50
  11. package/lib/schemas/role.schema.js +4 -1
  12. package/lib/schemas/typebox/organization.schema.d.ts +405 -103
  13. package/lib/schemas/typebox/organization.schema.js +27 -17
  14. package/lib/schemas/typebox/permission.schema.d.ts +122 -38
  15. package/lib/schemas/typebox/permission.schema.js +24 -17
  16. package/lib/schemas/typebox/role.schema.d.ts +190 -50
  17. package/lib/schemas/typebox/role.schema.js +24 -17
  18. package/lib/schemas/typebox/user.schema.d.ts +330 -94
  19. package/lib/schemas/typebox/user.schema.js +40 -32
  20. package/lib/schemas/user.schema.d.ts +262 -116
  21. package/lib/schemas/user.schema.js +4 -1
  22. package/lib/schemas/zod/organization.schema.d.ts +308 -218
  23. package/lib/schemas/zod/organization.schema.js +27 -17
  24. package/lib/schemas/zod/permission.schema.d.ts +54 -38
  25. package/lib/schemas/zod/permission.schema.js +24 -17
  26. package/lib/schemas/zod/role.schema.d.ts +96 -66
  27. package/lib/schemas/zod/role.schema.js +24 -17
  28. package/lib/schemas/zod/user.schema.d.ts +189 -143
  29. package/lib/schemas/zod/user.schema.js +40 -32
  30. package/lib/services/index.d.ts +1 -1
  31. package/lib/services/organization.service.d.ts +106 -33
  32. package/lib/services/organization.service.js +47 -32
  33. package/lib/services/permission.service.d.ts +117 -41
  34. package/lib/services/permission.service.js +193 -149
  35. package/lib/services/role.service.d.ts +104 -35
  36. package/lib/services/role.service.js +70 -54
  37. package/lib/services/user.service.d.ts +121 -37
  38. package/lib/services/user.service.js +121 -80
  39. package/lib/tsconfig.tsbuildinfo +1 -1
  40. package/lib/vitest.config.d.ts +2 -2
  41. package/lib/vitest.config.js +4 -4
  42. package/package.json +13 -13
@@ -1,3 +1,3 @@
1
- declare const _default: import("vite").UserConfig;
1
+ declare const _default: import('vite').UserConfig;
2
2
  export default _default;
3
- //# sourceMappingURL=vitest.config.d.ts.map
3
+ //# sourceMappingURL=vitest.config.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import { defineConfig } from 'vitest/config';
2
2
  export default defineConfig({
3
- test: {
4
- globals: true,
5
- exclude: ['**/lib/**', '**/node_modules/**']
6
- }
3
+ test: {
4
+ globals: true,
5
+ exclude: ['**/lib/**', '**/node_modules/**']
6
+ }
7
7
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forklaunch/implementation-iam-base",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "Billing basic implementation for forklaunch",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {
@@ -14,36 +14,36 @@
14
14
  "author": "Forklift Technologies, Inc.",
15
15
  "exports": {
16
16
  "./schemas": {
17
+ "types": "./lib/schemas/index.d.ts",
17
18
  "import": "./lib/schemas/index.js",
18
- "require": "./lib/schemas/index.js",
19
- "types": "./lib/schemas/index.d.ts"
19
+ "require": "./lib/schemas/index.js"
20
20
  },
21
21
  "./services": {
22
+ "types": "./lib/services/index.d.ts",
22
23
  "import": "./lib/services/index.js",
23
- "require": "./lib/services/index.js",
24
- "types": "./lib/services/index.d.ts"
24
+ "require": "./lib/services/index.js"
25
25
  }
26
26
  },
27
27
  "files": [
28
28
  "lib/**"
29
29
  ],
30
30
  "dependencies": {
31
- "@forklaunch/common": "^0.2.6",
32
- "@forklaunch/core": "^0.6.6",
33
- "@forklaunch/validator": "^0.4.12",
34
- "@mikro-orm/core": "^6.4.12",
31
+ "@forklaunch/common": "link:../../../../framework/common",
32
+ "@forklaunch/core": "link:../../../../framework/core",
33
+ "@forklaunch/validator": "link:../../../../framework/validator",
34
+ "@mikro-orm/core": "^6.4.13",
35
35
  "@sinclair/typebox": "^0.34.33",
36
36
  "ajv": "^8.17.1",
37
- "zod": "^3.24.2",
38
- "@forklaunch/interfaces-iam": "0.1.8"
37
+ "zod": "^3.24.3",
38
+ "@forklaunch/interfaces-iam": "0.1.10"
39
39
  },
40
40
  "devDependencies": {
41
41
  "depcheck": "^1.4.7",
42
42
  "prettier": "^3.5.3",
43
- "typedoc": "^0.28.2"
43
+ "typedoc": "^0.28.3"
44
44
  },
45
45
  "scripts": {
46
- "build": "tsc && pnpm package:eject",
46
+ "build": "tsc && if [ -f eject-package.bash ]; then pnpm package:eject; fi",
47
47
  "clean": "rm -rf lib pnpm.lock.yaml node_modules",
48
48
  "docs": "typedoc --out docs *",
49
49
  "format": "prettier --ignore-path=.prettierignore --config .prettierrc '**/*.{ts,tsx,json}' --write",