style: format assistant custom widget files
This commit is contained in:
1 parent
288bbcff98
commit
135cd928ba
10 files changed
+33
-28
No files matched your search
@@ -101,12 +101,8 @@ export const createPreviewSession = (input: CreatePreviewSessionInput) => call((
|
||||
export const getPreviewSession = (id: string, userId: string) => call(() => getService().get(id, userId));
|
||||
export const setPreviewSessionLiveActions = (id: string, userId: string, enabled: boolean) =>
|
||||
call(() => getService().setLiveActions(id, userId, enabled));
|
||||
export const revisePreviewSessionTemplate = (
|
||||
id: string,
|
||||
userId: string,
|
||||
template: string,
|
||||
expectedRevision?: number,
|
||||
) => call(() => getService().reviseTemplate(id, userId, template, expectedRevision));
|
||||
export const revisePreviewSessionTemplate = (id: string, userId: string, template: string, expectedRevision?: number) =>
|
||||
call(() => getService().reviseTemplate(id, userId, template, expectedRevision));
|
||||
export const appendPreviewJournal = (
|
||||
session: CustomWidgetPreviewSession,
|
||||
entry: Omit<CustomWidgetPreviewJournalEntry, "id" | "sessionRevision" | "timestamp">,
|
||||
|
||||
@@ -110,7 +110,7 @@ describe("custom widget agent preview workflow", () => {
|
||||
},
|
||||
secrets: [],
|
||||
});
|
||||
const revisedTemplate = '<Stack><Text>{data.fixtures?.name}</Text><Badge>Ready</Badge></Stack>';
|
||||
const revisedTemplate = "<Stack><Text>{data.fixtures?.name}</Text><Badge>Ready</Badge></Stack>";
|
||||
|
||||
const revised = await caller.previewReviseTemplate({
|
||||
sessionId: preview.previewSession.id,
|
||||
|
||||
Reference in new issue
Block a user