@refrakt-md/places 0.7.1 → 0.7.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/dist/schema/event.d.ts +1 -14
- package/dist/schema/event.d.ts.map +1 -1
- package/dist/schema/event.js.map +1 -1
- package/dist/schema/itinerary.d.ts +1 -39
- package/dist/schema/itinerary.d.ts.map +1 -1
- package/dist/schema/itinerary.js.map +1 -1
- package/dist/schema/map.d.ts +0 -31
- package/dist/schema/map.d.ts.map +1 -1
- package/dist/schema/map.js.map +1 -1
- package/dist/types.d.ts +9 -9
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +4 -4
package/dist/schema/event.d.ts
CHANGED
|
@@ -1,21 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PageSection } from "@refrakt-md/types";
|
|
2
2
|
export declare class Event extends PageSection {
|
|
3
3
|
date: string;
|
|
4
4
|
endDate: string;
|
|
5
5
|
location: string;
|
|
6
6
|
url: string;
|
|
7
7
|
}
|
|
8
|
-
export interface EventProperties extends PageSectionProperties {
|
|
9
|
-
date: 'meta';
|
|
10
|
-
endDate: 'meta';
|
|
11
|
-
location: 'meta';
|
|
12
|
-
url: 'meta';
|
|
13
|
-
}
|
|
14
|
-
export interface EventComponent extends ComponentType<Event> {
|
|
15
|
-
tag: 'article';
|
|
16
|
-
properties: EventProperties;
|
|
17
|
-
refs: {
|
|
18
|
-
body: 'div';
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
8
|
//# sourceMappingURL=event.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/schema/event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/schema/event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,qBAAa,KAAM,SAAQ,WAAW;IACrC,IAAI,EAAE,MAAM,CAAM;IAClB,OAAO,EAAE,MAAM,CAAM;IACrB,QAAQ,EAAE,MAAM,CAAM;IACtB,GAAG,EAAE,MAAM,CAAM;CACjB"}
|
package/dist/schema/event.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../src/schema/event.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../src/schema/event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACC,SAAI,GAAW,EAAE,CAAC;QAClB,YAAO,GAAW,EAAE,CAAC;QACrB,aAAQ,GAAW,EAAE,CAAC;QACtB,QAAG,GAAW,EAAE,CAAC;IAClB,CAAC;CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PageSection } from "@refrakt-md/types";
|
|
2
2
|
export declare class ItineraryStop {
|
|
3
3
|
time: string;
|
|
4
4
|
location: string;
|
|
@@ -7,52 +7,14 @@ export declare class ItineraryStop {
|
|
|
7
7
|
lat: string;
|
|
8
8
|
lng: string;
|
|
9
9
|
}
|
|
10
|
-
export interface ItineraryStopComponent extends ComponentType<ItineraryStop> {
|
|
11
|
-
tag: 'li';
|
|
12
|
-
properties: {
|
|
13
|
-
time: 'time';
|
|
14
|
-
location: 'span';
|
|
15
|
-
duration: 'meta';
|
|
16
|
-
activity: 'meta';
|
|
17
|
-
lat: 'meta';
|
|
18
|
-
lng: 'meta';
|
|
19
|
-
};
|
|
20
|
-
refs: {
|
|
21
|
-
body: 'div';
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
10
|
export declare class ItineraryDay {
|
|
25
11
|
label: string;
|
|
26
12
|
date: string;
|
|
27
13
|
stop: ItineraryStop[];
|
|
28
14
|
}
|
|
29
|
-
export interface ItineraryDayComponent extends ComponentType<ItineraryDay> {
|
|
30
|
-
tag: 'article';
|
|
31
|
-
properties: {
|
|
32
|
-
label: 'h3';
|
|
33
|
-
date: 'meta';
|
|
34
|
-
stop: 'li';
|
|
35
|
-
};
|
|
36
|
-
refs: {
|
|
37
|
-
stops: 'ol';
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
15
|
export declare class Itinerary extends PageSection {
|
|
41
16
|
day: ItineraryDay[];
|
|
42
17
|
style: string;
|
|
43
18
|
direction: string;
|
|
44
19
|
}
|
|
45
|
-
export interface ItineraryProperties extends PageSectionProperties {
|
|
46
|
-
day: 'article';
|
|
47
|
-
}
|
|
48
|
-
export interface ItineraryComponent extends ComponentType<Itinerary> {
|
|
49
|
-
tag: 'section';
|
|
50
|
-
properties: ItineraryProperties & {
|
|
51
|
-
style: 'meta';
|
|
52
|
-
direction: 'meta';
|
|
53
|
-
};
|
|
54
|
-
refs: {
|
|
55
|
-
days: 'div';
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
20
|
//# sourceMappingURL=itinerary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"itinerary.d.ts","sourceRoot":"","sources":["../../src/schema/itinerary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"itinerary.d.ts","sourceRoot":"","sources":["../../src/schema/itinerary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,qBAAa,aAAa;IACzB,IAAI,EAAE,MAAM,CAAM;IAClB,QAAQ,EAAE,MAAM,CAAM;IACtB,QAAQ,EAAE,MAAM,CAAM;IACtB,QAAQ,EAAE,MAAM,CAAM;IACtB,GAAG,EAAE,MAAM,CAAM;IACjB,GAAG,EAAE,MAAM,CAAM;CACjB;AAED,qBAAa,YAAY;IACxB,KAAK,EAAE,MAAM,CAAM;IACnB,IAAI,EAAE,MAAM,CAAM;IAClB,IAAI,EAAE,aAAa,EAAE,CAAM;CAC3B;AAED,qBAAa,SAAU,SAAQ,WAAW;IACzC,GAAG,EAAE,YAAY,EAAE,CAAM;IACzB,KAAK,EAAE,MAAM,CAAgB;IAC7B,SAAS,EAAE,MAAM,CAAc;CAC/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"itinerary.js","sourceRoot":"","sources":["../../src/schema/itinerary.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"itinerary.js","sourceRoot":"","sources":["../../src/schema/itinerary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,aAAa;IAA1B;QACC,SAAI,GAAW,EAAE,CAAC;QAClB,aAAQ,GAAW,EAAE,CAAC;QACtB,aAAQ,GAAW,EAAE,CAAC;QACtB,aAAQ,GAAW,EAAE,CAAC;QACtB,QAAG,GAAW,EAAE,CAAC;QACjB,QAAG,GAAW,EAAE,CAAC;IAClB,CAAC;CAAA;AAED,MAAM,OAAO,YAAY;IAAzB;QACC,UAAK,GAAW,EAAE,CAAC;QACnB,SAAI,GAAW,EAAE,CAAC;QAClB,SAAI,GAAoB,EAAE,CAAC;IAC5B,CAAC;CAAA;AAED,MAAM,OAAO,SAAU,SAAQ,WAAW;IAA1C;;QACC,QAAG,GAAmB,EAAE,CAAC;QACzB,UAAK,GAAW,YAAY,CAAC;QAC7B,cAAS,GAAW,UAAU,CAAC;IAChC,CAAC;CAAA"}
|
package/dist/schema/map.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ComponentType } from "@refrakt-md/types";
|
|
2
1
|
export declare class MapPin {
|
|
3
2
|
name: string;
|
|
4
3
|
description: string;
|
|
@@ -8,19 +7,6 @@ export declare class MapPin {
|
|
|
8
7
|
url: string;
|
|
9
8
|
group: string;
|
|
10
9
|
}
|
|
11
|
-
export interface MapPinComponent extends ComponentType<MapPin> {
|
|
12
|
-
tag: 'li';
|
|
13
|
-
properties: {
|
|
14
|
-
name: 'span';
|
|
15
|
-
description: 'span';
|
|
16
|
-
lat: 'meta';
|
|
17
|
-
lng: 'meta';
|
|
18
|
-
address: 'meta';
|
|
19
|
-
url: 'meta';
|
|
20
|
-
group: 'meta';
|
|
21
|
-
};
|
|
22
|
-
refs: {};
|
|
23
|
-
}
|
|
24
10
|
export declare class Map {
|
|
25
11
|
pin: MapPin[];
|
|
26
12
|
zoom: string;
|
|
@@ -32,21 +18,4 @@ export declare class Map {
|
|
|
32
18
|
route: string;
|
|
33
19
|
cluster: string;
|
|
34
20
|
}
|
|
35
|
-
export interface MapComponent extends ComponentType<Map> {
|
|
36
|
-
tag: 'div';
|
|
37
|
-
properties: {
|
|
38
|
-
pin: 'li';
|
|
39
|
-
zoom: 'meta';
|
|
40
|
-
center: 'meta';
|
|
41
|
-
style: 'meta';
|
|
42
|
-
height: 'meta';
|
|
43
|
-
provider: 'meta';
|
|
44
|
-
interactive: 'meta';
|
|
45
|
-
route: 'meta';
|
|
46
|
-
cluster: 'meta';
|
|
47
|
-
};
|
|
48
|
-
refs: {
|
|
49
|
-
pins: 'ol';
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
21
|
//# sourceMappingURL=map.d.ts.map
|
package/dist/schema/map.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../src/schema/map.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../src/schema/map.ts"],"names":[],"mappings":"AAAA,qBAAa,MAAM;IAClB,IAAI,EAAE,MAAM,CAAM;IAClB,WAAW,EAAE,MAAM,CAAM;IACzB,GAAG,EAAE,MAAM,CAAM;IACjB,GAAG,EAAE,MAAM,CAAM;IACjB,OAAO,EAAE,MAAM,CAAM;IACrB,GAAG,EAAE,MAAM,CAAM;IACjB,KAAK,EAAE,MAAM,CAAM;CACnB;AAED,qBAAa,GAAG;IACf,GAAG,EAAE,MAAM,EAAE,CAAM;IACnB,IAAI,EAAE,MAAM,CAAM;IAClB,MAAM,EAAE,MAAM,CAAM;IACpB,KAAK,EAAE,MAAM,CAAY;IACzB,MAAM,EAAE,MAAM,CAAY;IAC1B,QAAQ,EAAE,MAAM,CAAmB;IACnC,WAAW,EAAE,MAAM,CAAU;IAC7B,KAAK,EAAE,MAAM,CAAW;IACxB,OAAO,EAAE,MAAM,CAAW;CAC1B"}
|
package/dist/schema/map.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map.js","sourceRoot":"","sources":["../../src/schema/map.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"map.js","sourceRoot":"","sources":["../../src/schema/map.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,MAAM;IAAnB;QACC,SAAI,GAAW,EAAE,CAAC;QAClB,gBAAW,GAAW,EAAE,CAAC;QACzB,QAAG,GAAW,EAAE,CAAC;QACjB,QAAG,GAAW,EAAE,CAAC;QACjB,YAAO,GAAW,EAAE,CAAC;QACrB,QAAG,GAAW,EAAE,CAAC;QACjB,UAAK,GAAW,EAAE,CAAC;IACpB,CAAC;CAAA;AAED,MAAM,OAAO,GAAG;IAAhB;QACC,QAAG,GAAa,EAAE,CAAC;QACnB,SAAI,GAAW,EAAE,CAAC;QAClB,WAAM,GAAW,EAAE,CAAC;QACpB,UAAK,GAAW,QAAQ,CAAC;QACzB,WAAM,GAAW,QAAQ,CAAC;QAC1B,aAAQ,GAAW,eAAe,CAAC;QACnC,gBAAW,GAAW,MAAM,CAAC;QAC7B,UAAK,GAAW,OAAO,CAAC;QACxB,YAAO,GAAW,OAAO,CAAC;IAC3B,CAAC;CAAA"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Event } from './schema/event.js';
|
|
2
|
+
import { Itinerary, ItineraryDay, ItineraryStop } from './schema/itinerary.js';
|
|
3
|
+
import { Map, MapPin } from './schema/map.js';
|
|
4
4
|
export declare const schema: {
|
|
5
|
-
Event: import("@refrakt-md/types").Type<
|
|
6
|
-
Itinerary: import("@refrakt-md/types").Type<
|
|
7
|
-
ItineraryDay: import("@refrakt-md/types").Type<
|
|
8
|
-
ItineraryStop: import("@refrakt-md/types").Type<
|
|
9
|
-
Map: import("@refrakt-md/types").Type<
|
|
10
|
-
MapPin: import("@refrakt-md/types").Type<
|
|
5
|
+
Event: import("@refrakt-md/types").Type<Event>;
|
|
6
|
+
Itinerary: import("@refrakt-md/types").Type<Itinerary>;
|
|
7
|
+
ItineraryDay: import("@refrakt-md/types").Type<ItineraryDay>;
|
|
8
|
+
ItineraryStop: import("@refrakt-md/types").Type<ItineraryStop>;
|
|
9
|
+
Map: import("@refrakt-md/types").Type<Map>;
|
|
10
|
+
MapPin: import("@refrakt-md/types").Type<MapPin>;
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAC,SAAS,EAAE,YAAY,EAAE,aAAa,EAAC,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAC,GAAG,EAAE,MAAM,EAAC,MAAM,iBAAiB,CAAC;AAE5C,eAAO,MAAM,MAAM;;;;;;;CAOlB,CAAC"}
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAC,SAAS,EAAE,YAAY,EAAE,aAAa,EAAC,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAC,GAAG,EAAE,MAAM,EAAC,MAAM,iBAAiB,CAAC;AAE5C,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC;IAC3C,SAAS,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC;IACvD,YAAY,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC,UAAU,CAAC,cAAc,CAAC;IAChE,aAAa,EAAE,SAAS,CAAC,aAAa,CAAC,CAAC,UAAU,CAAC,eAAe,CAAC;IACnE,GAAG,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC;IACrC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;CAC/C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@refrakt-md/places",
|
|
3
3
|
"description": "Places runes for refrakt.md — events, maps, and itineraries",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"build": "tsc"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@refrakt-md/types": "0.7.
|
|
25
|
-
"@refrakt-md/transform": "0.7.
|
|
26
|
-
"@refrakt-md/runes": "0.7.
|
|
24
|
+
"@refrakt-md/types": "0.7.2",
|
|
25
|
+
"@refrakt-md/transform": "0.7.2",
|
|
26
|
+
"@refrakt-md/runes": "0.7.2",
|
|
27
27
|
"@markdoc/markdoc": "0.4.0",
|
|
28
28
|
"reflect-metadata": "^0.2.0"
|
|
29
29
|
}
|