@or-sdk/view-templates 2.2.2-beta.4098.0 → 2.2.3-beta.4119.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.2.2](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/view-templates@2.2.1...@or-sdk/view-templates@2.2.2) (2026-04-22)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @or-sdk/view-templates
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [2.2.1](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/view-templates@2.2.0...@or-sdk/view-templates@2.2.1) (2026-02-25)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @or-sdk/view-templates
|
|
@@ -3,11 +3,47 @@ import { DownloadOptions, ListViewTemplatesParams, PaginationOptions, UpgradeOpt
|
|
|
3
3
|
export declare class ViewTemplates {
|
|
4
4
|
private readonly dataHubSvc;
|
|
5
5
|
constructor(params: ViewTemplatesConfig);
|
|
6
|
+
/**
|
|
7
|
+
* List view templates
|
|
8
|
+
* ```typescript
|
|
9
|
+
* const result = await viewTemplates.listViewTemplates();
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
6
12
|
listViewTemplates(params?: ListViewTemplatesParams, paginationOptions?: PaginationOptions): Promise<List<View>>;
|
|
13
|
+
/**
|
|
14
|
+
* Get view template by id
|
|
15
|
+
* ```typescript
|
|
16
|
+
* const result = await viewTemplates.getViewTemplateById('card-template-id');
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
7
19
|
getViewTemplateById(id: string): Promise<View>;
|
|
20
|
+
/**
|
|
21
|
+
* Get view popular templates
|
|
22
|
+
* ```typescript
|
|
23
|
+
* const result = await viewTemplates.listPopularViewTemplates();
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
8
26
|
listPopularViewTemplates(paginationOptions?: PaginationOptions): Promise<List<View>>;
|
|
27
|
+
/**
|
|
28
|
+
* Download view template
|
|
29
|
+
* ```typescript
|
|
30
|
+
* const result = await viewTemplates.download('view-template-id');
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
9
33
|
download(viewTemplateId: string, options?: DownloadOptions, sandbox?: boolean): Promise<View>;
|
|
34
|
+
/**
|
|
35
|
+
* Upgrade view template
|
|
36
|
+
* ```typescript
|
|
37
|
+
* const result = await viewTemplates.upgrade('view-template-id');
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
10
40
|
upgrade(viewTemplateId: string, options?: UpgradeOptions): Promise<View>;
|
|
41
|
+
/**
|
|
42
|
+
* Generate new view template
|
|
43
|
+
* ```typescript
|
|
44
|
+
* const result = ViewTemplates.getNewViewTemplate();
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
11
47
|
static getNewViewTemplate(): {
|
|
12
48
|
cardIds: never[];
|
|
13
49
|
data: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewTemplates.d.ts","sourceRoot":"","sources":["../../src/ViewTemplates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAY,MAAM,cAAc,CAAC;AAG9C,OAAO,EACL,eAAe,EACf,uBAAuB,EACvB,iBAAiB,EACjB,cAAc,EACd,IAAI,EACJ,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAGjB,qBAAa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAa;gBAE5B,MAAM,EAAE,mBAAmB;
|
|
1
|
+
{"version":3,"file":"ViewTemplates.d.ts","sourceRoot":"","sources":["../../src/ViewTemplates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAY,MAAM,cAAc,CAAC;AAG9C,OAAO,EACL,eAAe,EACf,uBAAuB,EACvB,iBAAiB,EACjB,cAAc,EACd,IAAI,EACJ,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAGjB,qBAAa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAa;gBAE5B,MAAM,EAAE,mBAAmB;IAYvC;;;;;OAKG;IACU,iBAAiB,CAAC,MAAM,GAAE,uBAOtC,EAAE,iBAAiB,GAAE,iBAAsB,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAwBlE;;;;;OAKG;IACU,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAU3D;;;;;OAKG;IACU,wBAAwB,CAAC,iBAAiB,GAAE,iBAAsB,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAarG;;;;;OAKG;IACU,QAAQ,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,GAAE,eAAoB,EAAE,OAAO,UAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAe3G;;;;;OAKG;IACU,OAAO,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,GAAE,cAAmB,GAAG,OAAO,CAAC,IAAI,CAAC;IAazF;;;;;OAKG;WACW,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@or-sdk/view-templates",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.3-beta.4119.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dev": "pnpm build:watch:esm"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@or-sdk/base": "^0.44.
|
|
22
|
-
"@or-sdk/data-hub-svc": "^2.3.
|
|
21
|
+
"@or-sdk/base": "^0.44.2-beta.4119.0",
|
|
22
|
+
"@or-sdk/data-hub-svc": "^2.3.3-beta.4119.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"concurrently": "9.0.1",
|