@hamak/ui-remote-resource-spi 0.5.2 → 0.5.5

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,5 +1,5 @@
1
1
  import type { ResourceCallAction } from '@hamak/ui-remote-resource-api';
2
- import type { ResourceCallParams } from '../providers/i-resource-provider';
2
+ import type { ResourceCallParams } from '../providers/i-resource-provider.js';
3
3
  /**
4
4
  * Maps entire action to API call parameters
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { EntityKey, ResourceOperation } from '@hamak/ui-remote-resource-api';
2
- import type { ResourceCallParams } from '../providers/i-resource-provider';
2
+ import type { ResourceCallParams } from '../providers/i-resource-provider.js';
3
3
  /**
4
4
  * Entity key schema definition
5
5
  */
@@ -1,7 +1,7 @@
1
1
  import type { ResourceAction, EntityAction } from '@hamak/ui-remote-resource-api';
2
- import type { IResourceProvider } from '../providers/i-resource-provider';
3
- import type { ResourceEndpointDefinition } from './endpoint-definition';
4
- import type { EntityDefinition } from './entity-definition';
2
+ import type { IResourceProvider } from '../providers/i-resource-provider.js';
3
+ import type { ResourceEndpointDefinition } from './endpoint-definition.js';
4
+ import type { EntityDefinition } from './entity-definition.js';
5
5
  /**
6
6
  * Plugin configuration
7
7
  * Used when creating the resource plugin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hamak/ui-remote-resource-spi",
3
- "version": "0.5.2",
3
+ "version": "0.5.5",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "DEPRECATED: Use @hamak/ui-remote-resource/spi instead",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "deprecated": "Use @hamak/ui-remote-resource/spi instead",
22
22
  "scripts": {
23
- "build": "tsc -p tsconfig.json",
23
+ "build": "tsc -p tsconfig.json && node ../../../scripts/fix-esm-extensions.mjs ./dist",
24
24
  "clean": "rm -rf dist"
25
25
  },
26
26
  "exports": {
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,22 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- // Providers (for custom implementations)
18
- __exportStar(require("./providers/i-resource-provider"), exports);
19
- // Configuration (for plugin setup)
20
- __exportStar(require("./config/endpoint-definition"), exports);
21
- __exportStar(require("./config/entity-definition"), exports);
22
- __exportStar(require("./config/plugin-config"), exports);
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });