@forklaunch/implementation-iam-base 0.1.5 → 0.1.7

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 (39) hide show
  1. package/lib/__test__/schemaEquality.test.js +24 -16
  2. package/lib/eject/schemas/organization.schema.ts +8 -6
  3. package/lib/eject/schemas/permission.schema.ts +5 -5
  4. package/lib/eject/schemas/role.schema.ts +6 -6
  5. package/lib/eject/schemas/user.schema.ts +6 -6
  6. package/lib/schemas/organization.schema.d.ts +10 -2
  7. package/lib/schemas/organization.schema.d.ts.map +1 -1
  8. package/lib/schemas/permission.schema.d.ts +10 -2
  9. package/lib/schemas/permission.schema.d.ts.map +1 -1
  10. package/lib/schemas/role.schema.d.ts +10 -2
  11. package/lib/schemas/role.schema.d.ts.map +1 -1
  12. package/lib/schemas/typebox/organization.schema.d.ts +9 -3
  13. package/lib/schemas/typebox/organization.schema.d.ts.map +1 -1
  14. package/lib/schemas/typebox/organization.schema.js +6 -6
  15. package/lib/schemas/typebox/permission.schema.d.ts +9 -3
  16. package/lib/schemas/typebox/permission.schema.d.ts.map +1 -1
  17. package/lib/schemas/typebox/permission.schema.js +5 -5
  18. package/lib/schemas/typebox/role.schema.d.ts +9 -3
  19. package/lib/schemas/typebox/role.schema.d.ts.map +1 -1
  20. package/lib/schemas/typebox/role.schema.js +6 -6
  21. package/lib/schemas/typebox/user.schema.d.ts +9 -3
  22. package/lib/schemas/typebox/user.schema.d.ts.map +1 -1
  23. package/lib/schemas/typebox/user.schema.js +6 -6
  24. package/lib/schemas/user.schema.d.ts +10 -2
  25. package/lib/schemas/user.schema.d.ts.map +1 -1
  26. package/lib/schemas/zod/organization.schema.d.ts +9 -3
  27. package/lib/schemas/zod/organization.schema.d.ts.map +1 -1
  28. package/lib/schemas/zod/organization.schema.js +6 -6
  29. package/lib/schemas/zod/permission.schema.d.ts +9 -3
  30. package/lib/schemas/zod/permission.schema.d.ts.map +1 -1
  31. package/lib/schemas/zod/permission.schema.js +5 -5
  32. package/lib/schemas/zod/role.schema.d.ts +9 -3
  33. package/lib/schemas/zod/role.schema.d.ts.map +1 -1
  34. package/lib/schemas/zod/role.schema.js +6 -6
  35. package/lib/schemas/zod/user.schema.d.ts +9 -3
  36. package/lib/schemas/zod/user.schema.d.ts.map +1 -1
  37. package/lib/schemas/zod/user.schema.js +6 -6
  38. package/lib/tsconfig.tsbuildinfo +1 -1
  39. package/package.json +7 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forklaunch/implementation-iam-base",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "Billing basic implementation for forklaunch",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {
@@ -15,10 +15,12 @@
15
15
  "exports": {
16
16
  "./schemas": {
17
17
  "import": "./lib/schemas/index.js",
18
+ "require": "./lib/schemas/index.js",
18
19
  "types": "./lib/schemas/index.d.ts"
19
20
  },
20
21
  "./services": {
21
22
  "import": "./lib/services/index.js",
23
+ "require": "./lib/services/index.js",
22
24
  "types": "./lib/services/index.d.ts"
23
25
  }
24
26
  },
@@ -27,13 +29,13 @@
27
29
  ],
28
30
  "dependencies": {
29
31
  "@forklaunch/common": "^0.2.6",
30
- "@forklaunch/core": "^0.6.2",
31
- "@forklaunch/validator": "^0.4.10",
32
+ "@forklaunch/core": "^0.6.5",
33
+ "@forklaunch/validator": "^0.4.12",
32
34
  "@mikro-orm/core": "^6.4.12",
33
35
  "@sinclair/typebox": "^0.34.33",
34
36
  "ajv": "^8.17.1",
35
37
  "zod": "^3.24.2",
36
- "@forklaunch/interfaces-iam": "0.1.5"
38
+ "@forklaunch/interfaces-iam": "0.1.7"
37
39
  },
38
40
  "devDependencies": {
39
41
  "depcheck": "^1.4.7",
@@ -48,6 +50,7 @@
48
50
  "lint": "eslint . -c eslint.config.mjs",
49
51
  "lint:fix": "eslint . -c eslint.config.mjs --fix",
50
52
  "package:eject": "rm -rf lib/eject && mkdir -p lib/eject && cp -r schemas/zod lib/eject/schemas && cp schemas/index.ts lib/eject/schemas && cp -r services lib/eject/services && find lib/eject -type f -name '*.ts' -exec sed -i '' 's|@forklaunch/validator/zod|@{{app_name}}/core|g' {} +",
53
+ "publish:package": "./publish-package.bash",
51
54
  "test": "vitest --passWithNoTests"
52
55
  }
53
56
  }