[Gekidou] Typings & PostMetadata structure (#5542)

* Typings & PostMetadata structure

* comment out unused code

* Remove duplicate interface

* Fix getPreferenceAsBool defaultValue
This commit is contained in:
Elias Nahum
2021-07-15 11:49:02 -04:00
committed by GitHub
parent 2dc37f1c92
commit 8cd127a223
140 changed files with 1653 additions and 2407 deletions

View File

@@ -12,6 +12,5 @@ export default tableSchema({
columns: [
{name: 'data', type: 'string'},
{name: 'post_id', type: 'string', isIndexed: true},
{name: 'type', type: 'string'},
],
});

View File

@@ -208,12 +208,10 @@ describe('*** Test schema for SERVER database ***', () => {
columns: {
data: {name: 'data', type: 'string'},
post_id: {name: 'post_id', type: 'string', isIndexed: true},
type: {name: 'type', type: 'string'},
},
columnArray: [
{name: 'data', type: 'string'},
{name: 'post_id', type: 'string', isIndexed: true},
{name: 'type', type: 'string'},
],
},
[POST]: {