@wordrhyme/db 0.1.0-alpha.14

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 (98) hide show
  1. package/README.md +66 -0
  2. package/dist/acl-policy.d.ts +86 -0
  3. package/dist/acl-policy.d.ts.map +1 -0
  4. package/dist/chunk-3TTVLSF5.js +3390 -0
  5. package/dist/chunk-3TTVLSF5.js.map +1 -0
  6. package/dist/chunk-DCJM6GN5.js +264 -0
  7. package/dist/chunk-DCJM6GN5.js.map +1 -0
  8. package/dist/chunk-KWWJRUIK.js +54 -0
  9. package/dist/chunk-KWWJRUIK.js.map +1 -0
  10. package/dist/chunk-XAIEVBMU.js +212 -0
  11. package/dist/chunk-XAIEVBMU.js.map +1 -0
  12. package/dist/delete-policy.d.ts +11 -0
  13. package/dist/delete-policy.d.ts.map +1 -0
  14. package/dist/index.d.ts +31 -0
  15. package/dist/index.d.ts.map +1 -0
  16. package/dist/index.js +545 -0
  17. package/dist/index.js.map +1 -0
  18. package/dist/plugin.d.ts +110 -0
  19. package/dist/plugin.d.ts.map +1 -0
  20. package/dist/plugin.js +21 -0
  21. package/dist/plugin.js.map +1 -0
  22. package/dist/relations/index.d.ts +105 -0
  23. package/dist/relations/index.d.ts.map +1 -0
  24. package/dist/relations/index.js +9 -0
  25. package/dist/relations/index.js.map +1 -0
  26. package/dist/schema/action-journal.d.ts +386 -0
  27. package/dist/schema/action-journal.d.ts.map +1 -0
  28. package/dist/schema/audit-archive.d.ts +934 -0
  29. package/dist/schema/audit-archive.d.ts.map +1 -0
  30. package/dist/schema/audit-events.d.ts +502 -0
  31. package/dist/schema/audit-events.d.ts.map +1 -0
  32. package/dist/schema/audit-logs.d.ts +418 -0
  33. package/dist/schema/audit-logs.d.ts.map +1 -0
  34. package/dist/schema/auth.d.ts +2727 -0
  35. package/dist/schema/auth.d.ts.map +1 -0
  36. package/dist/schema/billing.d.ts +3969 -0
  37. package/dist/schema/billing.d.ts.map +1 -0
  38. package/dist/schema/common.d.ts +87 -0
  39. package/dist/schema/common.d.ts.map +1 -0
  40. package/dist/schema/currency.d.ts +791 -0
  41. package/dist/schema/currency.d.ts.map +1 -0
  42. package/dist/schema/entity-extensions.d.ts +314 -0
  43. package/dist/schema/entity-extensions.d.ts.map +1 -0
  44. package/dist/schema/entity-ownerships.d.ts +862 -0
  45. package/dist/schema/entity-ownerships.d.ts.map +1 -0
  46. package/dist/schema/feature-flags.d.ts +770 -0
  47. package/dist/schema/feature-flags.d.ts.map +1 -0
  48. package/dist/schema/geo.d.ts +824 -0
  49. package/dist/schema/geo.d.ts.map +1 -0
  50. package/dist/schema/i18n.d.ts +1109 -0
  51. package/dist/schema/i18n.d.ts.map +1 -0
  52. package/dist/schema/index.d.ts +43 -0
  53. package/dist/schema/index.d.ts.map +1 -0
  54. package/dist/schema/index.js +507 -0
  55. package/dist/schema/index.js.map +1 -0
  56. package/dist/schema/media.d.ts +1147 -0
  57. package/dist/schema/media.d.ts.map +1 -0
  58. package/dist/schema/menus.d.ts +636 -0
  59. package/dist/schema/menus.d.ts.map +1 -0
  60. package/dist/schema/notification-channels.d.ts +288 -0
  61. package/dist/schema/notification-channels.d.ts.map +1 -0
  62. package/dist/schema/notification-preferences.d.ts +300 -0
  63. package/dist/schema/notification-preferences.d.ts.map +1 -0
  64. package/dist/schema/notification-templates.d.ts +476 -0
  65. package/dist/schema/notification-templates.d.ts.map +1 -0
  66. package/dist/schema/notifications.d.ts +1139 -0
  67. package/dist/schema/notifications.d.ts.map +1 -0
  68. package/dist/schema/permission-fields.d.ts +96 -0
  69. package/dist/schema/permission-fields.d.ts.map +1 -0
  70. package/dist/schema/permissions.d.ts +173 -0
  71. package/dist/schema/permissions.d.ts.map +1 -0
  72. package/dist/schema/plugin-migrations.d.ts +204 -0
  73. package/dist/schema/plugin-migrations.d.ts.map +1 -0
  74. package/dist/schema/plugins.d.ts +1977 -0
  75. package/dist/schema/plugins.d.ts.map +1 -0
  76. package/dist/schema/relationships.d.ts +221 -0
  77. package/dist/schema/relationships.d.ts.map +1 -0
  78. package/dist/schema/role-permissions.d.ts +305 -0
  79. package/dist/schema/role-permissions.d.ts.map +1 -0
  80. package/dist/schema/roles.d.ts +260 -0
  81. package/dist/schema/roles.d.ts.map +1 -0
  82. package/dist/schema/scheduled-tasks.d.ts +1334 -0
  83. package/dist/schema/scheduled-tasks.d.ts.map +1 -0
  84. package/dist/schema/settings.d.ts +819 -0
  85. package/dist/schema/settings.d.ts.map +1 -0
  86. package/dist/schema/site-presentation.d.ts +1587 -0
  87. package/dist/schema/site-presentation.d.ts.map +1 -0
  88. package/dist/schema/teams.d.ts +381 -0
  89. package/dist/schema/teams.d.ts.map +1 -0
  90. package/dist/schema/web-design.d.ts +1542 -0
  91. package/dist/schema/web-design.d.ts.map +1 -0
  92. package/dist/schema/webhooks.d.ts +1016 -0
  93. package/dist/schema/webhooks.d.ts.map +1 -0
  94. package/dist/zod/index.d.ts +2 -0
  95. package/dist/zod/index.d.ts.map +1 -0
  96. package/dist/zod/index.js +6 -0
  97. package/dist/zod/index.js.map +1 -0
  98. package/package.json +63 -0
