microsoft-graph 3.1.2 → 3.2.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/cjs/services/sharepointUrl.d.ts +1 -2
- package/dist/cjs/services/sharepointUrl.d.ts.map +1 -1
- package/dist/cjs/tasks/getDriveFromUrl.d.ts +20 -0
- package/dist/cjs/tasks/getDriveFromUrl.d.ts.map +1 -0
- package/dist/cjs/tasks/getDriveFromUrl.js +50 -0
- package/dist/esm/services/sharepointUrl.d.ts +1 -2
- package/dist/esm/services/sharepointUrl.d.ts.map +1 -1
- package/dist/esm/tasks/getDriveFromUrl.d.ts +20 -0
- package/dist/esm/tasks/getDriveFromUrl.d.ts.map +1 -0
- package/dist/esm/tasks/getDriveFromUrl.js +44 -0
- package/docs/api/README.md +1 -0
- package/docs/api/getDriveFromUrl.md +34 -0
- package/docs/api/sharepointUrl.md +19 -2
- package/package.json +11 -1
|
@@ -7,7 +7,7 @@ import type { DriveName } from "../models/Drive.ts";
|
|
|
7
7
|
import type { DriveItemId } from "../models/DriveItem.ts";
|
|
8
8
|
import type { HostName } from "../models/HostName.ts";
|
|
9
9
|
import type { SiteName } from "../models/Site.ts";
|
|
10
|
-
type SharepointUrlComponents = {
|
|
10
|
+
export type SharepointUrlComponents = {
|
|
11
11
|
hostName: HostName | null;
|
|
12
12
|
siteName: SiteName | null;
|
|
13
13
|
driveName: DriveName | null;
|
|
@@ -20,5 +20,4 @@ type SharepointUrlComponents = {
|
|
|
20
20
|
* @throws InvalidArgumentError if the URL is invalid or required components are missing.
|
|
21
21
|
*/
|
|
22
22
|
export declare function parseSharepointUrl(urlString: string): SharepointUrlComponents;
|
|
23
|
-
export {};
|
|
24
23
|
//# sourceMappingURL=sharepointUrl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharepointUrl.d.ts","sourceRoot":"","sources":["../../../src/services/sharepointUrl.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"sharepointUrl.d.ts","sourceRoot":"","sources":["../../../src/services/sharepointUrl.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,MAAM,uBAAuB,GAAG;IACrC,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;IAC5B,MAAM,EAAE,WAAW,GAAG,IAAI,CAAC;CAC3B,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,uBAAuB,CAiD7E"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Retrieves a Drive from a SharePoint URL.
|
|
3
|
+
* @module getDriveFromUrl
|
|
4
|
+
* @category Tasks
|
|
5
|
+
*/
|
|
6
|
+
import type { Drive } from "@microsoft/microsoft-graph-types";
|
|
7
|
+
import type { ContextRef } from "../models/Context.ts";
|
|
8
|
+
import type { DriveRef } from "../models/Drive.ts";
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves a Drive from a SharePoint URL.
|
|
11
|
+
*
|
|
12
|
+
* Parses the given SharePoint URL to extract the host, site, and drive names, then locates and returns the corresponding Drive object.
|
|
13
|
+
*
|
|
14
|
+
* @param contextRef - The context reference containing authentication and environment information.
|
|
15
|
+
* @param url - The SharePoint URL pointing to the drive.
|
|
16
|
+
* @returns A Promise that resolves to the Drive object with additional DriveRef properties.
|
|
17
|
+
* @throws If the URL is invalid or the drive cannot be found.
|
|
18
|
+
*/
|
|
19
|
+
export default function getDriveFromUrl(contextRef: ContextRef, url: string): Promise<Drive & DriveRef>;
|
|
20
|
+
//# sourceMappingURL=getDriveFromUrl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDriveFromUrl.d.ts","sourceRoot":"","sources":["../../../src/tasks/getDriveFromUrl.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAKnD;;;;;;;;;GASG;AACH,wBAA8B,eAAe,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,QAAQ,CAAC,CA2B5G"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Retrieves a Drive from a SharePoint URL.
|
|
4
|
+
* @module getDriveFromUrl
|
|
5
|
+
* @category Tasks
|
|
6
|
+
*/
|
|
7
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
|
+
};
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.default = getDriveFromUrl;
|
|
12
|
+
const getSiteByName_ts_1 = __importDefault(require("../operations/site/getSiteByName.js"));
|
|
13
|
+
const sharepointUrl_ts_1 = require("../services/sharepointUrl.js");
|
|
14
|
+
const iterateDrives_ts_1 = __importDefault(require("./iterateDrives.js"));
|
|
15
|
+
/**
|
|
16
|
+
* Retrieves a Drive from a SharePoint URL.
|
|
17
|
+
*
|
|
18
|
+
* Parses the given SharePoint URL to extract the host, site, and drive names, then locates and returns the corresponding Drive object.
|
|
19
|
+
*
|
|
20
|
+
* @param contextRef - The context reference containing authentication and environment information.
|
|
21
|
+
* @param url - The SharePoint URL pointing to the drive.
|
|
22
|
+
* @returns A Promise that resolves to the Drive object with additional DriveRef properties.
|
|
23
|
+
* @throws If the URL is invalid or the drive cannot be found.
|
|
24
|
+
*/
|
|
25
|
+
async function getDriveFromUrl(contextRef, url) {
|
|
26
|
+
const { hostName, siteName, driveName } = (0, sharepointUrl_ts_1.parseSharepointUrl)(url);
|
|
27
|
+
if (!hostName) {
|
|
28
|
+
throw new Error("Invalid SharePoint URL: Host name is missing.");
|
|
29
|
+
}
|
|
30
|
+
if (!siteName) {
|
|
31
|
+
throw new Error("Invalid SharePoint URL: Site name is missing.");
|
|
32
|
+
}
|
|
33
|
+
if (!driveName) {
|
|
34
|
+
throw new Error("Invalid SharePoint URL: Drive name is missing.");
|
|
35
|
+
}
|
|
36
|
+
const site = await (0, getSiteByName_ts_1.default)(contextRef, hostName, siteName);
|
|
37
|
+
let drive = null;
|
|
38
|
+
for await (const d of (0, iterateDrives_ts_1.default)(site)) {
|
|
39
|
+
if (sanitizeUrlName(d.name ?? "") === driveName) {
|
|
40
|
+
drive = d;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
if (!drive) {
|
|
44
|
+
throw new Error(`Drive "${driveName}" not found in site "${siteName}" on host "${hostName}".`);
|
|
45
|
+
}
|
|
46
|
+
return drive;
|
|
47
|
+
}
|
|
48
|
+
function sanitizeUrlName(name) {
|
|
49
|
+
return name.replace(/[^A-Za-z0-9\-_.~]/g, "");
|
|
50
|
+
}
|
|
@@ -7,7 +7,7 @@ import type { DriveName } from "../models/Drive.ts";
|
|
|
7
7
|
import type { DriveItemId } from "../models/DriveItem.ts";
|
|
8
8
|
import type { HostName } from "../models/HostName.ts";
|
|
9
9
|
import type { SiteName } from "../models/Site.ts";
|
|
10
|
-
type SharepointUrlComponents = {
|
|
10
|
+
export type SharepointUrlComponents = {
|
|
11
11
|
hostName: HostName | null;
|
|
12
12
|
siteName: SiteName | null;
|
|
13
13
|
driveName: DriveName | null;
|
|
@@ -20,5 +20,4 @@ type SharepointUrlComponents = {
|
|
|
20
20
|
* @throws InvalidArgumentError if the URL is invalid or required components are missing.
|
|
21
21
|
*/
|
|
22
22
|
export declare function parseSharepointUrl(urlString: string): SharepointUrlComponents;
|
|
23
|
-
export {};
|
|
24
23
|
//# sourceMappingURL=sharepointUrl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharepointUrl.d.ts","sourceRoot":"","sources":["../../../src/services/sharepointUrl.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"sharepointUrl.d.ts","sourceRoot":"","sources":["../../../src/services/sharepointUrl.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,MAAM,uBAAuB,GAAG;IACrC,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;IAC5B,MAAM,EAAE,WAAW,GAAG,IAAI,CAAC;CAC3B,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,uBAAuB,CAiD7E"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Retrieves a Drive from a SharePoint URL.
|
|
3
|
+
* @module getDriveFromUrl
|
|
4
|
+
* @category Tasks
|
|
5
|
+
*/
|
|
6
|
+
import type { Drive } from "@microsoft/microsoft-graph-types";
|
|
7
|
+
import type { ContextRef } from "../models/Context.ts";
|
|
8
|
+
import type { DriveRef } from "../models/Drive.ts";
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves a Drive from a SharePoint URL.
|
|
11
|
+
*
|
|
12
|
+
* Parses the given SharePoint URL to extract the host, site, and drive names, then locates and returns the corresponding Drive object.
|
|
13
|
+
*
|
|
14
|
+
* @param contextRef - The context reference containing authentication and environment information.
|
|
15
|
+
* @param url - The SharePoint URL pointing to the drive.
|
|
16
|
+
* @returns A Promise that resolves to the Drive object with additional DriveRef properties.
|
|
17
|
+
* @throws If the URL is invalid or the drive cannot be found.
|
|
18
|
+
*/
|
|
19
|
+
export default function getDriveFromUrl(contextRef: ContextRef, url: string): Promise<Drive & DriveRef>;
|
|
20
|
+
//# sourceMappingURL=getDriveFromUrl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDriveFromUrl.d.ts","sourceRoot":"","sources":["../../../src/tasks/getDriveFromUrl.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAKnD;;;;;;;;;GASG;AACH,wBAA8B,eAAe,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,QAAQ,CAAC,CA2B5G"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Retrieves a Drive from a SharePoint URL.
|
|
3
|
+
* @module getDriveFromUrl
|
|
4
|
+
* @category Tasks
|
|
5
|
+
*/
|
|
6
|
+
import getSiteByName from "../operations/site/getSiteByName.js";
|
|
7
|
+
import { parseSharepointUrl } from "../services/sharepointUrl.js";
|
|
8
|
+
import iterateDrives from "./iterateDrives.js";
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves a Drive from a SharePoint URL.
|
|
11
|
+
*
|
|
12
|
+
* Parses the given SharePoint URL to extract the host, site, and drive names, then locates and returns the corresponding Drive object.
|
|
13
|
+
*
|
|
14
|
+
* @param contextRef - The context reference containing authentication and environment information.
|
|
15
|
+
* @param url - The SharePoint URL pointing to the drive.
|
|
16
|
+
* @returns A Promise that resolves to the Drive object with additional DriveRef properties.
|
|
17
|
+
* @throws If the URL is invalid or the drive cannot be found.
|
|
18
|
+
*/
|
|
19
|
+
export default async function getDriveFromUrl(contextRef, url) {
|
|
20
|
+
const { hostName, siteName, driveName } = parseSharepointUrl(url);
|
|
21
|
+
if (!hostName) {
|
|
22
|
+
throw new Error("Invalid SharePoint URL: Host name is missing.");
|
|
23
|
+
}
|
|
24
|
+
if (!siteName) {
|
|
25
|
+
throw new Error("Invalid SharePoint URL: Site name is missing.");
|
|
26
|
+
}
|
|
27
|
+
if (!driveName) {
|
|
28
|
+
throw new Error("Invalid SharePoint URL: Drive name is missing.");
|
|
29
|
+
}
|
|
30
|
+
const site = await getSiteByName(contextRef, hostName, siteName);
|
|
31
|
+
let drive = null;
|
|
32
|
+
for await (const d of iterateDrives(site)) {
|
|
33
|
+
if (sanitizeUrlName(d.name ?? "") === driveName) {
|
|
34
|
+
drive = d;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
if (!drive) {
|
|
38
|
+
throw new Error(`Drive "${driveName}" not found in site "${siteName}" on host "${hostName}".`);
|
|
39
|
+
}
|
|
40
|
+
return drive;
|
|
41
|
+
}
|
|
42
|
+
function sanitizeUrlName(name) {
|
|
43
|
+
return name.replace(/[^A-Za-z0-9\-_.~]/g, "");
|
|
44
|
+
}
|
package/docs/api/README.md
CHANGED
|
@@ -180,6 +180,7 @@
|
|
|
180
180
|
| [copyDriveItem](copyDriveItem.md) | Copy a drive item. |
|
|
181
181
|
| [createWorkbookAndStartSession](createWorkbookAndStartSession.md) | Create a new workbook and open a session for that workbook. |
|
|
182
182
|
| [downloadDriveItemContent](downloadDriveItemContent.md) | Download a drive item and save it to the local disk. |
|
|
183
|
+
| [getDriveFromUrl](getDriveFromUrl.md) | Retrieves a Drive from a SharePoint URL. |
|
|
183
184
|
| [insertWorkbookRangeRow](insertWorkbookRangeRow.md) | Inserts a single row into a workbook range. |
|
|
184
185
|
| [insertWorkbookRangeRows](insertWorkbookRangeRows.md) | Inserts rows into a workbook range. |
|
|
185
186
|
| [iterateDriveItems](iterateDriveItems.md) | List drive items in a drive or a drive item. |
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[Microsoft Graph SDK](README.md) / getDriveFromUrl
|
|
2
|
+
|
|
3
|
+
# getDriveFromUrl
|
|
4
|
+
|
|
5
|
+
Retrieves a Drive from a SharePoint URL.
|
|
6
|
+
|
|
7
|
+
## Functions
|
|
8
|
+
|
|
9
|
+
### getDriveFromUrl()
|
|
10
|
+
|
|
11
|
+
> **getDriveFromUrl**(`contextRef`, `url`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`Drive` & [`SiteRef`](Site-1.md#siteref) & `object`\>
|
|
12
|
+
|
|
13
|
+
Defined in: [src/tasks/getDriveFromUrl.ts:24](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/getDriveFromUrl.ts#L24)
|
|
14
|
+
|
|
15
|
+
Retrieves a Drive from a SharePoint URL.
|
|
16
|
+
|
|
17
|
+
Parses the given SharePoint URL to extract the host, site, and drive names, then locates and returns the corresponding Drive object.
|
|
18
|
+
|
|
19
|
+
#### Parameters
|
|
20
|
+
|
|
21
|
+
| Parameter | Type | Description |
|
|
22
|
+
| ------ | ------ | ------ |
|
|
23
|
+
| `contextRef` | [`ContextRef`](Context-1.md#contextref) | The context reference containing authentication and environment information. |
|
|
24
|
+
| `url` | `string` | The SharePoint URL pointing to the drive. |
|
|
25
|
+
|
|
26
|
+
#### Returns
|
|
27
|
+
|
|
28
|
+
[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`Drive` & [`SiteRef`](Site-1.md#siteref) & `object`\>
|
|
29
|
+
|
|
30
|
+
A Promise that resolves to the Drive object with additional DriveRef properties.
|
|
31
|
+
|
|
32
|
+
#### Throws
|
|
33
|
+
|
|
34
|
+
If the URL is invalid or the drive cannot be found.
|
|
@@ -4,11 +4,28 @@
|
|
|
4
4
|
|
|
5
5
|
Utilities for parsing and extracting information from SharePoint URLs.
|
|
6
6
|
|
|
7
|
+
## Type Aliases
|
|
8
|
+
|
|
9
|
+
### SharepointUrlComponents
|
|
10
|
+
|
|
11
|
+
> **SharepointUrlComponents** = `object`
|
|
12
|
+
|
|
13
|
+
Defined in: [src/services/sharepointUrl.ts:12](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/sharepointUrl.ts#L12)
|
|
14
|
+
|
|
15
|
+
#### Properties
|
|
16
|
+
|
|
17
|
+
| Property | Type | Defined in |
|
|
18
|
+
| ------ | ------ | ------ |
|
|
19
|
+
| <a id="drivename"></a> `driveName` | [`DriveName`](Drive-1.md#drivename) \| `null` | [src/services/sharepointUrl.ts:15](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/sharepointUrl.ts#L15) |
|
|
20
|
+
| <a id="hostname"></a> `hostName` | [`HostName`](HostName.md#hostname) \| `null` | [src/services/sharepointUrl.ts:13](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/sharepointUrl.ts#L13) |
|
|
21
|
+
| <a id="itemid"></a> `itemId` | [`DriveItemId`](DriveItem-1.md#driveitemid) \| `null` | [src/services/sharepointUrl.ts:16](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/sharepointUrl.ts#L16) |
|
|
22
|
+
| <a id="sitename"></a> `siteName` | [`SiteName`](Site-1.md#sitename) \| `null` | [src/services/sharepointUrl.ts:14](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/sharepointUrl.ts#L14) |
|
|
23
|
+
|
|
7
24
|
## Functions
|
|
8
25
|
|
|
9
26
|
### parseSharepointUrl()
|
|
10
27
|
|
|
11
|
-
> **parseSharepointUrl**(`urlString`): `SharepointUrlComponents`
|
|
28
|
+
> **parseSharepointUrl**(`urlString`): [`SharepointUrlComponents`](#sharepointurlcomponents)
|
|
12
29
|
|
|
13
30
|
Defined in: [src/services/sharepointUrl.ts:25](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/sharepointUrl.ts#L25)
|
|
14
31
|
|
|
@@ -22,7 +39,7 @@ Parses a SharePoint document URL string to extract the site name, host name, dri
|
|
|
22
39
|
|
|
23
40
|
#### Returns
|
|
24
41
|
|
|
25
|
-
`SharepointUrlComponents`
|
|
42
|
+
[`SharepointUrlComponents`](#sharepointurlcomponents)
|
|
26
43
|
|
|
27
44
|
An object containing the host name, site name, drive name (if present), and item ID (if present).
|
|
28
45
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "microsoft-graph",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Microsoft GraphAPI SDK for NodeJS",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -1649,6 +1649,16 @@
|
|
|
1649
1649
|
"require": "./dist/cjs/tasks/downloadDriveItemContent.js",
|
|
1650
1650
|
"types": "./dist/esm/tasks/downloadDriveItemContent.d.ts"
|
|
1651
1651
|
},
|
|
1652
|
+
"./getDriveFromUrl": {
|
|
1653
|
+
"import": "./dist/esm/tasks/getDriveFromUrl.js",
|
|
1654
|
+
"require": "./dist/cjs/tasks/getDriveFromUrl.js",
|
|
1655
|
+
"types": "./dist/esm/tasks/getDriveFromUrl.d.ts"
|
|
1656
|
+
},
|
|
1657
|
+
"./dist/cjs/tasks/getDriveFromUrl": {
|
|
1658
|
+
"import": "./dist/esm/tasks/getDriveFromUrl.js",
|
|
1659
|
+
"require": "./dist/cjs/tasks/getDriveFromUrl.js",
|
|
1660
|
+
"types": "./dist/esm/tasks/getDriveFromUrl.d.ts"
|
|
1661
|
+
},
|
|
1652
1662
|
"./getRangeLastUsedCell": {
|
|
1653
1663
|
"import": "./dist/esm/tasks/getRangeLastUsedCell.js",
|
|
1654
1664
|
"require": "./dist/cjs/tasks/getRangeLastUsedCell.js",
|