@_linked/shape-ui 2.3.3 → 2.3.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.
- package/lib/esm/package.d.ts +18 -3
- package/lib/esm/package.js +16 -3
- package/lib/esm/package.js.map +1 -1
- package/package.json +1 -1
- package/src/package.ts +20 -15
package/lib/esm/package.d.ts
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* This package's own identity.
|
|
3
|
+
*
|
|
4
|
+
* It used to re-export `@_linked/core`'s decorators verbatim, which meant any
|
|
5
|
+
* shape declared here would register under the package name `@_linked/core`
|
|
6
|
+
* and carry a `.../shape/core/...` IRI. A third name — a cosmetic
|
|
7
|
+
* `packageName: '@_linked/ui'` literal — matched neither the npm name nor the
|
|
8
|
+
* registration.
|
|
9
|
+
*
|
|
10
|
+
* Nothing is decorated here today, so nothing was mis-registered. The point is
|
|
11
|
+
* that the next shape added to this package would have been, silently: a shape
|
|
12
|
+
* whose IRI names the wrong package is unreachable by `Server.call`, which
|
|
13
|
+
* routes on exactly that name.
|
|
14
|
+
*/
|
|
15
|
+
export declare const linkedShape: {
|
|
16
|
+
<T extends typeof import("@_linked/core/shapes/Shape").Shape>(constructor: T): void;
|
|
17
|
+
<T extends typeof import("@_linked/core/shapes/Shape").Shape>(config?: import("@_linked/core/utils/Package").ShapeConfig): (constructor: T) => void;
|
|
18
|
+
}, linkedUtil: (constructor: any) => any, linkedOntology: (allFileExports: any, nameSpace: (term: string) => import("@_linked/core/utils/NodeReference").NodeReferenceValue, suggestedPrefixAndFileName: string, loadDataFunction?: () => Promise<any>, dataSource?: string | string[]) => void, registerPackageExport: (exportedObject: any) => void, registerPackageModule: (_module: any) => void, getPackageShape: (name: string) => import("@_linked/core/shapes/Shape").ShapeConstructor | undefined, packageExports: any, packageName: string;
|
package/lib/esm/package.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { linkedPackage } from '@_linked/core/utils/Package';
|
|
2
|
+
/**
|
|
3
|
+
* This package's own identity.
|
|
4
|
+
*
|
|
5
|
+
* It used to re-export `@_linked/core`'s decorators verbatim, which meant any
|
|
6
|
+
* shape declared here would register under the package name `@_linked/core`
|
|
7
|
+
* and carry a `.../shape/core/...` IRI. A third name — a cosmetic
|
|
8
|
+
* `packageName: '@_linked/ui'` literal — matched neither the npm name nor the
|
|
9
|
+
* registration.
|
|
10
|
+
*
|
|
11
|
+
* Nothing is decorated here today, so nothing was mis-registered. The point is
|
|
12
|
+
* that the next shape added to this package would have been, silently: a shape
|
|
13
|
+
* whose IRI names the wrong package is unreachable by `Server.call`, which
|
|
14
|
+
* routes on exactly that name.
|
|
15
|
+
*/
|
|
16
|
+
export const { linkedShape, linkedUtil, linkedOntology, registerPackageExport, registerPackageModule, getPackageShape, packageExports, packageName, } = linkedPackage('@_linked/shape-ui');
|
|
4
17
|
//# sourceMappingURL=package.js.map
|
package/lib/esm/package.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.js","sourceRoot":"","sources":["../../src/package.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"package.js","sourceRoot":"","sources":["../../src/package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,6BAA6B,CAAC;AAE1D;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,EACX,WAAW,EACX,UAAU,EACV,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,WAAW,GACZ,GAAG,aAAa,CAAC,mBAAmB,CAAC,CAAC"}
|
package/package.json
CHANGED
package/src/package.ts
CHANGED
|
@@ -1,21 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import {linkedPackage} from '@_linked/core/utils/Package';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This package's own identity.
|
|
5
|
+
*
|
|
6
|
+
* It used to re-export `@_linked/core`'s decorators verbatim, which meant any
|
|
7
|
+
* shape declared here would register under the package name `@_linked/core`
|
|
8
|
+
* and carry a `.../shape/core/...` IRI. A third name — a cosmetic
|
|
9
|
+
* `packageName: '@_linked/ui'` literal — matched neither the npm name nor the
|
|
10
|
+
* registration.
|
|
11
|
+
*
|
|
12
|
+
* Nothing is decorated here today, so nothing was mis-registered. The point is
|
|
13
|
+
* that the next shape added to this package would have been, silently: a shape
|
|
14
|
+
* whose IRI names the wrong package is unreachable by `Server.call`, which
|
|
15
|
+
* routes on exactly that name.
|
|
16
|
+
*/
|
|
17
|
+
export const {
|
|
4
18
|
linkedShape,
|
|
5
19
|
linkedUtil,
|
|
6
|
-
|
|
20
|
+
linkedOntology,
|
|
7
21
|
registerPackageExport,
|
|
8
22
|
registerPackageModule,
|
|
9
|
-
} from '@_linked/core/package';
|
|
10
|
-
|
|
11
|
-
export const { packageName } = { packageName: '@_linked/ui' };
|
|
12
|
-
|
|
13
|
-
export {
|
|
14
23
|
getPackageShape,
|
|
15
|
-
linkedOntology,
|
|
16
|
-
linkedShape,
|
|
17
|
-
linkedUtil,
|
|
18
24
|
packageExports,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
};
|
|
25
|
+
packageName,
|
|
26
|
+
} = linkedPackage('@_linked/shape-ui');
|