@furystack/sequelize-store 3.0.1 → 3.0.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.
package/esm/index.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ export * from './sequelize-store.js';
2
+ export * from './store-manager-helpers.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,4BAA4B,CAAA"}
package/esm/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export * from './sequelize-store';
2
- export * from './store-manager-helpers';
1
+ export * from './sequelize-store.js';
2
+ export * from './store-manager-helpers.js';
3
3
  //# sourceMappingURL=index.js.map
package/esm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,4BAA4B,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { addStore } from '@furystack/core';
2
- import { SequelizeClientFactory } from './sequelize-client-factory';
3
- import { SequelizeStore } from './sequelize-store';
2
+ import { SequelizeClientFactory } from './sequelize-client-factory.js';
3
+ import { SequelizeStore } from './sequelize-store.js';
4
4
  export const useSequelize = function ({ injector, model, sequelizeModel, primaryKey, options, initModel, }) {
5
5
  const clientFactory = injector.getInstance(SequelizeClientFactory);
6
6
  const store = new SequelizeStore({
@@ -1 +1 @@
1
- {"version":3,"file":"store-manager-helpers.js","sourceRoot":"","sources":["../src/store-manager-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAG1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAElD,MAAM,CAAC,MAAM,YAAY,GAAG,UAAkF,EAC5G,QAAQ,EACR,KAAK,EACL,cAAc,EACd,UAAU,EACV,OAAO,EACP,SAAS,GA0BV;IACC,MAAM,aAAa,GAAG,QAAQ,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAA;IAClE,MAAM,KAAK,GAAG,IAAI,cAAc,CAAC;QAC/B,KAAK;QACL,UAAU;QACV,kBAAkB,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,kBAAkB,CAAC,OAAO,CAAC;QACnE,SAAS;QACT,cAAc;KACf,CAAC,CAAA;IACF,QAAQ,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAA;AAC3B,CAAC,CAAA"}
1
+ {"version":3,"file":"store-manager-helpers.js","sourceRoot":"","sources":["../src/store-manager-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAG1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAA;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAErD,MAAM,CAAC,MAAM,YAAY,GAAG,UAAkF,EAC5G,QAAQ,EACR,KAAK,EACL,cAAc,EACd,UAAU,EACV,OAAO,EACP,SAAS,GA0BV;IACC,MAAM,aAAa,GAAG,QAAQ,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAA;IAClE,MAAM,KAAK,GAAG,IAAI,cAAc,CAAC;QAC/B,KAAK;QACL,UAAU;QACV,kBAAkB,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,kBAAkB,CAAC,OAAO,CAAC;QACnE,SAAS;QACT,cAAc;KACf,CAAC,CAAA;IACF,QAAQ,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAA;AAC3B,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@furystack/sequelize-store",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Sequelize-based Store implementation for FuryStack",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -8,16 +8,7 @@
8
8
  },
9
9
  "exports": {
10
10
  ".": {
11
- "import": "./esm/index.js",
12
- "types": "./types/index.d.ts"
13
- },
14
- "./package.json": "./package.json"
15
- },
16
- "typesVersions": {
17
- "*": {
18
- "*": [
19
- "types/*"
20
- ]
11
+ "import": "./esm/index.js"
21
12
  }
22
13
  },
23
14
  "files": [
@@ -44,14 +35,14 @@
44
35
  },
45
36
  "homepage": "https://github.com/furystack/furystack",
46
37
  "dependencies": {
47
- "@furystack/core": "^12.0.1",
48
- "@furystack/inject": "^8.0.1",
49
- "@furystack/utils": "^4.0.1",
38
+ "@furystack/core": "^12.0.2",
39
+ "@furystack/inject": "^8.0.2",
40
+ "@furystack/utils": "^4.0.2",
50
41
  "semaphore-async-await": "^1.5.1",
51
42
  "sequelize": "^6.31.0"
52
43
  },
53
44
  "devDependencies": {
54
- "@types/node": "^18.15.11",
45
+ "@types/node": "^18.16.2",
55
46
  "sqlite3": "5.1.6",
56
47
  "typescript": "^5.0.4",
57
48
  "vitest": "^0.30.1"
package/src/index.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from './sequelize-store'
2
- export * from './store-manager-helpers'
1
+ export * from './sequelize-store.js'
2
+ export * from './store-manager-helpers.js'
@@ -1,8 +1,8 @@
1
1
  import { addStore } from '@furystack/core'
2
2
  import type { Constructable, Injector } from '@furystack/inject'
3
3
  import type { Options, Sequelize, ModelStatic, Model } from 'sequelize'
4
- import { SequelizeClientFactory } from './sequelize-client-factory'
5
- import { SequelizeStore } from './sequelize-store'
4
+ import { SequelizeClientFactory } from './sequelize-client-factory.js'
5
+ import { SequelizeStore } from './sequelize-store.js'
6
6
 
7
7
  export const useSequelize = function <T extends object, M extends ModelStatic<Model<T>>, Key extends keyof T>({
8
8
  injector,
package/types/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from './sequelize-store';
2
- export * from './store-manager-helpers';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA"}
File without changes
File without changes
File without changes
File without changes
File without changes