-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathconfig.ts
More file actions
50 lines (47 loc) · 1.15 KB
/
config.ts
File metadata and controls
50 lines (47 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
export type FieldMapping = {
notionProperty: string;
framerId: string;
framerName: string;
type: "string" | "number" | "boolean" | "date";
};
type Config = {
AUTO_PUBLISH: boolean;
TOMBSTONE_PROPERTY: string;
FIELD_MAPPING: FieldMapping[];
};
export const config: Config = {
AUTO_PUBLISH: true,
TOMBSTONE_PROPERTY: "Deleted",
FIELD_MAPPING: [
{
notionProperty: "Title",
framerId: "title",
framerName: "Title",
type: "string",
},
{
notionProperty: "Description",
framerId: "description",
framerName: "Description",
type: "string",
},
{
notionProperty: "Status",
framerId: "status",
framerName: "Status",
type: "string",
},
{
notionProperty: "Created",
framerId: "created",
framerName: "Created",
type: "date",
},
{
notionProperty: "Priority",
framerId: "priority",
framerName: "Priority",
type: "number",
},
],
};