@medusajs/notification 2.11.3-preview-20251103113757 → 2.11.3-preview-20251104085317
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":"AAEA,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAQ1E,OAAO,EAEL,yBAAyB,EAE1B,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../../src/loaders/providers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAQ1E,OAAO,EAEL,yBAAyB,EAE1B,MAAM,QAAQ,CAAA;yBAkCO,yBAGnB,aAAa,CACd,CACI,eAAe,CAAC,8BAA8B,GAC9C,eAAe,CAAC,6CAA6C,CAChE,GACC,yBAAyB,CAC5B,KAAG,OAAO,CAAC,IAAI,CAAC;AATjB,wBAgDC"}
|
|
@@ -18,7 +18,7 @@ export declare const NotificationProvider: import("@medusajs/framework/utils").D
|
|
|
18
18
|
idempotency_key: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
19
19
|
external_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
20
20
|
status: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").NotificationStatus>;
|
|
21
|
-
provider: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
21
|
+
provider: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "notificationProvider">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/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("@medusajs/framework/utils").DmlEntity
|
|
|
19
19
|
name: import("@medusajs/framework/utils").TextProperty;
|
|
20
20
|
is_enabled: import("@medusajs/framework/utils").BooleanProperty;
|
|
21
21
|
channels: import("@medusajs/framework/utils").ArrayProperty;
|
|
22
|
-
notifications: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
22
|
+
notifications: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "notification">>;
|
|
23
23
|
}>, "notificationProvider">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
24
24
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
25
25
|
handle: import("@medusajs/framework/utils").TextProperty;
|
|
26
26
|
name: import("@medusajs/framework/utils").TextProperty;
|
|
27
27
|
is_enabled: import("@medusajs/framework/utils").BooleanProperty;
|
|
28
28
|
channels: import("@medusajs/framework/utils").ArrayProperty;
|
|
29
|
-
notifications: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
29
|
+
notifications: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "notification">>;
|
|
30
30
|
}>, "notificationProvider">, undefined>, true>;
|
|
31
31
|
}>, "notification">;
|
|
32
32
|
//# sourceMappingURL=notification.d.ts.map
|
|
@@ -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/migrations/Migration20250120110514.ts","../src/migrations/Migration20251028172715.ts","../src/models/index.ts","../src/models/notification-provider.ts","../src/models/notification.ts","../src/providers/medusa-cloud-email.ts","../src/services/index.ts","../src/services/notification-module-service.ts","../src/services/notification-provider.ts","../src/types/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/migrations/Migration20250120110514.ts","../src/migrations/Migration20251028172715.ts","../src/models/index.ts","../src/models/notification-provider.ts","../src/models/notification.ts","../src/providers/medusa-cloud-email.ts","../src/services/index.ts","../src/services/notification-module-service.ts","../src/services/notification-provider.ts","../src/types/index.ts"],"version":"5.9.3"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/notification",
|
|
3
|
-
"version": "2.11.3-preview-
|
|
3
|
+
"version": "2.11.3-preview-20251104085317",
|
|
4
4
|
"description": "Medusa Notification module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -24,28 +24,22 @@
|
|
|
24
24
|
"author": "Medusa",
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"scripts": {
|
|
27
|
-
"watch": "tsc --build --watch",
|
|
28
|
-
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
|
29
|
-
"resolve:aliases": "tsc --showConfig -p tsconfig.json > tsconfig.resolved.json && tsc-alias -p tsconfig.resolved.json && rimraf tsconfig.resolved.json",
|
|
30
|
-
"build": "rimraf dist && tsc --build && npm run resolve:aliases",
|
|
31
|
-
"test": "jest --bail --forceExit --passWithNoTests --
|
|
32
|
-
"test:integration": "jest --forceExit --
|
|
27
|
+
"watch": "yarn run -T tsc --build --watch",
|
|
28
|
+
"watch:test": "yarn run -T tsc --build tsconfig.spec.json --watch",
|
|
29
|
+
"resolve:aliases": "yarn run -T tsc --showConfig -p tsconfig.json > tsconfig.resolved.json && yarn run -T tsc-alias -p tsconfig.resolved.json && yarn run -T rimraf tsconfig.resolved.json",
|
|
30
|
+
"build": "yarn run -T rimraf dist && yarn run -T tsc --build && npm run resolve:aliases",
|
|
31
|
+
"test": "../../../node_modules/.bin/jest --bail --forceExit --passWithNoTests --testPathPattern=src",
|
|
32
|
+
"test:integration": "../../../node_modules/.bin/jest --passWithNoTests --forceExit --testPathPattern=\"integration-tests/__tests__/.*\\.spec\\.ts\"",
|
|
33
33
|
"migration:initial": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm migration:create --initial -n InitialSetupMigration",
|
|
34
34
|
"migration:create": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm migration:create",
|
|
35
35
|
"migration:up": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm migration:up",
|
|
36
36
|
"orm:cache:clear": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm cache:clear"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@medusajs/framework": "2.11.3-preview-
|
|
40
|
-
"@medusajs/test-utils": "2.11.3-preview-
|
|
41
|
-
"@swc/core": "^1.7.28",
|
|
42
|
-
"@swc/jest": "^0.2.36",
|
|
43
|
-
"jest": "^29.7.0",
|
|
44
|
-
"rimraf": "^5.0.1",
|
|
45
|
-
"tsc-alias": "^1.8.7",
|
|
46
|
-
"typescript": "^5.6.2"
|
|
39
|
+
"@medusajs/framework": "2.11.3-preview-20251104085317",
|
|
40
|
+
"@medusajs/test-utils": "2.11.3-preview-20251104085317"
|
|
47
41
|
},
|
|
48
42
|
"peerDependencies": {
|
|
49
|
-
"@medusajs/framework": "2.11.3-preview-
|
|
43
|
+
"@medusajs/framework": "2.11.3-preview-20251104085317"
|
|
50
44
|
}
|
|
51
45
|
}
|