Skip to content

Commit d73649b

Browse files
committed
updated cosync storage schema
1 parent f6e858f commit d73649b

File tree

1 file changed

+2
-3
lines changed
  • CosyncStorage/ReactNative-Expo/CosyncStorageExpo/config

1 file changed

+2
-3
lines changed

CosyncStorage/ReactNative-Expo/CosyncStorageExpo/config/Schema.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ exports.CosyncAsset = {
3333
"_partition":{ "type": "string", "indexed": true },
3434
"uid":{ "type": "string", "indexed": true },
3535
"sessionId":{ "type": "string", "indexed": true},
36-
"assetPartition":{ "type": "string", "indexed": true },
37-
"filePath": { "type": "string", "default": "" },
3836
"path":{ "type": "string", "default": ""},
39-
"expirationHours": { "type": "double", "default": 24},
37+
"expirationHours": { "type": "double", "default": 24},
38+
"expiration": { "type": "date", "optional": true},
4039
"contentType":{ "type": "string", "optional": true},
4140
"size":{ "type": "int", "optional": true, "indexed": true },
4241
"duration":{ "type": "double", "optional": true },

0 commit comments

Comments
 (0)