@milaboratories/milaboratories.pool-explorer.model 1.0.114 → 1.0.115
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 +3 -3
- package/.turbo/turbo-lint.log +5 -0
- package/.turbo/turbo-type-check.log +2 -2
- package/CHANGELOG.md +6 -0
- package/dist/bundle.js +2 -2
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/eslint.config.mjs +7 -0
- package/package.json +8 -5
- package/src/index.ts +3 -3
- package/tsconfig.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5,10 +5,10 @@ var model = require('@platforma-sdk/model');
|
|
|
5
5
|
const platforma = model.BlockModel.create('Heavy')
|
|
6
6
|
.withArgs({ titleArg: 'The title' })
|
|
7
7
|
.output('allSpecs', (ctx) => ctx.resultPool.getSpecs())
|
|
8
|
-
.sections((
|
|
8
|
+
.sections((_ctx) => {
|
|
9
9
|
return [{ type: 'link', href: '/', label: 'Main' }];
|
|
10
10
|
})
|
|
11
|
-
.title((
|
|
11
|
+
.title((_ctx) => 'Pool explorer')
|
|
12
12
|
.done();
|
|
13
13
|
|
|
14
14
|
exports.platforma = platforma;
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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((
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../src/index.ts"],"sourcesContent":["import { BlockModel, type InferHrefType, type 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,IAAI,KAAI;AACjB,IAAA,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;AACrD,CAAC;AAEA,KAAA,KAAK,CAAC,CAAC,IAAI,KAAK,eAAe;AAE/B,KAAA,IAAI;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { InferHrefType, InferOutputsType } from '@platforma-sdk/model';
|
|
1
|
+
import { type InferHrefType, type InferOutputsType } from '@platforma-sdk/model';
|
|
2
2
|
export type BlockArgs = {
|
|
3
3
|
titleArg: string;
|
|
4
4
|
};
|
|
5
5
|
export declare const platforma: import("@platforma-sdk/model").PlatformaV1<BlockArgs, {
|
|
6
|
-
allSpecs: import("@
|
|
6
|
+
allSpecs: import("@platforma-sdk/model").ValueOrErrors<{
|
|
7
7
|
readonly entries: {
|
|
8
8
|
readonly ref: {
|
|
9
9
|
readonly __isRef: true;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,aAAa,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,aAAa,EAAE,KAAK,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7F,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;OAYb,CAAC;AAEV,MAAM,MAAM,YAAY,GAAG,gBAAgB,CAAC,OAAO,SAAS,CAAC,CAAC;AAC9D,MAAM,MAAM,IAAI,GAAG,aAAa,CAAC,OAAO,SAAS,CAAC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -3,10 +3,10 @@ import { BlockModel } from '@platforma-sdk/model';
|
|
|
3
3
|
const platforma = BlockModel.create('Heavy')
|
|
4
4
|
.withArgs({ titleArg: 'The title' })
|
|
5
5
|
.output('allSpecs', (ctx) => ctx.resultPool.getSpecs())
|
|
6
|
-
.sections((
|
|
6
|
+
.sections((_ctx) => {
|
|
7
7
|
return [{ type: 'link', href: '/', label: 'Main' }];
|
|
8
8
|
})
|
|
9
|
-
.title((
|
|
9
|
+
.title((_ctx) => 'Pool explorer')
|
|
10
10
|
.done();
|
|
11
11
|
|
|
12
12
|
export { platforma };
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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((
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["import { BlockModel, type InferHrefType, type 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,IAAI,KAAI;AACjB,IAAA,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;AACrD,CAAC;AAEA,KAAA,KAAK,CAAC,CAAC,IAAI,KAAK,eAAe;AAE/B,KAAA,IAAI;;;;"}
|