create-feltdb 0.4.9 → 0.4.10

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/create.js CHANGED
@@ -205,11 +205,11 @@ export interface ActivityEvent {
205
205
  }
206
206
 
207
207
  // Indexes
208
- projects.createIndex('status');
209
- tasks.createIndex('projectId');
210
- tasks.createIndex('status');
211
- tasks.createIndex('priority');
212
- activity.createIndex('timestamp');
208
+ projects.createIndex({ name: 'projects_status', type: 'hash', field: 'status' });
209
+ tasks.createIndex({ name: 'tasks_project', type: 'hash', field: 'projectId' });
210
+ tasks.createIndex({ name: 'tasks_status', type: 'hash', field: 'status' });
211
+ tasks.createIndex({ name: 'tasks_priority', type: 'hash', field: 'priority' });
212
+ activity.createIndex({ name: 'activity_timestamp', type: 'sorted', field: 'timestamp' });
213
213
 
214
214
  // Operations
215
215
  export async function createProject(data: Omit<Project, 'id' | 'createdAt' | 'updatedAt'>): Promise<Project> {
@@ -1,4 +1,4 @@
1
1
  // One release train keeps generated applications installable. The repository
2
2
  // validation script checks these values against every workspace manifest.
3
- export const FELTDB_PACKAGE_VERSION = '0.4.9';
3
+ export const FELTDB_PACKAGE_VERSION = '0.4.10';
4
4
  export const feltdbPackageRange = `^${FELTDB_PACKAGE_VERSION}`;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "create-feltdb",
3
3
  "private": false,
4
4
  "description": "Create a new FeltDB application with one command",
5
- "version": "0.4.9",
5
+ "version": "0.4.10",
6
6
  "license": "MIT",
7
7
  "bin": {
8
8
  "create-feltdb": "bin/create-feltdb.js"