@yuntijs/arcadia-bff-sdk 1.2.43 → 1.2.44
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/cjs/sdk.d.ts +12 -7
- package/dist/cjs/sdk.js +8 -0
- package/dist/esm/sdk.d.ts +12 -7
- package/dist/esm/sdk.js +7 -0
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/sdk.d.ts
CHANGED
|
@@ -1334,6 +1334,7 @@ export type ListCommonInput = {
|
|
|
1334
1334
|
keyword?: InputMaybe<Scalars['String']['input']>;
|
|
1335
1335
|
/** 标签选择器 */
|
|
1336
1336
|
labelSelector?: InputMaybe<Scalars['String']['input']>;
|
|
1337
|
+
/** 资源所在的命名空间 */
|
|
1337
1338
|
namespace: Scalars['String']['input'];
|
|
1338
1339
|
/**
|
|
1339
1340
|
* 分页页码,
|
|
@@ -1345,6 +1346,7 @@ export type ListCommonInput = {
|
|
|
1345
1346
|
* 规则: -1,返回全部
|
|
1346
1347
|
*/
|
|
1347
1348
|
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1349
|
+
selectCond?: InputMaybe<SelectCond>;
|
|
1348
1350
|
};
|
|
1349
1351
|
/** 数据集分页列表查询的输入 */
|
|
1350
1352
|
export type ListDatasetInput = {
|
|
@@ -1447,6 +1449,7 @@ export type ListModelServiceInput = {
|
|
|
1447
1449
|
* - 3rd_party 则仅返回第三方模型服务
|
|
1448
1450
|
*/
|
|
1449
1451
|
providerType?: InputMaybe<Scalars['String']['input']>;
|
|
1452
|
+
selectCond?: InputMaybe<SelectCond>;
|
|
1450
1453
|
/**
|
|
1451
1454
|
* 模型服务的类型
|
|
1452
1455
|
* 规则:
|
|
@@ -1492,13 +1495,7 @@ export type ListPluginInput = {
|
|
|
1492
1495
|
* 规则: 默认10
|
|
1493
1496
|
*/
|
|
1494
1497
|
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1495
|
-
|
|
1496
|
-
* 是否包含系统提供的插件
|
|
1497
|
-
* 规则: 为 "all" 时,提供包括该 ns 及系统插件在内的全部插件
|
|
1498
|
-
* 规则: 为 "system_only" 时,只展示系统插件。不展示 ns 内对应的插件
|
|
1499
|
-
* 规则: 默认为 "namespace_only",不展示系统插件
|
|
1500
|
-
*/
|
|
1501
|
-
selectCondition?: InputMaybe<Scalars['String']['input']>;
|
|
1498
|
+
selectCond?: InputMaybe<SelectCond>;
|
|
1502
1499
|
};
|
|
1503
1500
|
export type ListRagInput = {
|
|
1504
1501
|
appName: Scalars['String']['input'];
|
|
@@ -2259,6 +2256,14 @@ export type ResourcesInput = {
|
|
|
2259
2256
|
/** gpu配置 */
|
|
2260
2257
|
nvidiaGPU?: InputMaybe<Scalars['String']['input']>;
|
|
2261
2258
|
};
|
|
2259
|
+
export declare enum SelectCond {
|
|
2260
|
+
/** 提供包括该 ns 及官方资源在内的所有资源 */
|
|
2261
|
+
All = "ALL",
|
|
2262
|
+
/** 仅展示ns内资源(Default) */
|
|
2263
|
+
NamespaceOnly = "NAMESPACE_ONLY",
|
|
2264
|
+
/** 仅提供官方资源。不展示 ns 内对应的资源 */
|
|
2265
|
+
SystemOnly = "SYSTEM_ONLY"
|
|
2266
|
+
}
|
|
2262
2267
|
export type Selector = {
|
|
2263
2268
|
__typename?: 'Selector';
|
|
2264
2269
|
matchExpressions?: Maybe<Array<Maybe<LabelSelectorRequirement>>>;
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -105,6 +105,7 @@ __export(sdk_exports, {
|
|
|
105
105
|
ListWorkflowsDocument: () => ListWorkflowsDocument,
|
|
106
106
|
ReleaseAgentDocument: () => ReleaseAgentDocument,
|
|
107
107
|
ReleaseWorkflowDocument: () => ReleaseWorkflowDocument,
|
|
108
|
+
SelectCond: () => SelectCond,
|
|
108
109
|
UpdateAgentDocument: () => UpdateAgentDocument,
|
|
109
110
|
UpdateAgentKnowledgeBaseDocument: () => UpdateAgentKnowledgeBaseDocument,
|
|
110
111
|
UpdateAgentModelDocument: () => UpdateAgentModelDocument,
|
|
@@ -127,6 +128,12 @@ __export(sdk_exports, {
|
|
|
127
128
|
module.exports = __toCommonJS(sdk_exports);
|
|
128
129
|
var import_graphql_tag = __toESM(require("graphql-tag"));
|
|
129
130
|
var import_useSWR = __toESM(require("./useSWR"));
|
|
131
|
+
var SelectCond = /* @__PURE__ */ ((SelectCond2) => {
|
|
132
|
+
SelectCond2["All"] = "ALL";
|
|
133
|
+
SelectCond2["NamespaceOnly"] = "NAMESPACE_ONLY";
|
|
134
|
+
SelectCond2["SystemOnly"] = "SYSTEM_ONLY";
|
|
135
|
+
return SelectCond2;
|
|
136
|
+
})(SelectCond || {});
|
|
130
137
|
var CreateAgentDocument = import_graphql_tag.default`
|
|
131
138
|
mutation createAgent($input: CreateAgentMetadataInput!) {
|
|
132
139
|
Agent {
|
|
@@ -3051,6 +3058,7 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
3051
3058
|
ListWorkflowsDocument,
|
|
3052
3059
|
ReleaseAgentDocument,
|
|
3053
3060
|
ReleaseWorkflowDocument,
|
|
3061
|
+
SelectCond,
|
|
3054
3062
|
UpdateAgentDocument,
|
|
3055
3063
|
UpdateAgentKnowledgeBaseDocument,
|
|
3056
3064
|
UpdateAgentModelDocument,
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -1334,6 +1334,7 @@ export type ListCommonInput = {
|
|
|
1334
1334
|
keyword?: InputMaybe<Scalars['String']['input']>;
|
|
1335
1335
|
/** 标签选择器 */
|
|
1336
1336
|
labelSelector?: InputMaybe<Scalars['String']['input']>;
|
|
1337
|
+
/** 资源所在的命名空间 */
|
|
1337
1338
|
namespace: Scalars['String']['input'];
|
|
1338
1339
|
/**
|
|
1339
1340
|
* 分页页码,
|
|
@@ -1345,6 +1346,7 @@ export type ListCommonInput = {
|
|
|
1345
1346
|
* 规则: -1,返回全部
|
|
1346
1347
|
*/
|
|
1347
1348
|
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1349
|
+
selectCond?: InputMaybe<SelectCond>;
|
|
1348
1350
|
};
|
|
1349
1351
|
/** 数据集分页列表查询的输入 */
|
|
1350
1352
|
export type ListDatasetInput = {
|
|
@@ -1447,6 +1449,7 @@ export type ListModelServiceInput = {
|
|
|
1447
1449
|
* - 3rd_party 则仅返回第三方模型服务
|
|
1448
1450
|
*/
|
|
1449
1451
|
providerType?: InputMaybe<Scalars['String']['input']>;
|
|
1452
|
+
selectCond?: InputMaybe<SelectCond>;
|
|
1450
1453
|
/**
|
|
1451
1454
|
* 模型服务的类型
|
|
1452
1455
|
* 规则:
|
|
@@ -1492,13 +1495,7 @@ export type ListPluginInput = {
|
|
|
1492
1495
|
* 规则: 默认10
|
|
1493
1496
|
*/
|
|
1494
1497
|
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1495
|
-
|
|
1496
|
-
* 是否包含系统提供的插件
|
|
1497
|
-
* 规则: 为 "all" 时,提供包括该 ns 及系统插件在内的全部插件
|
|
1498
|
-
* 规则: 为 "system_only" 时,只展示系统插件。不展示 ns 内对应的插件
|
|
1499
|
-
* 规则: 默认为 "namespace_only",不展示系统插件
|
|
1500
|
-
*/
|
|
1501
|
-
selectCondition?: InputMaybe<Scalars['String']['input']>;
|
|
1498
|
+
selectCond?: InputMaybe<SelectCond>;
|
|
1502
1499
|
};
|
|
1503
1500
|
export type ListRagInput = {
|
|
1504
1501
|
appName: Scalars['String']['input'];
|
|
@@ -2259,6 +2256,14 @@ export type ResourcesInput = {
|
|
|
2259
2256
|
/** gpu配置 */
|
|
2260
2257
|
nvidiaGPU?: InputMaybe<Scalars['String']['input']>;
|
|
2261
2258
|
};
|
|
2259
|
+
export declare enum SelectCond {
|
|
2260
|
+
/** 提供包括该 ns 及官方资源在内的所有资源 */
|
|
2261
|
+
All = "ALL",
|
|
2262
|
+
/** 仅展示ns内资源(Default) */
|
|
2263
|
+
NamespaceOnly = "NAMESPACE_ONLY",
|
|
2264
|
+
/** 仅提供官方资源。不展示 ns 内对应的资源 */
|
|
2265
|
+
SystemOnly = "SYSTEM_ONLY"
|
|
2266
|
+
}
|
|
2262
2267
|
export type Selector = {
|
|
2263
2268
|
__typename?: 'Selector';
|
|
2264
2269
|
matchExpressions?: Maybe<Array<Maybe<LabelSelectorRequirement>>>;
|
package/dist/esm/sdk.js
CHANGED
|
@@ -122,6 +122,13 @@ import useSWR from "./useSWR";
|
|
|
122
122
|
|
|
123
123
|
/** 资源配置的输入 */
|
|
124
124
|
|
|
125
|
+
export var SelectCond = /*#__PURE__*/function (SelectCond) {
|
|
126
|
+
SelectCond["All"] = "ALL";
|
|
127
|
+
SelectCond["NamespaceOnly"] = "NAMESPACE_ONLY";
|
|
128
|
+
SelectCond["SystemOnly"] = "SYSTEM_ONLY";
|
|
129
|
+
return SelectCond;
|
|
130
|
+
}({});
|
|
131
|
+
|
|
125
132
|
/** 数据集更新的输入 */
|
|
126
133
|
|
|
127
134
|
/** 更新数据源的输入 */
|