corequery 0.4.0 → 0.4.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.
- package/package.json +1 -1
- package/server/dist/server/config/config.d.ts +2 -2
- package/server/dist/server/config/index.d.ts +2 -1
- package/server/dist/server/config/index.js +2 -1
- package/server/dist/server/config/index.js.map +1 -1
- package/server/dist/server/config/lines-page-config.d.ts +2 -2
- package/server/dist/server/config/tags-config.d.ts +4 -4
- package/server/dist/server/config/{terminology.d.ts → terminology-config.d.ts} +1 -1
- package/server/dist/server/config/terminology-config.js +2 -0
- package/server/dist/server/config/terminology-config.js.map +1 -0
- package/server/dist/server/corequery.d.ts +1 -2
- package/server/dist/server/config/terminology.js +0 -2
- package/server/dist/server/config/terminology.js.map +0 -1
package/package.json
CHANGED
|
@@ -6,13 +6,13 @@ import type { LineConfig } from "./line-config.js";
|
|
|
6
6
|
import type { LinesPageConfig } from "./lines-page-config.js";
|
|
7
7
|
import type { StopConfig } from "./stop-config.js";
|
|
8
8
|
import type { TagsConfig } from "./tags-config.js";
|
|
9
|
-
import type {
|
|
9
|
+
import type { TerminologyConfig } from "./terminology-config.js";
|
|
10
10
|
export type CorequeryConfig = {
|
|
11
11
|
readonly port: number;
|
|
12
12
|
readonly assets: AssetConfig;
|
|
13
13
|
readonly stops: readonly StopConfig[];
|
|
14
14
|
readonly lines: readonly LineConfig[];
|
|
15
|
-
readonly terminology:
|
|
15
|
+
readonly terminology: TerminologyConfig;
|
|
16
16
|
readonly landingPage: LandingPageConfig;
|
|
17
17
|
readonly footer: FooterConfig;
|
|
18
18
|
readonly aboutPage: AboutPageConfig;
|
|
@@ -5,5 +5,6 @@ export * from "./landing-page-config.js";
|
|
|
5
5
|
export * from "./line-config.js";
|
|
6
6
|
export * from "./lines-page-config.js";
|
|
7
7
|
export * from "./stop-config.js";
|
|
8
|
-
export * from "./
|
|
8
|
+
export * from "./tags-config.js";
|
|
9
|
+
export * from "./terminology-config.js";
|
|
9
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../config/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../config/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type LinesPageConfig = {
|
|
2
|
-
readonly sections: readonly
|
|
2
|
+
readonly sections: readonly LinesPageSectionConfig[];
|
|
3
3
|
};
|
|
4
|
-
export type
|
|
4
|
+
export type LinesPageSectionConfig = {
|
|
5
5
|
readonly tag: string;
|
|
6
6
|
readonly name: string;
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type TagsConfig = {
|
|
2
|
-
readonly stopTagSuccession:
|
|
3
|
-
readonly lineTagSuccession:
|
|
4
|
-
readonly routeTagSuccession:
|
|
2
|
+
readonly stopTagSuccession: TagSuccessionConfig;
|
|
3
|
+
readonly lineTagSuccession: TagSuccessionConfig;
|
|
4
|
+
readonly routeTagSuccession: TagSuccessionConfig;
|
|
5
5
|
};
|
|
6
|
-
export type
|
|
6
|
+
export type TagSuccessionConfig = Readonly<Record<number, readonly number[]>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terminology-config.js","sourceRoot":"","sources":["../../../config/terminology-config.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { CorequeryConfig } from "./config/config.js";
|
|
2
|
-
type CorequeryConfigBuilder = (corequery: Corequery) => CorequeryConfig;
|
|
2
|
+
export type CorequeryConfigBuilder = (corequery: Corequery) => CorequeryConfig;
|
|
3
3
|
export declare class Corequery {
|
|
4
4
|
private readonly _config;
|
|
5
5
|
private readonly _webServer;
|
|
6
6
|
constructor(configBuilder: CorequeryConfigBuilder);
|
|
7
7
|
start(): Promise<void>;
|
|
8
8
|
}
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"terminology.js","sourceRoot":"","sources":["../../../config/terminology.ts"],"names":[],"mappings":""}
|