microsoft-graph 2.18.5 → 2.19.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/cjs/models/Cell.d.ts +2 -1
- package/dist/cjs/models/Cell.d.ts.map +1 -1
- package/dist/cjs/models/CellText.d.ts +4 -0
- package/dist/cjs/models/CellText.d.ts.map +1 -0
- package/dist/cjs/models/ColumnName.d.ts +3 -0
- package/dist/cjs/models/ColumnName.d.ts.map +1 -1
- package/dist/cjs/models/ColumnOffset.d.ts +3 -0
- package/dist/cjs/models/ColumnOffset.d.ts.map +1 -1
- package/dist/cjs/models/Row.d.ts +3 -0
- package/dist/cjs/models/Row.d.ts.map +1 -0
- package/dist/cjs/models/RowNumber.d.ts +3 -0
- package/dist/cjs/models/RowNumber.d.ts.map +1 -1
- package/dist/cjs/models/RowOffset.d.ts +3 -0
- package/dist/cjs/models/RowOffset.d.ts.map +1 -1
- package/dist/cjs/services/rangeManipulation.d.ts +16 -7
- package/dist/cjs/services/rangeManipulation.d.ts.map +1 -1
- package/dist/cjs/services/rangeManipulation.js +35 -4
- package/dist/cjs/tasks/iterateWorkbookRange.d.ts +2 -2
- package/dist/cjs/tasks/iterateWorkbookRange.d.ts.map +1 -1
- package/dist/cjs/tasks/iterateWorkbookRangeValues.d.ts +2 -2
- package/dist/cjs/tasks/iterateWorkbookRangeValues.d.ts.map +1 -1
- package/dist/cjs/tasks/setWorkbookRangeValues.d.ts +2 -2
- package/dist/cjs/tasks/setWorkbookRangeValues.d.ts.map +1 -1
- package/dist/esm/models/Cell.d.ts +2 -1
- package/dist/esm/models/Cell.d.ts.map +1 -1
- package/dist/esm/models/CellText.d.ts +4 -0
- package/dist/esm/models/CellText.d.ts.map +1 -0
- package/dist/esm/models/ColumnName.d.ts +3 -0
- package/dist/esm/models/ColumnName.d.ts.map +1 -1
- package/dist/esm/models/ColumnOffset.d.ts +3 -0
- package/dist/esm/models/ColumnOffset.d.ts.map +1 -1
- package/dist/esm/models/Row.d.ts +3 -0
- package/dist/esm/models/Row.d.ts.map +1 -0
- package/dist/esm/models/RowNumber.d.ts +3 -0
- package/dist/esm/models/RowNumber.d.ts.map +1 -1
- package/dist/esm/models/RowOffset.d.ts +3 -0
- package/dist/esm/models/RowOffset.d.ts.map +1 -1
- package/dist/esm/services/rangeManipulation.d.ts +16 -7
- package/dist/esm/services/rangeManipulation.d.ts.map +1 -1
- package/dist/esm/services/rangeManipulation.js +34 -4
- package/dist/esm/tasks/iterateWorkbookRange.d.ts +2 -2
- package/dist/esm/tasks/iterateWorkbookRange.d.ts.map +1 -1
- package/dist/esm/tasks/iterateWorkbookRangeValues.d.ts +2 -2
- package/dist/esm/tasks/iterateWorkbookRangeValues.d.ts.map +1 -1
- package/dist/esm/tasks/setWorkbookRangeValues.d.ts +2 -2
- package/dist/esm/tasks/setWorkbookRangeValues.d.ts.map +1 -1
- package/package.json +55 -55
- package/dist/cjs/models/CellRangeValues.d.ts +0 -3
- package/dist/cjs/models/CellRangeValues.d.ts.map +0 -1
- package/dist/cjs/models/RowRangeValues.d.ts +0 -3
- package/dist/cjs/models/RowRangeValues.d.ts.map +0 -1
- package/dist/esm/models/CellRangeValues.d.ts +0 -3
- package/dist/esm/models/CellRangeValues.d.ts.map +0 -1
- package/dist/esm/models/RowRangeValues.d.ts +0 -3
- package/dist/esm/models/RowRangeValues.d.ts.map +0 -1
- /package/dist/cjs/models/{CellRangeValues.js → CellText.js} +0 -0
- /package/dist/cjs/models/{RowRangeValues.js → Row.js} +0 -0
- /package/dist/esm/models/{CellRangeValues.js → CellText.js} +0 -0
- /package/dist/esm/models/{RowRangeValues.js → Row.js} +0 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { CellValue } from "../models/CellValue.ts";
|
|
2
|
+
import type { CellText } from "./CellText.ts";
|
|
2
3
|
import type { NumberFormat } from "./NumberFormat.ts";
|
|
3
4
|
export type Cell = {
|
|
4
|
-
text:
|
|
5
|
+
text: CellText;
|
|
5
6
|
value: CellValue;
|
|
6
7
|
numberFormat: NumberFormat;
|
|
7
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../src/models/Cell.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,MAAM,IAAI,GAAG;IAClB,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../src/models/Cell.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,MAAM,IAAI,GAAG;IAClB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,SAAS,CAAC;IACjB,YAAY,EAAE,YAAY,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CellText.d.ts","sourceRoot":"","sources":["../../../src/models/CellText.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG;IAC/B,OAAO,EAAE,UAAU,CAAC;CACpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnName.d.ts","sourceRoot":"","sources":["../../../src/models/ColumnName.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG;IACjC,OAAO,EAAE,YAAY,CAAC;CACtB,CAAC"}
|
|
1
|
+
{"version":3,"file":"ColumnName.d.ts","sourceRoot":"","sources":["../../../src/models/ColumnName.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG;IACjC,OAAO,EAAE,YAAY,CAAC;CACtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnOffset.d.ts","sourceRoot":"","sources":["../../../src/models/ColumnOffset.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG;IACnC,OAAO,EAAE,cAAc,CAAC;CACxB,CAAC"}
|
|
1
|
+
{"version":3,"file":"ColumnOffset.d.ts","sourceRoot":"","sources":["../../../src/models/ColumnOffset.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG;IACnC,OAAO,EAAE,cAAc,CAAC;CACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Row.d.ts","sourceRoot":"","sources":["../../../src/models/Row.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEtC,MAAM,MAAM,GAAG,GAAG,IAAI,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RowNumber.d.ts","sourceRoot":"","sources":["../../../src/models/RowNumber.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG;IAChC,OAAO,EAAE,WAAW,CAAC;CACrB,CAAC"}
|
|
1
|
+
{"version":3,"file":"RowNumber.d.ts","sourceRoot":"","sources":["../../../src/models/RowNumber.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG;IAChC,OAAO,EAAE,WAAW,CAAC;CACrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RowOffset.d.ts","sourceRoot":"","sources":["../../../src/models/RowOffset.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG;IAChC,OAAO,EAAE,WAAW,CAAC;CACrB,CAAC"}
|
|
1
|
+
{"version":3,"file":"RowOffset.d.ts","sourceRoot":"","sources":["../../../src/models/RowOffset.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG;IAChC,OAAO,EAAE,WAAW,CAAC;CACrB,CAAC"}
|
|
@@ -1,33 +1,42 @@
|
|
|
1
1
|
import type { Address } from "../models/Address.ts";
|
|
2
|
-
import type {
|
|
2
|
+
import type { CellValue } from "../models/CellValue.ts";
|
|
3
3
|
import type { ColumnOffset } from "../models/ColumnOffset.ts";
|
|
4
4
|
import type { RowOffset } from "../models/RowOffset.ts";
|
|
5
5
|
/**
|
|
6
6
|
* Converts a 2D array of cell values into range address in the upper left.
|
|
7
7
|
*
|
|
8
|
-
* @param {
|
|
8
|
+
* @param {CellValue[][]} values - A 2D array representing cell values.
|
|
9
9
|
* @param {RowOffset} [rowOffset=0] - The row offset to apply to the range address.
|
|
10
10
|
* @param {ColumnOffset} [columnOffset=0] - The column offset to apply to the range address.
|
|
11
11
|
* @returns {Address} The default cell range address (e.g., "A1:C3").
|
|
12
12
|
* @throws {InvalidArgumentError} If rows have inconsistent column counts.
|
|
13
13
|
*/
|
|
14
|
-
export declare function inferRangeAddress(values:
|
|
14
|
+
export declare function inferRangeAddress(values: CellValue[][], rowOffset?: RowOffset, columnOffset?: ColumnOffset): Address;
|
|
15
|
+
/**
|
|
16
|
+
* Converts a 2D array of cell values into a row address in the upper left.
|
|
17
|
+
*
|
|
18
|
+
* @param {CellValue[]} row - A single row of cell values.
|
|
19
|
+
* @param {RowOffset} [rowOffset=0] - The row offset to apply to the address.
|
|
20
|
+
* @param {ColumnOffset} [columnOffset=0] - The column offset to apply to the address.
|
|
21
|
+
* @returns {Address} The default cell range address for the row (e.g., "A1").
|
|
22
|
+
*/
|
|
23
|
+
export declare function inferRowAddress(row: CellValue[], rowOffset?: RowOffset, columnOffset?: ColumnOffset): Address;
|
|
15
24
|
/**
|
|
16
25
|
* Converts a 2D array of cell values into an array of objects.
|
|
17
26
|
* Assumes the first row is a header and uses it as keys for the objects.
|
|
18
27
|
*
|
|
19
|
-
* @param {
|
|
28
|
+
* @param {CellValue[][]} values - A 2D array representing cell values.
|
|
20
29
|
* @returns {unknown[]} An array of objects where each object represents a row.
|
|
21
30
|
* @throws {InvalidArgumentError} If rows have inconsistent column counts or no header row is present.
|
|
22
31
|
*/
|
|
23
|
-
export declare function inferRangeObject(values:
|
|
32
|
+
export declare function inferRangeObject(values: CellValue[][]): unknown[];
|
|
24
33
|
/**
|
|
25
34
|
* Converts an array of objects into a 2D array of cell values.
|
|
26
35
|
* The first row of the 2D array contains the keys as headers.
|
|
27
36
|
*
|
|
28
37
|
* @param {unknown[]} objs - An array of objects to convert.
|
|
29
38
|
* @param {string[] | null} header - Optional header row. If not provided, it will be inferred from the object keys.
|
|
30
|
-
* @returns {
|
|
39
|
+
* @returns {CellValue[][]} A 2D array where the first row is the header and subsequent rows are the object values.
|
|
31
40
|
*/
|
|
32
|
-
export declare function inferObjectRange(objs: unknown[], header?: string[] | null):
|
|
41
|
+
export declare function inferObjectRange(objs: unknown[], header?: string[] | null): CellValue[][];
|
|
33
42
|
//# sourceMappingURL=rangeManipulation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rangeManipulation.d.ts","sourceRoot":"","sources":["../../../src/services/rangeManipulation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"rangeManipulation.d.ts","sourceRoot":"","sources":["../../../src/services/rangeManipulation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGxD;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,GAAE,SAA0B,EAAE,YAAY,GAAE,YAAgC,GAAG,OAAO,CA8BvJ;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,SAAS,EAAE,EAAE,SAAS,GAAE,SAA0B,EAAE,YAAY,GAAE,YAAgC,GAAG,OAAO,CAiBhJ;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,GAAG,OAAO,EAAE,CAoBjE;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,MAAM,GAAE,MAAM,EAAE,GAAG,IAAW,GAAG,SAAS,EAAE,EAAE,CAS/F"}
|
|
@@ -4,6 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.inferRangeAddress = inferRangeAddress;
|
|
7
|
+
exports.inferRowAddress = inferRowAddress;
|
|
7
8
|
exports.inferRangeObject = inferRangeObject;
|
|
8
9
|
exports.inferObjectRange = inferObjectRange;
|
|
9
10
|
const InvalidArgumentError_ts_1 = __importDefault(require("../errors/InvalidArgumentError.js"));
|
|
@@ -11,7 +12,7 @@ const cartesianAddress_ts_1 = require("./cartesianAddress.js");
|
|
|
11
12
|
/**
|
|
12
13
|
* Converts a 2D array of cell values into range address in the upper left.
|
|
13
14
|
*
|
|
14
|
-
* @param {
|
|
15
|
+
* @param {CellValue[][]} values - A 2D array representing cell values.
|
|
15
16
|
* @param {RowOffset} [rowOffset=0] - The row offset to apply to the range address.
|
|
16
17
|
* @param {ColumnOffset} [columnOffset=0] - The column offset to apply to the range address.
|
|
17
18
|
* @returns {Address} The default cell range address (e.g., "A1:C3").
|
|
@@ -20,7 +21,12 @@ const cartesianAddress_ts_1 = require("./cartesianAddress.js");
|
|
|
20
21
|
function inferRangeAddress(values, rowOffset = 0, columnOffset = 0) {
|
|
21
22
|
const first = values[0];
|
|
22
23
|
if (!first || first.length === 0) {
|
|
23
|
-
return
|
|
24
|
+
return (0, cartesianAddress_ts_1.cartesianToAddress)({
|
|
25
|
+
ax: columnOffset,
|
|
26
|
+
bx: columnOffset,
|
|
27
|
+
ay: rowOffset,
|
|
28
|
+
by: rowOffset,
|
|
29
|
+
});
|
|
24
30
|
}
|
|
25
31
|
for (const row of values) {
|
|
26
32
|
if (row.length !== first.length) {
|
|
@@ -38,11 +44,36 @@ function inferRangeAddress(values, rowOffset = 0, columnOffset = 0) {
|
|
|
38
44
|
by: endRow,
|
|
39
45
|
});
|
|
40
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* Converts a 2D array of cell values into a row address in the upper left.
|
|
49
|
+
*
|
|
50
|
+
* @param {CellValue[]} row - A single row of cell values.
|
|
51
|
+
* @param {RowOffset} [rowOffset=0] - The row offset to apply to the address.
|
|
52
|
+
* @param {ColumnOffset} [columnOffset=0] - The column offset to apply to the address.
|
|
53
|
+
* @returns {Address} The default cell range address for the row (e.g., "A1").
|
|
54
|
+
*/
|
|
55
|
+
function inferRowAddress(row, rowOffset = 0, columnOffset = 0) {
|
|
56
|
+
if (row.length === 0) {
|
|
57
|
+
return (0, cartesianAddress_ts_1.cartesianToAddress)({
|
|
58
|
+
ax: columnOffset,
|
|
59
|
+
bx: columnOffset,
|
|
60
|
+
ay: rowOffset,
|
|
61
|
+
by: rowOffset,
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
const endColumn = (columnOffset + row.length - 1);
|
|
65
|
+
return (0, cartesianAddress_ts_1.cartesianToAddress)({
|
|
66
|
+
ax: columnOffset,
|
|
67
|
+
bx: endColumn,
|
|
68
|
+
ay: rowOffset,
|
|
69
|
+
by: rowOffset,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
41
72
|
/**
|
|
42
73
|
* Converts a 2D array of cell values into an array of objects.
|
|
43
74
|
* Assumes the first row is a header and uses it as keys for the objects.
|
|
44
75
|
*
|
|
45
|
-
* @param {
|
|
76
|
+
* @param {CellValue[][]} values - A 2D array representing cell values.
|
|
46
77
|
* @returns {unknown[]} An array of objects where each object represents a row.
|
|
47
78
|
* @throws {InvalidArgumentError} If rows have inconsistent column counts or no header row is present.
|
|
48
79
|
*/
|
|
@@ -67,7 +98,7 @@ function inferRangeObject(values) {
|
|
|
67
98
|
*
|
|
68
99
|
* @param {unknown[]} objs - An array of objects to convert.
|
|
69
100
|
* @param {string[] | null} header - Optional header row. If not provided, it will be inferred from the object keys.
|
|
70
|
-
* @returns {
|
|
101
|
+
* @returns {CellValue[][]} A 2D array where the first row is the header and subsequent rows are the object values.
|
|
71
102
|
*/
|
|
72
103
|
function inferObjectRange(objs, header = null) {
|
|
73
104
|
if (objs.length === 0) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Row } from "../models/Row.ts";
|
|
2
2
|
import type { RowOffset } from "../models/RowOffset.ts";
|
|
3
3
|
import type { WorkbookRangeRef } from "../models/WorkbookRangeRef.ts";
|
|
4
4
|
/**
|
|
@@ -10,6 +10,6 @@ import type { WorkbookRangeRef } from "../models/WorkbookRangeRef.ts";
|
|
|
10
10
|
*/
|
|
11
11
|
export default function iterateWorkbookRange(rangeRef: WorkbookRangeRef, overwriteRowsPerRequest?: number | null): AsyncIterable<{
|
|
12
12
|
rowOffset: RowOffset;
|
|
13
|
-
row:
|
|
13
|
+
row: Row;
|
|
14
14
|
}>;
|
|
15
15
|
//# sourceMappingURL=iterateWorkbookRange.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iterateWorkbookRange.d.ts","sourceRoot":"","sources":["../../../src/tasks/iterateWorkbookRange.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"iterateWorkbookRange.d.ts","sourceRoot":"","sources":["../../../src/tasks/iterateWorkbookRange.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AActE;;;;;;GAMG;AACH,wBAA+B,oBAAoB,CAAC,QAAQ,EAAE,gBAAgB,EAAE,uBAAuB,GAAE,MAAM,GAAG,IAAW,GAAG,aAAa,CAAC;IAAE,SAAS,EAAE,SAAS,CAAC;IAAC,GAAG,EAAE,GAAG,CAAA;CAAE,CAAC,CAsDhL"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CellValue } from "../models/CellValue.ts";
|
|
2
2
|
import type { WorkbookRangeRef } from "../models/WorkbookRangeRef.ts";
|
|
3
3
|
/**
|
|
4
4
|
* Iterates over the values of a workbook range in chunks, fetching data in manageable sizes.
|
|
@@ -8,5 +8,5 @@ import type { WorkbookRangeRef } from "../models/WorkbookRangeRef.ts";
|
|
|
8
8
|
* @returns An async iterable that yields rows of range values.
|
|
9
9
|
* @deprecated Use `iterateWorkbookRange` instead.
|
|
10
10
|
*/
|
|
11
|
-
export default function iterateWorkbookRangeValues(rangeRef: WorkbookRangeRef, overwriteRowsPerRequest?: number | null): AsyncIterable<
|
|
11
|
+
export default function iterateWorkbookRangeValues(rangeRef: WorkbookRangeRef, overwriteRowsPerRequest?: number | null): AsyncIterable<CellValue[]>;
|
|
12
12
|
//# sourceMappingURL=iterateWorkbookRangeValues.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iterateWorkbookRangeValues.d.ts","sourceRoot":"","sources":["../../../src/tasks/iterateWorkbookRangeValues.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"iterateWorkbookRangeValues.d.ts","sourceRoot":"","sources":["../../../src/tasks/iterateWorkbookRangeValues.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AActE;;;;;;;GAOG;AACH,wBAA+B,0BAA0B,CAAC,QAAQ,EAAE,gBAAgB,EAAE,uBAAuB,GAAE,MAAM,GAAG,IAAW,GAAG,aAAa,CAAC,SAAS,EAAE,CAAC,CAoC/J"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CellValue } from "../models/CellValue.ts";
|
|
2
2
|
import type { WorkbookRangeRef } from "../models/WorkbookRangeRef.ts";
|
|
3
3
|
/**
|
|
4
4
|
* Sets the values of a specified workbook range.
|
|
@@ -7,5 +7,5 @@ import type { WorkbookRangeRef } from "../models/WorkbookRangeRef.ts";
|
|
|
7
7
|
* @param {CellRangeValues} values - The values to set in the specified workbook range. Must match the range's dimensions.
|
|
8
8
|
* @returns Nothing
|
|
9
9
|
*/
|
|
10
|
-
export default function setWorkbookRangeValues(rangeRef: WorkbookRangeRef, values:
|
|
10
|
+
export default function setWorkbookRangeValues(rangeRef: WorkbookRangeRef, values: CellValue[][]): Promise<void>;
|
|
11
11
|
//# sourceMappingURL=setWorkbookRangeValues.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setWorkbookRangeValues.d.ts","sourceRoot":"","sources":["../../../src/tasks/setWorkbookRangeValues.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"setWorkbookRangeValues.d.ts","sourceRoot":"","sources":["../../../src/tasks/setWorkbookRangeValues.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAItE;;;;;;GAMG;AACH,wBAA8B,sBAAsB,CAAC,QAAQ,EAAE,gBAAgB,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,iBAcrG"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { CellValue } from "../models/CellValue.ts";
|
|
2
|
+
import type { CellText } from "./CellText.ts";
|
|
2
3
|
import type { NumberFormat } from "./NumberFormat.ts";
|
|
3
4
|
export type Cell = {
|
|
4
|
-
text:
|
|
5
|
+
text: CellText;
|
|
5
6
|
value: CellValue;
|
|
6
7
|
numberFormat: NumberFormat;
|
|
7
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../src/models/Cell.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,MAAM,IAAI,GAAG;IAClB,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../src/models/Cell.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,MAAM,IAAI,GAAG;IAClB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,SAAS,CAAC;IACjB,YAAY,EAAE,YAAY,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CellText.d.ts","sourceRoot":"","sources":["../../../src/models/CellText.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG;IAC/B,OAAO,EAAE,UAAU,CAAC;CACpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnName.d.ts","sourceRoot":"","sources":["../../../src/models/ColumnName.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG;IACjC,OAAO,EAAE,YAAY,CAAC;CACtB,CAAC"}
|
|
1
|
+
{"version":3,"file":"ColumnName.d.ts","sourceRoot":"","sources":["../../../src/models/ColumnName.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG;IACjC,OAAO,EAAE,YAAY,CAAC;CACtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnOffset.d.ts","sourceRoot":"","sources":["../../../src/models/ColumnOffset.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG;IACnC,OAAO,EAAE,cAAc,CAAC;CACxB,CAAC"}
|
|
1
|
+
{"version":3,"file":"ColumnOffset.d.ts","sourceRoot":"","sources":["../../../src/models/ColumnOffset.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG;IACnC,OAAO,EAAE,cAAc,CAAC;CACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Row.d.ts","sourceRoot":"","sources":["../../../src/models/Row.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEtC,MAAM,MAAM,GAAG,GAAG,IAAI,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RowNumber.d.ts","sourceRoot":"","sources":["../../../src/models/RowNumber.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG;IAChC,OAAO,EAAE,WAAW,CAAC;CACrB,CAAC"}
|
|
1
|
+
{"version":3,"file":"RowNumber.d.ts","sourceRoot":"","sources":["../../../src/models/RowNumber.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG;IAChC,OAAO,EAAE,WAAW,CAAC;CACrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RowOffset.d.ts","sourceRoot":"","sources":["../../../src/models/RowOffset.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG;IAChC,OAAO,EAAE,WAAW,CAAC;CACrB,CAAC"}
|
|
1
|
+
{"version":3,"file":"RowOffset.d.ts","sourceRoot":"","sources":["../../../src/models/RowOffset.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG;IAChC,OAAO,EAAE,WAAW,CAAC;CACrB,CAAC"}
|
|
@@ -1,33 +1,42 @@
|
|
|
1
1
|
import type { Address } from "../models/Address.ts";
|
|
2
|
-
import type {
|
|
2
|
+
import type { CellValue } from "../models/CellValue.ts";
|
|
3
3
|
import type { ColumnOffset } from "../models/ColumnOffset.ts";
|
|
4
4
|
import type { RowOffset } from "../models/RowOffset.ts";
|
|
5
5
|
/**
|
|
6
6
|
* Converts a 2D array of cell values into range address in the upper left.
|
|
7
7
|
*
|
|
8
|
-
* @param {
|
|
8
|
+
* @param {CellValue[][]} values - A 2D array representing cell values.
|
|
9
9
|
* @param {RowOffset} [rowOffset=0] - The row offset to apply to the range address.
|
|
10
10
|
* @param {ColumnOffset} [columnOffset=0] - The column offset to apply to the range address.
|
|
11
11
|
* @returns {Address} The default cell range address (e.g., "A1:C3").
|
|
12
12
|
* @throws {InvalidArgumentError} If rows have inconsistent column counts.
|
|
13
13
|
*/
|
|
14
|
-
export declare function inferRangeAddress(values:
|
|
14
|
+
export declare function inferRangeAddress(values: CellValue[][], rowOffset?: RowOffset, columnOffset?: ColumnOffset): Address;
|
|
15
|
+
/**
|
|
16
|
+
* Converts a 2D array of cell values into a row address in the upper left.
|
|
17
|
+
*
|
|
18
|
+
* @param {CellValue[]} row - A single row of cell values.
|
|
19
|
+
* @param {RowOffset} [rowOffset=0] - The row offset to apply to the address.
|
|
20
|
+
* @param {ColumnOffset} [columnOffset=0] - The column offset to apply to the address.
|
|
21
|
+
* @returns {Address} The default cell range address for the row (e.g., "A1").
|
|
22
|
+
*/
|
|
23
|
+
export declare function inferRowAddress(row: CellValue[], rowOffset?: RowOffset, columnOffset?: ColumnOffset): Address;
|
|
15
24
|
/**
|
|
16
25
|
* Converts a 2D array of cell values into an array of objects.
|
|
17
26
|
* Assumes the first row is a header and uses it as keys for the objects.
|
|
18
27
|
*
|
|
19
|
-
* @param {
|
|
28
|
+
* @param {CellValue[][]} values - A 2D array representing cell values.
|
|
20
29
|
* @returns {unknown[]} An array of objects where each object represents a row.
|
|
21
30
|
* @throws {InvalidArgumentError} If rows have inconsistent column counts or no header row is present.
|
|
22
31
|
*/
|
|
23
|
-
export declare function inferRangeObject(values:
|
|
32
|
+
export declare function inferRangeObject(values: CellValue[][]): unknown[];
|
|
24
33
|
/**
|
|
25
34
|
* Converts an array of objects into a 2D array of cell values.
|
|
26
35
|
* The first row of the 2D array contains the keys as headers.
|
|
27
36
|
*
|
|
28
37
|
* @param {unknown[]} objs - An array of objects to convert.
|
|
29
38
|
* @param {string[] | null} header - Optional header row. If not provided, it will be inferred from the object keys.
|
|
30
|
-
* @returns {
|
|
39
|
+
* @returns {CellValue[][]} A 2D array where the first row is the header and subsequent rows are the object values.
|
|
31
40
|
*/
|
|
32
|
-
export declare function inferObjectRange(objs: unknown[], header?: string[] | null):
|
|
41
|
+
export declare function inferObjectRange(objs: unknown[], header?: string[] | null): CellValue[][];
|
|
33
42
|
//# sourceMappingURL=rangeManipulation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rangeManipulation.d.ts","sourceRoot":"","sources":["../../../src/services/rangeManipulation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"rangeManipulation.d.ts","sourceRoot":"","sources":["../../../src/services/rangeManipulation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGxD;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,GAAE,SAA0B,EAAE,YAAY,GAAE,YAAgC,GAAG,OAAO,CA8BvJ;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,SAAS,EAAE,EAAE,SAAS,GAAE,SAA0B,EAAE,YAAY,GAAE,YAAgC,GAAG,OAAO,CAiBhJ;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,GAAG,OAAO,EAAE,CAoBjE;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,MAAM,GAAE,MAAM,EAAE,GAAG,IAAW,GAAG,SAAS,EAAE,EAAE,CAS/F"}
|
|
@@ -3,7 +3,7 @@ import { cartesianToAddress } from "./cartesianAddress.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* Converts a 2D array of cell values into range address in the upper left.
|
|
5
5
|
*
|
|
6
|
-
* @param {
|
|
6
|
+
* @param {CellValue[][]} values - A 2D array representing cell values.
|
|
7
7
|
* @param {RowOffset} [rowOffset=0] - The row offset to apply to the range address.
|
|
8
8
|
* @param {ColumnOffset} [columnOffset=0] - The column offset to apply to the range address.
|
|
9
9
|
* @returns {Address} The default cell range address (e.g., "A1:C3").
|
|
@@ -12,7 +12,12 @@ import { cartesianToAddress } from "./cartesianAddress.js";
|
|
|
12
12
|
export function inferRangeAddress(values, rowOffset = 0, columnOffset = 0) {
|
|
13
13
|
const first = values[0];
|
|
14
14
|
if (!first || first.length === 0) {
|
|
15
|
-
return
|
|
15
|
+
return cartesianToAddress({
|
|
16
|
+
ax: columnOffset,
|
|
17
|
+
bx: columnOffset,
|
|
18
|
+
ay: rowOffset,
|
|
19
|
+
by: rowOffset,
|
|
20
|
+
});
|
|
16
21
|
}
|
|
17
22
|
for (const row of values) {
|
|
18
23
|
if (row.length !== first.length) {
|
|
@@ -30,11 +35,36 @@ export function inferRangeAddress(values, rowOffset = 0, columnOffset = 0) {
|
|
|
30
35
|
by: endRow,
|
|
31
36
|
});
|
|
32
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* Converts a 2D array of cell values into a row address in the upper left.
|
|
40
|
+
*
|
|
41
|
+
* @param {CellValue[]} row - A single row of cell values.
|
|
42
|
+
* @param {RowOffset} [rowOffset=0] - The row offset to apply to the address.
|
|
43
|
+
* @param {ColumnOffset} [columnOffset=0] - The column offset to apply to the address.
|
|
44
|
+
* @returns {Address} The default cell range address for the row (e.g., "A1").
|
|
45
|
+
*/
|
|
46
|
+
export function inferRowAddress(row, rowOffset = 0, columnOffset = 0) {
|
|
47
|
+
if (row.length === 0) {
|
|
48
|
+
return cartesianToAddress({
|
|
49
|
+
ax: columnOffset,
|
|
50
|
+
bx: columnOffset,
|
|
51
|
+
ay: rowOffset,
|
|
52
|
+
by: rowOffset,
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
const endColumn = (columnOffset + row.length - 1);
|
|
56
|
+
return cartesianToAddress({
|
|
57
|
+
ax: columnOffset,
|
|
58
|
+
bx: endColumn,
|
|
59
|
+
ay: rowOffset,
|
|
60
|
+
by: rowOffset,
|
|
61
|
+
});
|
|
62
|
+
}
|
|
33
63
|
/**
|
|
34
64
|
* Converts a 2D array of cell values into an array of objects.
|
|
35
65
|
* Assumes the first row is a header and uses it as keys for the objects.
|
|
36
66
|
*
|
|
37
|
-
* @param {
|
|
67
|
+
* @param {CellValue[][]} values - A 2D array representing cell values.
|
|
38
68
|
* @returns {unknown[]} An array of objects where each object represents a row.
|
|
39
69
|
* @throws {InvalidArgumentError} If rows have inconsistent column counts or no header row is present.
|
|
40
70
|
*/
|
|
@@ -59,7 +89,7 @@ export function inferRangeObject(values) {
|
|
|
59
89
|
*
|
|
60
90
|
* @param {unknown[]} objs - An array of objects to convert.
|
|
61
91
|
* @param {string[] | null} header - Optional header row. If not provided, it will be inferred from the object keys.
|
|
62
|
-
* @returns {
|
|
92
|
+
* @returns {CellValue[][]} A 2D array where the first row is the header and subsequent rows are the object values.
|
|
63
93
|
*/
|
|
64
94
|
export function inferObjectRange(objs, header = null) {
|
|
65
95
|
if (objs.length === 0) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Row } from "../models/Row.ts";
|
|
2
2
|
import type { RowOffset } from "../models/RowOffset.ts";
|
|
3
3
|
import type { WorkbookRangeRef } from "../models/WorkbookRangeRef.ts";
|
|
4
4
|
/**
|
|
@@ -10,6 +10,6 @@ import type { WorkbookRangeRef } from "../models/WorkbookRangeRef.ts";
|
|
|
10
10
|
*/
|
|
11
11
|
export default function iterateWorkbookRange(rangeRef: WorkbookRangeRef, overwriteRowsPerRequest?: number | null): AsyncIterable<{
|
|
12
12
|
rowOffset: RowOffset;
|
|
13
|
-
row:
|
|
13
|
+
row: Row;
|
|
14
14
|
}>;
|
|
15
15
|
//# sourceMappingURL=iterateWorkbookRange.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iterateWorkbookRange.d.ts","sourceRoot":"","sources":["../../../src/tasks/iterateWorkbookRange.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"iterateWorkbookRange.d.ts","sourceRoot":"","sources":["../../../src/tasks/iterateWorkbookRange.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AActE;;;;;;GAMG;AACH,wBAA+B,oBAAoB,CAAC,QAAQ,EAAE,gBAAgB,EAAE,uBAAuB,GAAE,MAAM,GAAG,IAAW,GAAG,aAAa,CAAC;IAAE,SAAS,EAAE,SAAS,CAAC;IAAC,GAAG,EAAE,GAAG,CAAA;CAAE,CAAC,CAsDhL"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CellValue } from "../models/CellValue.ts";
|
|
2
2
|
import type { WorkbookRangeRef } from "../models/WorkbookRangeRef.ts";
|
|
3
3
|
/**
|
|
4
4
|
* Iterates over the values of a workbook range in chunks, fetching data in manageable sizes.
|
|
@@ -8,5 +8,5 @@ import type { WorkbookRangeRef } from "../models/WorkbookRangeRef.ts";
|
|
|
8
8
|
* @returns An async iterable that yields rows of range values.
|
|
9
9
|
* @deprecated Use `iterateWorkbookRange` instead.
|
|
10
10
|
*/
|
|
11
|
-
export default function iterateWorkbookRangeValues(rangeRef: WorkbookRangeRef, overwriteRowsPerRequest?: number | null): AsyncIterable<
|
|
11
|
+
export default function iterateWorkbookRangeValues(rangeRef: WorkbookRangeRef, overwriteRowsPerRequest?: number | null): AsyncIterable<CellValue[]>;
|
|
12
12
|
//# sourceMappingURL=iterateWorkbookRangeValues.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iterateWorkbookRangeValues.d.ts","sourceRoot":"","sources":["../../../src/tasks/iterateWorkbookRangeValues.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"iterateWorkbookRangeValues.d.ts","sourceRoot":"","sources":["../../../src/tasks/iterateWorkbookRangeValues.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AActE;;;;;;;GAOG;AACH,wBAA+B,0BAA0B,CAAC,QAAQ,EAAE,gBAAgB,EAAE,uBAAuB,GAAE,MAAM,GAAG,IAAW,GAAG,aAAa,CAAC,SAAS,EAAE,CAAC,CAoC/J"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CellValue } from "../models/CellValue.ts";
|
|
2
2
|
import type { WorkbookRangeRef } from "../models/WorkbookRangeRef.ts";
|
|
3
3
|
/**
|
|
4
4
|
* Sets the values of a specified workbook range.
|
|
@@ -7,5 +7,5 @@ import type { WorkbookRangeRef } from "../models/WorkbookRangeRef.ts";
|
|
|
7
7
|
* @param {CellRangeValues} values - The values to set in the specified workbook range. Must match the range's dimensions.
|
|
8
8
|
* @returns Nothing
|
|
9
9
|
*/
|
|
10
|
-
export default function setWorkbookRangeValues(rangeRef: WorkbookRangeRef, values:
|
|
10
|
+
export default function setWorkbookRangeValues(rangeRef: WorkbookRangeRef, values: CellValue[][]): Promise<void>;
|
|
11
11
|
//# sourceMappingURL=setWorkbookRangeValues.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setWorkbookRangeValues.d.ts","sourceRoot":"","sources":["../../../src/tasks/setWorkbookRangeValues.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"setWorkbookRangeValues.d.ts","sourceRoot":"","sources":["../../../src/tasks/setWorkbookRangeValues.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAItE;;;;;;GAMG;AACH,wBAA8B,sBAAsB,CAAC,QAAQ,EAAE,gBAAgB,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,iBAcrG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "microsoft-graph",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.19.1",
|
|
4
4
|
"description": "Microsoft GraphAPI SDK for NodeJS",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@biomejs/biome": "^1.9.4",
|
|
31
31
|
"@microsoft/microsoft-graph-types": "^2.40.0",
|
|
32
|
-
"@types/lodash": "^4.17.
|
|
33
|
-
"@types/node": "^22.
|
|
34
|
-
"globals": "^16.
|
|
35
|
-
"npm-check-updates": "^
|
|
36
|
-
"tsx": "^4.19.
|
|
37
|
-
"typescript": "^5.8.
|
|
38
|
-
"vitest": "^3.1.
|
|
32
|
+
"@types/lodash": "^4.17.17",
|
|
33
|
+
"@types/node": "^22.15.21",
|
|
34
|
+
"globals": "^16.2.0",
|
|
35
|
+
"npm-check-updates": "^18.0.1",
|
|
36
|
+
"tsx": "^4.19.4",
|
|
37
|
+
"typescript": "^5.8.3",
|
|
38
|
+
"vitest": "^3.1.4"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@azure/identity": "^4.
|
|
42
|
-
"axios": "^1.
|
|
41
|
+
"@azure/identity": "^4.10.0",
|
|
42
|
+
"axios": "^1.9.0",
|
|
43
43
|
"https-proxy-agent": "^7.0.6",
|
|
44
44
|
"lodash": "^4.17.21"
|
|
45
45
|
},
|
|
@@ -494,30 +494,30 @@
|
|
|
494
494
|
"require": "./dist/cjs/models/Cell.js",
|
|
495
495
|
"types": "./dist/esm/models/Cell.d.ts"
|
|
496
496
|
},
|
|
497
|
-
"./
|
|
498
|
-
"import": "./dist/esm/models/
|
|
499
|
-
"require": "./dist/cjs/models/
|
|
500
|
-
"types": "./dist/esm/models/
|
|
497
|
+
"./CellText": {
|
|
498
|
+
"import": "./dist/esm/models/CellText.js",
|
|
499
|
+
"require": "./dist/cjs/models/CellText.js",
|
|
500
|
+
"types": "./dist/esm/models/CellText.d.ts"
|
|
501
501
|
},
|
|
502
|
-
"./dist/cjs/models/
|
|
503
|
-
"import": "./dist/esm/models/
|
|
504
|
-
"require": "./dist/cjs/models/
|
|
505
|
-
"types": "./dist/esm/models/
|
|
502
|
+
"./dist/cjs/models/CellText.js": {
|
|
503
|
+
"import": "./dist/esm/models/CellText.js",
|
|
504
|
+
"require": "./dist/cjs/models/CellText.js",
|
|
505
|
+
"types": "./dist/esm/models/CellText.d.ts"
|
|
506
506
|
},
|
|
507
|
-
"./dist/cjs/models/
|
|
508
|
-
"import": "./dist/esm/models/
|
|
509
|
-
"require": "./dist/cjs/models/
|
|
510
|
-
"types": "./dist/esm/models/
|
|
507
|
+
"./dist/cjs/models/CellText": {
|
|
508
|
+
"import": "./dist/esm/models/CellText.js",
|
|
509
|
+
"require": "./dist/cjs/models/CellText.js",
|
|
510
|
+
"types": "./dist/esm/models/CellText.d.ts"
|
|
511
511
|
},
|
|
512
|
-
"./models/
|
|
513
|
-
"import": "./dist/esm/models/
|
|
514
|
-
"require": "./dist/cjs/models/
|
|
515
|
-
"types": "./dist/esm/models/
|
|
512
|
+
"./models/CellText": {
|
|
513
|
+
"import": "./dist/esm/models/CellText.js",
|
|
514
|
+
"require": "./dist/cjs/models/CellText.js",
|
|
515
|
+
"types": "./dist/esm/models/CellText.d.ts"
|
|
516
516
|
},
|
|
517
|
-
"./models/
|
|
518
|
-
"import": "./dist/esm/models/
|
|
519
|
-
"require": "./dist/cjs/models/
|
|
520
|
-
"types": "./dist/esm/models/
|
|
517
|
+
"./models/CellText.js": {
|
|
518
|
+
"import": "./dist/esm/models/CellText.js",
|
|
519
|
+
"require": "./dist/cjs/models/CellText.js",
|
|
520
|
+
"types": "./dist/esm/models/CellText.d.ts"
|
|
521
521
|
},
|
|
522
522
|
"./CellValue": {
|
|
523
523
|
"import": "./dist/esm/models/CellValue.js",
|
|
@@ -1019,6 +1019,31 @@
|
|
|
1019
1019
|
"require": "./dist/cjs/models/RecordBase.js",
|
|
1020
1020
|
"types": "./dist/esm/models/RecordBase.d.ts"
|
|
1021
1021
|
},
|
|
1022
|
+
"./Row": {
|
|
1023
|
+
"import": "./dist/esm/models/Row.js",
|
|
1024
|
+
"require": "./dist/cjs/models/Row.js",
|
|
1025
|
+
"types": "./dist/esm/models/Row.d.ts"
|
|
1026
|
+
},
|
|
1027
|
+
"./dist/cjs/models/Row.js": {
|
|
1028
|
+
"import": "./dist/esm/models/Row.js",
|
|
1029
|
+
"require": "./dist/cjs/models/Row.js",
|
|
1030
|
+
"types": "./dist/esm/models/Row.d.ts"
|
|
1031
|
+
},
|
|
1032
|
+
"./dist/cjs/models/Row": {
|
|
1033
|
+
"import": "./dist/esm/models/Row.js",
|
|
1034
|
+
"require": "./dist/cjs/models/Row.js",
|
|
1035
|
+
"types": "./dist/esm/models/Row.d.ts"
|
|
1036
|
+
},
|
|
1037
|
+
"./models/Row": {
|
|
1038
|
+
"import": "./dist/esm/models/Row.js",
|
|
1039
|
+
"require": "./dist/cjs/models/Row.js",
|
|
1040
|
+
"types": "./dist/esm/models/Row.d.ts"
|
|
1041
|
+
},
|
|
1042
|
+
"./models/Row.js": {
|
|
1043
|
+
"import": "./dist/esm/models/Row.js",
|
|
1044
|
+
"require": "./dist/cjs/models/Row.js",
|
|
1045
|
+
"types": "./dist/esm/models/Row.d.ts"
|
|
1046
|
+
},
|
|
1022
1047
|
"./RowNumber": {
|
|
1023
1048
|
"import": "./dist/esm/models/RowNumber.js",
|
|
1024
1049
|
"require": "./dist/cjs/models/RowNumber.js",
|
|
@@ -1069,31 +1094,6 @@
|
|
|
1069
1094
|
"require": "./dist/cjs/models/RowOffset.js",
|
|
1070
1095
|
"types": "./dist/esm/models/RowOffset.d.ts"
|
|
1071
1096
|
},
|
|
1072
|
-
"./RowRangeValues": {
|
|
1073
|
-
"import": "./dist/esm/models/RowRangeValues.js",
|
|
1074
|
-
"require": "./dist/cjs/models/RowRangeValues.js",
|
|
1075
|
-
"types": "./dist/esm/models/RowRangeValues.d.ts"
|
|
1076
|
-
},
|
|
1077
|
-
"./dist/cjs/models/RowRangeValues.js": {
|
|
1078
|
-
"import": "./dist/esm/models/RowRangeValues.js",
|
|
1079
|
-
"require": "./dist/cjs/models/RowRangeValues.js",
|
|
1080
|
-
"types": "./dist/esm/models/RowRangeValues.d.ts"
|
|
1081
|
-
},
|
|
1082
|
-
"./dist/cjs/models/RowRangeValues": {
|
|
1083
|
-
"import": "./dist/esm/models/RowRangeValues.js",
|
|
1084
|
-
"require": "./dist/cjs/models/RowRangeValues.js",
|
|
1085
|
-
"types": "./dist/esm/models/RowRangeValues.d.ts"
|
|
1086
|
-
},
|
|
1087
|
-
"./models/RowRangeValues": {
|
|
1088
|
-
"import": "./dist/esm/models/RowRangeValues.js",
|
|
1089
|
-
"require": "./dist/cjs/models/RowRangeValues.js",
|
|
1090
|
-
"types": "./dist/esm/models/RowRangeValues.d.ts"
|
|
1091
|
-
},
|
|
1092
|
-
"./models/RowRangeValues.js": {
|
|
1093
|
-
"import": "./dist/esm/models/RowRangeValues.js",
|
|
1094
|
-
"require": "./dist/cjs/models/RowRangeValues.js",
|
|
1095
|
-
"types": "./dist/esm/models/RowRangeValues.d.ts"
|
|
1096
|
-
},
|
|
1097
1097
|
"./Scope": {
|
|
1098
1098
|
"import": "./dist/esm/models/Scope.js",
|
|
1099
1099
|
"require": "./dist/cjs/models/Scope.js",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CellRangeValues.d.ts","sourceRoot":"","sources":["../../../src/models/CellRangeValues.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,MAAM,eAAe,GAAG,cAAc,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RowRangeValues.d.ts","sourceRoot":"","sources":["../../../src/models/RowRangeValues.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,MAAM,MAAM,cAAc,GAAG,SAAS,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CellRangeValues.d.ts","sourceRoot":"","sources":["../../../src/models/CellRangeValues.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,MAAM,eAAe,GAAG,cAAc,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RowRangeValues.d.ts","sourceRoot":"","sources":["../../../src/models/RowRangeValues.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,MAAM,MAAM,cAAc,GAAG,SAAS,EAAE,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|