@_linked/server 2.14.2 → 2.14.3
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/CHANGELOG.md +6 -0
- package/lib/esm/index.d.ts +1 -3
- package/lib/esm/index.js +2 -3
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/shapes/index.d.ts +4 -0
- package/lib/esm/shapes/index.js +8 -0
- package/lib/esm/shapes/index.js.map +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @\_linked/server
|
|
2
2
|
|
|
3
|
+
## 2.14.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#113](https://github.com/linked-fw/server/pull/113) [`add9285`](https://github.com/linked-fw/server/commit/add928543ce3b0d68319384490b46527b8878e14) Thanks [@flyon](https://github.com/flyon)! - Add `shapes/index`, a side-effect-only module that registers every shape this package defines, and have the package entry import it instead of listing shapes one by one. Hosts and consumers can now load `@_linked/server/shapes/index` to get the package's full shape set registered without pulling in anything else, and a shape added later is picked up by the entry automatically.
|
|
8
|
+
|
|
3
9
|
## 2.14.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import './types.js';
|
|
2
2
|
import './ontologies/lincd-server.register.js';
|
|
3
|
-
import './shapes/
|
|
4
|
-
import './shapes/LincdAPI.js';
|
|
3
|
+
import './shapes/index.js';
|
|
5
4
|
import './shapes/quadstores/BackendAPIStore.js';
|
|
6
5
|
import './shapes/filestores/LocalFileStore.js';
|
|
7
|
-
import './shapes/LincdWebApp.js';
|
|
8
6
|
import './utils/accessUrl.js';
|
|
9
7
|
export type { RouteConfig, RoutesConfig, RoutesModule, } from '@_linked/server-utils/types/RouteConfig';
|
package/lib/esm/index.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import './types.js';
|
|
2
2
|
import './ontologies/lincd-server.register.js';
|
|
3
3
|
//SHAPES FIRST
|
|
4
|
-
import './shapes/
|
|
5
|
-
|
|
4
|
+
import './shapes/index.js';
|
|
5
|
+
// Not shapes (plain store classes); kept so the entry's module graph is unchanged.
|
|
6
6
|
import './shapes/quadstores/BackendAPIStore.js';
|
|
7
7
|
import './shapes/filestores/LocalFileStore.js';
|
|
8
|
-
import './shapes/LincdWebApp.js';
|
|
9
8
|
//THEN COMPONENTS
|
|
10
9
|
import './utils/accessUrl.js';
|
|
11
10
|
//# sourceMappingURL=index.js.map
|
package/lib/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,CAAC;AACpB,OAAO,uCAAuC,CAAC;AAE/C,cAAc;AACd,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,CAAC;AACpB,OAAO,uCAAuC,CAAC;AAE/C,cAAc;AACd,OAAO,mBAAmB,CAAC;AAC3B,mFAAmF;AACnF,OAAO,wCAAwC,CAAC;AAChD,OAAO,uCAAuC,CAAC;AAE/C,iBAAiB;AACjB,OAAO,sBAAsB,CAAC","sourcesContent":["import './types.js';\nimport './ontologies/lincd-server.register.js';\n\n//SHAPES FIRST\nimport './shapes/index.js';\n// Not shapes (plain store classes); kept so the entry's module graph is unchanged.\nimport './shapes/quadstores/BackendAPIStore.js';\nimport './shapes/filestores/LocalFileStore.js';\n\n//THEN COMPONENTS\nimport './utils/accessUrl.js';\n\n//TYPES — re-exported from @_linked/server-utils (canonical location)\nexport type {\n RouteConfig,\n RoutesConfig,\n RoutesModule,\n} from '@_linked/server-utils/types/RouteConfig';\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Registers every shape this package defines. Side-effect imports only: a
|
|
2
|
+
// consumer (or the host app) can load this one module to get the full set of
|
|
3
|
+
// shapes registered, without pulling in components, providers or other exports.
|
|
4
|
+
import '../ontologies/lincd-server.register.js';
|
|
5
|
+
import './LinkedServer.js';
|
|
6
|
+
import './LincdAPI.js';
|
|
7
|
+
import './LincdWebApp.js';
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/shapes/index.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,6EAA6E;AAC7E,gFAAgF;AAChF,OAAO,wCAAwC,CAAC;AAEhD,OAAO,mBAAmB,CAAC;AAC3B,OAAO,eAAe,CAAC;AACvB,OAAO,kBAAkB,CAAC","sourcesContent":["// Registers every shape this package defines. Side-effect imports only: a\n// consumer (or the host app) can load this one module to get the full set of\n// shapes registered, without pulling in components, providers or other exports.\nimport '../ontologies/lincd-server.register.js';\n\nimport './LinkedServer.js';\nimport './LincdAPI.js';\nimport './LincdWebApp.js';\n"]}
|