@rr0/cms 0.2.1 → 0.2.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.
@@ -2,8 +2,8 @@ import { HttpSource } from "../HttpSource.js";
2
2
  import { UrlUtil } from "../../../util/index.js";
3
3
  import { RR0Datasource } from "./RR0Datasource.js";
4
4
  import { Level2Date as EdtfDate } from "@rr0/time";
5
+ import { NamedPlace } from "@rr0/place";
5
6
  import { OrganizationPlace } from "../../../place/OrganizationPlace";
6
- import { NamedPlace } from "../../../place/NamedPlace";
7
7
  export class RR0HttpDatasource extends RR0Datasource {
8
8
  constructor(baseUrl, searchPath, cityService) {
9
9
  super();
@@ -2,7 +2,7 @@ import { Level2Date as EdtfDate } from "@rr0/time";
2
2
  import { UrlUtil } from "../../../util/index.js";
3
3
  import { RR0HttpDatasource } from "./RR0HttpDatasource";
4
4
  import { RR0Mapping } from "./RR0Mapping";
5
- import { NamedPlace } from "../../../place/NamedPlace";
5
+ import { NamedPlace } from "@rr0/place";
6
6
  function testCase(urlPath, time, description, sources, place) {
7
7
  const path = UrlUtil.join(RR0Mapping.searchPath, urlPath);
8
8
  const url = new URL(path, RR0Mapping.baseUrl).href;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@rr0/cms",
3
3
  "type": "module",
4
4
  "author": "Jérôme Beau <rr0@rr0.org> (https://rr0.org)",
5
- "version": "0.2.1",
5
+ "version": "0.2.2",
6
6
  "description": "RR0 Content Management System (CMS)",
7
7
  "exports": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
@@ -31,8 +31,8 @@
31
31
  "@rr0/common": "^1.1.3",
32
32
  "@rr0/lang": "^0.1.12",
33
33
  "@rr0/time": "^0.9.1",
34
- "@rr0/place": "^0.5.0",
35
- "@rr0/data": "^0.2.0",
34
+ "@rr0/place": "^0.5.1",
35
+ "@rr0/data": "^0.2.1",
36
36
  "@javarome/fileutil": "^0.3.6",
37
37
  "ssg-api": "^1.16.12",
38
38
  "canvas": "^2.11.2",
@@ -1,5 +0,0 @@
1
- import { Place } from "@rr0/place";
2
- export declare class NamedPlace extends Place {
3
- readonly name: string;
4
- constructor(name: string);
5
- }
@@ -1,7 +0,0 @@
1
- import { Place } from "@rr0/place";
2
- export class NamedPlace extends Place {
3
- constructor(name) {
4
- super([]);
5
- this.name = name;
6
- }
7
- }