create-nexwire 4.1.1 → 4.1.2

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,13 +1,13 @@
1
- {
2
- "version": "7",
3
- "dialect": "sqlite",
4
- "entries": [
5
- {
6
- "idx": 0,
7
- "version": "6",
8
- "when": 1790961550566,
9
- "tag": "0000_init",
10
- "breakpoints": true
11
- }
12
- ]
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "entries": [
5
+ {
6
+ "idx": 0,
7
+ "version": "6",
8
+ "when": 1791141133457,
9
+ "tag": "0000_init",
10
+ "breakpoints": true
11
+ }
12
+ ]
13
13
  }
@@ -1,3 +1,3 @@
1
- export * from "../modules/auth/database/models/notification.js";
2
- export * from "../modules/auth/database/models/role.js";
3
- export * from "../modules/auth/database/models/user.js";
1
+ export * from "../modules/auth/database/models/notification.js";
2
+ export * from "../modules/auth/database/models/role.js";
3
+ export * from "../modules/auth/database/models/user.js";
package/hono/package.json CHANGED
@@ -68,7 +68,7 @@
68
68
  "pino": "^10.3.1",
69
69
  "postgres": "^3.4.9",
70
70
  "redis-commander": "^0.9.0",
71
- "sass-embedded": "^1.100.0",
71
+ "sass": "^1.100.0",
72
72
  "socket.io": "^4.8.3",
73
73
  "socket.io-client": "^4.8.3",
74
74
  "stoker": "^2.0.1",
