定义于 packages/sdk/src/version.ts:36 方法 create create ( body : { resourceId : string ; resourceType : "application" ; tags ?: string [] ; version : string ; } , ) : Promise < { data : { createdAt : string ; id : string ; resourceId : null | string ; resourceType : "application" ; snapshot : Snapshot ; tags : string [] ; updatedAt : string ; version : string ; } ; } , > 参数 body : { resourceId : string ; resourceType : "application" ; tags ?: string [] ; version : string ; } 返回 Promise < { data : { createdAt : string ; id : string ; resourceId : null | string ; resourceType : "application" ; snapshot : Snapshot ; tags : string [] ; updatedAt : string ; version : string ; } ; } , > 定义于 packages/sdk/src/version.ts:76 list By Resource Id listByResourceId ( resourceId : string , ) : Promise < { data : { createdAt : string ; id : string ; resourceId : null | string ; resourceType : "application" ; snapshot : Snapshot ; tags : string [] ; updatedAt : string ; version : string ; } [] ; } , > 返回 Promise < { data : { createdAt : string ; id : string ; resourceId : null | string ; resourceType : "application" ; snapshot : Snapshot ; tags : string [] ; updatedAt : string ; version : string ; } [] ; } , > 定义于 packages/sdk/src/version.ts:54 update update ( versionId : string , body : { tags ?: string [] ; version ?: string } , ) : Promise < { data : { createdAt : string ; id : string ; resourceId : null | string ; resourceType : "application" ; snapshot : Snapshot ; tags : string [] ; updatedAt : string ; version : string ; } ; } , > 参数 versionId : string body : { tags ?: string [] ; version ?: string } 返回 Promise < { data : { createdAt : string ; id : string ; resourceId : null | string ; resourceType : "application" ; snapshot : Snapshot ; tags : string [] ; updatedAt : string ; version : string ; } ; } , > 定义于 packages/sdk/src/version.ts:105
版本的工作机制
coreai:generate_survey
);用户仍然可以自行修改版本号和追加标签来满足自己的需求snapshot.application
和snapshot.survey