corequery 0.3.0 → 0.4.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "corequery",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "server/dist",
@@ -5,15 +5,17 @@ import type { LandingPageConfig } from "./landing-page-config.js";
5
5
  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
- import type { Terminology } from "./terminology.js";
8
+ import type { TagsConfig } from "./tags-config.js";
9
+ import type { TerminologyConfig } from "./terminology-config.js";
9
10
  export type CorequeryConfig = {
10
11
  readonly port: number;
11
12
  readonly assets: AssetConfig;
12
13
  readonly stops: readonly StopConfig[];
13
14
  readonly lines: readonly LineConfig[];
14
- readonly terminology: Terminology;
15
+ readonly terminology: TerminologyConfig;
15
16
  readonly landingPage: LandingPageConfig;
16
17
  readonly footer: FooterConfig;
17
18
  readonly aboutPage: AboutPageConfig;
18
19
  readonly linesPage: LinesPageConfig;
20
+ readonly tags: TagsConfig;
19
21
  };
@@ -5,4 +5,5 @@ 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 "./terminology.js";
8
+ export * from "./tags-config.js";
9
+ export * from "./terminology-config.js";
@@ -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 "./terminology.js";
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 LinesPageSection[];
2
+ readonly sections: readonly LinesPageSectionConfig[];
3
3
  };
4
- export type LinesPageSection = {
4
+ export type LinesPageSectionConfig = {
5
5
  readonly tag: string;
6
6
  readonly name: string;
7
7
  };
@@ -0,0 +1,6 @@
1
+ export type TagsConfig = {
2
+ readonly stopTagSuccession: TagSuccessionConfig;
3
+ readonly lineTagSuccession: TagSuccessionConfig;
4
+ readonly routeTagSuccession: TagSuccessionConfig;
5
+ };
6
+ export type TagSuccessionConfig = Readonly<Record<number, readonly number[]>>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=tags-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tags-config.js","sourceRoot":"","sources":["../../../config/tags-config.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- export type Terminology = {
1
+ export type TerminologyConfig = {
2
2
  readonly stop: "stop" | "station";
3
3
  readonly line: "line" | "route";
4
4
  readonly stopPosition: "platform" | "track" | "bay" | "wharf" | "wharf-and-side" | "stand";
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=terminology-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"terminology-config.js","sourceRoot":"","sources":["../../../config/terminology-config.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=terminology.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"terminology.js","sourceRoot":"","sources":["../../../config/terminology.ts"],"names":[],"mappings":""}