@particle-academy/holy-sheet 2.4.0 → 2.4.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/dist/index.cjs +10 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -223,7 +223,7 @@ interface SetMetaOp {
|
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
/** This package's own version, pinned to package.json by `version.test.ts`. */
|
|
226
|
-
declare const VERSION = "2.4.
|
|
226
|
+
declare const VERSION = "2.4.1";
|
|
227
227
|
type Any$6 = any;
|
|
228
228
|
/**
|
|
229
229
|
* Agent — the structured-tool surface for Holy Sheet. Mirrors PHP `Agent`.
|
|
@@ -295,7 +295,7 @@ type Any$5 = any;
|
|
|
295
295
|
* over `Agent`. Provided for parity / DI ergonomics; most callers use `Agent`.
|
|
296
296
|
*/
|
|
297
297
|
declare class HolySheet {
|
|
298
|
-
static readonly VERSION = "2.4.
|
|
298
|
+
static readonly VERSION = "2.4.1";
|
|
299
299
|
validate(schema: Any$5): ValidationError[];
|
|
300
300
|
toBytes(schema: Any$5): Uint8Array;
|
|
301
301
|
write(schema: Any$5, path: string): Promise<WriteResult>;
|
package/dist/index.d.ts
CHANGED
|
@@ -223,7 +223,7 @@ interface SetMetaOp {
|
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
/** This package's own version, pinned to package.json by `version.test.ts`. */
|
|
226
|
-
declare const VERSION = "2.4.
|
|
226
|
+
declare const VERSION = "2.4.1";
|
|
227
227
|
type Any$6 = any;
|
|
228
228
|
/**
|
|
229
229
|
* Agent — the structured-tool surface for Holy Sheet. Mirrors PHP `Agent`.
|
|
@@ -295,7 +295,7 @@ type Any$5 = any;
|
|
|
295
295
|
* over `Agent`. Provided for parity / DI ergonomics; most callers use `Agent`.
|
|
296
296
|
*/
|
|
297
297
|
declare class HolySheet {
|
|
298
|
-
static readonly VERSION = "2.4.
|
|
298
|
+
static readonly VERSION = "2.4.1";
|
|
299
299
|
validate(schema: Any$5): ValidationError[];
|
|
300
300
|
toBytes(schema: Any$5): Uint8Array;
|
|
301
301
|
write(schema: Any$5, path: string): Promise<WriteResult>;
|
package/dist/index.js
CHANGED
|
@@ -4535,7 +4535,15 @@ var SheetOpSchema = {
|
|
|
4535
4535
|
["sheet", "mergedRegions"],
|
|
4536
4536
|
"Set every merged region of a sheet."
|
|
4537
4537
|
),
|
|
4538
|
-
|
|
4538
|
+
// An EMPTY array too, as PHP 2.3.1 declares: PHP encodes an empty map as
|
|
4539
|
+
// `[]`, which its diff emits when every width is removed. This port emits
|
|
4540
|
+
// `{}`. Both mean no widths.
|
|
4541
|
+
variant(
|
|
4542
|
+
"set_column_widths",
|
|
4543
|
+
{ sheet: sheet(), columnWidths: { type: ["object", "array"], maxItems: 0 } },
|
|
4544
|
+
["sheet", "columnWidths"],
|
|
4545
|
+
"Set every column width of a sheet (0-based column index to pixels); empty removes them."
|
|
4546
|
+
),
|
|
4539
4547
|
variant(
|
|
4540
4548
|
"set_frozen",
|
|
4541
4549
|
{ sheet: sheet(), rows: { type: "integer", minimum: 0 }, cols: { type: "integer", minimum: 0 } },
|
|
@@ -4926,7 +4934,7 @@ var holy_sheet_schema_default = {
|
|
|
4926
4934
|
};
|
|
4927
4935
|
|
|
4928
4936
|
// src/agent.ts
|
|
4929
|
-
var VERSION = "2.4.
|
|
4937
|
+
var VERSION = "2.4.1";
|
|
4930
4938
|
function toU8(input) {
|
|
4931
4939
|
return input instanceof Uint8Array ? input : new Uint8Array(input);
|
|
4932
4940
|
}
|