package/package.json ADDED
@@ -0,0 +1,63 @@
1
+ {
2
+ "name": "@wordrhyme/db",
3
+ "version": "0.1.0-alpha.14",
4
+ "private": false,
5
+ "type": "module",
6
+ "sideEffects": false,
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/denvey/wordrhyme.git",
10
+ "directory": "packages/db"
11
+ },
12
+ "main": "./dist/index.js",
13
+ "types": "./dist/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/index.d.ts",
17
+ "import": "./dist/index.js"
18
+ },
19
+ "./schema": {
20
+ "types": "./dist/schema/index.d.ts",
21
+ "import": "./dist/schema/index.js"
22
+ },
23
+ "./relations": {
24
+ "types": "./dist/relations/index.d.ts",
25
+ "import": "./dist/relations/index.js"
26
+ },
27
+ "./types": {
28
+ "types": "./dist/types/index.d.ts",
29
+ "import": "./dist/types/index.js"
30
+ },
31
+ "./zod": {
32
+ "types": "./dist/zod/index.d.ts",
33
+ "import": "./dist/zod/index.js"
34
+ },
35
+ "./plugin": {
36
+ "types": "./dist/plugin.d.ts",
37
+ "import": "./dist/plugin.js"
38
+ }
39
+ },
40
+ "files": ["dist"],
41
+ "publishConfig": {
42
+ "access": "public"
43
+ },
44
+ "scripts": {
45
+ "build": "tsup && tsc --project tsconfig.dts.json --emitDeclarationOnly",
46
+ "dev": "tsup --watch",
47
+ "test": "vitest run",
48
+ "type-check": "tsc --noEmit",
49
+ "prepack": "pnpm build",
50
+ "clean": "rm -rf dist tsconfig.tsbuildinfo"
51
+ },
52
+ "peerDependencies": {
53
+ "drizzle-orm": ">=1.0.0-rc.4 <2.0.0",
54
+ "zod": ">=4.3.6 <5.0.0"
55
+ },
56
+ "devDependencies": {
57
+ "drizzle-orm": "catalog:",
58
+ "tsup": "^8.3.5",
59
+ "typescript": "^5.7.2",
60
+ "vitest": "^4.0.18",
61
+ "zod": "^4.3.6"
62
+ }
63
+ }