@cozeloop/prompt-components 0.0.2 → 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.
- package/dist/es/basic-editor/custom-facet.js +9 -0
- package/dist/es/basic-editor/diff.js +138 -0
- package/dist/{go-syntax-067c4f5d.mjs → es/basic-editor/extensions/go-syntax.js} +9 -16
- package/dist/es/basic-editor/extensions/go-template.js +16 -0
- package/dist/{go-theme-062a6df6.mjs → es/basic-editor/extensions/go-theme.js} +4 -3
- package/dist/es/basic-editor/extensions/jinja.js +80 -0
- package/dist/es/basic-editor/extensions/keymap.js +442 -0
- package/dist/es/basic-editor/extensions/language-support.js +12 -0
- package/dist/es/basic-editor/extensions/markdown.js +58 -0
- package/dist/es/basic-editor/extensions/search/dom/icon.js +250 -0
- package/dist/es/basic-editor/extensions/search/dom/match-count.js +33 -0
- package/dist/es/basic-editor/extensions/search/index.js +18 -0
- package/dist/es/basic-editor/extensions/search/panel.js +418 -0
- package/dist/es/basic-editor/extensions/search/theme.js +184 -0
- package/dist/es/basic-editor/extensions/validation.js +84 -0
- package/dist/es/basic-editor/extensions/validation.module.js +5 -0
- package/dist/es/basic-editor/extensions/validation_module.css +7 -0
- package/dist/es/basic-editor/extensions/variable.js +178 -0
- package/dist/es/basic-editor/index.js +171 -0
- package/dist/es/code-editor/code-editor.js +83 -0
- package/dist/es/code-editor/index.js +12 -0
- package/dist/es/code-editor/json-editor.js +157 -0
- package/dist/es/code-editor/raw-text-editor.js +46 -0
- package/dist/es/code-editor/text-editor.js +41 -0
- package/dist/es/code-editor/themes/coze-dark.js +112 -0
- package/dist/es/code-editor/themes/coze-light.js +118 -0
- package/dist/es/consts/index.js +12 -0
- package/dist/es/dev-layout/index.js +35 -0
- package/dist/es/idls/fornax_ml_flow2/index.js +2293 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/ai_annotate.js +41 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/aidpcallback.js +108 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/annotation_job.js +52 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/base.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/batch_infer.js +72 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/dataprocess.js +10 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/dataset.js +36 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/datasetv2.js +139 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/datasetv2job.js +40 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/datasetv2similarity.js +12 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/filter.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/flow_devops_evaluation_callback_common.js +36 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/flow_devops_prompt_common.js +318 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/fornax_domain_model.js +326 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/ml_flow_domain_model.js +327 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/openapi.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotateservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotationjobservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_batchinferservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_dataprocessservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservicev2.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_modelservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_tagservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/tag.js +33 -0
- package/dist/es/idls/prompt_api2/index.js +1995 -0
- package/dist/es/idls/prompt_api2/namespaces/base.js +0 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_callback.js +35 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_commercial_openapi.js +0 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_common.js +318 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_debug.js +0 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_manage.js +23 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_mcp.js +0 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_optimize.js +0 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_paas.js +43 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_platform.js +0 -0
- package/dist/es/idls/prompt_api2/namespaces/mcp.js +9 -0
- package/dist/es/idls/prompt_api2/namespaces/model.js +320 -0
- package/dist/es/idls/prompt_api2/namespaces/permission.js +47 -0
- package/dist/es/idls/prompt_api2/namespaces/release.js +25 -0
- package/dist/es/index.js +66 -0
- package/dist/es/mermaid-diagram/index.js +148 -0
- package/dist/es/mermaid-diagram/index.module.js +5 -0
- package/dist/es/mermaid-diagram/index_module.css +4 -0
- package/dist/es/mermaid-diagram/use-svg-pan-zoom.js +49 -0
- package/dist/es/mermaid-diagram/utils.js +74 -0
- package/dist/es/model-config-editor/basic-type.js +71 -0
- package/dist/es/model-config-editor/index.module.js +5 -0
- package/dist/es/model-config-editor/index_module.css +8 -0
- package/dist/es/model-config-editor/model-config-form.js +132 -0
- package/dist/es/model-config-editor/popover-type.js +118 -0
- package/dist/es/model-select/index.js +136 -0
- package/dist/es/model-select/index.module.js +5 -0
- package/dist/es/model-select/index_module.css +14 -0
- package/dist/es/model-select/model-option/index.js +161 -0
- package/dist/es/model-select/model-option/index.module.js +5 -0
- package/dist/es/model-select/model-option/index_module.css +23 -0
- package/dist/es/model-select/model-option-group/index.js +44 -0
- package/dist/es/prompt-editor/index.js +188 -0
- package/dist/es/prompt-editor/index.module.js +5 -0
- package/dist/es/prompt-editor/index_module.css +71 -0
- package/dist/es/prompt-editor/message-type-select.js +74 -0
- package/dist/es/schema-editor/index.js +43 -0
- package/dist/es/utils/base.js +53 -0
- package/dist/es/utils/model-config.js +32 -0
- package/dist/lib/basic-editor/custom-facet.js +33 -0
- package/dist/lib/basic-editor/diff.js +167 -0
- package/dist/lib/basic-editor/extensions/go-syntax.js +146 -0
- package/dist/lib/basic-editor/extensions/go-template.js +50 -0
- package/dist/lib/basic-editor/extensions/go-theme.js +1091 -0
- package/dist/lib/basic-editor/extensions/jinja.js +100 -0
- package/dist/lib/basic-editor/extensions/keymap.js +465 -0
- package/dist/lib/basic-editor/extensions/language-support.js +32 -0
- package/dist/lib/basic-editor/extensions/markdown.js +78 -0
- package/dist/lib/basic-editor/extensions/search/dom/icon.js +291 -0
- package/dist/lib/basic-editor/extensions/search/dom/match-count.js +67 -0
- package/dist/lib/basic-editor/extensions/search/index.js +38 -0
- package/dist/lib/basic-editor/extensions/search/panel.js +429 -0
- package/dist/lib/basic-editor/extensions/search/theme.js +208 -0
- package/dist/lib/basic-editor/extensions/validation.js +118 -0
- package/dist/lib/basic-editor/extensions/validation.module.js +25 -0
- package/dist/lib/basic-editor/extensions/validation_module.css +7 -0
- package/dist/lib/basic-editor/extensions/variable.js +190 -0
- package/dist/lib/basic-editor/index.js +193 -0
- package/dist/lib/code-editor/code-editor.js +117 -0
- package/dist/lib/code-editor/index.js +40 -0
- package/dist/lib/code-editor/json-editor.js +184 -0
- package/dist/lib/code-editor/raw-text-editor.js +70 -0
- package/dist/lib/code-editor/text-editor.js +75 -0
- package/dist/lib/code-editor/themes/coze-dark.js +136 -0
- package/dist/lib/code-editor/themes/coze-light.js +142 -0
- package/dist/lib/consts/index.js +38 -0
- package/dist/lib/dev-layout/index.js +69 -0
- package/dist/lib/idls/fornax_ml_flow2/index.js +2355 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/ai_annotate.js +69 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/aidpcallback.js +140 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/annotation_job.js +82 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/base.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/batch_infer.js +105 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/dataprocess.js +34 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/dataset.js +63 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/datasetv2.js +177 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/datasetv2job.js +68 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/datasetv2similarity.js +37 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/filter.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/flow_devops_evaluation_callback_common.js +62 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/flow_devops_prompt_common.js +378 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/fornax_domain_model.js +384 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/ml_flow_domain_model.js +385 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/openapi.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotateservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotationjobservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_batchinferservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_dataprocessservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservicev2.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_modelservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_tagservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/tag.js +60 -0
- package/dist/lib/idls/prompt_api2/index.js +2042 -0
- package/dist/lib/idls/prompt_api2/namespaces/base.js +16 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_callback.js +62 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_commercial_openapi.js +16 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_common.js +378 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_debug.js +16 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_manage.js +49 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_mcp.js +16 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_optimize.js +16 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_paas.js +72 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_platform.js +16 -0
- package/dist/lib/idls/prompt_api2/namespaces/mcp.js +33 -0
- package/dist/lib/idls/prompt_api2/namespaces/model.js +377 -0
- package/dist/lib/idls/prompt_api2/namespaces/permission.js +72 -0
- package/dist/lib/idls/prompt_api2/namespaces/release.js +50 -0
- package/dist/lib/index.js +110 -0
- package/dist/lib/mermaid-diagram/index.js +174 -0
- package/dist/lib/mermaid-diagram/index.module.js +25 -0
- package/dist/lib/mermaid-diagram/index_module.css +4 -0
- package/dist/lib/mermaid-diagram/use-svg-pan-zoom.js +83 -0
- package/dist/lib/mermaid-diagram/utils.js +98 -0
- package/dist/lib/model-config-editor/basic-type.js +103 -0
- package/dist/lib/model-config-editor/index.module.js +25 -0
- package/dist/lib/model-config-editor/index_module.css +8 -0
- package/dist/lib/model-config-editor/model-config-form.js +151 -0
- package/dist/lib/model-config-editor/popover-type.js +145 -0
- package/dist/lib/model-select/index.js +170 -0
- package/dist/lib/model-select/index.module.js +25 -0
- package/dist/lib/model-select/index_module.css +14 -0
- package/dist/lib/model-select/model-option/index.js +188 -0
- package/dist/lib/model-select/model-option/index.module.js +25 -0
- package/dist/lib/model-select/model-option/index_module.css +23 -0
- package/dist/lib/model-select/model-option-group/index.js +75 -0
- package/dist/lib/prompt-editor/index.js +218 -0
- package/dist/lib/prompt-editor/index.module.js +25 -0
- package/dist/lib/prompt-editor/index_module.css +71 -0
- package/dist/lib/prompt-editor/message-type-select.js +108 -0
- package/dist/lib/schema-editor/index.js +77 -0
- package/dist/lib/utils/base.js +82 -0
- package/dist/lib/utils/model-config.js +57 -0
- package/dist/{src → types}/basic-editor/custom-facet.d.ts +1 -2
- package/dist/types/basic-editor/diff.d.ts +15 -0
- package/dist/types/basic-editor/extensions/go-syntax.d.ts +71 -0
- package/dist/types/basic-editor/extensions/go-template.d.ts +1 -0
- package/dist/{src → types}/basic-editor/extensions/go-theme.d.ts +1 -1
- package/dist/types/basic-editor/extensions/jinja.d.ts +6 -0
- package/dist/{src → types}/basic-editor/extensions/keymap.d.ts +2 -3
- package/dist/types/basic-editor/extensions/language-support.d.ts +2 -0
- package/dist/types/basic-editor/extensions/markdown.d.ts +2 -0
- package/dist/types/basic-editor/extensions/search/dom/icon.d.ts +59 -0
- package/dist/types/basic-editor/extensions/search/dom/match-count.d.ts +14 -0
- package/dist/types/basic-editor/extensions/search/index.d.ts +1 -0
- package/dist/types/basic-editor/extensions/search/panel.d.ts +32 -0
- package/dist/types/basic-editor/extensions/search/theme.d.ts +1 -0
- package/dist/types/basic-editor/extensions/validation.d.ts +10 -0
- package/dist/types/basic-editor/extensions/variable.d.ts +14 -0
- package/dist/types/basic-editor/index.d.ts +28 -0
- package/dist/types/code-editor/code-editor.d.ts +23 -0
- package/dist/{src → types}/code-editor/index.d.ts +1 -1
- package/dist/types/code-editor/json-editor.d.ts +17 -0
- package/dist/types/code-editor/raw-text-editor.d.ts +11 -0
- package/dist/types/code-editor/text-editor.d.ts +23 -0
- package/dist/types/code-editor/themes/coze-dark.d.ts +1 -0
- package/dist/types/code-editor/themes/coze-light.d.ts +1 -0
- package/dist/{src → types}/consts/index.d.ts +1 -1
- package/dist/types/dev-layout/index.d.ts +13 -0
- package/dist/types/idls/fornax_ml_flow2/index.d.ts +750 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/ai_annotate.d.ts +102 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/aidpcallback.d.ts +227 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/annotation_job.d.ts +402 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/base.d.ts +18 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/batch_infer.d.ts +331 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/dataprocess.d.ts +16 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/dataset.d.ts +88 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/datasetv2.d.ts +462 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/datasetv2job.d.ts +180 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/datasetv2similarity.d.ts +8 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/filter.d.ts +39 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/flow_devops_evaluation_callback_common.d.ts +88 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/flow_devops_prompt_common.d.ts +370 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/fornax_domain_model.d.ts +320 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/ml_flow_domain_model.d.ts +510 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/openapi.d.ts +6 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotateservice.d.ts +106 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotationjobservice.d.ts +256 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_batchinferservice.d.ts +73 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.d.ts +94 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_dataprocessservice.d.ts +11 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservice.d.ts +24 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservicev2.d.ts +653 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_modelservice.d.ts +83 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.d.ts +81 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.d.ts +24 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.d.ts +260 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_tagservice.d.ts +111 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/tag.d.ts +109 -0
- package/dist/types/idls/prompt_api2/index.d.ts +653 -0
- package/dist/types/idls/prompt_api2/namespaces/base.d.ts +18 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_callback.d.ts +102 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_commercial_openapi.d.ts +81 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_common.d.ts +1270 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_debug.d.ts +197 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_manage.d.ts +769 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_mcp.d.ts +301 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_optimize.d.ts +155 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_paas.d.ts +198 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_platform.d.ts +230 -0
- package/dist/types/idls/prompt_api2/namespaces/mcp.d.ts +95 -0
- package/dist/types/idls/prompt_api2/namespaces/model.d.ts +315 -0
- package/dist/types/idls/prompt_api2/namespaces/permission.d.ts +52 -0
- package/dist/types/idls/prompt_api2/namespaces/release.d.ts +62 -0
- package/dist/{src → types}/index.d.ts +7 -7
- package/dist/types/mermaid-diagram/index.d.ts +12 -0
- package/dist/types/mermaid-diagram/use-svg-pan-zoom.d.ts +17 -0
- package/dist/{src → types}/mermaid-diagram/utils.d.ts +1 -1
- package/dist/types/model-config-editor/basic-type.d.ts +19 -0
- package/dist/types/model-config-editor/model-config-form.d.ts +14 -0
- package/dist/types/model-config-editor/popover-type.d.ts +25 -0
- package/dist/types/model-select/index.d.ts +38 -0
- package/dist/types/model-select/model-option/index.d.ts +30 -0
- package/dist/types/model-select/model-option-group/index.d.ts +15 -0
- package/dist/types/prompt-editor/index.d.ts +30 -0
- package/dist/types/prompt-editor/message-type-select.d.ts +16 -0
- package/dist/types/schema-editor/index.d.ts +18 -0
- package/dist/{src → types}/utils/base.d.ts +4 -5
- package/dist/types/utils/model-config.d.ts +4 -0
- package/package.json +9 -13
- package/dist/edenx.config.d.ts +0 -2
- package/dist/go-syntax-4deb0289.js +0 -8
- package/dist/go-theme-fbd8a4fa.js +0 -1
- package/dist/index.cjs +0 -61
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -2788
- package/dist/src/basic-editor/diff.d.ts +0 -16
- package/dist/src/basic-editor/extensions/go-syntax.d.ts +0 -71
- package/dist/src/basic-editor/extensions/go-template.d.ts +0 -1
- package/dist/src/basic-editor/extensions/jinja.d.ts +0 -4
- package/dist/src/basic-editor/extensions/language-support.d.ts +0 -2
- package/dist/src/basic-editor/extensions/markdown.d.ts +0 -2
- package/dist/src/basic-editor/extensions/search/dom/icon.d.ts +0 -59
- package/dist/src/basic-editor/extensions/search/dom/match-count.d.ts +0 -14
- package/dist/src/basic-editor/extensions/search/index.d.ts +0 -1
- package/dist/src/basic-editor/extensions/search/panel.d.ts +0 -33
- package/dist/src/basic-editor/extensions/search/theme.d.ts +0 -1
- package/dist/src/basic-editor/extensions/validation.d.ts +0 -8
- package/dist/src/basic-editor/extensions/variable.d.ts +0 -11
- package/dist/src/basic-editor/index.d.ts +0 -29
- package/dist/src/code-editor/json-editor.d.ts +0 -18
- package/dist/src/code-editor/raw-text-editor.d.ts +0 -11
- package/dist/src/dev-layout/index.d.ts +0 -7
- package/dist/src/mermaid-diagram/index.d.ts +0 -12
- package/dist/src/mermaid-diagram/use-svg-pan-zoom.d.ts +0 -12
- package/dist/src/model-config-editor/basic-type.d.ts +0 -13
- package/dist/src/model-config-editor/model-config-form.d.ts +0 -13
- package/dist/src/model-config-editor/popover-type.d.ts +0 -19
- package/dist/src/model-select/index.d.ts +0 -27
- package/dist/src/model-select/model-option/index.d.ts +0 -25
- package/dist/src/model-select/model-option-group/index.d.ts +0 -16
- package/dist/src/prompt-editor/index.d.ts +0 -31
- package/dist/src/prompt-editor/message-type-select.d.ts +0 -11
- package/dist/src/schema-editor/index.d.ts +0 -11
- package/dist/src/utils/model-config.d.ts +0 -5
- package/dist/style.css +0 -1
- package/dist/test-build.d.ts +0 -7
- package/dist/vite.config.d.ts +0 -2
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
import * as filter from './filter';
|
|
2
|
+
import * as flow_devops_prompt_common from './flow_devops_prompt_common';
|
|
3
|
+
import * as batch_infer from './batch_infer';
|
|
4
|
+
export type Int64 = string | number;
|
|
5
|
+
export declare enum AIAnnotatorCategory {
|
|
6
|
+
/** 在线 */
|
|
7
|
+
Online = 1,
|
|
8
|
+
/** 离线 */
|
|
9
|
+
Offline = 2,
|
|
10
|
+
}
|
|
11
|
+
export declare enum AnnotationType {
|
|
12
|
+
/** 大模型打标 */
|
|
13
|
+
AI = 1,
|
|
14
|
+
/** 规则打标 */
|
|
15
|
+
Rule = 2,
|
|
16
|
+
/** 手动打标 */
|
|
17
|
+
Manual = 3,
|
|
18
|
+
}
|
|
19
|
+
export declare enum CrowdsourcingAnnotateJobStatus {
|
|
20
|
+
Undefined = 0,
|
|
21
|
+
Sending = 1,
|
|
22
|
+
In_Progress = 2,
|
|
23
|
+
Abnormal = 3,
|
|
24
|
+
Completed = 4,
|
|
25
|
+
Terminated = 5,
|
|
26
|
+
}
|
|
27
|
+
export declare enum CrowdsourcingAnnotationPlatform {
|
|
28
|
+
Undefined = 0,
|
|
29
|
+
AIDP = 1,
|
|
30
|
+
AIDP_Lite = 2,
|
|
31
|
+
}
|
|
32
|
+
export declare enum DataSelectScope {
|
|
33
|
+
Undefined = 0,
|
|
34
|
+
All = 1,
|
|
35
|
+
Filtered = 2,
|
|
36
|
+
Manually_Selected = 3,
|
|
37
|
+
}
|
|
38
|
+
export declare enum RuleAnnotatorCategory {
|
|
39
|
+
/** python */
|
|
40
|
+
Python = 1,
|
|
41
|
+
}
|
|
42
|
+
export declare enum ThinkingOutputBehavior {
|
|
43
|
+
UNSPECIFIED = 0,
|
|
44
|
+
WithoutThinking = 1,
|
|
45
|
+
ThinkingToSpecifiedColumn = 2,
|
|
46
|
+
}
|
|
47
|
+
export interface AIAnnotator {
|
|
48
|
+
/** 该字段和内层的PromptCategory含义不同,代表是否关联已有评估器,当前没有用到该字段 */
|
|
49
|
+
category?: AIAnnotatorCategory;
|
|
50
|
+
onlineAIAnnotator?: OnlineAIAnnotator;
|
|
51
|
+
offlineAIAnnotator?: OfflineAIAnnotator;
|
|
52
|
+
}
|
|
53
|
+
export interface AIDPConfig {
|
|
54
|
+
/** AIDP 用户 ID */
|
|
55
|
+
userID: string;
|
|
56
|
+
/** AIDP 任务 ID */
|
|
57
|
+
taskID: string;
|
|
58
|
+
/** 任务名称 */
|
|
59
|
+
taskName: string;
|
|
60
|
+
/** 任务详情链接,返回字段 */
|
|
61
|
+
taskURL?: string;
|
|
62
|
+
answerSchema?: string;
|
|
63
|
+
}
|
|
64
|
+
export interface AIDPField {
|
|
65
|
+
key?: string;
|
|
66
|
+
name?: string;
|
|
67
|
+
}
|
|
68
|
+
export interface AIDPFlowNode {
|
|
69
|
+
nodeID?: string;
|
|
70
|
+
name?: string;
|
|
71
|
+
}
|
|
72
|
+
export interface AIDPTaskFlowConfig {
|
|
73
|
+
nodes?: Array<AIDPFlowNode>;
|
|
74
|
+
requiredFields?: Array<AIDPField>;
|
|
75
|
+
}
|
|
76
|
+
export interface AIDPTaskSummary {
|
|
77
|
+
/** 任务ID */
|
|
78
|
+
taskID?: string;
|
|
79
|
+
/** 任务名称 */
|
|
80
|
+
title?: string;
|
|
81
|
+
/** 项目名称 */
|
|
82
|
+
projectName?: string;
|
|
83
|
+
/** 回调配置 */
|
|
84
|
+
callbackOpts?: CallbackOpts;
|
|
85
|
+
/** 答案模板ID */
|
|
86
|
+
templateID?: string;
|
|
87
|
+
/** 任务链接 */
|
|
88
|
+
taskURL?: string;
|
|
89
|
+
}
|
|
90
|
+
export interface AnnotateStatusDetail {
|
|
91
|
+
/** 总数据量 */
|
|
92
|
+
inputSize?: string;
|
|
93
|
+
/** 已送标数据量 */
|
|
94
|
+
sent?: string;
|
|
95
|
+
/** 已取标数据量 */
|
|
96
|
+
received?: string;
|
|
97
|
+
}
|
|
98
|
+
export interface AnnotationConfig {
|
|
99
|
+
/** 标注任务类型 */
|
|
100
|
+
annotationType?: AnnotationType;
|
|
101
|
+
/** 大模型打标器配置 */
|
|
102
|
+
aiAnnotator?: AIAnnotator;
|
|
103
|
+
/** 规则打标器配置 */
|
|
104
|
+
ruleAnnotator?: RuleAnnotator;
|
|
105
|
+
}
|
|
106
|
+
export interface AnnotationJob {
|
|
107
|
+
/** 主键ID */
|
|
108
|
+
id?: string;
|
|
109
|
+
appId?: string;
|
|
110
|
+
spaceId?: string;
|
|
111
|
+
/** JobID */
|
|
112
|
+
annotationJobId?: string;
|
|
113
|
+
jobDomain?: string;
|
|
114
|
+
targetID?: string;
|
|
115
|
+
/** 任务的版本,非数据集版本 */
|
|
116
|
+
version?: string;
|
|
117
|
+
/** 状态:active/inactive */
|
|
118
|
+
status?: string;
|
|
119
|
+
name?: string;
|
|
120
|
+
annotationConfig?: AnnotationConfig;
|
|
121
|
+
targetResourceName?: string;
|
|
122
|
+
extra?: string;
|
|
123
|
+
/** 通用信息 */
|
|
124
|
+
createdAt?: string;
|
|
125
|
+
createdBy?: string;
|
|
126
|
+
updatedAt?: string;
|
|
127
|
+
updatedBy?: string;
|
|
128
|
+
}
|
|
129
|
+
export interface AnnotationJobRunInstance {
|
|
130
|
+
/** 运行后产生的Job实例ID */
|
|
131
|
+
annotationJobRunID?: string;
|
|
132
|
+
/** 总条数 */
|
|
133
|
+
total?: number;
|
|
134
|
+
/** 成功条数 */
|
|
135
|
+
successCnt?: number;
|
|
136
|
+
/** 失败条数 */
|
|
137
|
+
failedCnt?: number;
|
|
138
|
+
/** 任务状态,running/success/failed/canceled/partial_success */
|
|
139
|
+
status?: string;
|
|
140
|
+
/** 仅在 GetAnnotationJobProcess 接口返回,用于轮询查询输出列关联的打标任务 */
|
|
141
|
+
outputFieldKeys?: Array<string>;
|
|
142
|
+
/** JobID非ID */
|
|
143
|
+
jobID?: string;
|
|
144
|
+
job?: AnnotationJob;
|
|
145
|
+
createdBy?: string;
|
|
146
|
+
createdAt?: string;
|
|
147
|
+
endAt?: string;
|
|
148
|
+
runLog?: AnnotationJobRunLog;
|
|
149
|
+
}
|
|
150
|
+
export interface AnnotationJobRunLog {
|
|
151
|
+
/** 错误日志 */
|
|
152
|
+
errorMsg?: string;
|
|
153
|
+
/** 离线任务的跳转链接 */
|
|
154
|
+
offlineJobProviderUrl?: string;
|
|
155
|
+
}
|
|
156
|
+
export interface Annotator {
|
|
157
|
+
/** 类型: 手工manual、关联associated */
|
|
158
|
+
category?: string;
|
|
159
|
+
/** 手工配置 */
|
|
160
|
+
manualAnnotator?: ManualAnnotator;
|
|
161
|
+
}
|
|
162
|
+
export interface CallbackOpts {
|
|
163
|
+
CallbackType?: string;
|
|
164
|
+
}
|
|
165
|
+
export interface CrowdsourcingAnnotateInputConfig {
|
|
166
|
+
/** 输入数据集ID */
|
|
167
|
+
inputDatasetID: string;
|
|
168
|
+
/** 输入数据集名 */
|
|
169
|
+
inputDatasetName: string;
|
|
170
|
+
/** 输入数据集版本 */
|
|
171
|
+
inputDatasetVersionNum: string;
|
|
172
|
+
/** 输入数据集Veriosn主键 */
|
|
173
|
+
inputDatasetVersionID: string;
|
|
174
|
+
/** 三段式版本号返回字段 */
|
|
175
|
+
inputDatasetVersion?: string;
|
|
176
|
+
/** 需要标注数据的itemID */
|
|
177
|
+
itemIDs?: Array<Int64>;
|
|
178
|
+
/** 数据筛选条件,待定看标签的具体实现 */
|
|
179
|
+
filter?: filter.Filter;
|
|
180
|
+
/** 返回字段 */
|
|
181
|
+
fieldMeta?: filter.FieldMetaInfoData;
|
|
182
|
+
/** 返回字段 */
|
|
183
|
+
total?: number;
|
|
184
|
+
/** 发送字段映射配置 */
|
|
185
|
+
inputMappings: Array<InputMapping>;
|
|
186
|
+
/** 数据范围 */
|
|
187
|
+
dataSelectScope?: DataSelectScope;
|
|
188
|
+
}
|
|
189
|
+
export interface CrowdsourcingAnnotateJob {
|
|
190
|
+
/** 主键 */
|
|
191
|
+
id?: string;
|
|
192
|
+
name?: string;
|
|
193
|
+
description?: string;
|
|
194
|
+
platform?: CrowdsourcingAnnotationPlatform;
|
|
195
|
+
/** AIDP 配置 */
|
|
196
|
+
aidpConfig?: AIDPConfig;
|
|
197
|
+
/** 送标配置 */
|
|
198
|
+
inputConfig?: CrowdsourcingAnnotateInputConfig;
|
|
199
|
+
/** 取标配置 */
|
|
200
|
+
outputConfig?: CrowdsourcingAnnotateOutputConfig;
|
|
201
|
+
/** 数据详情存储的数据集ID */
|
|
202
|
+
InternalDatasetID?: string;
|
|
203
|
+
/** 任务状态 */
|
|
204
|
+
status?: CrowdsourcingAnnotateJobStatus;
|
|
205
|
+
/** 失败的原因 */
|
|
206
|
+
terminateReason?: string;
|
|
207
|
+
/** 任务进展 */
|
|
208
|
+
statusDetail?: AnnotateStatusDetail;
|
|
209
|
+
/** 创建时间 */
|
|
210
|
+
createdAt?: string;
|
|
211
|
+
/** 更新时间/结束时间 */
|
|
212
|
+
updatedAt?: string;
|
|
213
|
+
/** 创建人 */
|
|
214
|
+
createdBy?: string;
|
|
215
|
+
}
|
|
216
|
+
export interface CrowdsourcingAnnotateOutputConfig {
|
|
217
|
+
/** 是否自动取标 */
|
|
218
|
+
isAutoFetchRes: boolean;
|
|
219
|
+
/** 是否自动输出到新数据集 */
|
|
220
|
+
isAutoExportToNewDataset: boolean;
|
|
221
|
+
/** 输出数据集名称 */
|
|
222
|
+
outputDatasetName?: string;
|
|
223
|
+
/** 输出数据集ID 返回字段 */
|
|
224
|
+
outputDatasetID?: string;
|
|
225
|
+
/** 是否拆解标注结果 */
|
|
226
|
+
isParseAnnotateRes: boolean;
|
|
227
|
+
/** 输出映射 */
|
|
228
|
+
outputMappings?: Array<OutputMapping>;
|
|
229
|
+
}
|
|
230
|
+
export interface InputMapping {
|
|
231
|
+
/** 输入类型: 固定值fixed、关联字段use_column、之前输入former_model_input、之前输出former_model_output */
|
|
232
|
+
sourceType?: string;
|
|
233
|
+
/** 输入值 */
|
|
234
|
+
sourceValue?: string;
|
|
235
|
+
/** 输出类型: prompt变量名prompt_var_name */
|
|
236
|
+
targetType?: string;
|
|
237
|
+
/** 输出值 */
|
|
238
|
+
targetValue?: string;
|
|
239
|
+
/** 如果是列这个字段可以存储name */
|
|
240
|
+
sourceName?: string;
|
|
241
|
+
}
|
|
242
|
+
export interface ManualAnnotator {
|
|
243
|
+
/** 模型配置 */
|
|
244
|
+
model?: flow_devops_prompt_common.ModelConfig;
|
|
245
|
+
/** prompt类型:手工manual、关联associated */
|
|
246
|
+
promptCategory?: string;
|
|
247
|
+
/** 手工填入的数据内容 */
|
|
248
|
+
promptContent?: string;
|
|
249
|
+
/** 关联时 */
|
|
250
|
+
promptID?: string;
|
|
251
|
+
/** 关联时 */
|
|
252
|
+
promptVersion?: string;
|
|
253
|
+
userPromptColumnName?: string;
|
|
254
|
+
/** 输入映射 */
|
|
255
|
+
inputMappings?: Array<InputMapping>;
|
|
256
|
+
/** 输出映射 */
|
|
257
|
+
outputMappings?: Array<OutputMapping>;
|
|
258
|
+
/** thinking输出映射,当ThinkingOutputBehavior=ThinkingToSpecifiedColumn时使用 */
|
|
259
|
+
thinkingOutputMapping?: OutputMapping;
|
|
260
|
+
}
|
|
261
|
+
export interface OfflineAIAnnotator {
|
|
262
|
+
/** 批量推理配置
|
|
263
|
+
模型来源 */
|
|
264
|
+
batchInferprovider?: batch_infer.Provider;
|
|
265
|
+
/** 模型配置 & 资源配置 */
|
|
266
|
+
batchInferProviderInfo?: batch_infer.ProviderInfo;
|
|
267
|
+
/** 模型参数 */
|
|
268
|
+
batchInferParam?: batch_infer.BatchInferParam;
|
|
269
|
+
/** 任务配置
|
|
270
|
+
prompt类型 manual/associated/none */
|
|
271
|
+
promptCategory?: string;
|
|
272
|
+
/** 手工填入的数据内容 */
|
|
273
|
+
promptContent?: string;
|
|
274
|
+
/** 关联时 */
|
|
275
|
+
promptID?: string;
|
|
276
|
+
/** 关联时 */
|
|
277
|
+
promptVersion?: string;
|
|
278
|
+
userPromptColumnName?: string;
|
|
279
|
+
/** 输入映射 */
|
|
280
|
+
inputMappings?: Array<InputMapping>;
|
|
281
|
+
/** 输出映射 */
|
|
282
|
+
outputMappings?: Array<OutputMapping>;
|
|
283
|
+
/** 仅为空值打标 */
|
|
284
|
+
onlyForEmpty?: boolean;
|
|
285
|
+
/** 仅为失败打标 */
|
|
286
|
+
onlyForFailed?: boolean;
|
|
287
|
+
/** 允许未配置的标签选项 */
|
|
288
|
+
allowUndefinedTagValues?: boolean;
|
|
289
|
+
}
|
|
290
|
+
export interface OnlineAIAnnotator {
|
|
291
|
+
/** 标注器配置 */
|
|
292
|
+
annotator?: Annotator;
|
|
293
|
+
/** 推理次数 */
|
|
294
|
+
inferRound?: number;
|
|
295
|
+
/** 批处理数据量 */
|
|
296
|
+
batchSize?: number;
|
|
297
|
+
/** 仅为空值打标 */
|
|
298
|
+
onlyForEmpty?: boolean;
|
|
299
|
+
/** 仅为失败打标 */
|
|
300
|
+
onlyForFailed?: boolean;
|
|
301
|
+
/** 允许未配置的标签选项 */
|
|
302
|
+
allowUndefinedTagValues?: boolean;
|
|
303
|
+
/** 自动更新 */
|
|
304
|
+
autoUpdate?: boolean;
|
|
305
|
+
/** 打标并发度 */
|
|
306
|
+
executeConcurrency?: number;
|
|
307
|
+
/** 输出模型thinking过程的策略 */
|
|
308
|
+
thinkingOutputBehavior?: ThinkingOutputBehavior;
|
|
309
|
+
}
|
|
310
|
+
export interface OutputMapping {
|
|
311
|
+
/** 输入类型: plain、json_path */
|
|
312
|
+
sourceType?: string;
|
|
313
|
+
/** 输入值 */
|
|
314
|
+
sourceValue?: string;
|
|
315
|
+
/** 输出类型: use_column、plain */
|
|
316
|
+
targetType?: string;
|
|
317
|
+
/** 输出值 */
|
|
318
|
+
targetValue?: string;
|
|
319
|
+
/** targetType是use_column时标识是否是新建列 */
|
|
320
|
+
isNewColumn?: boolean;
|
|
321
|
+
/** 输入值的标签/name */
|
|
322
|
+
sourceName?: string;
|
|
323
|
+
}
|
|
324
|
+
export interface PassKTask {
|
|
325
|
+
/** 推理模型配置 */
|
|
326
|
+
reasoner?: Annotator;
|
|
327
|
+
/** 推理次数 */
|
|
328
|
+
inferenceRound?: number;
|
|
329
|
+
/** 评估器配置 */
|
|
330
|
+
judge?: Annotator;
|
|
331
|
+
/** 正确阈值 */
|
|
332
|
+
positiveThreshold?: number;
|
|
333
|
+
}
|
|
334
|
+
export interface QualityScoreJob {
|
|
335
|
+
/** 唯一ID,创建时不传 */
|
|
336
|
+
id?: string;
|
|
337
|
+
/** appID,创建时不传 */
|
|
338
|
+
appID?: number;
|
|
339
|
+
/** 空间ID,创建时不传 */
|
|
340
|
+
spaceID?: string;
|
|
341
|
+
/** 数据集ID,创建时不传 */
|
|
342
|
+
datasetID?: string;
|
|
343
|
+
/** 版本号,创建时不传 */
|
|
344
|
+
version?: string;
|
|
345
|
+
/** job ID,创建时不传 */
|
|
346
|
+
jobID?: string;
|
|
347
|
+
/** 任务名字, 可不传 */
|
|
348
|
+
name?: string;
|
|
349
|
+
/** 任务状态: active、inactive */
|
|
350
|
+
status?: string;
|
|
351
|
+
/** 标注任务类型: passk */
|
|
352
|
+
category?: string;
|
|
353
|
+
/** passKTask 任务内容 */
|
|
354
|
+
passKTask?: PassKTask;
|
|
355
|
+
/** 是否自动计算新增数据 */
|
|
356
|
+
autoCalculateNewData?: boolean;
|
|
357
|
+
/** 通用信息 */
|
|
358
|
+
createdAt?: string;
|
|
359
|
+
createdBy?: string;
|
|
360
|
+
updatedAt?: string;
|
|
361
|
+
updatedBy?: string;
|
|
362
|
+
}
|
|
363
|
+
export interface QualityScoreJobInstance {
|
|
364
|
+
/** instance唯一id */
|
|
365
|
+
id?: string;
|
|
366
|
+
/** 任务ID */
|
|
367
|
+
jobID?: string;
|
|
368
|
+
/** 总条数 */
|
|
369
|
+
total?: number;
|
|
370
|
+
/** 成功条数 */
|
|
371
|
+
successCnt?: number;
|
|
372
|
+
/** 失败条数 */
|
|
373
|
+
failedCnt?: number;
|
|
374
|
+
/** 任务状态 */
|
|
375
|
+
status?: string;
|
|
376
|
+
}
|
|
377
|
+
export interface RuleAnnotator {
|
|
378
|
+
/** 规则类型 */
|
|
379
|
+
category?: RuleAnnotatorCategory;
|
|
380
|
+
/** 规则内容 */
|
|
381
|
+
content?: string;
|
|
382
|
+
/** 输入映射 */
|
|
383
|
+
inputMappings?: Array<InputMapping>;
|
|
384
|
+
/** 输出映射 */
|
|
385
|
+
outputMappings?: Array<OutputMapping>;
|
|
386
|
+
/** 允许未配置的标签选项 */
|
|
387
|
+
allowUndefinedTagValues?: boolean;
|
|
388
|
+
/** 仅为空值打标 */
|
|
389
|
+
onlyForEmpty?: boolean;
|
|
390
|
+
/** 仅为失败项打标 */
|
|
391
|
+
onlyForFailed?: boolean;
|
|
392
|
+
}
|
|
393
|
+
export interface SearchConfig {
|
|
394
|
+
/** 数据集ID */
|
|
395
|
+
datasetID?: string;
|
|
396
|
+
/** 搜索的任务名称 */
|
|
397
|
+
jobName?: string;
|
|
398
|
+
/** 搜索的任务ID */
|
|
399
|
+
jobID?: string;
|
|
400
|
+
/** 搜索的创建人 */
|
|
401
|
+
createdBy?: Array<string>;
|
|
402
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type Int64 = string | number;
|
|
2
|
+
export interface Base {
|
|
3
|
+
LogID?: string;
|
|
4
|
+
Caller?: string;
|
|
5
|
+
Addr?: string;
|
|
6
|
+
Client?: string;
|
|
7
|
+
TrafficEnv?: TrafficEnv;
|
|
8
|
+
Extra?: Record<string, string>;
|
|
9
|
+
}
|
|
10
|
+
export interface BaseResp {
|
|
11
|
+
StatusMessage?: string;
|
|
12
|
+
StatusCode?: number;
|
|
13
|
+
Extra?: Record<string, string>;
|
|
14
|
+
}
|
|
15
|
+
export interface TrafficEnv {
|
|
16
|
+
Open?: boolean;
|
|
17
|
+
Env?: string;
|
|
18
|
+
}
|