@develit-services/notification 0.0.32 → 0.0.33
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/dist/export/wrangler.cjs +6 -15
- package/dist/export/wrangler.d.cts +16 -15
- package/dist/export/wrangler.d.mts +16 -15
- package/dist/export/wrangler.d.ts +16 -15
- package/dist/export/wrangler.mjs +6 -15
- package/package.json +8 -8
package/dist/export/wrangler.cjs
CHANGED
|
@@ -1,23 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
const backendSdk = require('@develit-io/backend-sdk');
|
|
4
|
+
|
|
3
5
|
function defineNotificationServiceWrangler(config) {
|
|
4
6
|
const { project, name, envs } = config;
|
|
5
7
|
const base = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
compatibility_flags: ["nodejs_compat"],
|
|
11
|
-
observability: {
|
|
12
|
-
enabled: true,
|
|
13
|
-
head_sampling_rate: 1,
|
|
14
|
-
logs: {
|
|
15
|
-
enabled: true,
|
|
16
|
-
invocation_logs: false
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
preview_urls: false,
|
|
20
|
-
workers_dev: false,
|
|
8
|
+
...backendSdk.composeWranglerBase({
|
|
9
|
+
project,
|
|
10
|
+
name
|
|
11
|
+
}),
|
|
21
12
|
vars: {
|
|
22
13
|
// Secrets
|
|
23
14
|
EMAIL_API_KEY: "[SECRET]",
|
|
@@ -1,21 +1,6 @@
|
|
|
1
1
|
import { N as NotificationServiceWranglerConfig } from '../shared/notification.jEQePmaL.cjs';
|
|
2
2
|
|
|
3
3
|
declare function defineNotificationServiceWrangler(config: NotificationServiceWranglerConfig): {
|
|
4
|
-
$schema: string;
|
|
5
|
-
name: string;
|
|
6
|
-
main: string;
|
|
7
|
-
compatibility_date: string;
|
|
8
|
-
compatibility_flags: string[];
|
|
9
|
-
observability: {
|
|
10
|
-
enabled: boolean;
|
|
11
|
-
head_sampling_rate: number;
|
|
12
|
-
logs: {
|
|
13
|
-
enabled: boolean;
|
|
14
|
-
invocation_logs: boolean;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
preview_urls: boolean;
|
|
18
|
-
workers_dev: boolean;
|
|
19
4
|
vars: {
|
|
20
5
|
ENVIRONMENT: string;
|
|
21
6
|
EMAIL_PROVIDER: "ecomail";
|
|
@@ -48,6 +33,22 @@ declare function defineNotificationServiceWrangler(config: NotificationServiceWr
|
|
|
48
33
|
}[];
|
|
49
34
|
};
|
|
50
35
|
env: Record<string, unknown>;
|
|
36
|
+
$schema: string;
|
|
37
|
+
name: string;
|
|
38
|
+
main: string;
|
|
39
|
+
compatibility_date: string;
|
|
40
|
+
compatibility_flags: string[];
|
|
41
|
+
observability: {
|
|
42
|
+
enabled: boolean;
|
|
43
|
+
head_sampling_rate: number;
|
|
44
|
+
logs: {
|
|
45
|
+
enabled: boolean;
|
|
46
|
+
invocation_logs: boolean;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
preview_urls: boolean;
|
|
50
|
+
workers_dev: boolean;
|
|
51
|
+
keep_vars: boolean;
|
|
51
52
|
};
|
|
52
53
|
|
|
53
54
|
export { defineNotificationServiceWrangler };
|
|
@@ -1,21 +1,6 @@
|
|
|
1
1
|
import { N as NotificationServiceWranglerConfig } from '../shared/notification.jEQePmaL.mjs';
|
|
2
2
|
|
|
3
3
|
declare function defineNotificationServiceWrangler(config: NotificationServiceWranglerConfig): {
|
|
4
|
-
$schema: string;
|
|
5
|
-
name: string;
|
|
6
|
-
main: string;
|
|
7
|
-
compatibility_date: string;
|
|
8
|
-
compatibility_flags: string[];
|
|
9
|
-
observability: {
|
|
10
|
-
enabled: boolean;
|
|
11
|
-
head_sampling_rate: number;
|
|
12
|
-
logs: {
|
|
13
|
-
enabled: boolean;
|
|
14
|
-
invocation_logs: boolean;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
preview_urls: boolean;
|
|
18
|
-
workers_dev: boolean;
|
|
19
4
|
vars: {
|
|
20
5
|
ENVIRONMENT: string;
|
|
21
6
|
EMAIL_PROVIDER: "ecomail";
|
|
@@ -48,6 +33,22 @@ declare function defineNotificationServiceWrangler(config: NotificationServiceWr
|
|
|
48
33
|
}[];
|
|
49
34
|
};
|
|
50
35
|
env: Record<string, unknown>;
|
|
36
|
+
$schema: string;
|
|
37
|
+
name: string;
|
|
38
|
+
main: string;
|
|
39
|
+
compatibility_date: string;
|
|
40
|
+
compatibility_flags: string[];
|
|
41
|
+
observability: {
|
|
42
|
+
enabled: boolean;
|
|
43
|
+
head_sampling_rate: number;
|
|
44
|
+
logs: {
|
|
45
|
+
enabled: boolean;
|
|
46
|
+
invocation_logs: boolean;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
preview_urls: boolean;
|
|
50
|
+
workers_dev: boolean;
|
|
51
|
+
keep_vars: boolean;
|
|
51
52
|
};
|
|
52
53
|
|
|
53
54
|
export { defineNotificationServiceWrangler };
|
|
@@ -1,21 +1,6 @@
|
|
|
1
1
|
import { N as NotificationServiceWranglerConfig } from '../shared/notification.jEQePmaL.js';
|
|
2
2
|
|
|
3
3
|
declare function defineNotificationServiceWrangler(config: NotificationServiceWranglerConfig): {
|
|
4
|
-
$schema: string;
|
|
5
|
-
name: string;
|
|
6
|
-
main: string;
|
|
7
|
-
compatibility_date: string;
|
|
8
|
-
compatibility_flags: string[];
|
|
9
|
-
observability: {
|
|
10
|
-
enabled: boolean;
|
|
11
|
-
head_sampling_rate: number;
|
|
12
|
-
logs: {
|
|
13
|
-
enabled: boolean;
|
|
14
|
-
invocation_logs: boolean;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
preview_urls: boolean;
|
|
18
|
-
workers_dev: boolean;
|
|
19
4
|
vars: {
|
|
20
5
|
ENVIRONMENT: string;
|
|
21
6
|
EMAIL_PROVIDER: "ecomail";
|
|
@@ -48,6 +33,22 @@ declare function defineNotificationServiceWrangler(config: NotificationServiceWr
|
|
|
48
33
|
}[];
|
|
49
34
|
};
|
|
50
35
|
env: Record<string, unknown>;
|
|
36
|
+
$schema: string;
|
|
37
|
+
name: string;
|
|
38
|
+
main: string;
|
|
39
|
+
compatibility_date: string;
|
|
40
|
+
compatibility_flags: string[];
|
|
41
|
+
observability: {
|
|
42
|
+
enabled: boolean;
|
|
43
|
+
head_sampling_rate: number;
|
|
44
|
+
logs: {
|
|
45
|
+
enabled: boolean;
|
|
46
|
+
invocation_logs: boolean;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
preview_urls: boolean;
|
|
50
|
+
workers_dev: boolean;
|
|
51
|
+
keep_vars: boolean;
|
|
51
52
|
};
|
|
52
53
|
|
|
53
54
|
export { defineNotificationServiceWrangler };
|
package/dist/export/wrangler.mjs
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
|
+
import { composeWranglerBase } from '@develit-io/backend-sdk';
|
|
2
|
+
|
|
1
3
|
function defineNotificationServiceWrangler(config) {
|
|
2
4
|
const { project, name, envs } = config;
|
|
3
5
|
const base = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
compatibility_flags: ["nodejs_compat"],
|
|
9
|
-
observability: {
|
|
10
|
-
enabled: true,
|
|
11
|
-
head_sampling_rate: 1,
|
|
12
|
-
logs: {
|
|
13
|
-
enabled: true,
|
|
14
|
-
invocation_logs: false
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
preview_urls: false,
|
|
18
|
-
workers_dev: false,
|
|
6
|
+
...composeWranglerBase({
|
|
7
|
+
project,
|
|
8
|
+
name
|
|
9
|
+
}),
|
|
19
10
|
vars: {
|
|
20
11
|
// Secrets
|
|
21
12
|
EMAIL_API_KEY: "[SECRET]",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@develit-services/notification",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.33",
|
|
4
4
|
"author": "Develit.io s.r.o.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
],
|
|
32
32
|
"scripts": {
|
|
33
33
|
"dev": "wrangler dev --port 9233 --persist-to ../../.wrangler/state",
|
|
34
|
-
"wrangler:generate": "
|
|
34
|
+
"wrangler:generate": "develit wrangler:generate",
|
|
35
35
|
"db:init": "wrangler d1 execute develit-notification --local --persist-to ../../.wrangler/state --command=\"SELECT 'Creating database...' AS status;\"",
|
|
36
36
|
"db:generate": "drizzle-kit generate",
|
|
37
37
|
"db:migrate": "drizzle-kit migrate",
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"release": "bun run build && bunx changelogen@latest --release --push && npm publish --access public"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@develit-io/backend-sdk": "
|
|
53
|
-
"drizzle-kit": "
|
|
54
|
-
"drizzle-orm": "
|
|
55
|
-
"drizzle-seed": "
|
|
56
|
-
"wrangler": "
|
|
57
|
-
"zod": "
|
|
52
|
+
"@develit-io/backend-sdk": "*",
|
|
53
|
+
"drizzle-kit": "*",
|
|
54
|
+
"drizzle-orm": "*",
|
|
55
|
+
"drizzle-seed": "*",
|
|
56
|
+
"wrangler": "*",
|
|
57
|
+
"zod": "*"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"twilio": "^5.10.3"
|