@milaboratories/milaboratories.pool-explorer.model 1.0.113 → 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 +13 -0
- package/dist/bundle.js +446 -6
- 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 +10 -7
- package/src/index.ts +3 -3
- package/tsconfig.json +1 -1
package/package.json
CHANGED
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/milaboratories.pool-explorer.model",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.115",
|
|
4
4
|
"description": "Block model",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@platforma-sdk/model": "1.
|
|
10
|
+
"@platforma-sdk/model": "1.47.5"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
+
"eslint": "^9.25.1",
|
|
13
14
|
"typescript": "~5.6.3",
|
|
14
|
-
"@
|
|
15
|
-
"@
|
|
16
|
-
"@
|
|
17
|
-
"@milaboratories/ts-
|
|
15
|
+
"@milaboratories/ts-builder": "1.2.0",
|
|
16
|
+
"@platforma-sdk/block-tools": "2.6.27",
|
|
17
|
+
"@platforma-sdk/eslint-config": "1.2.0",
|
|
18
|
+
"@milaboratories/ts-configs": "1.2.0",
|
|
19
|
+
"@milaboratories/build-configs": "1.2.0"
|
|
18
20
|
},
|
|
19
21
|
"scripts": {
|
|
20
22
|
"build": "ts-builder build --target block-model && block-tools build-model",
|
|
21
|
-
"type-check": "ts-builder types --target block-model"
|
|
23
|
+
"type-check": "ts-builder types --target block-model",
|
|
24
|
+
"lint": "eslint ."
|
|
22
25
|
}
|
|
23
26
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BlockModel, InferHrefType, InferOutputsType } from '@platforma-sdk/model';
|
|
1
|
+
import { BlockModel, type InferHrefType, type InferOutputsType } from '@platforma-sdk/model';
|
|
2
2
|
|
|
3
3
|
export type BlockArgs = {
|
|
4
4
|
titleArg: string;
|
|
@@ -10,11 +10,11 @@ export const platforma = BlockModel.create('Heavy')
|
|
|
10
10
|
|
|
11
11
|
.output('allSpecs', (ctx) => ctx.resultPool.getSpecs())
|
|
12
12
|
|
|
13
|
-
.sections((
|
|
13
|
+
.sections((_ctx) => {
|
|
14
14
|
return [{ type: 'link', href: '/', label: 'Main' }];
|
|
15
15
|
})
|
|
16
16
|
|
|
17
|
-
.title((
|
|
17
|
+
.title((_ctx) => 'Pool explorer')
|
|
18
18
|
|
|
19
19
|
.done();
|
|
20
20
|
|
package/tsconfig.json
CHANGED