mirror of https://github.com/nocodb/nocodb
Pranav C
3 years ago
14 changed files with 202 additions and 551 deletions
@ -1,81 +0,0 @@
|
||||
const templates = { |
||||
title: 'Art Gallery Management', |
||||
thumbnail: 'https://picsum.photos/200/300?1', |
||||
tables: [ |
||||
{ |
||||
tn: 'blog', |
||||
columns: [ |
||||
{ |
||||
cn: 'title', |
||||
uidt: 'SingleLineText' |
||||
}, |
||||
{ |
||||
cn: 'body', |
||||
uidt: 'LongText' |
||||
} |
||||
], |
||||
hasMany: [ |
||||
{ |
||||
tn: 'comment', |
||||
_cn: 'title3' |
||||
} |
||||
], |
||||
manyToMany: [ |
||||
{ |
||||
rtn: 'tag', |
||||
_cn: 'title4' |
||||
} |
||||
], |
||||
v: [ |
||||
{ |
||||
_cn: 'comments_count', |
||||
rl: { |
||||
rltn: 'comment', |
||||
rlcn: 'body', |
||||
type: 'hm', |
||||
fn: 'count' |
||||
} |
||||
} |
||||
] |
||||
}, |
||||
{ |
||||
tn: 'comment', |
||||
columns: [ |
||||
{ |
||||
cn: 'body', |
||||
uidt: 'LongText' |
||||
} |
||||
], |
||||
hasMany: [], |
||||
manyToMany: [], |
||||
v: [ |
||||
{ |
||||
_cn: 'blog_title', |
||||
lk: { |
||||
ltn: 'blog', |
||||
type: 'bt', |
||||
lcn: 'title' |
||||
} |
||||
} |
||||
] |
||||
}, |
||||
{ |
||||
tn: 'tag', |
||||
columns: [ |
||||
{ |
||||
cn: 'title', |
||||
uidt: 'SingleLineText' |
||||
} |
||||
], |
||||
hasMany: [], |
||||
manyToMany: [], |
||||
v: [] |
||||
} |
||||
], |
||||
category: 'test', |
||||
tags: 'a,b,c', |
||||
description: 'I\'m a thing. But, like most politicians, he promised more than he could deliver. You won\'t have time for sleeping, soldier, not with all the bed making you\'ll be doing. Then we\'ll go with that data file! Hey, you add a one and two zeros to that or we walk!' |
||||
|
||||
} |
||||
|
||||
export default templates |
@ -1,62 +0,0 @@
|
||||
const templates = { |
||||
title: 'Digital video production', |
||||
thumbnail: 'https://picsum.photos/200/300?2', |
||||
tables: [ |
||||
{ |
||||
tn: 'blog', |
||||
columns: [ |
||||
{ |
||||
cn: 'title', |
||||
uidt: 'SingleLineText' |
||||
}, |
||||
{ |
||||
cn: 'body', |
||||
uidt: 'LongText' |
||||
} |
||||
], |
||||
hasMany: [ |
||||
{ |
||||
tn: 'comment', |
||||
_cn: 'title3' |
||||
} |
||||
], |
||||
manyToMany: [ |
||||
{ |
||||
rtn: 'tag', |
||||
_cn: 'title4' |
||||
} |
||||
], |
||||
v: [] |
||||
}, |
||||
{ |
||||
tn: 'comment', |
||||
columns: [ |
||||
{ |
||||
cn: 'body', |
||||
uidt: 'LongText' |
||||
} |
||||
], |
||||
hasMany: [], |
||||
manyToMany: [], |
||||
v: [] |
||||
}, |
||||
{ |
||||
tn: 'tag', |
||||
columns: [ |
||||
{ |
||||
cn: 'title', |
||||
uidt: 'SingleLineText' |
||||
} |
||||
], |
||||
hasMany: [], |
||||
manyToMany: [], |
||||
v: [] |
||||
} |
||||
], |
||||
category: 'test', |
||||
tags: 'a,b,c', |
||||
description: 'I\'m a thing. But, like most politicians, he promised more than he could deliver. You won\'t have time for sleeping, soldier, not with all the bed making you\'ll be doing. Then we\'ll go with that data file! Hey, you add a one and two zeros to that or we walk!' |
||||
|
||||
} |
||||
|
||||
export default templates |
@ -1,62 +0,0 @@
|
||||
const templates = { |
||||
title: 'Content calendar', |
||||
thumbnail: 'https://picsum.photos/200/300?3', |
||||
tables: [ |
||||
{ |
||||
tn: 'blog', |
||||
columns: [ |
||||
{ |
||||
cn: 'title', |
||||
uidt: 'SingleLineText' |
||||
}, |
||||
{ |
||||
cn: 'body', |
||||
uidt: 'LongText' |
||||
} |
||||
], |
||||
hasMany: [ |
||||
{ |
||||
tn: 'comment', |
||||
_cn: 'title3' |
||||
} |
||||
], |
||||
manyToMany: [ |
||||
{ |
||||
rtn: 'tag', |
||||
_cn: 'title4' |
||||
} |
||||
], |
||||
v: [] |
||||
}, |
||||
{ |
||||
tn: 'comment', |
||||
columns: [ |
||||
{ |
||||
cn: 'body', |
||||
uidt: 'LongText' |
||||
} |
||||
], |
||||
hasMany: [], |
||||
manyToMany: [], |
||||
v: [] |
||||
}, |
||||
{ |
||||
tn: 'tag', |
||||
columns: [ |
||||
{ |
||||
cn: 'title', |
||||
uidt: 'SingleLineText' |
||||
} |
||||
], |
||||
hasMany: [], |
||||
manyToMany: [], |
||||
v: [] |
||||
} |
||||
], |
||||
category: 'test', |
||||
tags: 'a,b,c', |
||||
description: 'I\'m a thing. But, like most politicians, he promised more than he could deliver. You won\'t have time for sleeping, soldier, not with all the bed making you\'ll be doing. Then we\'ll go with that data file! Hey, you add a one and two zeros to that or we walk!' |
||||
|
||||
} |
||||
|
||||
export default templates |
@ -1,62 +0,0 @@
|
||||
const templates = { |
||||
title: 'Event Marketing', |
||||
thumbnail: 'https://picsum.photos/200/300?3', |
||||
tables: [ |
||||
{ |
||||
tn: 'blog', |
||||
columns: [ |
||||
{ |
||||
cn: 'title', |
||||
uidt: 'SingleLineText' |
||||
}, |
||||
{ |
||||
cn: 'body', |
||||
uidt: 'LongText' |
||||
} |
||||
], |
||||
hasMany: [ |
||||
{ |
||||
tn: 'comment', |
||||
_cn: 'title3' |
||||
} |
||||
], |
||||
manyToMany: [ |
||||
{ |
||||
rtn: 'tag', |
||||
_cn: 'title4' |
||||
} |
||||
], |
||||
v: [] |
||||
}, |
||||
{ |
||||
tn: 'comment', |
||||
columns: [ |
||||
{ |
||||
cn: 'body', |
||||
uidt: 'LongText' |
||||
} |
||||
], |
||||
hasMany: [], |
||||
manyToMany: [], |
||||
v: [] |
||||
}, |
||||
{ |
||||
tn: 'tag', |
||||
columns: [ |
||||
{ |
||||
cn: 'title', |
||||
uidt: 'SingleLineText' |
||||
} |
||||
], |
||||
hasMany: [], |
||||
manyToMany: [], |
||||
v: [] |
||||
} |
||||
], |
||||
category: 'test', |
||||
tags: 'a,b,c', |
||||
description: 'I\'m a thing. But, like most politicians, he promised more than he could deliver. You won\'t have time for sleeping, soldier, not with all the bed making you\'ll be doing. Then we\'ll go with that data file! Hey, you add a one and two zeros to that or we walk!' |
||||
|
||||
} |
||||
|
||||
export default templates |
@ -1,62 +0,0 @@
|
||||
const templates = { |
||||
title: 'Wedding Planning', |
||||
thumbnail: 'https://picsum.photos/200/300?5', |
||||
tables: [ |
||||
{ |
||||
tn: 'blog', |
||||
columns: [ |
||||
{ |
||||
cn: 'title', |
||||
uidt: 'SingleLineText' |
||||
}, |
||||
{ |
||||
cn: 'body', |
||||
uidt: 'LongText' |
||||
} |
||||
], |
||||
hasMany: [ |
||||
{ |
||||
tn: 'comment', |
||||
_cn: 'title3' |
||||
} |
||||
], |
||||
manyToMany: [ |
||||
{ |
||||
rtn: 'tag', |
||||
_cn: 'title4' |
||||
} |
||||
], |
||||
v: [] |
||||
}, |
||||
{ |
||||
tn: 'comment', |
||||
columns: [ |
||||
{ |
||||
cn: 'body', |
||||
uidt: 'LongText' |
||||
} |
||||
], |
||||
hasMany: [], |
||||
manyToMany: [], |
||||
v: [] |
||||
}, |
||||
{ |
||||
tn: 'tag', |
||||
columns: [ |
||||
{ |
||||
cn: 'title', |
||||
uidt: 'SingleLineText' |
||||
} |
||||
], |
||||
hasMany: [], |
||||
manyToMany: [], |
||||
v: [] |
||||
} |
||||
], |
||||
category: 'test', |
||||
tags: 'a,b,c', |
||||
description: 'I\'m a thing. But, like most politicians, he promised more than he could deliver. You won\'t have time for sleeping, soldier, not with all the bed making you\'ll be doing. Then we\'ll go with that data file! Hey, you add a one and two zeros to that or we walk!' |
||||
|
||||
} |
||||
|
||||
export default templates |
@ -1,26 +0,0 @@
|
||||
const categories = [ |
||||
{ title: 'Content production' }, |
||||
{ title: 'Featured' }, |
||||
{ title: 'Creative' }, |
||||
{ title: 'Event Planning' }, |
||||
{ title: 'Everyday Life' }, |
||||
{ title: 'Groups, Clubs & Hobbies' }, |
||||
{ title: 'HR & Recruiting' }, |
||||
{ title: 'Legal' }, |
||||
{ title: 'Local Business' }, |
||||
{ title: 'Marketing' }, |
||||
{ title: 'Nonprofit' }, |
||||
{ title: 'Personal' }, |
||||
{ title: 'PR & Communications' }, |
||||
{ title: 'Product, design, and UX' }, |
||||
{ title: 'Project Management' }, |
||||
{ title: 'Publishing' }, |
||||
{ title: 'Real Estate' }, |
||||
{ title: 'Remote work' }, |
||||
{ title: 'Sales & Customers' }, |
||||
{ title: 'Software Development' }, |
||||
{ title: 'Startup' }, |
||||
{ title: 'Venture Capital' } |
||||
] |
||||
|
||||
export default categories |
@ -1,61 +0,0 @@
|
||||
const templates = { |
||||
title: 'Project name', |
||||
tables: [ |
||||
{ |
||||
tn: 'blog', |
||||
columns: [ |
||||
{ |
||||
cn: 'title', |
||||
uidt: 'SingleLineText' |
||||
}, |
||||
{ |
||||
cn: 'body', |
||||
uidt: 'LongText' |
||||
} |
||||
], |
||||
hasMany: [ |
||||
{ |
||||
tn: 'comment', |
||||
_cn: 'title3' |
||||
} |
||||
], |
||||
manyToMany: [ |
||||
{ |
||||
rtn: 'tag', |
||||
_cn: 'title4' |
||||
} |
||||
], |
||||
v: [] |
||||
}, |
||||
{ |
||||
tn: 'comment', |
||||
columns: [ |
||||
{ |
||||
cn: 'body', |
||||
uidt: 'LongText' |
||||
} |
||||
], |
||||
hasMany: [], |
||||
manyToMany: [], |
||||
v: [] |
||||
}, |
||||
{ |
||||
tn: 'tag', |
||||
columns: [ |
||||
{ |
||||
cn: 'title', |
||||
uidt: 'SingleLineText' |
||||
} |
||||
], |
||||
hasMany: [], |
||||
manyToMany: [], |
||||
v: [] |
||||
} |
||||
], |
||||
category: 'test', |
||||
tags: 'a,b,c', |
||||
description: 'I\'m a thing. But, like most politicians, he promised more than he could deliver. You won\'t have time for sleeping, soldier, not with all the bed making you\'ll be doing. Then we\'ll go with that data file! Hey, you add a one and two zeros to that or we walk!' |
||||
|
||||
} |
||||
|
||||
export default templates |
@ -1,38 +0,0 @@
|
||||
const templatesList = [{ |
||||
id: 1, |
||||
title: 'Art Gallery Management', |
||||
category: 'Creative', |
||||
thumbnail: 'https://picsum.photos/200/300?1', |
||||
tags: 'a,b,c', |
||||
description: 'I\'m a thing. But, like most politicians, he promised more than he could deliver. You won\'t have time for sleeping, soldier, not with all the bed making you\'ll be doing. Then we\'ll go with that data file! Hey, you add a one and two zeros to that or we walk!' |
||||
}, { |
||||
id: 2, |
||||
title: 'Digital video production', |
||||
category: 'Creative', |
||||
thumbnail: 'https://picsum.photos/200/300?2', |
||||
tags: 'a,b,c', |
||||
description: 'I\'m a thing. But, like most politicians, he promised more than he could deliver. You won\'t have time for sleeping, soldier, not with all the bed making you\'ll be doing. Then we\'ll go with that data file! Hey, you add a one and two zeros to that or we walk!' |
||||
}, { |
||||
id: 3, |
||||
title: 'Content calendar', |
||||
category: 'Creative', |
||||
thumbnail: 'https://picsum.photos/200/300?3', |
||||
tags: 'a,b,c', |
||||
description: 'I\'m a thing. But, like most politicians, he promised more than he could deliver. You won\'t have time for sleeping, soldier, not with all the bed making you\'ll be doing. Then we\'ll go with that data file! Hey, you add a one and two zeros to that or we walk!' |
||||
}, { |
||||
id: 4, |
||||
title: 'Event Marketing', |
||||
category: 'Event Planning', |
||||
thumbnail: 'https://picsum.photos/200/300?4', |
||||
tags: 'a,b,c', |
||||
description: 'I\'m a thing. But, like most politicians, he promised more than he could deliver. You won\'t have time for sleeping, soldier, not with all the bed making you\'ll be doing. Then we\'ll go with that data file! Hey, you add a one and two zeros to that or we walk!' |
||||
}, { |
||||
id: 5, |
||||
title: 'Wedding Planning', |
||||
category: 'Event Planning', |
||||
thumbnail: 'https://picsum.photos/200/300?5', |
||||
tags: 'a,b,c', |
||||
description: 'I\'m a thing. But, like most politicians, he promised more than he could deliver. You won\'t have time for sleeping, soldier, not with all the bed making you\'ll be doing. Then we\'ll go with that data file! Hey, you add a one and two zeros to that or we walk!' |
||||
}] |
||||
|
||||
export default templatesList |
Loading…
Reference in new issue