mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:52:57 +00:00
rename
This commit is contained in:
parent
5f8af6df38
commit
d5b5bf484f
@ -17,7 +17,7 @@
|
||||
import { defineStore } from "pinia";
|
||||
import type { Option } from "@/types/app";
|
||||
import type {
|
||||
AsyncProfilingTaskList,
|
||||
AsyncProfilingTask,
|
||||
AsyncProfileTaskCreationRequest,
|
||||
AsyncProfilerStackElement,
|
||||
AsyncProfilerTaskProgress,
|
||||
@ -29,10 +29,10 @@ import type { AxiosResponse } from "axios";
|
||||
import type { Instance } from "@/types/selector";
|
||||
|
||||
interface AsyncProfilingState {
|
||||
taskList: Array<Recordable<AsyncProfilingTaskList>>;
|
||||
taskList: Array<Recordable<AsyncProfilingTask>>;
|
||||
labels: Option[];
|
||||
asyncProfilingTips: string;
|
||||
selectedTask: Recordable<AsyncProfilingTaskList>;
|
||||
selectedTask: Recordable<AsyncProfilingTask>;
|
||||
taskProgress: Recordable<AsyncProfilerTaskProgress>;
|
||||
instances: Instance[];
|
||||
analyzeTrees: AsyncProfilerStackElement[];
|
||||
@ -50,7 +50,7 @@ export const asyncProfilingStore = defineStore({
|
||||
analyzeTrees: [],
|
||||
}),
|
||||
actions: {
|
||||
setSelectedTask(task: Recordable<AsyncProfilingTaskList>) {
|
||||
setSelectedTask(task: Recordable<AsyncProfilingTask>) {
|
||||
this.selectedTask = task || {};
|
||||
},
|
||||
async getTaskList(params: { serviceId: string; startTime: number; endTime: number }) {
|
||||
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export type AsyncProfilingTaskList = {
|
||||
export type AsyncProfilingTask = {
|
||||
id: string;
|
||||
serviceId: string;
|
||||
serviceInstanceIds: string[];
|
||||
|
Loading…
Reference in New Issue
Block a user