document-model 2.0.0 → 2.1.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":"index.js","sources":["../../../src/index.ts"],"sourcesContent":["import * as Document from './document';\nimport * as DocumentModel from './document-model';\n\n/**\n * This module exports all the public types, functions, and objects\n * from the document module. It provides an easy-to-use interface\n * for managing documents, and can be used in any Redux-based\n * application. This module exports:\n * - All action creators for the base document actions.\n * - The Document object, which is used to for creating and\n * manipulating documents in an object-oriented way.\n * - The baseReducer function, which is a reducer for managing\n * documents\n * - Various utility functions to be used by Document Models.\n */\nexport { Document };\nexport { DocumentModel };\n\nexport const DocumentModels = {\n 'powerhouse/document': Document,\n 'powerhouse/document-model': DocumentModel,\n};\n\nexport default { Document, DocumentModel };\n"],"names":["Document","DocumentModel"],"mappings":";;;;AAkBO,MAAM,iBAAiB;AAAA,EAC1B,uBAAuBA,SAAA;AAAA,EACvB,6BAA6BC,cAAA;AACjC;AAEA,MAAA,QAAe,EAAED,UAAAA,SAAAA,UAAUC,eAAAA,cAAAA,cAAc;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/index.ts"],"sourcesContent":["import * as Document from './document';\nimport * as DocumentModel from './document-model';\n\n/**\n * This module exports all the public types, functions, and objects\n * from the document module. It provides an easy-to-use interface\n * for managing documents, and can be used in any Redux-based\n * application. This module exports:\n * - All action creators for the base document actions.\n * - The Document object, which is used to for creating and\n * manipulating documents in an object-oriented way.\n * - The baseReducer function, which is a reducer for managing\n * documents\n * - Various utility functions to be used by Document Models.\n */\nexport { Document, DocumentModel };\n\nexport const DocumentModels = {\n 'powerhouse/document': Document,\n 'powerhouse/document-model': DocumentModel,\n};\n\nexport default { Document, DocumentModel };\n"],"names":["Document","DocumentModel"],"mappings":";;;;AAiBO,MAAM,iBAAiB;AAAA,EAC1B,uBAAuBA,SAAA;AAAA,EACvB,6BAA6BC,cAAA;AACjC;AAEA,MAAA,QAAe,EAAED,UAAAA,SAAAA,UAAUC,eAAAA,cAAAA,cAAc;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/index.ts"],"sourcesContent":["import * as Document from './document';\nimport * as DocumentModel from './document-model';\n\n/**\n * This module exports all the public types, functions, and objects\n * from the document module. It provides an easy-to-use interface\n * for managing documents, and can be used in any Redux-based\n * application. This module exports:\n * - All action creators for the base document actions.\n * - The Document object, which is used to for creating and\n * manipulating documents in an object-oriented way.\n * - The baseReducer function, which is a reducer for managing\n * documents\n * - Various utility functions to be used by Document Models.\n */\nexport { Document };\nexport { DocumentModel };\n\nexport const DocumentModels = {\n 'powerhouse/document': Document,\n 'powerhouse/document-model': DocumentModel,\n};\n\nexport default { Document, DocumentModel };\n"],"names":[],"mappings":";;AAkBO,MAAM,iBAAiB;AAAA,EAC1B,uBAAuB;AAAA,EACvB,6BAA6B;AACjC;AAEA,MAAA,QAAe,EAAE,UAAU,cAAc;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/index.ts"],"sourcesContent":["import * as Document from './document';\nimport * as DocumentModel from './document-model';\n\n/**\n * This module exports all the public types, functions, and objects\n * from the document module. It provides an easy-to-use interface\n * for managing documents, and can be used in any Redux-based\n * application. This module exports:\n * - All action creators for the base document actions.\n * - The Document object, which is used to for creating and\n * manipulating documents in an object-oriented way.\n * - The baseReducer function, which is a reducer for managing\n * documents\n * - Various utility functions to be used by Document Models.\n */\nexport { Document, DocumentModel };\n\nexport const DocumentModels = {\n 'powerhouse/document': Document,\n 'powerhouse/document-model': DocumentModel,\n};\n\nexport default { Document, DocumentModel };\n"],"names":[],"mappings":";;AAiBO,MAAM,iBAAiB;AAAA,EAC1B,uBAAuB;AAAA,EACvB,6BAA6B;AACjC;AAEA,MAAA,QAAe,EAAE,UAAU,cAAc;"}
@@ -12,8 +12,7 @@ import * as DocumentModel from './document-model';
12
12
  * documents
