feat(cms): recover drafts and failed imports with verified UI workflows
This commit is contained in:
1 parent
410a1e466c
commit
88790d1a0d
84 files changed
+3952
-288
No files matched your search
@@ -0,0 +1,23 @@
|
||||
import type { ImportJob } from "@/lib/furni/import-job";
|
||||
|
||||
export const furnitureJobFixture: ImportJob = {
|
||||
id: "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa",
|
||||
userId: 42,
|
||||
createdAt: "2030-01-01T12:00:00.000Z",
|
||||
updatedAt: "2030-01-01T12:00:00.000Z",
|
||||
state: "queued",
|
||||
translate: false,
|
||||
items: [
|
||||
{
|
||||
id: 1,
|
||||
classname: "chair",
|
||||
name: "Chair",
|
||||
description: "A chair",
|
||||
type: "flooritem",
|
||||
revision: 1,
|
||||
category: "chair",
|
||||
state: "pending",
|
||||
},
|
||||
],
|
||||
};
|
||||
export const furnitureCursorFixture = `${furnitureJobFixture.createdAt}|${furnitureJobFixture.id}`;
|
||||
Reference in new issue
Block a user