0.5.2 • Published 5 months ago

@itwin/saved-views-client v0.5.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@itwin/saved-views-client

About

This package hosts client-side code and TypeScript types for interacting with iTwin Platform Saved Views API.

Usage

import { ITwinSavedViewsClient } from "@itwin/saved-views-client";

const client = new ITwinSavedViewsClient({
  getAccessToken: async () => "<itwin_platform_auth_token>",
});

const { savedView } = await client.getSavedViewMinimal({ savedViewId: "<saved_view_id>" });
console.log(savedView); /*
{
  id: "<saved_view_id>",
  displayName: "Saved View",
  creationTime: "2024-01-01T10:00:00.000Z",
  lastModified: "2024-01-01T10:01:00.000Z",
  groupId: undefined,
  shared: false,
  tags: [...],
  savedViewData: { itwin3dView: {...} },
  extensions: [...],
  _links: {...}
} */

Contributing

Contributing.


Copyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.

0.5.0

9 months ago

0.5.2

5 months ago

0.5.1

8 months ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

2 years ago

0.1.0

2 years ago