@pipe0/base 1.0.0 → 1.0.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @pipe0/ops
2
2
 
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 75012eb: Fix template syntax
8
+ - Updated dependencies [75012eb]
9
+ - @pipe0/client@1.0.1
10
+
3
11
  ## 1.0.0
4
12
 
5
13
  ### Major Changes
package/dist/index.d.mts CHANGED
@@ -120008,13 +120008,22 @@ declare function parseLiquidTemplate(template: string): _$liquidjs.Template[];
120008
120008
  * resulting input refs into a single `Requirement`. A field referenced as
120009
120009
  * required in any template wins; otherwise it stays optional.
120010
120010
  *
120011
- * `expectedType` and `expectedFormat` mirror today's `pipesTaggedTextInput`
120012
- * defaults (`string` / `text`) — they're metadata only, not enforced. Per the
120013
- * plan, type compatibility is resolved at evaluation time, not at parse time.
120011
+ * `expectedType` is metadata — a fallback for when the column isn't in the lazy
120012
+ * context. Type compatibility is resolved at evaluation time, not at parse time.
120013
+ *
120014
+ * There is deliberately no expected FORMAT. A template ref names an arbitrary
120015
+ * user-chosen column, so the leaf has no format requirement — same as every
120016
+ * other arbitrary-column leaf (`formula:run@1`, `bucket:*@1`, `row:append:sheet@1`).
120017
+ * This used to default to `"text"`, copied from `pipesTaggedTextInput`'s form
120018
+ * metadata, where it is a display hint. On a requirement leaf it is not a hint:
120019
+ * the runner cleans every value through it, so `"text"` silently stringified
120020
+ * whatever it received. That turned a boolean column into `"true"` before the
120021
+ * Liquid engine ever saw it, and since liquid `==` is strict identity,
120022
+ * `{% if flag == true %}` could never match. Values now arrive raw and the
120023
+ * engine decides how to present them (see `outputEscape` in engine.ts).
120014
120024
  */
120015
120025
  declare function buildInputRequirementFromTemplates(templates: Array<string | null | undefined>, opts?: {
120016
120026
  expectedType?: RecordFieldType;
120017
- expectedFormat?: RecordFieldFormat;
120018
120027
  }): Requirement;
120019
120028
  /**
120020
120029
  * Run the analyzer over every templated config field and return the deduped