@feltdb/core 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/bin/feltdb.js +0 -0
- package/dist/cli/commands.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/create/create.js +5 -5
- package/dist/create/package-versions.js +1 -1
- package/package.json +1 -1
package/bin/feltdb.js
CHANGED
|
File without changes
|
package/dist/cli/commands.js
CHANGED
|
@@ -7,7 +7,7 @@ import http from 'http';
|
|
|
7
7
|
import { createRequire } from 'module';
|
|
8
8
|
import { spawn, spawnSync } from 'child_process';
|
|
9
9
|
import { createFeltDB, diffFlowSpec, formatFlowSpec, parseFlowSpec, planFlowSpecMigration, validateFlowSpec } from '@feltdb/core';
|
|
10
|
-
const RELEASE_VERSION = '0.4.
|
|
10
|
+
const RELEASE_VERSION = '0.4.10';
|
|
11
11
|
function loadProjectEnvironment(file = path.resolve('.env.local')) {
|
|
12
12
|
if (!fs.existsSync(file))
|
|
13
13
|
return;
|
package/dist/cli/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import * as path from 'path';
|
|
|
23
23
|
import * as readline from 'readline';
|
|
24
24
|
import { getClient } from './api-client.js';
|
|
25
25
|
import { loadFeltDBConfig, createDefaultConfig, validateModel, } from './config.js';
|
|
26
|
-
const VERSION = '0.4.
|
|
26
|
+
const VERSION = '0.4.10';
|
|
27
27
|
function prompt(question) {
|
|
28
28
|
const rl = readline.createInterface({
|
|
29
29
|
input: process.stdin,
|
package/dist/create/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.
|
|
3
|
+
export const FELTDB_PACKAGE_VERSION = '0.4.10';
|
|
4
4
|
export const feltdbPackageRange = `^${FELTDB_PACKAGE_VERSION}`;
|