@or-sdk/cards 1.2.1-beta.4013.0 → 1.2.1
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 +8 -0
- package/dist/types/Cards.d.ts +0 -68
- package/dist/types/Cards.d.ts.map +1 -1
- package/package.json +6 -5
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
|
+
## [1.2.1](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/cards@1.2.0...@or-sdk/cards@1.2.1) (2026-02-25)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @or-sdk/cards
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [1.2.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/cards@1.1.41...@or-sdk/cards@1.2.0) (2026-02-24)
|
|
7
15
|
|
|
8
16
|
|
package/dist/types/Cards.d.ts
CHANGED
|
@@ -5,84 +5,16 @@ export declare class Cards implements Taggable<Card> {
|
|
|
5
5
|
private readonly dataHubSvc;
|
|
6
6
|
private readonly tags;
|
|
7
7
|
constructor(params: CardsConfig);
|
|
8
|
-
/**
|
|
9
|
-
* List cards
|
|
10
|
-
* ```typescript
|
|
11
|
-
* const cardList = await cards.listCards();
|
|
12
|
-
* ```
|
|
13
|
-
*/
|
|
14
8
|
listCards(params?: ListCardsParams, paginationOptions?: PaginationOptions): Promise<List<Card>>;
|
|
15
|
-
/**
|
|
16
|
-
* Get card
|
|
17
|
-
* ```typescript
|
|
18
|
-
* const card = await cards.getCard('card-id');
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
9
|
getCard(id: string): Promise<Card>;
|
|
22
|
-
/**
|
|
23
|
-
* Save card
|
|
24
|
-
*
|
|
25
|
-
* If source contains existing id - existing card will be updated
|
|
26
|
-
* ```typescript
|
|
27
|
-
* const savedCard = await cards.saveCard(cardSource);
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
10
|
saveCard(source: Card): Promise<Card>;
|
|
31
|
-
/**
|
|
32
|
-
* Create card
|
|
33
|
-
* ```typescript
|
|
34
|
-
* const card = await cards.createCard(cardSource);
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
11
|
createCard(source: Card): Promise<Card>;
|
|
38
|
-
/**
|
|
39
|
-
* Update card
|
|
40
|
-
* ```typescript
|
|
41
|
-
* const card = await cards.updateCard(cardSource);
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
12
|
updateCard(source: Card): Promise<Card>;
|
|
45
|
-
/**
|
|
46
|
-
* Delete card
|
|
47
|
-
* ```typescript
|
|
48
|
-
* await cards.deleteCard('card-id');
|
|
49
|
-
* ```
|
|
50
|
-
*/
|
|
51
13
|
deleteCard(cardId: string, temporarily?: boolean): Promise<void>;
|
|
52
|
-
/**
|
|
53
|
-
* Recover card
|
|
54
|
-
* ```typescript
|
|
55
|
-
* await cards.recoverCard('card-id');
|
|
56
|
-
* ```
|
|
57
|
-
*/
|
|
58
14
|
recoverCard(cardId: string): Promise<void>;
|
|
59
|
-
/**
|
|
60
|
-
* Clone card
|
|
61
|
-
* ```typescript
|
|
62
|
-
* const result = await cards.cloneCard('card-id');
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
15
|
cloneCard(cardId: string, keepTemplateDetails?: boolean): Promise<Card>;
|
|
66
|
-
/**
|
|
67
|
-
* Clone card
|
|
68
|
-
* ```typescript
|
|
69
|
-
* const result = await cards.cloneCard('card-id');
|
|
70
|
-
* ```
|
|
71
|
-
*/
|
|
72
16
|
cloneLibraryCard(cardId: string, viewIds: string[]): Promise<Card>;
|
|
73
|
-
/**
|
|
74
|
-
* Add tags
|
|
75
|
-
* ```typescript
|
|
76
|
-
* const card = await cards.addTags(cardSource, tagIdsArr);
|
|
77
|
-
* ```
|
|
78
|
-
*/
|
|
79
17
|
addTags(source: Card, tagNames: string[]): Promise<Card>;
|
|
80
|
-
/**
|
|
81
|
-
* Remove tags
|
|
82
|
-
* ```typescript
|
|
83
|
-
* const card = await cards.removeTags(cardSource, tagIdsArr);
|
|
84
|
-
* ```
|
|
85
|
-
*/
|
|
86
18
|
removeTags(source: Card, tagNames: string[]): Promise<Card>;
|
|
87
19
|
}
|
|
88
20
|
//# sourceMappingURL=Cards.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cards.d.ts","sourceRoot":"","sources":["../../src/Cards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAY,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,QAAQ,EAAgD,MAAM,cAAc,CAAC;AAEtF,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEhF,qBAAa,KAAM,YAAW,QAAQ,CAAC,IAAI,CAAC;IAC1C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAa;IACxC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAO;gBAEhB,MAAM,EAAE,WAAW;
|
|
1
|
+
{"version":3,"file":"Cards.d.ts","sourceRoot":"","sources":["../../src/Cards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAY,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,QAAQ,EAAgD,MAAM,cAAc,CAAC;AAEtF,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEhF,qBAAa,KAAM,YAAW,QAAQ,CAAC,IAAI,CAAC;IAC1C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAa;IACxC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAO;gBAEhB,MAAM,EAAE,WAAW;IAyBlB,SA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},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@or-sdk/base": "^0.44.0
|
|
22
|
-
"@or-sdk/data-hub-svc": "^2.3.1
|
|
23
|
-
"@or-sdk/tags": "^1.1.1
|
|
21
|
+
"@or-sdk/base": "^0.44.0",
|
|
22
|
+
"@or-sdk/data-hub-svc": "^2.3.1",
|
|
23
|
+
"@or-sdk/tags": "^1.1.1"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"concurrently": "9.0.1",
|
|
@@ -28,5 +28,6 @@
|
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|
|
31
|
-
}
|
|
31
|
+
},
|
|
32
|
+
"gitHead": "7d3b49250a670964dfe9e8e50e95417761c5473f"
|
|
32
33
|
}
|