@etohq/notification 1.2.0 → 1.3.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../../src/loaders/providers.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,EACb,cAAc,EACd,eAAe,EAChB,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../../src/loaders/providers.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,EACb,cAAc,EACd,eAAe,EAChB,MAAM,wBAAwB,CAAA;yBA8BT,yBAGnB,aAAa,CACd,CACI,eAAe,CAAC,8BAA8B,GAC9C,eAAe,CAAC,6CAA6C,CAChE,GAAG;IAAE,SAAS,EAAE,cAAc,EAAE,CAAA;CAAE,CACpC,KAAG,OAAO,CAAC,IAAI,CAAC;AARjB,wBAmBC"}
|
|
@@ -18,7 +18,7 @@ export declare const NotificationProvider: import("@etohq/framework/utils").DmlE
|
|
|
18
18
|
idempotency_key: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
19
19
|
external_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
20
20
|
status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").NotificationStatus>;
|
|
21
|
-
provider: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder
|
|
21
|
+
provider: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "notificationProvider">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "notificationProvider">, undefined>, true>;
|
|
22
22
|
}>, "notification">>;
|
|
23
23
|
}>, "notificationProvider">;
|
|
24
24
|
//# sourceMappingURL=notification-provider.d.ts.map
|
|
@@ -19,14 +19,14 @@ export declare const Notification: import("@etohq/framework/utils").DmlEntity<im
|
|
|
19
19
|
name: import("@etohq/framework/utils").TextProperty;
|
|
20
20
|
is_enabled: import("@etohq/framework/utils").BooleanProperty;
|
|
21
21
|
channels: import("@etohq/framework/utils").ArrayProperty;
|
|
22
|
-
notifications: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder
|
|
22
|
+
notifications: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "notification">>;
|
|
23
23
|
}>, "notificationProvider">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
24
24
|
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
25
25
|
handle: import("@etohq/framework/utils").TextProperty;
|
|
26
26
|
name: import("@etohq/framework/utils").TextProperty;
|
|
27
27
|
is_enabled: import("@etohq/framework/utils").BooleanProperty;
|
|
28
28
|
channels: import("@etohq/framework/utils").ArrayProperty;
|
|
29
|
-
notifications: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder
|
|
29
|
+
notifications: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "notification">>;
|
|
30
30
|
}>, "notificationProvider">, undefined>, true>;
|
|
31
31
|
}>, "notification">;
|
|
32
32
|
//# sourceMappingURL=notification.d.ts.map
|
|
@@ -27,7 +27,7 @@ declare const NotificationProviderService_base: new (container: InjectedDependen
|
|
|
27
27
|
idempotency_key: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
28
28
|
external_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
29
29
|
status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").NotificationStatus>;
|
|
30
|
-
provider: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder
|
|
30
|
+
provider: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "notificationProvider">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "notificationProvider">, undefined>, true>;
|
|
31
31
|
}>, "notification">>;
|
|
32
32
|
}>, "notificationProvider">, InjectedDependencies>;
|
|
33
33
|
export default class NotificationProviderService extends NotificationProviderService_base {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../src/index.ts","../src/loaders/providers.ts","../src/migrations/migration20240509083918_initialsetupmigration.ts","../src/migrations/migration20240628075401.ts","../src/migrations/migration20240830094712.ts","../src/models/index.ts","../src/models/notification-provider.ts","../src/models/notification.ts","../src/services/index.ts","../src/services/notification-module-service.ts","../src/services/notification-provider.ts","../src/types/index.ts","../src/utils/events.ts","../src/utils/index.ts"],"version":"5.
|
|
1
|
+
{"root":["../src/index.ts","../src/loaders/providers.ts","../src/migrations/migration20240509083918_initialsetupmigration.ts","../src/migrations/migration20240628075401.ts","../src/migrations/migration20240830094712.ts","../src/models/index.ts","../src/models/notification-provider.ts","../src/models/notification.ts","../src/services/index.ts","../src/services/notification-module-service.ts","../src/services/notification-provider.ts","../src/types/index.ts","../src/utils/events.ts","../src/utils/index.ts"],"version":"5.8.3"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etohq/notification",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Eto Notification module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts eto-mikro-orm cache:clear"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@etohq/framework": "^1.
|
|
40
|
-
"@etohq/test-utils": "^1.
|
|
39
|
+
"@etohq/framework": "^1.3.0",
|
|
40
|
+
"@etohq/test-utils": "^1.3.0",
|
|
41
41
|
"@mikro-orm/cli": "5.9.7",
|
|
42
42
|
"@mikro-orm/core": "5.9.7",
|
|
43
43
|
"@mikro-orm/migrations": "5.9.7",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"jest": "^29.7.0",
|
|
49
49
|
"rimraf": "^5.0.2",
|
|
50
50
|
"tsc-alias": "^1.8.6",
|
|
51
|
-
"typescript": "^5.
|
|
51
|
+
"typescript": "^5.8.3"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"awilix": "^8.0.1"
|