@milaboratories/milaboratories.pool-explorer.model 1.0.83 → 1.0.85
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/.turbo/turbo-build.log +17 -28
- package/.turbo/turbo-type-check.log +6 -0
- package/CHANGELOG.md +15 -0
- package/dist/bundle.js +6827 -5937
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +8 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -10
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +8 -21
- package/tsconfig.json +11 -16
- package/dist/index.d.cts +0 -35
- package/vite.config.mts +0 -20
package/dist/index.cjs
CHANGED
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
var model = require('@platforma-sdk/model');
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
const platforma = model.BlockModel.create('Heavy')
|
|
6
|
+
.withArgs({ titleArg: 'The title' })
|
|
7
|
+
.output('allSpecs', (ctx) => ctx.resultPool.getSpecs())
|
|
8
|
+
.sections((ctx) => {
|
|
9
|
+
return [{ type: 'link', href: '/', label: 'Main' }];
|
|
10
|
+
})
|
|
11
|
+
.title((ctx) => 'Pool explorer')
|
|
12
|
+
.done();
|
|
9
13
|
|
|
10
14
|
exports.platforma = platforma;
|
|
11
15
|
//# sourceMappingURL=index.cjs.map
|
|
12
|
-
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../src/index.ts"],"sourcesContent":["import { BlockModel, InferHrefType, InferOutputsType } from '@platforma-sdk/model';\n\nexport type BlockArgs = {\n titleArg: string;\n};\n\nexport const platforma = BlockModel.create('Heavy')\n\n .withArgs<BlockArgs>({ titleArg: 'The title' })\n\n .output('allSpecs', (ctx) => ctx.resultPool.getSpecs())\n\n .sections((ctx) => {\n return [{ type: 'link', href: '/', label: 'Main' }];\n })\n\n .title((ctx) => 'Pool explorer')\n\n .done();\n\nexport type BlockOutputs = InferOutputsType<typeof platforma>;\nexport type Href = InferHrefType<typeof platforma>;\n"],"names":["BlockModel"],"mappings":";;;;MAMa,SAAS,GAAGA,gBAAU,CAAC,MAAM,CAAC,OAAO;AAE/C,KAAA,QAAQ,CAAY,EAAE,QAAQ,EAAE,WAAW,EAAE;AAE7C,KAAA,MAAM,CAAC,UAAU,EAAE,CAAC,GAAG,KAAK,GAAG,CAAC,UAAU,CAAC,QAAQ,EAAE;AAErD,KAAA,QAAQ,CAAC,CAAC,GAAG,KAAI;AAChB,IAAA,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;AACrD,CAAC;AAEA,KAAA,KAAK,CAAC,CAAC,GAAG,KAAK,eAAe;AAE9B,KAAA,IAAI;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
type BlockArgs = {
|
|
1
|
+
import { InferHrefType, InferOutputsType } from '@platforma-sdk/model';
|
|
2
|
+
export type BlockArgs = {
|
|
5
3
|
titleArg: string;
|
|
6
4
|
};
|
|
7
|
-
declare const platforma:
|
|
8
|
-
allSpecs:
|
|
5
|
+
export declare const platforma: import('@platforma-sdk/model').PlatformaV1<BlockArgs, {
|
|
6
|
+
allSpecs: import('@milaboratories/pl-model-common').ValueOrErrors<{
|
|
9
7
|
readonly entries: {
|
|
10
8
|
readonly ref: {
|
|
11
9
|
readonly __isRef: true;
|
|
@@ -29,7 +27,5 @@ declare const platforma: _platforma_sdk_model.PlatformaV1<BlockArgs, {
|
|
|
29
27
|
}, {
|
|
30
28
|
[x: string]: never;
|
|
31
29
|
}, "/">;
|
|
32
|
-
type BlockOutputs = InferOutputsType<typeof platforma>;
|
|
33
|
-
type Href = InferHrefType<typeof platforma>;
|
|
34
|
-
|
|
35
|
-
export { type BlockArgs, type BlockOutputs, type Href, platforma };
|
|
30
|
+
export type BlockOutputs = InferOutputsType<typeof platforma>;
|
|
31
|
+
export type Href = InferHrefType<typeof platforma>;
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { BlockModel } from '@platforma-sdk/model';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
const platforma = BlockModel.create('Heavy')
|
|
4
|
+
.withArgs({ titleArg: 'The title' })
|
|
5
|
+
.output('allSpecs', (ctx) => ctx.resultPool.getSpecs())
|
|
6
|
+
.sections((ctx) => {
|
|
7
|
+
return [{ type: 'link', href: '/', label: 'Main' }];
|
|
8
|
+
})
|
|
9
|
+
.title((ctx) => 'Pool explorer')
|
|
10
|
+
.done();
|
|
7
11
|
|
|
8
12
|
export { platforma };
|
|
9
13
|
//# sourceMappingURL=index.js.map
|
|
10
|
-
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["import { BlockModel, InferHrefType, InferOutputsType } from '@platforma-sdk/model';\n\nexport type BlockArgs = {\n titleArg: string;\n};\n\nexport const platforma = BlockModel.create('Heavy')\n\n .withArgs<BlockArgs>({ titleArg: 'The title' })\n\n .output('allSpecs', (ctx) => ctx.resultPool.getSpecs())\n\n .sections((ctx) => {\n return [{ type: 'link', href: '/', label: 'Main' }];\n })\n\n .title((ctx) => 'Pool explorer')\n\n .done();\n\nexport type BlockOutputs = InferOutputsType<typeof platforma>;\nexport type Href = InferHrefType<typeof platforma>;\n"],"names":[],"mappings":";;MAMa,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC,OAAO;AAE/C,KAAA,QAAQ,CAAY,EAAE,QAAQ,EAAE,WAAW,EAAE;AAE7C,KAAA,MAAM,CAAC,UAAU,EAAE,CAAC,GAAG,KAAK,GAAG,CAAC,UAAU,CAAC,QAAQ,EAAE;AAErD,KAAA,QAAQ,CAAC,CAAC,GAAG,KAAI;AAChB,IAAA,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;AACrD,CAAC;AAEA,KAAA,KAAK,CAAC,CAAC,GAAG,KAAK,eAAe;AAE9B,KAAA,IAAI;;;;"}
|