-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2748 from patrick-rodgers/version-4
adding pnpTest WIP
- Loading branch information
Showing
126 changed files
with
1,077 additions
and
550 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# @pnp/graph/operations | ||
|
||
Provides capabilities related to rich long-running operations. | ||
|
||
[![Selective Imports Banner](https://img.shields.io/badge/Selective%20Imports-informational.svg)](../concepts/selective-imports.md) | ||
|
||
## list site operations | ||
|
||
```TypeScript | ||
import "@pnp/graph/sites"; | ||
import "@pnp/graph/operations"; | ||
|
||
const graph = graphfi(...); | ||
|
||
// using getByUrl | ||
const site = await graph.sites.getByUrl("tenant.sharepoint.com", "/sites/dev"); | ||
|
||
const ops = await site.operations(); | ||
|
||
// using site id | ||
const ops2 = await graph.sites.getById("{site id}").operations(); | ||
``` |
Oops, something went wrong.