@petercatai/whisker-client 0.1.202509020704-dev → 0.1.202509030458
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/dist/api.d.ts +31 -0
- package/package.json +3 -3
package/dist/api.d.ts
CHANGED
|
@@ -1463,6 +1463,8 @@ export interface IPageQueryParamsAPIKey {
|
|
|
1463
1463
|
eq_conditions?: Record<string, any> | null;
|
|
1464
1464
|
/** advanced filter with nested conditions */
|
|
1465
1465
|
advanced_filter?: IFilterGroup | null;
|
|
1466
|
+
/** 标签过滤条件 tag_name 和 tag_id */
|
|
1467
|
+
tag_filter?: ITagFilter | null;
|
|
1466
1468
|
/**
|
|
1467
1469
|
* Page
|
|
1468
1470
|
* page number
|
|
@@ -1499,6 +1501,8 @@ export interface IPageQueryParamsArtifactIndex {
|
|
|
1499
1501
|
eq_conditions?: Record<string, any> | null;
|
|
1500
1502
|
/** advanced filter with nested conditions */
|
|
1501
1503
|
advanced_filter?: IFilterGroup | null;
|
|
1504
|
+
/** 标签过滤条件 tag_name 和 tag_id */
|
|
1505
|
+
tag_filter?: ITagFilter | null;
|
|
1502
1506
|
/**
|
|
1503
1507
|
* Page
|
|
1504
1508
|
* page number
|
|
@@ -1535,6 +1539,8 @@ export interface IPageQueryParamsChunk {
|
|
|
1535
1539
|
eq_conditions?: Record<string, any> | null;
|
|
1536
1540
|
/** advanced filter with nested conditions */
|
|
1537
1541
|
advanced_filter?: IFilterGroup | null;
|
|
1542
|
+
/** 标签过滤条件 tag_name 和 tag_id */
|
|
1543
|
+
tag_filter?: ITagFilter | null;
|
|
1538
1544
|
/**
|
|
1539
1545
|
* Page
|
|
1540
1546
|
* page number
|
|
@@ -1571,6 +1577,8 @@ export interface IPageQueryParamsKnowledge {
|
|
|
1571
1577
|
eq_conditions?: Record<string, any> | null;
|
|
1572
1578
|
/** advanced filter with nested conditions */
|
|
1573
1579
|
advanced_filter?: IFilterGroup | null;
|
|
1580
|
+
/** 标签过滤条件 tag_name 和 tag_id */
|
|
1581
|
+
tag_filter?: ITagFilter | null;
|
|
1574
1582
|
/**
|
|
1575
1583
|
* Page
|
|
1576
1584
|
* page number
|
|
@@ -1607,6 +1615,8 @@ export interface IPageQueryParamsSpace {
|
|
|
1607
1615
|
eq_conditions?: Record<string, any> | null;
|
|
1608
1616
|
/** advanced filter with nested conditions */
|
|
1609
1617
|
advanced_filter?: IFilterGroup | null;
|
|
1618
|
+
/** 标签过滤条件 tag_name 和 tag_id */
|
|
1619
|
+
tag_filter?: ITagFilter | null;
|
|
1610
1620
|
/**
|
|
1611
1621
|
* Page
|
|
1612
1622
|
* page number
|
|
@@ -1643,6 +1653,8 @@ export interface IPageQueryParamsTag {
|
|
|
1643
1653
|
eq_conditions?: Record<string, any> | null;
|
|
1644
1654
|
/** advanced filter with nested conditions */
|
|
1645
1655
|
advanced_filter?: IFilterGroup | null;
|
|
1656
|
+
/** 标签过滤条件 tag_name 和 tag_id */
|
|
1657
|
+
tag_filter?: ITagFilter | null;
|
|
1646
1658
|
/**
|
|
1647
1659
|
* Page
|
|
1648
1660
|
* page number
|
|
@@ -1679,6 +1691,8 @@ export interface IPageQueryParamsTagging {
|
|
|
1679
1691
|
eq_conditions?: Record<string, any> | null;
|
|
1680
1692
|
/** advanced filter with nested conditions */
|
|
1681
1693
|
advanced_filter?: IFilterGroup | null;
|
|
1694
|
+
/** 标签过滤条件 tag_name 和 tag_id */
|
|
1695
|
+
tag_filter?: ITagFilter | null;
|
|
1682
1696
|
/**
|
|
1683
1697
|
* Page
|
|
1684
1698
|
* page number
|
|
@@ -1715,6 +1729,8 @@ export interface IPageQueryParamsTask {
|
|
|
1715
1729
|
eq_conditions?: Record<string, any> | null;
|
|
1716
1730
|
/** advanced filter with nested conditions */
|
|
1717
1731
|
advanced_filter?: IFilterGroup | null;
|
|
1732
|
+
/** 标签过滤条件 tag_name 和 tag_id */
|
|
1733
|
+
tag_filter?: ITagFilter | null;
|
|
1718
1734
|
/**
|
|
1719
1735
|
* Page
|
|
1720
1736
|
* page number
|
|
@@ -2644,6 +2660,15 @@ export interface ITagCreate {
|
|
|
2644
2660
|
*/
|
|
2645
2661
|
object_type?: ITagObjectType;
|
|
2646
2662
|
}
|
|
2663
|
+
/**
|
|
2664
|
+
* TagFilter
|
|
2665
|
+
* 针对 Tagging 表的过滤条件(只允许使用 tag_name / tag_id 作为字段)
|
|
2666
|
+
*/
|
|
2667
|
+
export interface ITagFilter {
|
|
2668
|
+
operator: IOperator;
|
|
2669
|
+
/** Conditions */
|
|
2670
|
+
conditions: (ICondition | IFilterGroup)[];
|
|
2671
|
+
}
|
|
2647
2672
|
/** TagUpdate */
|
|
2648
2673
|
export interface ITagUpdate {
|
|
2649
2674
|
/** Tag Id */
|
|
@@ -2681,6 +2706,12 @@ export interface ITagging {
|
|
|
2681
2706
|
* 标签ID(FK -> tag.tag_id,UUID字符串)
|
|
2682
2707
|
*/
|
|
2683
2708
|
tag_id: string;
|
|
2709
|
+
/**
|
|
2710
|
+
* Tag Name
|
|
2711
|
+
* 标签名称(在 object_type 内唯一)
|
|
2712
|
+
* @maxLength 64
|
|
2713
|
+
*/
|
|
2714
|
+
tag_name: string;
|
|
2684
2715
|
/**
|
|
2685
2716
|
* Object Id
|
|
2686
2717
|
* 被打标签对象ID(如 space_id)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@petercatai/whisker-client",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Generated API client (
|
|
3
|
+
"version": "0.1.202509030458",
|
|
4
|
+
"description": "Generated API client (Production)",
|
|
5
5
|
"main": "dist/api.js",
|
|
6
6
|
"types": "dist/api.d.ts",
|
|
7
7
|
"files": [
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"publishConfig": {
|
|
15
15
|
"access": "public",
|
|
16
|
-
"tag": "
|
|
16
|
+
"tag": "latest"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/node": "^24.3.0",
|