fix(core): first page (#3744)
This commit is contained in:
@@ -67,18 +67,18 @@ export async function buildShowcaseWorkspace(workspace: Workspace) {
|
|||||||
};
|
};
|
||||||
workspace.meta.setProperties(prototypes);
|
workspace.meta.setProperties(prototypes);
|
||||||
const pageMetas = {
|
const pageMetas = {
|
||||||
'F1SX6cgNxy-hello-world': {
|
'gc5FeppNDv-hello-world': {
|
||||||
createDate: 1691548220794,
|
|
||||||
tags: [],
|
|
||||||
jumpOnce: true,
|
|
||||||
updatedDate: 1691676775642,
|
|
||||||
favorite: false,
|
|
||||||
},
|
|
||||||
gc5FeppNDv: {
|
|
||||||
createDate: 1691548231530,
|
createDate: 1691548231530,
|
||||||
tags: ['ZHBa2NtdSo', 'QYFD_HeQc-', 'wg-fBtd2eI'],
|
tags: ['ZHBa2NtdSo', 'QYFD_HeQc-', 'wg-fBtd2eI'],
|
||||||
updatedDate: 1691676331623,
|
updatedDate: 1691676331623,
|
||||||
favorite: true,
|
favorite: true,
|
||||||
|
jumpOnce: true,
|
||||||
|
},
|
||||||
|
F1SX6cgNxy: {
|
||||||
|
createDate: 1691548220794,
|
||||||
|
tags: [],
|
||||||
|
updatedDate: 1691676775642,
|
||||||
|
favorite: false,
|
||||||
},
|
},
|
||||||
'3R9X-gMh3m': {
|
'3R9X-gMh3m': {
|
||||||
createDate: 1691551731225,
|
createDate: 1691551731225,
|
||||||
@@ -137,8 +137,11 @@ export async function buildShowcaseWorkspace(workspace: Workspace) {
|
|||||||
},
|
},
|
||||||
} satisfies Record<string, Partial<PageMeta>>;
|
} satisfies Record<string, Partial<PageMeta>>;
|
||||||
const data = [
|
const data = [
|
||||||
['F1SX6cgNxy-hello-world', import('@affine/templates/v1/preloading.json')],
|
[
|
||||||
['gc5FeppNDv', import('@affine/templates/v1/getting-started.json')],
|
'gc5FeppNDv-hello-world',
|
||||||
|
import('@affine/templates/v1/getting-started.json'),
|
||||||
|
],
|
||||||
|
['F1SX6cgNxy', import('@affine/templates/v1/preloading.json')],
|
||||||
['3R9X-gMh3m', import('@affine/templates/v1/template-galleries.json')],
|
['3R9X-gMh3m', import('@affine/templates/v1/template-galleries.json')],
|
||||||
['z_v6LOqNpp', import('@affine/templates/v1/personal-home.json')],
|
['z_v6LOqNpp', import('@affine/templates/v1/personal-home.json')],
|
||||||
['0N0WzwmtK_', import('@affine/templates/v1/working-home.json')],
|
['0N0WzwmtK_', import('@affine/templates/v1/working-home.json')],
|
||||||
|
|||||||
@@ -234,7 +234,7 @@
|
|||||||
"attributes": {
|
"attributes": {
|
||||||
"reference": {
|
"reference": {
|
||||||
"type": "LinkedPage",
|
"type": "LinkedPage",
|
||||||
"pageId": "F1SX6cgNxy-hello-world"
|
"pageId": "F1SX6cgNxy"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user