@tiddlywiki/mws 0.0.15 → 0.0.16

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/README.md CHANGED
@@ -36,7 +36,7 @@ If there are any database changes, MWS should pick them up and apply them. The c
36
36
  If you want to work on the project,
37
37
 
38
38
  - `git clone https://github.com/TiddlyWiki/MultiWikiServer`
39
- - `npm install`
39
+ - `npm install` or `npm run install-android`
40
40
  - `cd react-user-mgmt`
41
41
  - `npm install`
42
42
  - `cd ..`
package/dist/server.d.ts CHANGED
@@ -10,6 +10,7 @@ import * as fs from 'fs';
10
10
  import * as tiddlywiki from 'tiddlywiki';
11
11
  import { TW } from 'tiddlywiki';
12
12
  import * as http2 from 'node:http2';
13
+ import * as commander from 'commander';
13
14
  import { SqlMigrationAwareDriverAdapterFactory, SqlDriverAdapter } from '@prisma/driver-adapter-utils';
14
15
  import * as http2$1 from 'http2';
15
16
  import { OutgoingHttpHeaders, IncomingHttpHeaders as IncomingHttpHeaders$1, IncomingMessage as IncomingMessage$1, ServerResponse as ServerResponse$1 } from 'node:http';
@@ -266,6 +267,8 @@ Parse a sequence of commands
266
267
  */
267
268
  declare class Commander extends StartupCommander {
268
269
  constructor(config: MWSConfig, $tw: TW, PasswordService: PasswordService);
270
+ program: commander.Command;
271
+ init(): Promise<void>;
269
272
  create_mws_listen: (params: string[]) => Command;
270
273
  /**
271
274
  * The promise of the current execution.
@@ -283,6 +286,8 @@ declare class Commander extends StartupCommander {
283
286
  static initCommands(moduleType?: string): void;
284
287
  addCommandTokens(params: string[]): void;
285
288
  execute(commandTokens: string[]): Promise<void>;
289
+ executeInternal(commandTokens: string[]): Promise<void>;
290
+ setPromise(): void;
286
291
  executeNextCommand(): void;
287
292
  extractNamedParameters(params: string[], mandatoryParameters?: string[]): any;
288
293
  }