@rr0/cms 0.1.6 → 0.1.7
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/dist/DefaultContentVisitor.d.ts +2 -2
- package/dist/anchor/CaseAnchorHandler.d.ts +2 -2
- package/dist/anchor/CaseAnchorHandler.js +1 -1
- package/dist/book/BookImport.js +2 -2
- package/dist/book/BookService.d.ts +2 -2
- package/dist/book/BookService.js +3 -3
- package/dist/data/AbstractDataService.d.ts +1 -1
- package/dist/index/IndexedReplacer.d.ts +1 -1
- package/dist/lang/RR0Messages.d.ts +5 -5
- package/dist/lang/RR0Messages_en.js +4 -4
- package/dist/org/OrganizationFactory.d.ts +2 -2
- package/dist/org/OrganizationFactory.js +1 -1
- package/dist/org/br/region/cw/CentralWest.js +1 -1
- package/dist/org/br/region/se/SouthEast.js +1 -1
- package/dist/org/nz/region/gisborne/Gisborne.js +1 -1
- package/dist/org/us/region/ak/Alaska.js +1 -1
- package/dist/org/us/region/al/Alabama.js +1 -1
- package/dist/org/us/region/ar/Arkansas.js +1 -1
- package/dist/org/us/region/co/Colorado.js +1 -1
- package/dist/org/us/region/ct/Connecticut.js +1 -1
- package/dist/org/us/region/de/Delaware.js +1 -1
- package/dist/org/us/region/fl/Florida.js +1 -1
- package/dist/org/us/region/hi/Hawaii.js +1 -1
- package/dist/org/us/region/il/Illinois.js +1 -1
- package/dist/org/us/region/in/Indiana.js +1 -1
- package/dist/org/us/region/ky/Kentucky.js +1 -1
- package/dist/org/us/region/ma/Massachusetts.js +1 -1
- package/dist/org/us/region/md/Maryland.js +1 -1
- package/dist/org/us/region/me/Maine.js +1 -1
- package/dist/org/us/region/mi/Michigan.js +1 -1
- package/dist/org/us/region/mn/Minnesota.js +1 -1
- package/dist/org/us/region/mo/Missouri.js +1 -1
- package/dist/org/us/region/ms/Mississippi.js +1 -1
- package/dist/org/us/region/mt/Montana.js +1 -1
- package/dist/org/us/region/nh/NewHampshire.js +1 -1
- package/dist/org/us/region/nv/Nevada.js +1 -1
- package/dist/org/us/region/oh/Ohio.js +1 -1
- package/dist/org/us/region/ok/Oklahoma.js +1 -1
- package/dist/org/us/region/or/Oregon.js +1 -1
- package/dist/org/us/region/pa/Pennsylvania.js +1 -1
- package/dist/org/us/region/pr/PuertoRico.js +1 -1
- package/dist/org/us/region/sc/SouthCarolina.js +1 -1
- package/dist/org/us/region/tx/Texas.js +1 -1
- package/dist/org/us/region/ut/Utah.js +1 -1
- package/dist/org/us/region/va/Virginia.js +1 -1
- package/dist/org/us/region/vi/VirginIslands.js +1 -1
- package/dist/org/us/region/vt/Vermont.js +1 -1
- package/dist/org/us/region/wa/Washington.js +1 -1
- package/dist/org/us/region/wi/Wisconsin.js +1 -1
- package/dist/org/us/region/wv/WestVirginia.js +1 -1
- package/dist/org/us/region/wy/Wyoming.js +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AllDataService } from "data/AllDataService.js";
|
|
2
|
-
import { TimeElementFactory } from "time/TimeElementFactory.js";
|
|
2
|
+
import { TimeElementFactory } from "./time/TimeElementFactory.js";
|
|
3
3
|
import { ContentVisitor } from "./RR0ContentStep.js";
|
|
4
4
|
import { HtmlRR0SsgContext } from "./RR0SsgContext.js";
|
|
5
5
|
import { RR0Data } from "data/RR0Data.js";
|
|
6
|
-
import { EventRenderer } from "time/EventRenderer.js";
|
|
6
|
+
import { EventRenderer } from "./time/EventRenderer.js";
|
|
7
7
|
import { RR0Event } from "event/RR0Event.js";
|
|
8
8
|
export declare class DefaultContentVisitor implements ContentVisitor {
|
|
9
9
|
protected service: AllDataService;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnchorHandler } from "./AnchorHandler.js";
|
|
2
2
|
import { HtmlRR0SsgContext } from "RR0SsgContext.js";
|
|
3
|
-
import { TimeTextBuilder } from "time/
|
|
4
|
-
import { CaseService } from "science/crypto/ufo/enquete/dossier/CaseService.js";
|
|
3
|
+
import { TimeTextBuilder } from "../time/index.js";
|
|
4
|
+
import { CaseService } from "../science/crypto/ufo/enquete/dossier/CaseService.js";
|
|
5
5
|
export declare class CaseAnchorHandler implements AnchorHandler {
|
|
6
6
|
protected caseService: CaseService;
|
|
7
7
|
protected timeTextBuilder: TimeTextBuilder;
|
package/dist/book/BookImport.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ConsoleLogger } from "ssg-api";
|
|
2
2
|
import { CLI } from "util/cli/CLI.js";
|
|
3
3
|
import { BookService } from "./BookService.js";
|
|
4
|
-
import { PeopleService } from "people/PeopleService.js";
|
|
4
|
+
import { PeopleService } from "../people/PeopleService.js";
|
|
5
5
|
import { AllDataService } from "../data/AllDataService.js";
|
|
6
|
-
import { PeopleFactory } from "people/PeopleFactory.js";
|
|
6
|
+
import { PeopleFactory } from "../people/PeopleFactory.js";
|
|
7
7
|
import { RR0EventFactory } from "../event/RR0EventFactory.js";
|
|
8
8
|
import { TypedDataFactory } from "../data/TypedDataFactory.js";
|
|
9
9
|
import path from "path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Logger, SsgConfig } from "ssg-api";
|
|
2
2
|
import { Book } from "./Book.js";
|
|
3
|
-
import { People } from "people/People.js";
|
|
4
|
-
import { PeopleService } from "people/PeopleService.js";
|
|
3
|
+
import { People } from "../people/People.js";
|
|
4
|
+
import { PeopleService } from "../people/PeopleService.js";
|
|
5
5
|
export declare class BookService {
|
|
6
6
|
readonly logger: Logger;
|
|
7
7
|
protected dry: boolean;
|
package/dist/book/BookService.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as fs from "fs";
|
|
2
2
|
import { FileUtil } from "ssg-api";
|
|
3
|
-
import { TimeContext } from "time/TimeContext.js";
|
|
4
|
-
import { TimeUrlBuilder } from "time/TimeUrlBuilder.js";
|
|
3
|
+
import { TimeContext } from "../time/TimeContext.js";
|
|
4
|
+
import { TimeUrlBuilder } from "../time/TimeUrlBuilder.js";
|
|
5
5
|
import * as path from "path";
|
|
6
6
|
import { StringUtil } from "util/string/StringUtil.js";
|
|
7
|
-
import { CSVFileReader } from "CSVFileReader.js";
|
|
7
|
+
import { CSVFileReader } from "../CSVFileReader.js";
|
|
8
8
|
export class BookService {
|
|
9
9
|
constructor(logger, dry, peopleService, config) {
|
|
10
10
|
this.logger = logger;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AllDataService } from "./AllDataService.js";
|
|
2
2
|
import { TypedDataFactory } from "./TypedDataFactory.js";
|
|
3
3
|
import { RR0Data } from "./RR0Data.js";
|
|
4
|
-
import { RR0Case } from "science/crypto/ufo/enquete/dossier/RR0Case.js";
|
|
4
|
+
import { RR0Case } from "../science/crypto/ufo/enquete/dossier/RR0Case.js";
|
|
5
5
|
export declare abstract class AbstractDataService<T extends RR0Data> {
|
|
6
6
|
protected readonly dataService: AllDataService;
|
|
7
7
|
protected factory: TypedDataFactory<T>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PlaceMessages } from "place/PlaceMessages.js";
|
|
2
|
-
import { CountryMessagesList } from "org/CountryMessagesList.js";
|
|
3
|
-
import { CaseConclusion } from "science/crypto/ufo/enquete/dossier/RR0Case.js";
|
|
4
|
-
import { PeopleMessages } from "people/PeopleMessages.js";
|
|
5
|
-
import { OrgRR0Messages } from "org/OrgRR0Messages.js";
|
|
1
|
+
import { PlaceMessages } from "../place/PlaceMessages.js";
|
|
2
|
+
import { CountryMessagesList } from "../org/CountryMessagesList.js";
|
|
3
|
+
import { CaseConclusion } from "../science/crypto/ufo/enquete/dossier/RR0Case.js";
|
|
4
|
+
import { PeopleMessages } from "../people/PeopleMessages.js";
|
|
5
|
+
import { OrgRR0Messages } from "../org/OrgRR0Messages.js";
|
|
6
6
|
export declare class MessageUtils {
|
|
7
7
|
static plural(n: number, word: string): string;
|
|
8
8
|
static pluralWord(n: number, word: string): string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { MessageUtils } from "./RR0Messages.js";
|
|
2
|
-
import { placeMessages_en } from "place/PlaceMessages_en.js";
|
|
3
|
-
import { countryMessageList_en } from "org/CountryMessageList_en.js";
|
|
4
|
-
import { peopleMessages_en } from "people/PeopleMessages_en.js";
|
|
5
|
-
import { orgMessages_en } from "org/OrgRR0Messages_en.js";
|
|
2
|
+
import { placeMessages_en } from "../place/PlaceMessages_en.js";
|
|
3
|
+
import { countryMessageList_en } from "../org/CountryMessageList_en.js";
|
|
4
|
+
import { peopleMessages_en } from "../people/PeopleMessages_en.js";
|
|
5
|
+
import { orgMessages_en } from "../org/OrgRR0Messages_en.js";
|
|
6
6
|
const caseClassification_en = {
|
|
7
7
|
hynek: {
|
|
8
8
|
NL: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Organization } from "./Organization.js";
|
|
2
|
-
import { TypedDataFactory } from "data/TypedDataFactory.js";
|
|
3
|
-
import { RR0EventFactory } from "event/RR0EventFactory.js";
|
|
2
|
+
import { TypedDataFactory } from "../data/TypedDataFactory.js";
|
|
3
|
+
import { RR0EventFactory } from "../event/RR0EventFactory.js";
|
|
4
4
|
export declare class OrganizationFactory extends TypedDataFactory<Organization> {
|
|
5
5
|
constructor(eventFactory: RR0EventFactory);
|
|
6
6
|
createFromData(data: Organization): Organization;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Organization } from "./Organization.js";
|
|
2
|
-
import { TypedDataFactory } from "data/TypedDataFactory.js";
|
|
2
|
+
import { TypedDataFactory } from "../data/TypedDataFactory.js";
|
|
3
3
|
export class OrganizationFactory extends TypedDataFactory {
|
|
4
4
|
constructor(eventFactory) {
|
|
5
5
|
super(eventFactory, "org", ["index"]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Place } from "place/Place.js";
|
|
1
|
+
import { Place } from "../../../../place/Place.js";
|
|
2
2
|
import { PlaceLocation } from "../../../../place/PlaceLocation.js";
|
|
3
3
|
import { brazilRegion } from "../../Brazil.js";
|
|
4
4
|
import { BrazilRegionCode } from "../BrazilRegionCode.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Place } from "place/Place.js";
|
|
1
|
+
import { Place } from "../../../../place/Place.js";
|
|
2
2
|
import { PlaceLocation } from "../../../../place/PlaceLocation.js";
|
|
3
3
|
import { brazilRegion } from "../../Brazil.js";
|
|
4
4
|
import { BrazilRegionCode } from "../BrazilRegionCode.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Place } from "place/Place.js";
|
|
1
|
+
import { Place } from "../../../../place/Place.js";
|
|
2
2
|
import { NewZealandRegionCode } from "../NewZealandRegionCode.js";
|
|
3
3
|
import { newZealandRegion } from "../../NewZealand.js";
|
|
4
4
|
export const gisborneRegion = newZealandRegion(NewZealandRegionCode.gis, Place.fromDMS("38°40′00″S,178°01′00″E"));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Place } from "place/Place.js";
|
|
1
|
+
import { Place } from "../../../../place/Place.js";
|
|
2
2
|
import { UsaStates } from "../UsaStates.js";
|
|
3
3
|
import { usaRegion } from "../../Usa.js";
|
|
4
4
|
export const alabama = usaRegion(UsaStates.al, Place.fromLocation(47.466667, 0.833333));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Place } from "place/Place.js";
|
|
1
|
+
import { Place } from "../../../../place/Place.js";
|
|
2
2
|
import { UsaStates } from "../UsaStates.js";
|
|
3
3
|
import { usaRegion } from "../../Usa.js";
|
|
4
4
|
export const pennsylvania = usaRegion(UsaStates.pa, Place.fromDMS("40°19′N 79°28′W"));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Place } from "place/Place.js";
|
|
1
|
+
import { Place } from "../../../../place/Place.js";
|
|
2
2
|
import { UsaStates } from "../UsaStates.js";
|
|
3
3
|
import { usaRegion } from "../../Usa.js";
|
|
4
4
|
export const texas = usaRegion(UsaStates.tx, Place.fromDMS("32°45′23″N 97°19′57″W"));
|