13
13
  * - Various utility functions to be used by Document Models.
14
14
  */
15
- export { Document };
16
- export { DocumentModel };
15
+ export { Document, DocumentModel };
17
16
  export declare const DocumentModels: {
18
17
  'powerhouse/document': typeof Document;
19
18
  'powerhouse/document-model': typeof DocumentModel;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/index.ts"],"sourcesContent":["import * as Document from './document';\nimport * as DocumentModel from './document-model';\n\n/**\n * This module exports all the public types, functions, and objects\n * from the document module. It provides an easy-to-use interface\n * for managing documents, and can be used in any Redux-based\n * application. This module exports:\n * - All action creators for the base document actions.\n * - The Document object, which is used to for creating and\n * manipulating documents in an object-oriented way.\n * - The baseReducer function, which is a reducer for managing\n * documents\n * - Various utility functions to be used by Document Models.\n */\nexport { Document };\nexport { DocumentModel };\n\nexport const DocumentModels = {\n 'powerhouse/document': Document,\n 'powerhouse/document-model': DocumentModel,\n};\n\nexport default { Document, DocumentModel };\n"],"names":["Document","DocumentModel"],"mappings":";;;;AAkBO,MAAM,iBAAiB;AAAA,EAC1B,uBAAuBA,SAAA;AAAA,EACvB,6BAA6BC,cAAA;AACjC;AAEA,MAAA,QAAe,EAAED,UAAAA,SAAAA,UAAUC,eAAAA,cAAAA,cAAc;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/index.ts"],"sourcesContent":["import * as Document from './document';\nimport * as DocumentModel from './document-model';\n\n/**\n * This module exports all the public types, functions, and objects\n * from the document module. It provides an easy-to-use interface\n * for managing documents, and can be used in any Redux-based\n * application. This module exports:\n * - All action creators for the base document actions.\n * - The Document object, which is used to for creating and\n * manipulating documents in an object-oriented way.\n * - The baseReducer function, which is a reducer for managing\n * documents\n * - Various utility functions to be used by Document Models.\n */\nexport { Document, DocumentModel };\n\nexport const DocumentModels = {\n 'powerhouse/document': Document,\n 'powerhouse/document-model': DocumentModel,\n};\n\nexport default { Document, DocumentModel };\n"],"names":["Document","DocumentModel"],"mappings":";;;;AAiBO,MAAM,iBAAiB;AAAA,EAC1B,uBAAuBA,SAAA;AAAA,EACvB,6BAA6BC,cAAA;AACjC;AAEA,MAAA,QAAe,EAAED,UAAAA,SAAAA,UAAUC,eAAAA,cAAAA,cAAc;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/index.ts"],"sourcesContent":["import * as Document from './document';\nimport * as DocumentModel from './document-model';\n\n/**\n * This module exports all the public types, functions, and objects\n * from the document module. It provides an easy-to-use interface\n * for managing documents, and can be used in any Redux-based\n * application. This module exports:\n * - All action creators for the base document actions.\n * - The Document object, which is used to for creating and\n * manipulating documents in an object-oriented way.\n * - The baseReducer function, which is a reducer for managing\n * documents\n * - Various utility functions to be used by Document Models.\n */\nexport { Document };\nexport { DocumentModel };\n\nexport const DocumentModels = {\n 'powerhouse/document': Document,\n 'powerhouse/document-model': DocumentModel,\n};\n\nexport default { Document, DocumentModel };\n"],"names":[],"mappings":";;AAkBO,MAAM,iBAAiB;AAAA,EAC1B,uBAAuB;AAAA,EACvB,6BAA6B;AACjC;AAEA,MAAA,QAAe,EAAE,UAAU,cAAc;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/index.ts"],"sourcesContent":["import * as Document from './document';\nimport * as DocumentModel from './document-model';\n\n/**\n * This module exports all the public types, functions, and objects\n * from the document module. It provides an easy-to-use interface\n * for managing documents, and can be used in any Redux-based\n * application. This module exports:\n * - All action creators for the base document actions.\n * - The Document object, which is used to for creating and\n * manipulating documents in an object-oriented way.\n * - The baseReducer function, which is a reducer for managing\n * documents\n * - Various utility functions to be used by Document Models.\n */\nexport { Document, DocumentModel };\n\nexport const DocumentModels = {\n 'powerhouse/document': Document,\n 'powerhouse/document-model': DocumentModel,\n};\n\nexport default { Document, DocumentModel };\n"],"names":[],"mappings":";;AAiBO,MAAM,iBAAiB;AAAA,EAC1B,uBAAuB;AAAA,EACvB,6BAA6B;AACjC;AAEA,MAAA,QAAe,EAAE,UAAU,cAAc;"}
@@ -12,8 +12,7 @@ import * as DocumentModel from './document-model';
12
12
  * documents
13
13
  * - Various utility functions to be used by Document Models.
14
14
  */
15
- export { Document };
16
- export { DocumentModel };
15
+ export { Document, DocumentModel };
17
16
  export declare const DocumentModels: {
18
17
  'powerhouse/document': typeof Document;
19
18
  'powerhouse/document-model': typeof DocumentModel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "document-model",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "license": "AGPL-3.0-only",
5
5
  "private": false,
6
6
  "files": [
@@ -16,6 +16,7 @@
16
16
  "lint": "eslint . && npm run check-types",
17
17
  "lint:fix": "eslint --fix . && npm run check-types",
18
18
  "build": "NODE_ENV=production npm run build:browser && npm run build:node",
19
+ "build:watch": "NODE_ENV=production npm run build:browser -- --watch && npm run build:node -- --watch",
19
20
  "build:browser": "vite build --mode browser",
20
21
  "build:node": "vite build --mode node",
21
22
  "test": "vitest run"
@@ -53,31 +54,18 @@
53
54
  }
54
55
  },
55
56
  "devDependencies": {
56
- "@commitlint/cli": "^18.4.4",
57
- "@commitlint/config-conventional": "^18.4.4",
58
57
  "@rollup/plugin-node-resolve": "^15.2.3",
59
- "@semantic-release/changelog": "^6.0.3",
60
- "@semantic-release/git": "^10.0.1",
61
58
  "@total-typescript/ts-reset": "^0.5.1",
62
59
  "@types/mime": "^3.0.4",
63
60
  "@types/node": "^20.11.17",
64
61
  "@types/react": "^18.2.48",
65
62
  "@types/uuid": "^9.0.8",
66
- "@typescript-eslint/eslint-plugin": "^6.19.0",
67
63
  "@typescript-eslint/parser": "^6.19.0",
68
64
  "@vitest/browser": "^2.0.5",
69
65
  "@vitest/coverage-v8": "^2.0.5",
70
- "eslint": "^8.56.0",
71
- "eslint-config-prettier": "^9.1.0",
72
- "eslint-plugin-prettier": "^5.1.3",
73
- "husky": "^8.0.3",
74
- "lint-staged": "^15.2.0",
75
66
  "playwright": "^1.46.1",
76
- "prettier": "^3.2.4",
77
- "prettier-plugin-organize-imports": "^3.2.4",
78
67
  "react": "^18.2.0",
79
68
  "rollup-plugin-polyfill-node": "^0.13.0",
80
- "semantic-release": "^23.0.8",
81
69
  "typescript": "^5.3.3",
82
70
  "vite": "^5.0.11",
83
71
  "vite-plugin-dts": "^3.7.1",