@develit-services/notification 0.4.1 → 0.5.0
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/database/schema.d.cts +1 -1
- package/dist/database/schema.d.mts +1 -1
- package/dist/database/schema.d.ts +1 -1
- package/dist/export/worker.d.cts +2 -2
- package/dist/export/worker.d.mts +2 -2
- package/dist/export/worker.d.ts +2 -2
- package/dist/export/worker.mjs +1 -1
- package/dist/export/wrangler.d.cts +1 -1
- package/dist/export/wrangler.d.mts +1 -1
- package/dist/export/wrangler.d.ts +1 -1
- package/dist/shared/{notification.B6BS7SD_.d.cts → notification.2rSOcFrr.d.cts} +3 -3
- package/dist/shared/{notification.ko9XPJGs.d.cts → notification.BB9Jl8DI.d.cts} +1 -1
- package/dist/shared/{notification.ko9XPJGs.d.mts → notification.BB9Jl8DI.d.mts} +1 -1
- package/dist/shared/{notification.ko9XPJGs.d.ts → notification.BB9Jl8DI.d.ts} +1 -1
- package/dist/shared/{notification.BJyMXKGH.d.cts → notification.BWLPh6Gb.d.cts} +7 -70
- package/dist/shared/{notification.BJyMXKGH.d.mts → notification.BWLPh6Gb.d.mts} +7 -70
- package/dist/shared/{notification.BJyMXKGH.d.ts → notification.BWLPh6Gb.d.ts} +7 -70
- package/dist/shared/{notification.jZ826xHp.d.mts → notification.C1quYqlT.d.mts} +3 -3
- package/dist/shared/{notification.DkjmuyrV.mjs → notification.CM_WoR0y.mjs} +1 -1
- package/dist/shared/{notification.CQ6qviKt.d.ts → notification.oEdhCsu_.d.ts} +3 -3
- package/dist/types.d.cts +5 -5
- package/dist/types.d.mts +5 -5
- package/dist/types.d.ts +5 -5
- package/dist/types.mjs +1 -1
- package/package.json +10 -13
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as auditLog } from '../shared/notification.
|
|
1
|
+
export { a as auditLog } from '../shared/notification.BWLPh6Gb.cjs';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as auditLog } from '../shared/notification.
|
|
1
|
+
export { a as auditLog } from '../shared/notification.BWLPh6Gb.mjs';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as auditLog } from '../shared/notification.
|
|
1
|
+
export { a as auditLog } from '../shared/notification.BWLPh6Gb.js';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
package/dist/export/worker.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
2
2
|
import { IRPCResponse } from '@develit-io/backend-sdk';
|
|
3
|
-
import { S as SlackConnector, I as IEmailConnector, a as ISmsConnector, t as tables, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, d as SendSmsInput, e as SendSmsOutput, f as SendSlackInput, g as SendSlackOutput } from '../shared/notification.
|
|
3
|
+
import { S as SlackConnector, I as IEmailConnector, a as ISmsConnector, t as tables, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, d as SendSmsInput, e as SendSmsOutput, f as SendSlackInput, g as SendSlackOutput } from '../shared/notification.2rSOcFrr.cjs';
|
|
4
4
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
5
5
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
6
|
-
import '../shared/notification.
|
|
6
|
+
import '../shared/notification.BWLPh6Gb.cjs';
|
|
7
7
|
import 'drizzle-orm/sqlite-core';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import 'zod/v4';
|
package/dist/export/worker.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
2
2
|
import { IRPCResponse } from '@develit-io/backend-sdk';
|
|
3
|
-
import { S as SlackConnector, I as IEmailConnector, a as ISmsConnector, t as tables, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, d as SendSmsInput, e as SendSmsOutput, f as SendSlackInput, g as SendSlackOutput } from '../shared/notification.
|
|
3
|
+
import { S as SlackConnector, I as IEmailConnector, a as ISmsConnector, t as tables, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, d as SendSmsInput, e as SendSmsOutput, f as SendSlackInput, g as SendSlackOutput } from '../shared/notification.C1quYqlT.mjs';
|
|
4
4
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
5
5
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
6
|
-
import '../shared/notification.
|
|
6
|
+
import '../shared/notification.BWLPh6Gb.mjs';
|
|
7
7
|
import 'drizzle-orm/sqlite-core';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import 'zod/v4';
|
package/dist/export/worker.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
2
2
|
import { IRPCResponse } from '@develit-io/backend-sdk';
|
|
3
|
-
import { S as SlackConnector, I as IEmailConnector, a as ISmsConnector, t as tables, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, d as SendSmsInput, e as SendSmsOutput, f as SendSlackInput, g as SendSlackOutput } from '../shared/notification.
|
|
3
|
+
import { S as SlackConnector, I as IEmailConnector, a as ISmsConnector, t as tables, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, d as SendSmsInput, e as SendSmsOutput, f as SendSlackInput, g as SendSlackOutput } from '../shared/notification.oEdhCsu_.js';
|
|
4
4
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
5
5
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
6
|
-
import '../shared/notification.
|
|
6
|
+
import '../shared/notification.BWLPh6Gb.js';
|
|
7
7
|
import 'drizzle-orm/sqlite-core';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import 'zod/v4';
|
package/dist/export/worker.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { createInternalError, uuidv4, develitWorker, cloudflareQueue, action, se
|
|
|
2
2
|
import { s as schema } from '../shared/notification.C0X8Orrh.mjs';
|
|
3
3
|
import 'drizzle-orm';
|
|
4
4
|
import 'drizzle-orm/sqlite-core';
|
|
5
|
-
import { E as EcomailConnector, T as TwilioConnector, S as SlackConnector, s as sendEmailInputSchema, a as sendSmsInputSchema, b as sendSlackInputSchema } from '../shared/notification.
|
|
5
|
+
import { E as EcomailConnector, T as TwilioConnector, S as SlackConnector, s as sendEmailInputSchema, a as sendSmsInputSchema, b as sendSlackInputSchema } from '../shared/notification.CM_WoR0y.mjs';
|
|
6
6
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
7
7
|
import { drizzle } from 'drizzle-orm/d1';
|
|
8
8
|
import 'zod';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NotificationServiceWranglerConfig } from '../shared/notification.
|
|
1
|
+
import { N as NotificationServiceWranglerConfig } from '../shared/notification.BB9Jl8DI.cjs';
|
|
2
2
|
|
|
3
3
|
declare function defineNotificationServiceWrangler(config: NotificationServiceWranglerConfig): {
|
|
4
4
|
vars: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NotificationServiceWranglerConfig } from '../shared/notification.
|
|
1
|
+
import { N as NotificationServiceWranglerConfig } from '../shared/notification.BB9Jl8DI.mjs';
|
|
2
2
|
|
|
3
3
|
declare function defineNotificationServiceWrangler(config: NotificationServiceWranglerConfig): {
|
|
4
4
|
vars: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NotificationServiceWranglerConfig } from '../shared/notification.
|
|
1
|
+
import { N as NotificationServiceWranglerConfig } from '../shared/notification.BB9Jl8DI.js';
|
|
2
2
|
|
|
3
3
|
declare function defineNotificationServiceWrangler(config: NotificationServiceWranglerConfig): {
|
|
4
4
|
vars: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as schema } from './notification.
|
|
1
|
+
import { s as schema } from './notification.BWLPh6Gb.cjs';
|
|
2
2
|
import z$1, { z } from 'zod';
|
|
3
3
|
import { z as z$2 } from 'zod/v4';
|
|
4
4
|
import { InternalError } from '@develit-io/backend-sdk';
|
|
@@ -225,5 +225,5 @@ declare class SlackConnector {
|
|
|
225
225
|
sendNotificationToAllSlack(message: string): Promise<void>;
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
export { IEmailConnector as I, SlackConnector as S, ISmsConnector as a,
|
|
229
|
-
export type { NotificationQueueMessage as N, SendEmailInput as b, SendEmailOutput as c, SendSmsInput as d, SendSmsOutput as e, SendSlackInput as f, SendSlackOutput as g, IEmail as h, IContact as i, ISms as j, IAttachment as
|
|
228
|
+
export { IEmailConnector as I, SlackConnector as S, ISmsConnector as a, iAttachmentSchema as n, iContactSchema as o, iEmailSchema as p, sendSlackInputSchema as q, sendSmsInputSchema as r, sendEmailInputSchema as s, tables as t };
|
|
229
|
+
export type { NotificationQueueMessage as N, SendEmailInput as b, SendEmailOutput as c, SendSmsInput as d, SendSmsOutput as e, SendSlackInput as f, SendSlackOutput as g, IEmail as h, IContact as i, ISms as j, IAttachment as k, IPushNotification as l, ISlack as m };
|
|
@@ -26,4 +26,4 @@ interface NotificationServiceWranglerConfig {
|
|
|
26
26
|
interface NotificationServiceEnv extends NotificationEnv {
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export type { NotificationServiceWranglerConfig as N,
|
|
29
|
+
export type { NotificationServiceWranglerConfig as N, NotificationServiceEnv as a, NotificationServiceEnvironmentConfig as b };
|
|
@@ -26,4 +26,4 @@ interface NotificationServiceWranglerConfig {
|
|
|
26
26
|
interface NotificationServiceEnv extends NotificationEnv {
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export type { NotificationServiceWranglerConfig as N,
|
|
29
|
+
export type { NotificationServiceWranglerConfig as N, NotificationServiceEnv as a, NotificationServiceEnvironmentConfig as b };
|
|
@@ -26,4 +26,4 @@ interface NotificationServiceWranglerConfig {
|
|
|
26
26
|
interface NotificationServiceEnv extends NotificationEnv {
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export type { NotificationServiceWranglerConfig as N,
|
|
29
|
+
export type { NotificationServiceWranglerConfig as N, NotificationServiceEnv as a, NotificationServiceEnvironmentConfig as b };
|
|
@@ -119,76 +119,13 @@ declare const auditLog: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
119
119
|
}, {}, {
|
|
120
120
|
length: number | undefined;
|
|
121
121
|
}>;
|
|
122
|
-
id:
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
notNull: true;
|
|
130
|
-
hasDefault: false;
|
|
131
|
-
isPrimaryKey: true;
|
|
132
|
-
isAutoincrement: false;
|
|
133
|
-
hasRuntimeDefault: false;
|
|
134
|
-
enumValues: [string, ...string[]];
|
|
135
|
-
baseColumn: never;
|
|
136
|
-
identity: undefined;
|
|
137
|
-
generated: undefined;
|
|
138
|
-
}, {}, {
|
|
139
|
-
length: number | undefined;
|
|
140
|
-
}>;
|
|
141
|
-
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
142
|
-
name: "created_at";
|
|
143
|
-
tableName: "audit_log";
|
|
144
|
-
dataType: "date";
|
|
145
|
-
columnType: "SQLiteTimestamp";
|
|
146
|
-
data: Date;
|
|
147
|
-
driverParam: number;
|
|
148
|
-
notNull: false;
|
|
149
|
-
hasDefault: true;
|
|
150
|
-
isPrimaryKey: false;
|
|
151
|
-
isAutoincrement: false;
|
|
152
|
-
hasRuntimeDefault: false;
|
|
153
|
-
enumValues: undefined;
|
|
154
|
-
baseColumn: never;
|
|
155
|
-
identity: undefined;
|
|
156
|
-
generated: undefined;
|
|
157
|
-
}, {}, {}>;
|
|
158
|
-
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
159
|
-
name: "updated_at";
|
|
160
|
-
tableName: "audit_log";
|
|
161
|
-
dataType: "date";
|
|
162
|
-
columnType: "SQLiteTimestamp";
|
|
163
|
-
data: Date;
|
|
164
|
-
driverParam: number;
|
|
165
|
-
notNull: false;
|
|
166
|
-
hasDefault: true;
|
|
167
|
-
isPrimaryKey: false;
|
|
168
|
-
isAutoincrement: false;
|
|
169
|
-
hasRuntimeDefault: false;
|
|
170
|
-
enumValues: undefined;
|
|
171
|
-
baseColumn: never;
|
|
172
|
-
identity: undefined;
|
|
173
|
-
generated: undefined;
|
|
174
|
-
}, {}, {}>;
|
|
175
|
-
deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
176
|
-
name: "deleted_at";
|
|
177
|
-
tableName: "audit_log";
|
|
178
|
-
dataType: "date";
|
|
179
|
-
columnType: "SQLiteTimestamp";
|
|
180
|
-
data: Date;
|
|
181
|
-
driverParam: number;
|
|
182
|
-
notNull: false;
|
|
183
|
-
hasDefault: true;
|
|
184
|
-
isPrimaryKey: false;
|
|
185
|
-
isAutoincrement: false;
|
|
186
|
-
hasRuntimeDefault: false;
|
|
187
|
-
enumValues: undefined;
|
|
188
|
-
baseColumn: never;
|
|
189
|
-
identity: undefined;
|
|
190
|
-
generated: undefined;
|
|
191
|
-
}, {}, {}>;
|
|
122
|
+
id: _packages_backend_sdk.IsPrimaryKey<_packages_backend_sdk.NotNull<_packages_backend_sdk.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>;
|
|
123
|
+
createdAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"created_at">>;
|
|
124
|
+
createdBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"created_by", [string, ...string[]], number | undefined>;
|
|
125
|
+
updatedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"updated_at">>>;
|
|
126
|
+
updatedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"updated_by", [string, ...string[]], number | undefined>;
|
|
127
|
+
deletedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"deleted_at">>;
|
|
128
|
+
deletedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>;
|
|
192
129
|
};
|
|
193
130
|
dialect: "sqlite";
|
|
194
131
|
}>;
|
|
@@ -119,76 +119,13 @@ declare const auditLog: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
119
119
|
}, {}, {
|
|
120
120
|
length: number | undefined;
|
|
121
121
|
}>;
|
|
122
|
-
id:
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
notNull: true;
|
|
130
|
-
hasDefault: false;
|
|
131
|
-
isPrimaryKey: true;
|
|
132
|
-
isAutoincrement: false;
|
|
133
|
-
hasRuntimeDefault: false;
|
|
134
|
-
enumValues: [string, ...string[]];
|
|
135
|
-
baseColumn: never;
|
|
136
|
-
identity: undefined;
|
|
137
|
-
generated: undefined;
|
|
138
|
-
}, {}, {
|
|
139
|
-
length: number | undefined;
|
|
140
|
-
}>;
|
|
141
|
-
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
142
|
-
name: "created_at";
|
|
143
|
-
tableName: "audit_log";
|
|
144
|
-
dataType: "date";
|
|
145
|
-
columnType: "SQLiteTimestamp";
|
|
146
|
-
data: Date;
|
|
147
|
-
driverParam: number;
|
|
148
|
-
notNull: false;
|
|
149
|
-
hasDefault: true;
|
|
150
|
-
isPrimaryKey: false;
|
|
151
|
-
isAutoincrement: false;
|
|
152
|
-
hasRuntimeDefault: false;
|
|
153
|
-
enumValues: undefined;
|
|
154
|
-
baseColumn: never;
|
|
155
|
-
identity: undefined;
|
|
156
|
-
generated: undefined;
|
|
157
|
-
}, {}, {}>;
|
|
158
|
-
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
159
|
-
name: "updated_at";
|
|
160
|
-
tableName: "audit_log";
|
|
161
|
-
dataType: "date";
|
|
162
|
-
columnType: "SQLiteTimestamp";
|
|
163
|
-
data: Date;
|
|
164
|
-
driverParam: number;
|
|
165
|
-
notNull: false;
|
|
166
|
-
hasDefault: true;
|
|
167
|
-
isPrimaryKey: false;
|
|
168
|
-
isAutoincrement: false;
|
|
169
|
-
hasRuntimeDefault: false;
|
|
170
|
-
enumValues: undefined;
|
|
171
|
-
baseColumn: never;
|
|
172
|
-
identity: undefined;
|
|
173
|
-
generated: undefined;
|
|
174
|
-
}, {}, {}>;
|
|
175
|
-
deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
176
|
-
name: "deleted_at";
|
|
177
|
-
tableName: "audit_log";
|
|
178
|
-
dataType: "date";
|
|
179
|
-
columnType: "SQLiteTimestamp";
|
|
180
|
-
data: Date;
|
|
181
|
-
driverParam: number;
|
|
182
|
-
notNull: false;
|
|
183
|
-
hasDefault: true;
|
|
184
|
-
isPrimaryKey: false;
|
|
185
|
-
isAutoincrement: false;
|
|
186
|
-
hasRuntimeDefault: false;
|
|
187
|
-
enumValues: undefined;
|
|
188
|
-
baseColumn: never;
|
|
189
|
-
identity: undefined;
|
|
190
|
-
generated: undefined;
|
|
191
|
-
}, {}, {}>;
|
|
122
|
+
id: _packages_backend_sdk.IsPrimaryKey<_packages_backend_sdk.NotNull<_packages_backend_sdk.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>;
|
|
123
|
+
createdAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"created_at">>;
|
|
124
|
+
createdBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"created_by", [string, ...string[]], number | undefined>;
|
|
125
|
+
updatedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"updated_at">>>;
|
|
126
|
+
updatedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"updated_by", [string, ...string[]], number | undefined>;
|
|
127
|
+
deletedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"deleted_at">>;
|
|
128
|
+
deletedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>;
|
|
192
129
|
};
|
|
193
130
|
dialect: "sqlite";
|
|
194
131
|
}>;
|
|
@@ -119,76 +119,13 @@ declare const auditLog: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
119
119
|
}, {}, {
|
|
120
120
|
length: number | undefined;
|
|
121
121
|
}>;
|
|
122
|
-
id:
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
notNull: true;
|
|
130
|
-
hasDefault: false;
|
|
131
|
-
isPrimaryKey: true;
|
|
132
|
-
isAutoincrement: false;
|
|
133
|
-
hasRuntimeDefault: false;
|
|
134
|
-
enumValues: [string, ...string[]];
|
|
135
|
-
baseColumn: never;
|
|
136
|
-
identity: undefined;
|
|
137
|
-
generated: undefined;
|
|
138
|
-
}, {}, {
|
|
139
|
-
length: number | undefined;
|
|
140
|
-
}>;
|
|
141
|
-
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
142
|
-
name: "created_at";
|
|
143
|
-
tableName: "audit_log";
|
|
144
|
-
dataType: "date";
|
|
145
|
-
columnType: "SQLiteTimestamp";
|
|
146
|
-
data: Date;
|
|
147
|
-
driverParam: number;
|
|
148
|
-
notNull: false;
|
|
149
|
-
hasDefault: true;
|
|
150
|
-
isPrimaryKey: false;
|
|
151
|
-
isAutoincrement: false;
|
|
152
|
-
hasRuntimeDefault: false;
|
|
153
|
-
enumValues: undefined;
|
|
154
|
-
baseColumn: never;
|
|
155
|
-
identity: undefined;
|
|
156
|
-
generated: undefined;
|
|
157
|
-
}, {}, {}>;
|
|
158
|
-
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
159
|
-
name: "updated_at";
|
|
160
|
-
tableName: "audit_log";
|
|
161
|
-
dataType: "date";
|
|
162
|
-
columnType: "SQLiteTimestamp";
|
|
163
|
-
data: Date;
|
|
164
|
-
driverParam: number;
|
|
165
|
-
notNull: false;
|
|
166
|
-
hasDefault: true;
|
|
167
|
-
isPrimaryKey: false;
|
|
168
|
-
isAutoincrement: false;
|
|
169
|
-
hasRuntimeDefault: false;
|
|
170
|
-
enumValues: undefined;
|
|
171
|
-
baseColumn: never;
|
|
172
|
-
identity: undefined;
|
|
173
|
-
generated: undefined;
|
|
174
|
-
}, {}, {}>;
|
|
175
|
-
deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
176
|
-
name: "deleted_at";
|
|
177
|
-
tableName: "audit_log";
|
|
178
|
-
dataType: "date";
|
|
179
|
-
columnType: "SQLiteTimestamp";
|
|
180
|
-
data: Date;
|
|
181
|
-
driverParam: number;
|
|
182
|
-
notNull: false;
|
|
183
|
-
hasDefault: true;
|
|
184
|
-
isPrimaryKey: false;
|
|
185
|
-
isAutoincrement: false;
|
|
186
|
-
hasRuntimeDefault: false;
|
|
187
|
-
enumValues: undefined;
|
|
188
|
-
baseColumn: never;
|
|
189
|
-
identity: undefined;
|
|
190
|
-
generated: undefined;
|
|
191
|
-
}, {}, {}>;
|
|
122
|
+
id: _packages_backend_sdk.IsPrimaryKey<_packages_backend_sdk.NotNull<_packages_backend_sdk.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>;
|
|
123
|
+
createdAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"created_at">>;
|
|
124
|
+
createdBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"created_by", [string, ...string[]], number | undefined>;
|
|
125
|
+
updatedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"updated_at">>>;
|
|
126
|
+
updatedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"updated_by", [string, ...string[]], number | undefined>;
|
|
127
|
+
deletedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"deleted_at">>;
|
|
128
|
+
deletedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>;
|
|
192
129
|
};
|
|
193
130
|
dialect: "sqlite";
|
|
194
131
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as schema } from './notification.
|
|
1
|
+
import { s as schema } from './notification.BWLPh6Gb.mjs';
|
|
2
2
|
import z$1, { z } from 'zod';
|
|
3
3
|
import { z as z$2 } from 'zod/v4';
|
|
4
4
|
import { InternalError } from '@develit-io/backend-sdk';
|
|
@@ -225,5 +225,5 @@ declare class SlackConnector {
|
|
|
225
225
|
sendNotificationToAllSlack(message: string): Promise<void>;
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
export { IEmailConnector as I, SlackConnector as S, ISmsConnector as a,
|
|
229
|
-
export type { NotificationQueueMessage as N, SendEmailInput as b, SendEmailOutput as c, SendSmsInput as d, SendSmsOutput as e, SendSlackInput as f, SendSlackOutput as g, IEmail as h, IContact as i, ISms as j, IAttachment as
|
|
228
|
+
export { IEmailConnector as I, SlackConnector as S, ISmsConnector as a, iAttachmentSchema as n, iContactSchema as o, iEmailSchema as p, sendSlackInputSchema as q, sendSmsInputSchema as r, sendEmailInputSchema as s, tables as t };
|
|
229
|
+
export type { NotificationQueueMessage as N, SendEmailInput as b, SendEmailOutput as c, SendSmsInput as d, SendSmsOutput as e, SendSlackInput as f, SendSlackOutput as g, IEmail as h, IContact as i, ISms as j, IAttachment as k, IPushNotification as l, ISlack as m };
|
|
@@ -266,4 +266,4 @@ class SlackConnector {
|
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
-
export { EcomailConnector as E, IEmailConnector as I, SlackConnector as S, TwilioConnector as T, sendSmsInputSchema as a, sendSlackInputSchema as b,
|
|
269
|
+
export { EcomailConnector as E, IEmailConnector as I, SlackConnector as S, TwilioConnector as T, sendSmsInputSchema as a, sendSlackInputSchema as b, ISmsConnector as c, iContactSchema as d, iEmailSchema as e, iAttachmentSchema as i, sendEmailInputSchema as s };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as schema } from './notification.
|
|
1
|
+
import { s as schema } from './notification.BWLPh6Gb.js';
|
|
2
2
|
import z$1, { z } from 'zod';
|
|
3
3
|
import { z as z$2 } from 'zod/v4';
|
|
4
4
|
import { InternalError } from '@develit-io/backend-sdk';
|
|
@@ -225,5 +225,5 @@ declare class SlackConnector {
|
|
|
225
225
|
sendNotificationToAllSlack(message: string): Promise<void>;
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
export { IEmailConnector as I, SlackConnector as S, ISmsConnector as a,
|
|
229
|
-
export type { NotificationQueueMessage as N, SendEmailInput as b, SendEmailOutput as c, SendSmsInput as d, SendSmsOutput as e, SendSlackInput as f, SendSlackOutput as g, IEmail as h, IContact as i, ISms as j, IAttachment as
|
|
228
|
+
export { IEmailConnector as I, SlackConnector as S, ISmsConnector as a, iAttachmentSchema as n, iContactSchema as o, iEmailSchema as p, sendSlackInputSchema as q, sendSmsInputSchema as r, sendEmailInputSchema as s, tables as t };
|
|
229
|
+
export type { NotificationQueueMessage as N, SendEmailInput as b, SendEmailOutput as c, SendSmsInput as d, SendSmsOutput as e, SendSlackInput as f, SendSlackOutput as g, IEmail as h, IContact as i, ISms as j, IAttachment as k, IPushNotification as l, ISlack as m };
|
package/dist/types.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { I as IEmailConnector, h as IEmail, i as IContact, a as ISmsConnector, j as ISms, t as tables } from './shared/notification.
|
|
2
|
-
export {
|
|
1
|
+
import { I as IEmailConnector, h as IEmail, i as IContact, a as ISmsConnector, j as ISms, t as tables } from './shared/notification.2rSOcFrr.cjs';
|
|
2
|
+
export { k as IAttachment, l as IPushNotification, m as ISlack, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, f as SendSlackInput, g as SendSlackOutput, d as SendSmsInput, e as SendSmsOutput, S as SlackConnector, n as iAttachmentSchema, o as iContactSchema, p as iEmailSchema, s as sendEmailInputSchema, q as sendSlackInputSchema, r as sendSmsInputSchema } from './shared/notification.2rSOcFrr.cjs';
|
|
3
3
|
import { InternalError } from '@develit-io/backend-sdk';
|
|
4
4
|
import twilio from 'twilio';
|
|
5
|
-
import {
|
|
6
|
-
export {
|
|
7
|
-
import './shared/notification.
|
|
5
|
+
import { InferInsertModel, InferSelectModel } from 'drizzle-orm';
|
|
6
|
+
export { a as NotificationServiceEnv, b as NotificationServiceEnvironmentConfig, N as NotificationServiceWranglerConfig } from './shared/notification.BB9Jl8DI.cjs';
|
|
7
|
+
import './shared/notification.BWLPh6Gb.cjs';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'zod/v4';
|
package/dist/types.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { I as IEmailConnector, h as IEmail, i as IContact, a as ISmsConnector, j as ISms, t as tables } from './shared/notification.
|
|
2
|
-
export {
|
|
1
|
+
import { I as IEmailConnector, h as IEmail, i as IContact, a as ISmsConnector, j as ISms, t as tables } from './shared/notification.C1quYqlT.mjs';
|
|
2
|
+
export { k as IAttachment, l as IPushNotification, m as ISlack, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, f as SendSlackInput, g as SendSlackOutput, d as SendSmsInput, e as SendSmsOutput, S as SlackConnector, n as iAttachmentSchema, o as iContactSchema, p as iEmailSchema, s as sendEmailInputSchema, q as sendSlackInputSchema, r as sendSmsInputSchema } from './shared/notification.C1quYqlT.mjs';
|
|
3
3
|
import { InternalError } from '@develit-io/backend-sdk';
|
|
4
4
|
import twilio from 'twilio';
|
|
5
|
-
import {
|
|
6
|
-
export {
|
|
7
|
-
import './shared/notification.
|
|
5
|
+
import { InferInsertModel, InferSelectModel } from 'drizzle-orm';
|
|
6
|
+
export { a as NotificationServiceEnv, b as NotificationServiceEnvironmentConfig, N as NotificationServiceWranglerConfig } from './shared/notification.BB9Jl8DI.mjs';
|
|
7
|
+
import './shared/notification.BWLPh6Gb.mjs';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'zod/v4';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { I as IEmailConnector, h as IEmail, i as IContact, a as ISmsConnector, j as ISms, t as tables } from './shared/notification.
|
|
2
|
-
export {
|
|
1
|
+
import { I as IEmailConnector, h as IEmail, i as IContact, a as ISmsConnector, j as ISms, t as tables } from './shared/notification.oEdhCsu_.js';
|
|
2
|
+
export { k as IAttachment, l as IPushNotification, m as ISlack, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, f as SendSlackInput, g as SendSlackOutput, d as SendSmsInput, e as SendSmsOutput, S as SlackConnector, n as iAttachmentSchema, o as iContactSchema, p as iEmailSchema, s as sendEmailInputSchema, q as sendSlackInputSchema, r as sendSmsInputSchema } from './shared/notification.oEdhCsu_.js';
|
|
3
3
|
import { InternalError } from '@develit-io/backend-sdk';
|
|
4
4
|
import twilio from 'twilio';
|
|
5
|
-
import {
|
|
6
|
-
export {
|
|
7
|
-
import './shared/notification.
|
|
5
|
+
import { InferInsertModel, InferSelectModel } from 'drizzle-orm';
|
|
6
|
+
export { a as NotificationServiceEnv, b as NotificationServiceEnvironmentConfig, N as NotificationServiceWranglerConfig } from './shared/notification.BB9Jl8DI.js';
|
|
7
|
+
import './shared/notification.BWLPh6Gb.js';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'zod/v4';
|
package/dist/types.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { E as EcomailConnector, I as IEmailConnector,
|
|
1
|
+
export { E as EcomailConnector, I as IEmailConnector, c as ISmsConnector, S as SlackConnector, T as TwilioConnector, i as iAttachmentSchema, d as iContactSchema, e as iEmailSchema, s as sendEmailInputSchema, b as sendSlackInputSchema, a as sendSmsInputSchema } from './shared/notification.CM_WoR0y.mjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import '@develit-io/backend-sdk';
|
|
4
4
|
import 'zod/v4';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@develit-services/notification",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"author": "Develit.io s.r.o.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"dev": "wrangler dev --port 9236 --persist-to ../../.wrangler/state -c ./wrangler.jsonc -c ../../apps/secrets-store/wrangler.jsonc",
|
|
34
34
|
"wrangler:generate": "bunx develit wrangler:generate --types",
|
|
35
35
|
"db:init": "wrangler d1 execute develit-notification --local --persist-to ../../.wrangler/state --command=\"SELECT 'Creating database...' AS status;\"",
|
|
36
|
-
"db:generate": "drizzle-kit generate",
|
|
37
|
-
"db:migrate": "drizzle-kit migrate",
|
|
38
|
-
"db:explore": "drizzle-kit studio",
|
|
36
|
+
"db:generate": "NODE_OPTIONS='--import tsx' drizzle-kit generate",
|
|
37
|
+
"db:migrate": "NODE_OPTIONS='--import tsx' drizzle-kit migrate",
|
|
38
|
+
"db:explore": "NODE_OPTIONS='--import tsx' drizzle-kit studio",
|
|
39
39
|
"types": "bash typegen.sh",
|
|
40
40
|
"lint": "biome check",
|
|
41
41
|
"lint:fix": "biome check --fix",
|
|
@@ -45,15 +45,12 @@
|
|
|
45
45
|
"test:int": "vitest integration",
|
|
46
46
|
"build": "unbuild"
|
|
47
47
|
},
|
|
48
|
-
"peerDependencies": {
|
|
49
|
-
"@develit-io/backend-sdk": "9.1.6",
|
|
50
|
-
"drizzle-kit": "0.31.8",
|
|
51
|
-
"drizzle-orm": "0.45.0",
|
|
52
|
-
"drizzle-seed": "*",
|
|
53
|
-
"wrangler": "4.50.0",
|
|
54
|
-
"zod": "4.1.13"
|
|
55
|
-
},
|
|
56
48
|
"dependencies": {
|
|
57
|
-
"twilio": "^5.
|
|
49
|
+
"twilio": "^5.12.0"
|
|
50
|
+
},
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"@develit-io/backend-sdk": "^9.8.1",
|
|
53
|
+
"drizzle-orm": "^0.45.0",
|
|
54
|
+
"zod": "^4.1.13"
|
|
58
55
|
}
|
|
59
56
|
}
|