microsoft-graph 3.10.5 → 3.10.6
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/operations/drive/createFolder.d.ts +1 -0
- package/dist/cjs/operations/drive/createFolder.d.ts.map +1 -1
- package/dist/cjs/operations/drive/createFolder.js +1 -0
- package/dist/esm/operations/drive/createFolder.d.ts +1 -0
- package/dist/esm/operations/drive/createFolder.d.ts.map +1 -1
- package/dist/esm/operations/drive/createFolder.js +1 -0
- package/docs/api/createFolder.md +5 -1
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ export interface CreateDriveItemOptions {
|
|
|
19
19
|
* @param parentRef Reference to the parent drive or folder where the folder will be created.
|
|
20
20
|
* @param folderName Name of the folder to be created.
|
|
21
21
|
* @returns The newly created folder.
|
|
22
|
+
* @remarks Parent folder must already exist. Multiple folders cannot be created in a single request
|
|
22
23
|
* @see https://learn.microsoft.com/en-us/graph/api/driveitem-post-children
|
|
23
24
|
*/
|
|
24
25
|
export default function createFolder(parentRef: DriveRef | DriveItemRef, folderName: string, options?: CreateDriveItemOptions): GraphOperation<DriveItem & DriveItemRef>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createFolder.d.ts","sourceRoot":"","sources":["../../../../src/operations/drive/createFolder.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAe,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAKrE;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACtC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACpC;AAED
|
|
1
|
+
{"version":3,"file":"createFolder.d.ts","sourceRoot":"","sources":["../../../../src/operations/drive/createFolder.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAe,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAKrE;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACtC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACpC;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,SAAS,EAAE,QAAQ,GAAG,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,GAAE,sBAA2B,GAAG,cAAc,CAAC,SAAS,GAAG,YAAY,CAAC,CA0B3K"}
|
|
@@ -14,6 +14,7 @@ const templatedPaths_ts_1 = require("../../services/templatedPaths.js");
|
|
|
14
14
|
* @param parentRef Reference to the parent drive or folder where the folder will be created.
|
|
15
15
|
* @param folderName Name of the folder to be created.
|
|
16
16
|
* @returns The newly created folder.
|
|
17
|
+
* @remarks Parent folder must already exist. Multiple folders cannot be created in a single request
|
|
17
18
|
* @see https://learn.microsoft.com/en-us/graph/api/driveitem-post-children
|
|
18
19
|
*/
|
|
19
20
|
function createFolder(parentRef, folderName, options = {}) {
|
|
@@ -19,6 +19,7 @@ export interface CreateDriveItemOptions {
|
|
|
19
19
|
* @param parentRef Reference to the parent drive or folder where the folder will be created.
|
|
20
20
|
* @param folderName Name of the folder to be created.
|
|
21
21
|
* @returns The newly created folder.
|
|
22
|
+
* @remarks Parent folder must already exist. Multiple folders cannot be created in a single request
|
|
22
23
|
* @see https://learn.microsoft.com/en-us/graph/api/driveitem-post-children
|
|
23
24
|
*/
|
|
24
25
|
export default function createFolder(parentRef: DriveRef | DriveItemRef, folderName: string, options?: CreateDriveItemOptions): GraphOperation<DriveItem & DriveItemRef>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createFolder.d.ts","sourceRoot":"","sources":["../../../../src/operations/drive/createFolder.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAe,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAKrE;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACtC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACpC;AAED
|
|
1
|
+
{"version":3,"file":"createFolder.d.ts","sourceRoot":"","sources":["../../../../src/operations/drive/createFolder.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAe,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAKrE;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACtC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACpC;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,SAAS,EAAE,QAAQ,GAAG,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,GAAE,sBAA2B,GAAG,cAAc,CAAC,SAAS,GAAG,YAAY,CAAC,CA0B3K"}
|
|
@@ -11,6 +11,7 @@ import { generatePath } from "../../services/templatedPaths.js";
|
|
|
11
11
|
* @param parentRef Reference to the parent drive or folder where the folder will be created.
|
|
12
12
|
* @param folderName Name of the folder to be created.
|
|
13
13
|
* @returns The newly created folder.
|
|
14
|
+
* @remarks Parent folder must already exist. Multiple folders cannot be created in a single request
|
|
14
15
|
* @see https://learn.microsoft.com/en-us/graph/api/driveitem-post-children
|
|
15
16
|
*/
|
|
16
17
|
export default function createFolder(parentRef, folderName, options = {}) {
|
package/docs/api/createFolder.md
CHANGED
|
@@ -26,7 +26,7 @@ Defined in: [src/operations/drive/createFolder.ts:20](https://github.com/Future-
|
|
|
26
26
|
|
|
27
27
|
> **createFolder**(`parentRef`, `folderName`, `options`): [`GraphOperation`](GraphOperation.md#graphoperation)\<`DriveItem` & [`SiteRef`](Site-1.md#siteref) & `object` & `object`\>
|
|
28
28
|
|
|
29
|
-
Defined in: [src/operations/drive/createFolder.ts:
|
|
29
|
+
Defined in: [src/operations/drive/createFolder.ts:31](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/drive/createFolder.ts#L31)
|
|
30
30
|
|
|
31
31
|
Create a folder in the root of a drive, or in a folder. If it already exists do nothing.
|
|
32
32
|
|
|
@@ -44,6 +44,10 @@ Create a folder in the root of a drive, or in a folder. If it already exists do
|
|
|
44
44
|
|
|
45
45
|
The newly created folder.
|
|
46
46
|
|
|
47
|
+
#### Remarks
|
|
48
|
+
|
|
49
|
+
Parent folder must already exist. Multiple folders cannot be created in a single request
|
|
50
|
+
|
|
47
51
|
#### See
|
|
48
52
|
|
|
49
53
|
https://learn.microsoft.com/en-us/graph/api/driveitem-post-children
|