Skip to content

Commit

Permalink
Added documentation example
Browse files Browse the repository at this point in the history
  • Loading branch information
LenKlose committed Oct 13, 2023
1 parent 6485daa commit 97b4e6c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/dms/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dvelop-sdk/dms",
"description": "This package contains functionality for the DMS-App in the d.velop cloud.",
"version": "1.5.0",
"version": "1.5.1",
"license": "Apache-2.0",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,20 @@ export function _getDmsObjectNotesFactory<T>(
* ```typescript
* import { getDmsObjectNotes } from "@dvelop-sdk/dms";
*
* await getDmsObjectNotes({
* const notes: DmsObjectNote[] = getDmsObjectNotes({
* systemBaseUri: "https://steamwheedle-cartel.d-velop.cloud",
* authSessionId: "dQw4w9WgXcQ"
* }, {
* repositoryId: "qnydFmqHuVo",
* dmsObjectId: "GDYQ3PJKrT8"
* });
*
* notes.forEach(n => {
* console.log(`${n.creator.displayName}: "${n.text}"`);
* });
*
* // Jastor Gallywix: "I need this taken care of ASAP!"
* // Bing Zapcrackle: "I'm on it my prince."
* ```
*
* @category DmsObject
Expand Down

0 comments on commit 97b4e6c

Please sign in to comment.