Browse Source

entity objects

pull/1/head
Tim Glasgow 2 years ago
parent
commit
987132a674
  1. 9
      squarenotsquare/realm/entities/Score.js
  2. 9
      squarenotsquare/realm/entities/System.js
  3. 8
      squarenotsquare/realm/entities/User.js

9
squarenotsquare/realm/entities/Score.js

@ -0,0 +1,9 @@
export const System = {
name: 'Score',
primaryKey: 'id',
properties: {
id: 'string',
user: 'string',
value: 'string'
}
};

9
squarenotsquare/realm/entities/System.js

@ -0,0 +1,9 @@
export const System = {
name: 'System',
primaryKey: 'id',
properties: {
id: 'string',
key: 'string',
value: 'string'
}
};

8
squarenotsquare/realm/entities/User.js

@ -0,0 +1,8 @@
export const User = {
name: 'User',
primaryKey: 'id',
properties: {
id: 'string',
name: 'string'
}
}
Loading…
Cancel
Save