@cozeloop/prompt-components 0.0.3 → 0.0.4

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.
Files changed (154) hide show
  1. package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/index.js +3 -32
  2. package/dist/es/idls/{prompt_api → prompt_api2}/index.js +3 -17
  3. package/dist/es/model-config-editor/basic-type.js +1 -3
  4. package/dist/es/model-config-editor/model-config-form.js +3 -1
  5. package/dist/es/prompt-editor/index.js +1 -1
  6. package/dist/es/utils/model-config.js +3 -3
  7. package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/index.js +7 -66
  8. package/dist/lib/idls/{prompt_api → prompt_api2}/index.js +7 -36
  9. package/dist/lib/model-config-editor/basic-type.js +1 -3
  10. package/dist/lib/model-config-editor/model-config-form.js +3 -1
  11. package/dist/lib/prompt-editor/index.js +3 -3
  12. package/dist/lib/utils/model-config.js +3 -13
  13. package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/index.d.ts +1 -30
  14. package/dist/types/idls/{prompt_api → prompt_api2}/index.d.ts +1 -15
  15. package/dist/types/model-config-editor/basic-type.d.ts +1 -1
  16. package/dist/types/model-config-editor/model-config-form.d.ts +3 -3
  17. package/dist/types/model-config-editor/popover-type.d.ts +3 -3
  18. package/dist/types/model-select/index.d.ts +4 -4
  19. package/dist/types/model-select/model-option/index.d.ts +2 -2
  20. package/dist/types/prompt-editor/index.d.ts +1 -1
  21. package/dist/types/utils/model-config.d.ts +4 -4
  22. package/package.json +7 -3
  23. package/dist/es/idls/fornax_ml_flow/namespaces/datasetv2lineage.js +0 -25
  24. package/dist/lib/idls/fornax_ml_flow/namespaces/datasetv2lineage.js +0 -50
  25. package/dist/types/idls/fornax_ml_flow/namespaces/datasetv2lineage.d.ts +0 -69
  26. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/ai_annotate.js +0 -0
  27. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/aidpcallback.js +0 -0
  28. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/annotation_job.js +0 -0
  29. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/base.js +0 -0
  30. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/batch_infer.js +0 -0
  31. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/dataprocess.js +0 -0
  32. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/dataset.js +0 -0
  33. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/datasetv2.js +0 -0
  34. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/datasetv2job.js +0 -0
  35. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/datasetv2similarity.js +0 -0
  36. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/filter.js +0 -0
  37. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/flow_devops_evaluation_callback_common.js +0 -0
  38. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/flow_devops_prompt_common.js +0 -0
  39. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/fornax_domain_model.js +0 -0
  40. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/ml_flow_domain_model.js +0 -0
  41. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/openapi.js +0 -0
  42. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_annotateservice.js +0 -0
  43. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_annotationjobservice.js +0 -0
  44. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_batchinferservice.js +0 -0
  45. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.js +0 -0
  46. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_dataprocessservice.js +0 -0
  47. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_datasetservice.js +0 -0
  48. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_datasetservicev2.js +0 -0
  49. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_modelservice.js +0 -0
  50. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.js +0 -0
  51. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.js +0 -0
  52. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.js +0 -0
  53. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_tagservice.js +0 -0
  54. /package/dist/es/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/tag.js +0 -0
  55. /package/dist/es/idls/{prompt_api → prompt_api2}/namespaces/base.js +0 -0
  56. /package/dist/es/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_callback.js +0 -0
  57. /package/dist/es/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_commercial_openapi.js +0 -0
  58. /package/dist/es/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_common.js +0 -0
  59. /package/dist/es/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_debug.js +0 -0
  60. /package/dist/es/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_manage.js +0 -0
  61. /package/dist/es/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_mcp.js +0 -0
  62. /package/dist/es/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_optimize.js +0 -0
  63. /package/dist/es/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_paas.js +0 -0
  64. /package/dist/es/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_platform.js +0 -0
  65. /package/dist/es/idls/{prompt_api → prompt_api2}/namespaces/mcp.js +0 -0
  66. /package/dist/es/idls/{prompt_api → prompt_api2}/namespaces/model.js +0 -0
  67. /package/dist/es/idls/{prompt_api → prompt_api2}/namespaces/permission.js +0 -0
  68. /package/dist/es/idls/{prompt_api → prompt_api2}/namespaces/release.js +0 -0
  69. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/ai_annotate.js +0 -0
  70. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/aidpcallback.js +0 -0
  71. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/annotation_job.js +0 -0
  72. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/base.js +0 -0
  73. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/batch_infer.js +0 -0
  74. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/dataprocess.js +0 -0
  75. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/dataset.js +0 -0
  76. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/datasetv2.js +0 -0
  77. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/datasetv2job.js +0 -0
  78. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/datasetv2similarity.js +0 -0
  79. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/filter.js +0 -0
  80. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/flow_devops_evaluation_callback_common.js +0 -0
  81. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/flow_devops_prompt_common.js +0 -0
  82. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/fornax_domain_model.js +0 -0
  83. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/ml_flow_domain_model.js +0 -0
  84. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/openapi.js +0 -0
  85. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_annotateservice.js +0 -0
  86. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_annotationjobservice.js +0 -0
  87. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_batchinferservice.js +0 -0
  88. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.js +0 -0
  89. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_dataprocessservice.js +0 -0
  90. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_datasetservice.js +0 -0
  91. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_datasetservicev2.js +0 -0
  92. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_modelservice.js +0 -0
  93. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.js +0 -0
  94. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.js +0 -0
  95. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.js +0 -0
  96. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_tagservice.js +0 -0
  97. /package/dist/lib/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/tag.js +0 -0
  98. /package/dist/lib/idls/{prompt_api → prompt_api2}/namespaces/base.js +0 -0
  99. /package/dist/lib/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_callback.js +0 -0
  100. /package/dist/lib/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_commercial_openapi.js +0 -0
  101. /package/dist/lib/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_common.js +0 -0
  102. /package/dist/lib/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_debug.js +0 -0
  103. /package/dist/lib/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_manage.js +0 -0
  104. /package/dist/lib/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_mcp.js +0 -0
  105. /package/dist/lib/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_optimize.js +0 -0
  106. /package/dist/lib/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_paas.js +0 -0
  107. /package/dist/lib/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_platform.js +0 -0
  108. /package/dist/lib/idls/{prompt_api → prompt_api2}/namespaces/mcp.js +0 -0
  109. /package/dist/lib/idls/{prompt_api → prompt_api2}/namespaces/model.js +0 -0
  110. /package/dist/lib/idls/{prompt_api → prompt_api2}/namespaces/permission.js +0 -0
  111. /package/dist/lib/idls/{prompt_api → prompt_api2}/namespaces/release.js +0 -0
  112. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/ai_annotate.d.ts +0 -0
  113. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/aidpcallback.d.ts +0 -0
  114. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/annotation_job.d.ts +0 -0
  115. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/base.d.ts +0 -0
  116. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/batch_infer.d.ts +0 -0
  117. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/dataprocess.d.ts +0 -0
  118. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/dataset.d.ts +0 -0
  119. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/datasetv2.d.ts +0 -0
  120. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/datasetv2job.d.ts +0 -0
  121. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/datasetv2similarity.d.ts +0 -0
  122. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/filter.d.ts +0 -0
  123. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/flow_devops_evaluation_callback_common.d.ts +0 -0
  124. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/flow_devops_prompt_common.d.ts +0 -0
  125. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/fornax_domain_model.d.ts +0 -0
  126. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/ml_flow_domain_model.d.ts +0 -0
  127. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/openapi.d.ts +0 -0
  128. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_annotateservice.d.ts +0 -0
  129. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_annotationjobservice.d.ts +0 -0
  130. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_batchinferservice.d.ts +0 -0
  131. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.d.ts +0 -0
  132. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_dataprocessservice.d.ts +0 -0
  133. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_datasetservice.d.ts +0 -0
  134. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_datasetservicev2.d.ts +0 -0
  135. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_modelservice.d.ts +0 -0
  136. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.d.ts +0 -0
  137. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.d.ts +0 -0
  138. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.d.ts +0 -0
  139. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/stone_fornax_ml_flow_tagservice.d.ts +0 -0
  140. /package/dist/types/idls/{fornax_ml_flow → fornax_ml_flow2}/namespaces/tag.d.ts +0 -0
  141. /package/dist/types/idls/{prompt_api → prompt_api2}/namespaces/base.d.ts +0 -0
  142. /package/dist/types/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_callback.d.ts +0 -0
  143. /package/dist/types/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_commercial_openapi.d.ts +0 -0
  144. /package/dist/types/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_common.d.ts +0 -0
  145. /package/dist/types/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_debug.d.ts +0 -0
  146. /package/dist/types/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_manage.d.ts +0 -0
  147. /package/dist/types/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_mcp.d.ts +0 -0
  148. /package/dist/types/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_optimize.d.ts +0 -0
  149. /package/dist/types/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_paas.d.ts +0 -0
  150. /package/dist/types/idls/{prompt_api → prompt_api2}/namespaces/flow_devops_prompt_platform.d.ts +0 -0
  151. /package/dist/types/idls/{prompt_api → prompt_api2}/namespaces/mcp.d.ts +0 -0
  152. /package/dist/types/idls/{prompt_api → prompt_api2}/namespaces/model.d.ts +0 -0
  153. /package/dist/types/idls/{prompt_api → prompt_api2}/namespaces/permission.d.ts +0 -0
  154. /package/dist/types/idls/{prompt_api → prompt_api2}/namespaces/release.d.ts +0 -0
