@flumens/models 0.5.3 → 0.6.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/index.js CHANGED
@@ -1 +1,29 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Drupal/User.js"),r=require("./Stores/SQLiteDatabase.js"),t=require("./Stores/LocalForageStore.js"),a=require("./Stores/SQLiteStore.js"),i=require("./Stores/Store.js"),o=require("./Model.js"),s=require("./Collection.js"),l=require("./Indicia/Media.js"),u=require("./Indicia/Occurrence.js"),d=require("./Indicia/Sample.js"),c=require("./Indicia/SampleCollection.js");exports.DrupalUserModel=e.default,exports.SQLiteDatabase=r.default,exports.LocalForageStore=t.default,exports.SQLiteStore=a.default,exports.IStore=i.default,exports.Model=o.default,exports.Collection=s.default,exports.IndiciaMedia=l.default,exports.IndiciaOccurrence=u.default,exports.IndiciaSample=d.default,exports.IndiciaSampleCollection=c.default;
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var User = require('./Drupal/User.js');
6
+ var SQLiteDatabase = require('./Stores/SQLiteDatabase.js');
7
+ var LocalForageStore = require('./Stores/LocalForageStore.js');
8
+ var SQLiteStore = require('./Stores/SQLiteStore.js');
9
+ var Store = require('./Stores/Store.js');
10
+ var Model = require('./Model.js');
11
+ var Collection = require('./Collection.js');
12
+ var Media = require('./Indicia/Media.js');
13
+ var Occurrence = require('./Indicia/Occurrence.js');
14
+ var Sample = require('./Indicia/Sample.js');
15
+ var SampleCollection = require('./Indicia/SampleCollection.js');
16
+
17
+
18
+
19
+ exports.DrupalUserModel = User["default"];
20
+ exports.SQLiteDatabase = SQLiteDatabase["default"];
21
+ exports.LocalForageStore = LocalForageStore["default"];
22
+ exports.SQLiteStore = SQLiteStore["default"];
23
+ exports.IStore = Store["default"];
24
+ exports.Model = Model["default"];
25
+ exports.Collection = Collection["default"];
26
+ exports.IndiciaMedia = Media["default"];
27
+ exports.IndiciaOccurrence = Occurrence["default"];
28
+ exports.IndiciaSample = Sample["default"];
29
+ exports.IndiciaSampleCollection = SampleCollection["default"];
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@flumens/models",
3
- "version": "0.5.3",
3
+ "version": "0.6.0",
4
4
  "main": "dist/index.js",
5
- "types": "dist/src/index.d.ts",
5
+ "types": "dist/index.d.ts",
6
6
  "scripts": {
7
7
  "build": "rollup -c",
8
8
  "build:watch": "rollup -c -w",
9
- "prepare": "npm run build",
10
9
  "test:eslint": "eslint src --quiet --ext .jsx --ext .ts --ext .tsx --ext .js && echo '\\033[37;42;1m PASS \\033[00m'",
11
10
  "postpublish": "TAG_NAME=models-v\"$npm_package_version\" && git tag $TAG_NAME && git push origin \"$TAG_NAME\"",
12
11
  "test": "jest --passWithNoTests",
@@ -15,20 +14,16 @@
15
14
  "author": "Flumens",
16
15
  "license": "GNU GPL v3",
17
16
  "devDependencies": {
18
- "@rollup/plugin-json": "6.0.0",
19
- "@rollup/plugin-node-resolve": "13.3.0",
20
- "@rollup/plugin-typescript": "8.3.2",
21
- "@trivago/prettier-plugin-sort-imports": "4.3.0",
22
- "@types/react": "18.2.38",
23
- "@types/react-dom": "18.2.17",
24
- "prettier": "3.2.5",
25
- "react": "^18.2.0",
26
- "react-dom": "^18.2.0",
17
+ "@rollup/plugin-json": "6.1.0",
18
+ "@rollup/plugin-node-resolve": "16.0.0",
19
+ "@rollup/plugin-typescript": "12.1.2",
20
+ "@trivago/prettier-plugin-sort-imports": "5.2.2",
21
+ "prettier": "3.5.0",
27
22
  "rollup-plugin-clear": "2.0.7",
28
23
  "rollup-plugin-copy": "3.5.0",
29
24
  "rollup-plugin-terser": "7.0.2",
30
- "tslib": "2.6.2",
31
- "typescript": "4.9.4"
25
+ "tslib": "2.8.1",
26
+ "typescript": "5.7.3"
32
27
  },
33
28
  "peerDependencies": {
34
29
  "@flumens/utils": "*"
@@ -38,8 +33,8 @@
38
33
  "@capacitor/filesystem": "^6 || ^7",
39
34
  "@capacitor-community/sqlite": "^6 || ^7",
40
35
  "deep-diff": "^1",
41
- "drizzle-orm": "^0.34.1",
42
- "jeep-sqlite": "^2.8.0",
36
+ "drizzle-orm": "^0.39.3",
37
+ "jeep-sqlite": "^2",
43
38
  "jwt-decode": "^4",
44
39
  "localforage": "^1",
45
40
  "localforage-cordovasqlitedriver": "^1",