@@ -1,61 +1,61 @@
1
- CREATE TABLE `notifications` (
2
- `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
3
- `user_id` integer NOT NULL,
4
- `type` text NOT NULL,
5
- `title` text NOT NULL,
6
- `body` text,
7
- `data` text,
8
- `link` text,
9
- `read_at` integer,
10
- `created_at` integer DEFAULT (cast((julianday('now') - 2440587.5)*86400000 as integer)) NOT NULL,
11
- FOREIGN KEY (`user_id`) REFERENCES `users`(`id`) ON UPDATE cascade ON DELETE cascade
12
- );
13
- --> statement-breakpoint
14
- CREATE TABLE `roles` (
15
- `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
16
- `name` text NOT NULL,
17
- `created_at` integer DEFAULT (cast((julianday('now') - 2440587.5)*86400000 as integer)) NOT NULL,
18
- `updated_at` integer DEFAULT (cast((julianday('now') - 2440587.5)*86400000 as integer)) NOT NULL
19
- );
20
- --> statement-breakpoint
21
- CREATE UNIQUE INDEX `roles_name_unique` ON `roles` (`name`);--> statement-breakpoint
22
- CREATE TABLE `email_verification_tokens` (
23
- `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
24
- `email` text NOT NULL,
25
- `token` text NOT NULL,
26
- `expires_at` integer NOT NULL,
27
- `created_at` integer DEFAULT (cast((julianday('now') - 2440587.5)*86400000 as integer)) NOT NULL
28
- );
29
- --> statement-breakpoint
30
- CREATE TABLE `password_reset_tokens` (
31
- `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
32
- `email` text NOT NULL,
33
- `token` text NOT NULL,
34
- `expires_at` integer NOT NULL,
35
- `created_at` integer DEFAULT (cast((julianday('now') - 2440587.5)*86400000 as integer)) NOT NULL
36
- );
37
- --> statement-breakpoint
38
- CREATE TABLE `refresh_tokens` (
39
- `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
40
- `user_id` integer,
41
- `jti` text NOT NULL,
42
- `revoked` integer DEFAULT false,
43
- `expires_at` integer NOT NULL,
44
- `created_at` integer DEFAULT (cast((julianday('now') - 2440587.5)*86400000 as integer)) NOT NULL,
45
- FOREIGN KEY (`user_id`) REFERENCES `users`(`id`) ON UPDATE cascade ON DELETE set null
46
- );
47
- --> statement-breakpoint
48
- CREATE UNIQUE INDEX `refresh_tokens_jti_unique` ON `refresh_tokens` (`jti`);--> statement-breakpoint
49
- CREATE TABLE `users` (
50
- `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
51
- `name` text NOT NULL,
52
- `email` text NOT NULL,
53
- `password` text NOT NULL,
54
- `role_id` integer,
55
- `email_verified_at` integer,
56
- `created_at` integer DEFAULT (cast((julianday('now') - 2440587.5)*86400000 as integer)) NOT NULL,
57
- `updated_at` integer DEFAULT (cast((julianday('now') - 2440587.5)*86400000 as integer)) NOT NULL,
58
- FOREIGN KEY (`role_id`) REFERENCES `roles`(`id`) ON UPDATE cascade ON DELETE set null
59
- );
60
- --> statement-breakpoint
1
+ CREATE TABLE `notifications` (
2
+ `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
3
+ `user_id` integer NOT NULL,
4
+ `type` text NOT NULL,
5
+ `title` text NOT NULL,
6
+ `body` text,
7
+ `data` text,
8
+ `link` text,
9
+ `read_at` integer,
10
+ `created_at` integer DEFAULT (cast((julianday('now') - 2440587.5)*86400000 as integer)) NOT NULL,
11
+ FOREIGN KEY (`user_id`) REFERENCES `users`(`id`) ON UPDATE cascade ON DELETE cascade
12
+ );
13
+ --> statement-breakpoint
14
+ CREATE TABLE `roles` (
15
+ `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
16
+ `name` text NOT NULL,
17
+ `created_at` integer DEFAULT (cast((julianday('now') - 2440587.5)*86400000 as integer)) NOT NULL,
18
+ `updated_at` integer DEFAULT (cast((julianday('now') - 2440587.5)*86400000 as integer)) NOT NULL
19
+ );
20
+ --> statement-breakpoint
21
+ CREATE UNIQUE INDEX `roles_name_unique` ON `roles` (`name`);--> statement-breakpoint
22
+ CREATE TABLE `email_verification_tokens` (
23
+ `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
24
+ `email` text NOT NULL,
25
+ `token` text NOT NULL,
26
+ `expires_at` integer NOT NULL,
27
+ `created_at` integer DEFAULT (cast((julianday('now') - 2440587.5)*86400000 as integer)) NOT NULL
28
+ );
29
+ --> statement-breakpoint
30
+ CREATE TABLE `password_reset_tokens` (
31
+ `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
32
+ `email` text NOT NULL,
33
+ `token` text NOT NULL,
34
+ `expires_at` integer NOT NULL,
35
+ `created_at` integer DEFAULT (cast((julianday('now') - 2440587.5)*86400000 as integer)) NOT NULL
36
+ );
37
+ --> statement-breakpoint
38
+ CREATE TABLE `refresh_tokens` (
39
+ `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
40
+ `user_id` integer,
41
+ `jti` text NOT NULL,
42
+ `revoked` integer DEFAULT false,
43
+ `expires_at` integer NOT NULL,
44
+ `created_at` integer DEFAULT (cast((julianday('now') - 2440587.5)*86400000 as integer)) NOT NULL,
45
+ FOREIGN KEY (`user_id`) REFERENCES `users`(`id`) ON UPDATE cascade ON DELETE set null
46
+ );
47
+ --> statement-breakpoint
48
+ CREATE UNIQUE INDEX `refresh_tokens_jti_unique` ON `refresh_tokens` (`jti`);--> statement-breakpoint
49
+ CREATE TABLE `users` (
50
+ `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
51
+ `name` text NOT NULL,
52
+ `email` text NOT NULL,
53
+ `password` text NOT NULL,
54
+ `role_id` integer,
55
+ `email_verified_at` integer,
56
+ `created_at` integer DEFAULT (cast((julianday('now') - 2440587.5)*86400000 as integer)) NOT NULL,
57
+ `updated_at` integer DEFAULT (cast((julianday('now') - 2440587.5)*86400000 as integer)) NOT NULL,
58
+ FOREIGN KEY (`role_id`) REFERENCES `roles`(`id`) ON UPDATE cascade ON DELETE set null
59
+ );
60
+ --> statement-breakpoint
61
61
  CREATE UNIQUE INDEX `users_email_unique` ON `users` (`email`);