@platforma-open/milaboratories.software-ptabler.schema 1.6.0 → 1.7.0
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/expressions.d.ts +6 -6
- package/package.json +1 -1
- package/src/expressions.ts +6 -6
package/dist/expressions.d.ts
CHANGED
|
@@ -242,12 +242,12 @@ export interface SubstringExpression {
|
|
|
242
242
|
type: 'substring';
|
|
243
243
|
/** The expression whose string value will be used. */
|
|
244
244
|
value: Expression;
|
|
245
|
-
/** The starting position (0-indexed). */
|
|
246
|
-
start:
|
|
247
|
-
/** The length of the substring. Mutually exclusive with 'end'. */
|
|
248
|
-
length?:
|
|
249
|
-
/** The end position of the substring (exclusive). Mutually exclusive with 'length'. */
|
|
250
|
-
end?:
|
|
245
|
+
/** The starting position (0-indexed). Should evaluate to a number. */
|
|
246
|
+
start: Expression;
|
|
247
|
+
/** The length of the substring. Mutually exclusive with 'end'. Should evaluate to a number. */
|
|
248
|
+
length?: Expression;
|
|
249
|
+
/** The end position of the substring (exclusive). Mutually exclusive with 'length'. Should evaluate to a number. */
|
|
250
|
+
end?: Expression;
|
|
251
251
|
}
|
|
252
252
|
/**
|
|
253
253
|
* Represents a string replacement operation.
|
package/package.json
CHANGED
package/src/expressions.ts
CHANGED
|
@@ -321,12 +321,12 @@ export interface SubstringExpression {
|
|
|
321
321
|
type: 'substring';
|
|
322
322
|
/** The expression whose string value will be used. */
|
|
323
323
|
value: Expression;
|
|
324
|
-
/** The starting position (0-indexed). */
|
|
325
|
-
start:
|
|
326
|
-
/** The length of the substring. Mutually exclusive with 'end'. */
|
|
327
|
-
length?:
|
|
328
|
-
/** The end position of the substring (exclusive). Mutually exclusive with 'length'. */
|
|
329
|
-
end?:
|
|
324
|
+
/** The starting position (0-indexed). Should evaluate to a number. */
|
|
325
|
+
start: Expression;
|
|
326
|
+
/** The length of the substring. Mutually exclusive with 'end'. Should evaluate to a number. */
|
|
327
|
+
length?: Expression;
|
|
328
|
+
/** The end position of the substring (exclusive). Mutually exclusive with 'length'. Should evaluate to a number. */
|
|
329
|
+
end?: Expression;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
/**
|