@platforma-sdk/model 1.30.37 → 1.31.6
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/dist/config/actions.d.ts +4 -4
- package/dist/config/actions.d.ts.map +1 -1
- package/dist/config/model.d.ts +4 -1
- package/dist/config/model.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -11
- package/dist/index.mjs.map +1 -1
- package/dist/render/accessor.d.ts +4 -4
- package/dist/render/accessor.d.ts.map +1 -1
- package/dist/render/internal.d.ts +3 -3
- package/dist/render/internal.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/config/actions.ts +7 -1
- package/src/config/model.ts +4 -1
- package/src/render/accessor.ts +7 -6
- package/src/render/internal.ts +3 -2
package/dist/index.mjs
CHANGED
|
@@ -132,22 +132,25 @@ function gn(t, e, n = "$it") {
|
|
|
132
132
|
itVar: n
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
|
-
function mn(t) {
|
|
135
|
+
function mn(t, e) {
|
|
136
136
|
return {
|
|
137
137
|
type: "GetBlobContent",
|
|
138
|
+
range: e,
|
|
138
139
|
source: C(t)
|
|
139
140
|
};
|
|
140
141
|
}
|
|
141
|
-
function yn(t) {
|
|
142
|
+
function yn(t, e) {
|
|
142
143
|
return {
|
|
143
144
|
type: "GetBlobContentAsString",
|
|
145
|
+
range: e,
|
|
144
146
|
source: C(t)
|
|
145
147
|
};
|
|
146
148
|
}
|
|
147
149
|
function vn() {
|
|
148
|
-
return function(t) {
|
|
150
|
+
return function(t, e) {
|
|
149
151
|
return {
|
|
150
152
|
type: "GetBlobContentAsJson",
|
|
153
|
+
range: e,
|
|
151
154
|
source: C(t)
|
|
152
155
|
};
|
|
153
156
|
};
|
|
@@ -382,16 +385,16 @@ class E {
|
|
|
382
385
|
}
|
|
383
386
|
return i;
|
|
384
387
|
}
|
|
385
|
-
getFileContentAsBase64() {
|
|
386
|
-
return new I(f().getBlobContentAsBase64(this.handle));
|
|
388
|
+
getFileContentAsBase64(e) {
|
|
389
|
+
return new I(f().getBlobContentAsBase64(this.handle, e));
|
|
387
390
|
}
|
|
388
|
-
getFileContentAsString() {
|
|
389
|
-
return new I(f().getBlobContentAsString(this.handle));
|
|
391
|
+
getFileContentAsString(e) {
|
|
392
|
+
return new I(f().getBlobContentAsString(this.handle, e));
|
|
390
393
|
}
|
|
391
|
-
getFileContentAsJson() {
|
|
394
|
+
getFileContentAsJson(e) {
|
|
392
395
|
return new I(
|
|
393
|
-
f().getBlobContentAsString(this.handle)
|
|
394
|
-
).mapDefined((
|
|
396
|
+
f().getBlobContentAsString(this.handle, e)
|
|
397
|
+
).mapDefined((n) => JSON.parse(n));
|
|
395
398
|
}
|
|
396
399
|
/**
|
|
397
400
|
* @deprecated use getFileContentAsBase64
|
|
@@ -1449,7 +1452,7 @@ class te {
|
|
|
1449
1452
|
return this.ctx.getCurrentUnstableMarker();
|
|
1450
1453
|
}
|
|
1451
1454
|
}
|
|
1452
|
-
const Y = "1.
|
|
1455
|
+
const Y = "1.31.6";
|
|
1453
1456
|
function kt(t) {
|
|
1454
1457
|
return t.__renderLambda === !0;
|
|
1455
1458
|
}
|