@fileverse/api 0.0.9 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/index.js CHANGED
@@ -389,6 +389,7 @@ var init_publish = __esm({
389
389
  init_smart_agent();
390
390
  init_file_manager();
391
391
  init_config();
392
+ init_pimlico_utils();
392
393
  }
393
394
  });
394
395
 
@@ -1105,7 +1106,9 @@ CREATE TABLE IF NOT EXISTS files (
1105
1106
  commentKey TEXT,
1106
1107
  linkKey TEXT,
1107
1108
  linkKeyNonce TEXT,
1108
- link TEXT
1109
+ link TEXT,
1110
+ derivedKey TEXT,
1111
+ secretKey TEXT
1109
1112
  );
1110
1113
  CREATE INDEX IF NOT EXISTS idx_files_createdAt ON files(createdAt);
1111
1114
  CREATE INDEX IF NOT EXISTS idx_files_syncStatus ON files(syncStatus);
@@ -1136,7 +1139,7 @@ CREATE TABLE IF NOT EXISTS events (
1136
1139
  type TEXT NOT NULL CHECK (type IN ('create', 'update', 'delete')),
1137
1140
  timestamp BIGINT NOT NULL,
1138
1141
  fileId TEXT NOT NULL,
1139
- status TEXT NOT NULL DEFAULT 'pending' CHECK (status IN ('pending', 'processing', 'processed', 'failed')),
1142
+ status TEXT NOT NULL DEFAULT 'pending' CHECK (status IN ('pending', 'processing', 'submitted', 'processed', 'failed')),
1140
1143
  retryCount INTEGER NOT NULL DEFAULT 0,
1141
1144
  lastError TEXT,
1142
1145
  lockedAt BIGINT,