@@ -1,25 +0,0 @@
1
- var LineageSourceType = /* @__PURE__ */ ((LineageSourceType2) => {
2
- LineageSourceType2[LineageSourceType2["Manual"] = 1] = "Manual";
3
- LineageSourceType2[LineageSourceType2["Dataset"] = 2] = "Dataset";
4
- LineageSourceType2[LineageSourceType2["FileStorage"] = 3] = "FileStorage";
5
- LineageSourceType2[LineageSourceType2["DataReflow"] = 4] = "DataReflow";
6
- LineageSourceType2[LineageSourceType2["DataAnnotation"] = 5] = "DataAnnotation";
7
- LineageSourceType2[LineageSourceType2["DataProcessing"] = 6] = "DataProcessing";
8
- LineageSourceType2[LineageSourceType2["DataGenerate"] = 7] = "DataGenerate";
9
- LineageSourceType2[LineageSourceType2["OpenAPI"] = 8] = "OpenAPI";
10
- LineageSourceType2[LineageSourceType2["CrowdsourcingAnnotation"] = 9] = "CrowdsourcingAnnotation";
11
- return LineageSourceType2;
12
- })(LineageSourceType || {});
13
- var TrackedJobType = /* @__PURE__ */ ((TrackedJobType2) => {
14
- TrackedJobType2[TrackedJobType2["DatasetIOJob"] = 1] = "DatasetIOJob";
15
- TrackedJobType2[TrackedJobType2["DataReflow"] = 2] = "DataReflow";
16
- TrackedJobType2[TrackedJobType2["DataAnnotation"] = 3] = "DataAnnotation";
17
- TrackedJobType2[TrackedJobType2["DataProcessing"] = 4] = "DataProcessing";
18
- TrackedJobType2[TrackedJobType2["DataGenerate"] = 5] = "DataGenerate";
19
- TrackedJobType2[TrackedJobType2["CrowdsourcingAnnotation"] = 6] = "CrowdsourcingAnnotation";
20
- return TrackedJobType2;
21
- })(TrackedJobType || {});
22
- export {
23
- LineageSourceType,
24
- TrackedJobType
25
- };
@@ -1,50 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var datasetv2lineage_exports = {};
20
- __export(datasetv2lineage_exports, {
21
- LineageSourceType: () => LineageSourceType,
22
- TrackedJobType: () => TrackedJobType
23
- });
24
- module.exports = __toCommonJS(datasetv2lineage_exports);
25
- var LineageSourceType = /* @__PURE__ */ ((LineageSourceType2) => {
26
- LineageSourceType2[LineageSourceType2["Manual"] = 1] = "Manual";
27
- LineageSourceType2[LineageSourceType2["Dataset"] = 2] = "Dataset";
28
- LineageSourceType2[LineageSourceType2["FileStorage"] = 3] = "FileStorage";
29
- LineageSourceType2[LineageSourceType2["DataReflow"] = 4] = "DataReflow";
30
- LineageSourceType2[LineageSourceType2["DataAnnotation"] = 5] = "DataAnnotation";
31
- LineageSourceType2[LineageSourceType2["DataProcessing"] = 6] = "DataProcessing";
32
- LineageSourceType2[LineageSourceType2["DataGenerate"] = 7] = "DataGenerate";
33
- LineageSourceType2[LineageSourceType2["OpenAPI"] = 8] = "OpenAPI";
34
- LineageSourceType2[LineageSourceType2["CrowdsourcingAnnotation"] = 9] = "CrowdsourcingAnnotation";
35
- return LineageSourceType2;
36
- })(LineageSourceType || {});
37
- var TrackedJobType = /* @__PURE__ */ ((TrackedJobType2) => {
38
- TrackedJobType2[TrackedJobType2["DatasetIOJob"] = 1] = "DatasetIOJob";
39
- TrackedJobType2[TrackedJobType2["DataReflow"] = 2] = "DataReflow";
40
- TrackedJobType2[TrackedJobType2["DataAnnotation"] = 3] = "DataAnnotation";
41
- TrackedJobType2[TrackedJobType2["DataProcessing"] = 4] = "DataProcessing";
42
- TrackedJobType2[TrackedJobType2["DataGenerate"] = 5] = "DataGenerate";
43
- TrackedJobType2[TrackedJobType2["CrowdsourcingAnnotation"] = 6] = "CrowdsourcingAnnotation";
44
- return TrackedJobType2;
45
- })(TrackedJobType || {});
46
- // Annotate the CommonJS export names for ESM import in node:
47
- 0 && (module.exports = {
48
- LineageSourceType,
49
- TrackedJobType
50
- });
@@ -1,69 +0,0 @@
1
- import * as datasetv2 from './datasetv2';
2
- export type Int64 = string | number;
3
- export declare enum LineageSourceType {
4
- Manual = 1,
5
- /** 需要根据 ItemSource.dataset.category 字段区分评测集/数据集/... */
6
- Dataset = 2,
7
- /** 需要根据 ItemSource.file.storage 字段区分HDFS/本地上传/... */
8
- FileStorage = 3,
9
- /** 暂无 */
10
- DataReflow = 4,
11
- /** 暂无 */
12
- DataAnnotation = 5,
13
- /** 暂无 */
14
- DataProcessing = 6,
15
- /** 暂无 */
16
- DataGenerate = 7,
17
- OpenAPI = 8,
18
- /** 众包标注任务 */
19
- CrowdsourcingAnnotation = 9,
20
- }
21
- export declare enum TrackedJobType {
22
- /** 数据导入任务 */
23
- DatasetIOJob = 1,
24
- /** 数据回流任务 */
25
- DataReflow = 2,
26
- /** 标注任务 */
27
- DataAnnotation = 3,
28
- /** 数据处理任务 */
29
- DataProcessing = 4,
30
- /** 数据生成任务 */
31
- DataGenerate = 5,
32
- /** 众包标注任务 */
33
- CrowdsourcingAnnotation = 6,
34
- }
35
- export interface ItemSource {
36
- type: LineageSourceType;
37
- /** 源 item 信息,可以为空 */
38
- trackedItem?: TrackedItem;
39
- /** 任务类型,根据该字段区分数据导入任务/数据回流任务/... */
40
- jobType?: TrackedJobType;
41
- /** item 关联的任务 id,为 0 表示无相应任务(例如数据是通过克隆另一数据行产生的) */
42
- jobID?: string;
43
- /** type = Dataset 时,从该字段获取数据集具体信息 */
44
- dataset?: TrackedDataset;
45
- /** type = FileStorage 时,从该字段获取文件信息 */
46
- file?: TrackedFile;
47
- createdAt?: string;
48
- }
49
- /** 源数据集信息(数据集 id 从 TrackedItem 中获取,此处不额外返回) */
50
- export interface TrackedDataset {
51
- /** 数据集类别,根据该字段区分评测集/数据集/... */
52
- category?: datasetv2.DatasetCategory;
53
- datasetName?: string;
54
- }
55
- export interface TrackedFile {
56
- /** 存储介质,根据该字段区分 hdfs/本地文件(即 ImageX)/... */
57
- storage?: datasetv2.StorageProvider;
58
- /** 用户上传文件的原始文件名 */
59
- originalFileName?: string;
60
- }
61
- export interface TrackedItem {
62
- spaceID?: string;
63
- datasetID?: string;
64
- itemID?: string;
65
- /** 版本号提交后的版本 id,为 0 表示为草稿版本 */
66
- versionID?: string;
67
- /** 版本号(三段式) */
68
- version?: string;
69
- }