@haibun/web-server-express 1.13.1 → 1.13.2
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RequestHandler } from 'express';
|
|
2
2
|
import { IWebServer, TRouteTypes } from './defs';
|
|
3
|
-
import { ILogger } from '@haibun/core/
|
|
3
|
+
import { ILogger } from '@haibun/core/build/lib/interfaces/logger';
|
|
4
4
|
export declare const DEFAULT_PORT = 8123;
|
|
5
5
|
export declare class ServerExpress implements IWebServer {
|
|
6
6
|
logger: ILogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-express.d.ts","sourceRoot":"","sources":["../src/server-express.ts"],"names":[],"mappings":"AACA,OAAgB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAGlD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"server-express.d.ts","sourceRoot":"","sources":["../src/server-express.ts"],"names":[],"mappings":"AACA,OAAgB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAGlD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,0CAA0C,CAAC;AAEnE,eAAO,MAAM,YAAY,OAAO,CAAC;AAEjC,qBAAa,aAAc,YAAW,UAAU;IAC9C,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,SAAS,EAAE,OAAO,CAAS;IAClC,QAAQ,EAAE,GAAG,CAAC;IACd,GAAG,8CAAa;IAChB,MAAM,CAAC,OAAO,EAAE;QAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAM;IACjD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;gBACD,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,GAAE,MAAqB;IAShE,MAAM,IAAI,OAAO,CAAC,UAAU,CAAC;IAiB7B,QAAQ,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc;IAgB/D,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;IAQrC,eAAe,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,GAAE,MAAY,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAS3F,oBAAoB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,GAAE,MAAY,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAIxF,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,GAAE,MAAY,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAwB3F,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO;IAWpD,KAAK;CAIZ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TWorld, TNamed, TOptions, AStepper, TVStep } from '@haibun/core/build/lib/defs';
|
|
2
|
-
import { WorkspaceContext } from '@haibun/core/
|
|
2
|
+
import { WorkspaceContext } from '@haibun/core/build/lib/contexts';
|
|
3
3
|
import { IWebServer } from './defs';
|
|
4
4
|
import { ServerExpress } from './server-express';
|
|
5
5
|
declare const WebServerStepper: {
|
|
@@ -22,35 +22,35 @@ declare const WebServerStepper: {
|
|
|
22
22
|
steps: {
|
|
23
23
|
thisURI: {
|
|
24
24
|
gwta: string;
|
|
25
|
-
action: ({ where }: TNamed, vstep: TVStep) => Promise<import("@haibun/core/
|
|
25
|
+
action: ({ where }: TNamed, vstep: TVStep) => Promise<import("@haibun/core/src/lib/defs").TOKActionResult>;
|
|
26
26
|
};
|
|
27
27
|
webpage: {
|
|
28
28
|
gwta: string;
|
|
29
|
-
action: ({ name, location }: TNamed, vsteps: TVStep) => Promise<import("@haibun/core/
|
|
29
|
+
action: ({ name, location }: TNamed, vsteps: TVStep) => Promise<import("@haibun/core/src/lib/defs").TOKActionResult>;
|
|
30
30
|
build: ({ location }: TNamed, { source }: TVStep, workspace: WorkspaceContext) => Promise<{
|
|
31
31
|
finalize: (workspace: WorkspaceContext) => void;
|
|
32
32
|
ok: true;
|
|
33
|
-
topics?: import("@haibun/core/
|
|
33
|
+
topics?: import("@haibun/core/src/lib/defs").TActionResultTopics | undefined;
|
|
34
34
|
}>;
|
|
35
35
|
};
|
|
36
36
|
isListening: {
|
|
37
37
|
gwta: string;
|
|
38
|
-
action: () => Promise<import("@haibun/core/
|
|
38
|
+
action: () => Promise<import("@haibun/core/src/lib/defs").TOKActionResult>;
|
|
39
39
|
};
|
|
40
40
|
showMounts: {
|
|
41
41
|
gwta: string;
|
|
42
|
-
action: () => Promise<import("@haibun/core/
|
|
42
|
+
action: () => Promise<import("@haibun/core/src/lib/defs").TOKActionResult>;
|
|
43
43
|
};
|
|
44
44
|
serveFiles: {
|
|
45
45
|
gwta: string;
|
|
46
|
-
action: ({ loc }: TNamed) => Promise<import("@haibun/core/
|
|
47
|
-
build: ({ loc }: TNamed) => Promise<import("@haibun/core/
|
|
46
|
+
action: ({ loc }: TNamed) => Promise<import("@haibun/core/src/lib/defs").TOKActionResult | import("@haibun/core/src/lib/defs").TNotOKActionResult>;
|
|
47
|
+
build: ({ loc }: TNamed) => Promise<import("@haibun/core/src/lib/defs").TOKActionResult>;
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
finalize: (workspace: WorkspaceContext) => void;
|
|
51
51
|
world?: TWorld | undefined;
|
|
52
52
|
endFeature?(): void;
|
|
53
|
-
onFailure?(result: import("@haibun/core/
|
|
53
|
+
onFailure?(result: import("@haibun/core/src/lib/defs").TStepResult): void;
|
|
54
54
|
getWorld(): TWorld;
|
|
55
55
|
};
|
|
56
56
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-server-stepper.d.ts","sourceRoot":"","sources":["../src/web-server-stepper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAe,MAAM,6BAA6B,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"web-server-stepper.d.ts","sourceRoot":"","sources":["../src/web-server-stepper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAe,MAAM,6BAA6B,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,UAAU,EAAc,MAAM,QAAQ,CAAC;AAChD,OAAO,EAAE,aAAa,EAAgB,MAAM,kBAAkB,CAAC;AAK/D,QAAA,MAAM,gBAAgB;;mBACT,aAAa,GAAG,SAAS;;;;8BAKlB,MAAM;;;;;;;;;wBAIR,MAAM,YAAY,QAAQ,EAAE;;;;;oCAed,MAAM,SAAS,MAAM;;;;6CAaZ,MAAM,UAAU,MAAM;sCAO7B,MAAM,cAAc,MAAM,aAAa,gBAAgB;0CA2ChE,gBAAgB;;;;;;;;;;;;;;;kCAbX,MAAM;iCAOP,MAAM;;;8BAMV,gBAAgB;;;;;;CAcxC,CAAC;AACF,eAAe,gBAAgB,CAAC;AAEhC,oBAAY,cAAc,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,KAAK,IAAI,CAAC;AAChF,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,UAAU,CAAC;IACtB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB"}
|