@lunora/bindings 1.0.0-alpha.19 → 1.0.0-alpha.20

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.
@@ -266,7 +266,7 @@ interface ImageDeliveryUrlOptions {
266
266
  baseUrl: string;
267
267
  /**
268
268
  * Hosted-Images image id. When set, the **delivery-variant** form is built
269
- * (`<baseUrl>/<imageId>/<variant>`) and `transform`/`key` are ignored.
269
+ * (`<baseUrl>/<imageId>/<variant>`) and `transform`/`key` are ignored.
270
270
  */
271
271
  imageId?: string;
272
272
  /**
@@ -274,7 +274,7 @@ interface ImageDeliveryUrlOptions {
274
274
  * `/cdn-cgi/image/...` transform form. Ignored when `imageId` is set.
275
275
  */
276
276
  key?: string;
277
- /** Transform options for the `/cdn-cgi/image/&lt;options>/&lt;source>` form. */
277
+ /** Transform options for the `/cdn-cgi/image/<options>/<source>` form. */
278
278
  transform?: TransformOptions;
279
279
  /** Named delivery variant (e.g. `public`, `thumbnail`). Used with `imageId`; default `public`. */
280
280
  variant?: string;
@@ -282,8 +282,8 @@ interface ImageDeliveryUrlOptions {
282
282
  /**
283
283
  * Build a Cloudflare Images delivery / transform URL.
284
284
  *
285
- * - With `imageId`: `&lt;baseUrl>/&lt;imageId>/&lt;variant>` (hosted delivery variant).
286
- * - With `key`: `&lt;baseUrl>/cdn-cgi/image/&lt;options>/&lt;source>` (URL-based transform).
285
+ * - With `imageId`: `<baseUrl>/<imageId>/<variant>` (hosted delivery variant).
286
+ * - With `key`: `<baseUrl>/cdn-cgi/image/<options>/<source>` (URL-based transform).
287
287
  *
288
288
  * Pure and deterministic — usable from any handler.
289
289
  */
@@ -266,7 +266,7 @@ interface ImageDeliveryUrlOptions {
266
266
  baseUrl: string;
267
267
  /**
268
268
  * Hosted-Images image id. When set, the **delivery-variant** form is built
269
- * (`&lt;baseUrl>/&lt;imageId>/&lt;variant>`) and `transform`/`key` are ignored.
269
+ * (`<baseUrl>/<imageId>/<variant>`) and `transform`/`key` are ignored.
270
270
  */
271
271
  imageId?: string;
272
272
  /**
@@ -274,7 +274,7 @@ interface ImageDeliveryUrlOptions {
274
274
  * `/cdn-cgi/image/...` transform form. Ignored when `imageId` is set.
275
275
  */
276
276
  key?: string;
277
- /** Transform options for the `/cdn-cgi/image/&lt;options>/&lt;source>` form. */
277
+ /** Transform options for the `/cdn-cgi/image/<options>/<source>` form. */
278
278
  transform?: TransformOptions;
279
279
  /** Named delivery variant (e.g. `public`, `thumbnail`). Used with `imageId`; default `public`. */
280
280
  variant?: string;
@@ -282,8 +282,8 @@ interface ImageDeliveryUrlOptions {
282
282
  /**
283
283
  * Build a Cloudflare Images delivery / transform URL.
284
284
  *
285
- * - With `imageId`: `&lt;baseUrl>/&lt;imageId>/&lt;variant>` (hosted delivery variant).
286
- * - With `key`: `&lt;baseUrl>/cdn-cgi/image/&lt;options>/&lt;source>` (URL-based transform).
285
+ * - With `imageId`: `<baseUrl>/<imageId>/<variant>` (hosted delivery variant).
286
+ * - With `key`: `<baseUrl>/cdn-cgi/image/<options>/<source>` (URL-based transform).
287
287
  *
288
288
  * Pure and deterministic — usable from any handler.
289
289
  */
@@ -9,7 +9,7 @@ interface LunoraKvOptions {
9
9
  * `..` or NUL in the prefix is rejected.
10
10
  */
11
11
  keyPrefix?: string;
12
- /** The bound KV namespace (`env.&lt;BINDING>`). */
12
+ /** The bound KV namespace (`env.<BINDING>`). */
13
13
  namespace: KVNamespaceLike;
14
14
  }
15
15
  /** Options for {@link Kv.put}. JSON-stringifies the value unless `raw` is set. */
@@ -9,7 +9,7 @@ interface LunoraKvOptions {
9
9
  * `..` or NUL in the prefix is rejected.
10
10
  */
11
11
  keyPrefix?: string;
12
- /** The bound KV namespace (`env.&lt;BINDING>`). */
12
+ /** The bound KV namespace (`env.<BINDING>`). */
13
13
  namespace: KVNamespaceLike;
14
14
  }
15
15
  /** Options for {@link Kv.put}. JSON-stringifies the value unless `raw` is set. */
@@ -8,7 +8,7 @@
8
8
  /** One Pipelines record — a JSON object matching the stream's schema. */
9
9
  type PipelineRecord = Record<string, unknown>;
10
10
  /**
11
- * Minimal structural projection of workers-types' `Pipeline&lt;T>` binding. The
11
+ * Minimal structural projection of workers-types' `Pipeline<T>` binding. The
12
12
  * real binding's `send` takes an array of records and resolves once accepted.
13
13
  */
14
14
  interface PipelineBindingLike<T extends PipelineRecord = PipelineRecord> {
@@ -8,7 +8,7 @@
8
8
  /** One Pipelines record — a JSON object matching the stream's schema. */
9
9
  type PipelineRecord = Record<string, unknown>;
10
10
  /**
11
- * Minimal structural projection of workers-types' `Pipeline&lt;T>` binding. The
11
+ * Minimal structural projection of workers-types' `Pipeline<T>` binding. The
12
12
  * real binding's `send` takes an array of records and resolves once accepted.
13
13
  */
14
14
  interface PipelineBindingLike<T extends PipelineRecord = PipelineRecord> {
@@ -109,8 +109,8 @@ interface R2SqlColumn {
109
109
  * (`{ success, result, errors }`); we surface the `rows` (the `result` array of
110
110
  * column→value records), the inferred/echoed `columns`, and the `rowCount`.
111
111
  *
112
- * `Row` defaults to an open record; supply it (`from&lt;MyRow>(…)` /
113
- * `query&lt;MyRow>(…)`) to get typed result fields — R2 SQL tables live in Iceberg,
112
+ * `Row` defaults to an open record; supply it (`from<MyRow>(…)` /
113
+ * `query<MyRow>(…)`) to get typed result fields — R2 SQL tables live in Iceberg,
114
114
  * not `defineSchema`, so the row type is caller-declared rather than inferred.
115
115
  */
116
116
  interface R2SqlResult<Row = Record<string, unknown>> {
@@ -310,9 +310,9 @@ declare class WindowExpression extends Sql {
310
310
  gt(value: unknown): Sql;
311
311
  /** `expr >= value`. */
312
312
  gte(value: unknown): Sql;
313
- /** `expr &lt; value`. */
313
+ /** `expr < value`. */
314
314
  lt(value: unknown): Sql;
315
- /** `expr &lt;= value`. */
315
+ /** `expr <= value`. */
316
316
  lte(value: unknown): Sql;
317
317
  private compare;
318
318
  }
@@ -109,8 +109,8 @@ interface R2SqlColumn {
109
109
  * (`{ success, result, errors }`); we surface the `rows` (the `result` array of
110
110
  * column→value records), the inferred/echoed `columns`, and the `rowCount`.
111
111
  *
112
- * `Row` defaults to an open record; supply it (`from&lt;MyRow>(…)` /
113
- * `query&lt;MyRow>(…)`) to get typed result fields — R2 SQL tables live in Iceberg,
112
+ * `Row` defaults to an open record; supply it (`from<MyRow>(…)` /
113
+ * `query<MyRow>(…)`) to get typed result fields — R2 SQL tables live in Iceberg,
114
114
  * not `defineSchema`, so the row type is caller-declared rather than inferred.
115
115
  */
116
116
  interface R2SqlResult<Row = Record<string, unknown>> {
@@ -310,9 +310,9 @@ declare class WindowExpression extends Sql {
310
310
  gt(value: unknown): Sql;
311
311
  /** `expr >= value`. */
312
312
  gte(value: unknown): Sql;
313
- /** `expr &lt; value`. */
313
+ /** `expr < value`. */
314
314
  lt(value: unknown): Sql;
315
- /** `expr &lt;= value`. */
315
+ /** `expr <= value`. */
316
316
  lte(value: unknown): Sql;
317
317
  private compare;
318
318
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/bindings",
3
- "version": "1.0.0-alpha.19",
3
+ "version": "1.0.0-alpha.20",
4
4
  "description": "Lightweight Cloudflare binding helpers for Lunora — ctx.kv, ctx.images, ctx.analytics, ctx.pipelines, ctx.vectors, ctx.r2sql — one install, per-binding subpaths",
5
5
  "keywords": [
6
6
  "analytics",
@@ -64,8 +64,8 @@
64
64
  "access": "public"
65
65
  },
66
66
  "dependencies": {
67
- "@lunora/errors": "1.0.0-alpha.13",
68
- "@lunora/platform": "1.0.0-alpha.5"
67
+ "@lunora/errors": "1.0.0-alpha.14",
68
+ "@lunora/platform": "1.0.0-alpha.6"
69
69
  },
70
70
  "engines": {
71
71
  "node": "^22.15.0 || >=24.11.0"