@hpcc-js/observablehq-compiler 1.4.0 → 3.2.0
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/bin/ojscc.mjs +13 -19
- package/dist/index.css +2 -1
- package/dist/index.css.map +7 -0
- package/dist/index.js +24 -7999
- package/dist/index.js.map +7 -1
- package/package.json +42 -52
- package/src/__package__.ts +2 -2
- package/src/compiler.ts +34 -22
- package/src/cst.ts +27 -23
- package/src/index.ts +4 -3
- package/src/observable-shim.ts +2 -0
- package/src/parse.ts +136 -0
- package/src/types.ts +180 -0
- package/src/util.ts +6 -3
- package/src/writer.ts +9 -6
- package/types/compiler.d.ts +7 -8
- package/types/cst.d.ts +0 -1
- package/types/index.d.ts +4 -4
- package/types/observable-shim.d.ts +2 -0
- package/types/parse.d.ts +26 -0
- package/types/types.d.ts +165 -0
- package/types/util.d.ts +2 -3
- package/types/writer.d.ts +2 -3
- package/dist/index.esm.css +0 -1
- package/dist/index.esm.js +0 -7999
- package/dist/index.esm.js.map +0 -1
- package/dist/index.esm.min.js +0 -4
- package/dist/index.esm.min.js.map +0 -1
- package/dist/index.min.js +0 -4
- package/dist/index.min.js.map +0 -1
- package/src/__tests__/File Attachments.ts +0 -895
- package/src/__tests__/Introduction to Imports.ts +0 -749
- package/src/__tests__/Observable TimeChart.ts +0 -772
- package/src/__tests__/index.ts +0 -13
- package/src/__tests__/m1.mjs +0 -3
- package/src/__tests__/node.ts +0 -199
- package/types/__package__.d.ts +0 -4
- package/types/__package__.d.ts.map +0 -1
- package/types/__tests__/File Attachments.d.ts +0 -110
- package/types/__tests__/File Attachments.d.ts.map +0 -1
- package/types/__tests__/Introduction to Imports.d.ts +0 -120
- package/types/__tests__/Introduction to Imports.d.ts.map +0 -1
- package/types/__tests__/Observable TimeChart.d.ts +0 -111
- package/types/__tests__/Observable TimeChart.d.ts.map +0 -1
- package/types/__tests__/index.d.ts +0 -2
- package/types/__tests__/index.d.ts.map +0 -1
- package/types/__tests__/node.d.ts +0 -2
- package/types/__tests__/node.d.ts.map +0 -1
- package/types/compiler.d.ts.map +0 -1
- package/types/cst.d.ts.map +0 -1
- package/types/index.d.ts.map +0 -1
- package/types/util.d.ts.map +0 -1
- package/types/writer.d.ts.map +0 -1
- package/types-3.4/__package__.d.ts +0 -4
- package/types-3.4/__tests__/File Attachments.d.ts +0 -110
- package/types-3.4/__tests__/Introduction to Imports.d.ts +0 -120
- package/types-3.4/__tests__/Observable TimeChart.d.ts +0 -111
- package/types-3.4/__tests__/index.d.ts +0 -2
- package/types-3.4/__tests__/node.d.ts +0 -2
- package/types-3.4/compiler.d.ts +0 -112
- package/types-3.4/cst.d.ts +0 -42
- package/types-3.4/index.d.ts +0 -5
- package/types-3.4/util.d.ts +0 -30
- package/types-3.4/writer.d.ts +0 -19
package/src/__tests__/index.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// @ts-ignore
|
|
2
|
-
import fetch, { Blob, blobFrom, blobFromSync, File, fileFrom, fileFromSync, FormData, Headers, Request, Response } from "node-fetch";
|
|
3
|
-
if (!globalThis.fetch) {
|
|
4
|
-
// @ts-ignore
|
|
5
|
-
globalThis.fetch = fetch;
|
|
6
|
-
// @ts-ignore
|
|
7
|
-
globalThis.Headers = Headers;
|
|
8
|
-
// @ts-ignore
|
|
9
|
-
globalThis.Request = Request;
|
|
10
|
-
// @ts-ignore
|
|
11
|
-
globalThis.Response = Response;
|
|
12
|
-
}
|
|
13
|
-
export * from "./node";
|
package/src/__tests__/m1.mjs
DELETED
package/src/__tests__/node.ts
DELETED
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
import { Library, Runtime, Inspector } from "@observablehq/runtime";
|
|
2
|
-
import { expect } from "chai";
|
|
3
|
-
import { compile, download, ohq, ojs2notebook } from "../index";
|
|
4
|
-
import { Writer } from "../writer";
|
|
5
|
-
import { fa } from "./File Attachments";
|
|
6
|
-
import { imports } from "./Introduction to Imports";
|
|
7
|
-
import { timechart } from "./Observable TimeChart";
|
|
8
|
-
|
|
9
|
-
const placeholder = globalThis?.document?.getElementById("placeholder");
|
|
10
|
-
|
|
11
|
-
const ojs = `
|
|
12
|
-
42;
|
|
13
|
-
a = 1
|
|
14
|
-
b = 2
|
|
15
|
-
c = a + b
|
|
16
|
-
d = {
|
|
17
|
-
yield 1;
|
|
18
|
-
yield 2;
|
|
19
|
-
yield 3;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
viewof e = {
|
|
23
|
-
let output = {};
|
|
24
|
-
let listeners = [];
|
|
25
|
-
output.value = 10;
|
|
26
|
-
output.addEventListener = (listener) => listeners.push(listener);;
|
|
27
|
-
output.removeEventListener = (listener) => {
|
|
28
|
-
listeners = listeners.filter(l => l !== listener);
|
|
29
|
-
};
|
|
30
|
-
return output;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
tenTimes = {
|
|
34
|
-
for (let i = 0; i < 10; i++) {
|
|
35
|
-
yield Promises.delay(100);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
f = {
|
|
40
|
-
tenTimes;
|
|
41
|
-
return (this || 0) + 1;
|
|
42
|
-
}
|
|
43
|
-
`;
|
|
44
|
-
|
|
45
|
-
describe("ojs", function () {
|
|
46
|
-
it("quickstart", async function () {
|
|
47
|
-
this.timeout(10000);
|
|
48
|
-
|
|
49
|
-
const notebook = await download("https://observablehq.com/@observablehq/summary-table");
|
|
50
|
-
const compiledNB = await compile(notebook);
|
|
51
|
-
|
|
52
|
-
const library = new Library();
|
|
53
|
-
const runtime = new Runtime(library);
|
|
54
|
-
|
|
55
|
-
compiledNB(runtime, name => {
|
|
56
|
-
const div = globalThis?.document.createElement("div");
|
|
57
|
-
placeholder.appendChild(div);
|
|
58
|
-
return new Inspector(div);
|
|
59
|
-
});
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
it("simple", async function () {
|
|
63
|
-
this.timeout(10000);
|
|
64
|
-
|
|
65
|
-
const notebook = ojs2notebook(ojs);
|
|
66
|
-
const define = await compile(notebook);
|
|
67
|
-
|
|
68
|
-
const library = new Library();
|
|
69
|
-
const runtime = new Runtime(library);
|
|
70
|
-
const main: ohq.Module = define(runtime, name => {
|
|
71
|
-
if (placeholder) {
|
|
72
|
-
const div = globalThis?.document.createElement("div");
|
|
73
|
-
placeholder.appendChild(div);
|
|
74
|
-
return new Inspector(div);
|
|
75
|
-
}
|
|
76
|
-
return {
|
|
77
|
-
pending() { },
|
|
78
|
-
fulfilled(value) { console.info("fulfilled", name, value); },
|
|
79
|
-
rejected(error) { console.error("rejected", name, error); },
|
|
80
|
-
};
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
expect(await main.value("d")).to.equal(1);
|
|
84
|
-
expect(await main.value("d")).to.equal(2);
|
|
85
|
-
expect(await main.value("d")).to.equal(3);
|
|
86
|
-
expect(await main.value("d")).to.equal(3);
|
|
87
|
-
expect(await main.value("d")).to.equal(3);
|
|
88
|
-
|
|
89
|
-
expect(await main.value("c")).to.equal(3);
|
|
90
|
-
expect(await main.value("a")).to.equal(1);
|
|
91
|
-
expect(await main.value("b")).to.equal(2);
|
|
92
|
-
|
|
93
|
-
expect(await main.value("e")).to.equal(10);
|
|
94
|
-
const viewOfE = await main.value("viewof e");
|
|
95
|
-
expect(viewOfE).to.have.property("value");
|
|
96
|
-
expect(viewOfE).to.have.property("addEventListener");
|
|
97
|
-
expect(viewOfE).to.have.property("removeEventListener");
|
|
98
|
-
|
|
99
|
-
await main.value("tenTimes");
|
|
100
|
-
|
|
101
|
-
for (const cellID in define.cells) {
|
|
102
|
-
define.delete(cellID);
|
|
103
|
-
break;
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
|
|
107
|
-
it("compiler", async function () {
|
|
108
|
-
const writer = new Writer();
|
|
109
|
-
const define = await compile(imports as any);
|
|
110
|
-
define.write(writer);
|
|
111
|
-
console.info(writer.toString());
|
|
112
|
-
});
|
|
113
|
-
|
|
114
|
-
it("File Attachements", async function () {
|
|
115
|
-
|
|
116
|
-
const define = await compile(fa as any);
|
|
117
|
-
|
|
118
|
-
const library = new Library();
|
|
119
|
-
const runtime = new Runtime(library);
|
|
120
|
-
/*const main: ohq.Module =*/ define(runtime, name => {
|
|
121
|
-
if (placeholder) {
|
|
122
|
-
const div = globalThis?.document.createElement("div");
|
|
123
|
-
placeholder.appendChild(div);
|
|
124
|
-
return new Inspector(div);
|
|
125
|
-
}
|
|
126
|
-
return {
|
|
127
|
-
pending() { console.info("pending", name); },
|
|
128
|
-
fulfilled(value) { console.info("fulfilled", name, value); },
|
|
129
|
-
rejected(error) { console.error("rejected", name, error); },
|
|
130
|
-
};
|
|
131
|
-
});
|
|
132
|
-
|
|
133
|
-
});
|
|
134
|
-
|
|
135
|
-
it("esm imports", async function () {
|
|
136
|
-
this.timeout(10000);
|
|
137
|
-
|
|
138
|
-
const define = await compile(`\
|
|
139
|
-
m1 = import("../src/__tests__/m1.mjs");
|
|
140
|
-
x = m1.f(5, 7);
|
|
141
|
-
`);
|
|
142
|
-
|
|
143
|
-
const library = new Library();
|
|
144
|
-
const runtime = new Runtime(library);
|
|
145
|
-
const main: ohq.Module = define(runtime, name => {
|
|
146
|
-
return {
|
|
147
|
-
pending() { },
|
|
148
|
-
fulfilled(value) { console.info("fulfilled", name, value); },
|
|
149
|
-
rejected(error) { console.error("rejected", name, error); },
|
|
150
|
-
};
|
|
151
|
-
});
|
|
152
|
-
|
|
153
|
-
expect(await main.value("x")).to.equal(35);
|
|
154
|
-
|
|
155
|
-
});
|
|
156
|
-
|
|
157
|
-
it("Introduction to Imports", async function () {
|
|
158
|
-
|
|
159
|
-
const define = await compile(imports as any);
|
|
160
|
-
|
|
161
|
-
const library = new Library();
|
|
162
|
-
const runtime = new Runtime(library);
|
|
163
|
-
/*const main: ohq.Module =*/ define(runtime, name => {
|
|
164
|
-
if (placeholder) {
|
|
165
|
-
const div = globalThis?.document.createElement("div");
|
|
166
|
-
placeholder.appendChild(div);
|
|
167
|
-
return new Inspector(div);
|
|
168
|
-
}
|
|
169
|
-
return {
|
|
170
|
-
pending() { console.info("pending", name); },
|
|
171
|
-
fulfilled(value) { console.info("fulfilled", name, value); },
|
|
172
|
-
rejected(error) { console.error("rejected", name, error); },
|
|
173
|
-
};
|
|
174
|
-
});
|
|
175
|
-
|
|
176
|
-
});
|
|
177
|
-
|
|
178
|
-
it("Observable TimeChart", async function () {
|
|
179
|
-
|
|
180
|
-
const define2 = await compile(timechart as any);
|
|
181
|
-
|
|
182
|
-
const library = new Library();
|
|
183
|
-
const runtime = new Runtime(library);
|
|
184
|
-
/*const main: ohq.Module =*/ define2(runtime, name => {
|
|
185
|
-
if (placeholder) {
|
|
186
|
-
const div = globalThis?.document.createElement("div");
|
|
187
|
-
placeholder.appendChild(div);
|
|
188
|
-
return new Inspector(div);
|
|
189
|
-
}
|
|
190
|
-
return {
|
|
191
|
-
pending() { console.info("pending", name); },
|
|
192
|
-
fulfilled(value) { console.info("fulfilled", name, value); },
|
|
193
|
-
rejected(error) { console.error("rejected", name, error); },
|
|
194
|
-
};
|
|
195
|
-
});
|
|
196
|
-
|
|
197
|
-
});
|
|
198
|
-
});
|
|
199
|
-
|
package/types/__package__.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"__package__.d.ts","sourceRoot":"","sources":["../src/__package__.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,mCAAmC,CAAC;AACzD,eAAO,MAAM,WAAW,UAAU,CAAC;AACnC,eAAO,MAAM,aAAa,YAAY,CAAC"}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
export declare const fa: {
|
|
2
|
-
id: string;
|
|
3
|
-
slug: string;
|
|
4
|
-
trashed: boolean;
|
|
5
|
-
description: string;
|
|
6
|
-
likes: number;
|
|
7
|
-
publish_level: string;
|
|
8
|
-
forks: number;
|
|
9
|
-
fork_of: any;
|
|
10
|
-
update_time: string;
|
|
11
|
-
publish_time: string;
|
|
12
|
-
publish_version: number;
|
|
13
|
-
latest_version: number;
|
|
14
|
-
thumbnail: string;
|
|
15
|
-
default_thumbnail: string;
|
|
16
|
-
roles: any[];
|
|
17
|
-
sharing: any;
|
|
18
|
-
owner: {
|
|
19
|
-
id: string;
|
|
20
|
-
avatar_url: string;
|
|
21
|
-
login: string;
|
|
22
|
-
name: string;
|
|
23
|
-
bio: string;
|
|
24
|
-
home_url: string;
|
|
25
|
-
type: string;
|
|
26
|
-
tier: string;
|
|
27
|
-
};
|
|
28
|
-
creator: {
|
|
29
|
-
id: string;
|
|
30
|
-
github_login: string;
|
|
31
|
-
avatar_url: string;
|
|
32
|
-
login: string;
|
|
33
|
-
name: string;
|
|
34
|
-
bio: string;
|
|
35
|
-
home_url: string;
|
|
36
|
-
tier: string;
|
|
37
|
-
};
|
|
38
|
-
authors: any[];
|
|
39
|
-
collections: {
|
|
40
|
-
id: string;
|
|
41
|
-
type: string;
|
|
42
|
-
slug: string;
|
|
43
|
-
title: string;
|
|
44
|
-
description: string;
|
|
45
|
-
update_time: string;
|
|
46
|
-
pinned: boolean;
|
|
47
|
-
ordered: boolean;
|
|
48
|
-
custom_thumbnail: string;
|
|
49
|
-
default_thumbnail: string;
|
|
50
|
-
thumbnail: string;
|
|
51
|
-
listing_count: number;
|
|
52
|
-
parent_collection_count: number;
|
|
53
|
-
owner: {
|
|
54
|
-
id: string;
|
|
55
|
-
avatar_url: string;
|
|
56
|
-
login: string;
|
|
57
|
-
name: string;
|
|
58
|
-
bio: string;
|
|
59
|
-
home_url: string;
|
|
60
|
-
type: string;
|
|
61
|
-
tier: string;
|
|
62
|
-
};
|
|
63
|
-
}[];
|
|
64
|
-
files: {
|
|
65
|
-
id: string;
|
|
66
|
-
url: string;
|
|
67
|
-
download_url: string;
|
|
68
|
-
name: string;
|
|
69
|
-
create_time: string;
|
|
70
|
-
status: string;
|
|
71
|
-
size: number;
|
|
72
|
-
mime_type: string;
|
|
73
|
-
content_encoding: string;
|
|
74
|
-
}[];
|
|
75
|
-
comments: {
|
|
76
|
-
id: string;
|
|
77
|
-
content: string;
|
|
78
|
-
node_id: number;
|
|
79
|
-
create_time: string;
|
|
80
|
-
update_time: any;
|
|
81
|
-
resolved: boolean;
|
|
82
|
-
user: {
|
|
83
|
-
id: string;
|
|
84
|
-
github_login: string;
|
|
85
|
-
avatar_url: string;
|
|
86
|
-
login: string;
|
|
87
|
-
name: string;
|
|
88
|
-
bio: string;
|
|
89
|
-
home_url: string;
|
|
90
|
-
tier: string;
|
|
91
|
-
};
|
|
92
|
-
}[];
|
|
93
|
-
commenting_lock: any;
|
|
94
|
-
suggestion_from: any;
|
|
95
|
-
suggestions_to: any[];
|
|
96
|
-
version: number;
|
|
97
|
-
title: string;
|
|
98
|
-
license: any;
|
|
99
|
-
copyright: string;
|
|
100
|
-
nodes: {
|
|
101
|
-
id: number;
|
|
102
|
-
value: string;
|
|
103
|
-
pinned: boolean;
|
|
104
|
-
mode: string;
|
|
105
|
-
data: any;
|
|
106
|
-
name: string;
|
|
107
|
-
}[];
|
|
108
|
-
resolutions: any[];
|
|
109
|
-
};
|
|
110
|
-
//# sourceMappingURL=File%20Attachments.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"File Attachments.d.ts","sourceRoot":"","sources":["../../src/__tests__/File Attachments.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA83Bd,CAAC"}
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
export declare const imports: {
|
|
2
|
-
id: string;
|
|
3
|
-
slug: string;
|
|
4
|
-
trashed: boolean;
|
|
5
|
-
description: string;
|
|
6
|
-
likes: number;
|
|
7
|
-
publish_level: string;
|
|
8
|
-
forks: number;
|
|
9
|
-
fork_of: any;
|
|
10
|
-
update_time: string;
|
|
11
|
-
publish_time: string;
|
|
12
|
-
publish_version: number;
|
|
13
|
-
latest_version: number;
|
|
14
|
-
thumbnail: string;
|
|
15
|
-
default_thumbnail: string;
|
|
16
|
-
roles: any[];
|
|
17
|
-
sharing: any;
|
|
18
|
-
owner: {
|
|
19
|
-
id: string;
|
|
20
|
-
avatar_url: string;
|
|
21
|
-
login: string;
|
|
22
|
-
name: string;
|
|
23
|
-
bio: string;
|
|
24
|
-
home_url: string;
|
|
25
|
-
type: string;
|
|
26
|
-
tier: string;
|
|
27
|
-
};
|
|
28
|
-
creator: {
|
|
29
|
-
id: string;
|
|
30
|
-
github_login: string;
|
|
31
|
-
avatar_url: string;
|
|
32
|
-
login: string;
|
|
33
|
-
name: string;
|
|
34
|
-
bio: string;
|
|
35
|
-
home_url: string;
|
|
36
|
-
tier: string;
|
|
37
|
-
};
|
|
38
|
-
authors: any[];
|
|
39
|
-
collections: {
|
|
40
|
-
id: string;
|
|
41
|
-
type: string;
|
|
42
|
-
slug: string;
|
|
43
|
-
title: string;
|
|
44
|
-
description: string;
|
|
45
|
-
update_time: string;
|
|
46
|
-
pinned: boolean;
|
|
47
|
-
ordered: boolean;
|
|
48
|
-
custom_thumbnail: string;
|
|
49
|
-
default_thumbnail: string;
|
|
50
|
-
thumbnail: string;
|
|
51
|
-
listing_count: number;
|
|
52
|
-
parent_collection_count: number;
|
|
53
|
-
owner: {
|
|
54
|
-
id: string;
|
|
55
|
-
avatar_url: string;
|
|
56
|
-
login: string;
|
|
57
|
-
name: string;
|
|
58
|
-
bio: string;
|
|
59
|
-
home_url: string;
|
|
60
|
-
type: string;
|
|
61
|
-
tier: string;
|
|
62
|
-
};
|
|
63
|
-
}[];
|
|
64
|
-
files: ({
|
|
65
|
-
id: string;
|
|
66
|
-
url: string;
|
|
67
|
-
download_url: string;
|
|
68
|
-
name: string;
|
|
69
|
-
create_time: string;
|
|
70
|
-
status: string;
|
|
71
|
-
size: number;
|
|
72
|
-
mime_type: any;
|
|
73
|
-
content_encoding: string;
|
|
74
|
-
} | {
|
|
75
|
-
id: string;
|
|
76
|
-
url: string;
|
|
77
|
-
download_url: string;
|
|
78
|
-
name: string;
|
|
79
|
-
create_time: string;
|
|
80
|
-
status: string;
|
|
81
|
-
size: number;
|
|
82
|
-
mime_type: string;
|
|
83
|
-
content_encoding: any;
|
|
84
|
-
})[];
|
|
85
|
-
comments: {
|
|
86
|
-
id: string;
|
|
87
|
-
content: string;
|
|
88
|
-
node_id: number;
|
|
89
|
-
create_time: string;
|
|
90
|
-
update_time: any;
|
|
91
|
-
resolved: boolean;
|
|
92
|
-
user: {
|
|
93
|
-
id: string;
|
|
94
|
-
github_login: string;
|
|
95
|
-
avatar_url: string;
|
|
96
|
-
login: string;
|
|
97
|
-
name: string;
|
|
98
|
-
bio: string;
|
|
99
|
-
home_url: string;
|
|
100
|
-
tier: string;
|
|
101
|
-
};
|
|
102
|
-
}[];
|
|
103
|
-
commenting_lock: any;
|
|
104
|
-
suggestion_from: any;
|
|
105
|
-
suggestions_to: any[];
|
|
106
|
-
version: number;
|
|
107
|
-
title: string;
|
|
108
|
-
license: any;
|
|
109
|
-
copyright: string;
|
|
110
|
-
nodes: {
|
|
111
|
-
id: number;
|
|
112
|
-
value: string;
|
|
113
|
-
pinned: boolean;
|
|
114
|
-
mode: string;
|
|
115
|
-
data: any;
|
|
116
|
-
name: string;
|
|
117
|
-
}[];
|
|
118
|
-
resolutions: any[];
|
|
119
|
-
};
|
|
120
|
-
//# sourceMappingURL=Introduction%20to%20Imports.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Introduction to Imports.d.ts","sourceRoot":"","sources":["../../src/__tests__/Introduction to Imports.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4uBnB,CAAC"}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
export declare const timechart: {
|
|
2
|
-
id: string;
|
|
3
|
-
slug: string;
|
|
4
|
-
trashed: boolean;
|
|
5
|
-
description: string;
|
|
6
|
-
likes: number;
|
|
7
|
-
publish_level: string;
|
|
8
|
-
forks: number;
|
|
9
|
-
fork_of: any;
|
|
10
|
-
update_time: string;
|
|
11
|
-
publish_time: string;
|
|
12
|
-
publish_version: number;
|
|
13
|
-
latest_version: number;
|
|
14
|
-
thumbnail: string;
|
|
15
|
-
default_thumbnail: string;
|
|
16
|
-
roles: any[];
|
|
17
|
-
sharing: any;
|
|
18
|
-
owner: {
|
|
19
|
-
id: string;
|
|
20
|
-
avatar_url: string;
|
|
21
|
-
login: string;
|
|
22
|
-
name: string;
|
|
23
|
-
bio: string;
|
|
24
|
-
home_url: string;
|
|
25
|
-
type: string;
|
|
26
|
-
tier: string;
|
|
27
|
-
};
|
|
28
|
-
creator: {
|
|
29
|
-
id: string;
|
|
30
|
-
github_login: string;
|
|
31
|
-
avatar_url: string;
|
|
32
|
-
login: string;
|
|
33
|
-
name: string;
|
|
34
|
-
bio: string;
|
|
35
|
-
home_url: string;
|
|
36
|
-
tier: string;
|
|
37
|
-
};
|
|
38
|
-
authors: {
|
|
39
|
-
id: string;
|
|
40
|
-
avatar_url: string;
|
|
41
|
-
name: string;
|
|
42
|
-
login: string;
|
|
43
|
-
bio: string;
|
|
44
|
-
home_url: string;
|
|
45
|
-
github_login: string;
|
|
46
|
-
tier: string;
|
|
47
|
-
approved: boolean;
|
|
48
|
-
description: string;
|
|
49
|
-
}[];
|
|
50
|
-
collections: {
|
|
51
|
-
id: string;
|
|
52
|
-
type: string;
|
|
53
|
-
slug: string;
|
|
54
|
-
title: string;
|
|
55
|
-
description: string;
|
|
56
|
-
update_time: string;
|
|
57
|
-
pinned: boolean;
|
|
58
|
-
ordered: boolean;
|
|
59
|
-
custom_thumbnail: string;
|
|
60
|
-
default_thumbnail: string;
|
|
61
|
-
thumbnail: string;
|
|
62
|
-
listing_count: number;
|
|
63
|
-
parent_collection_count: number;
|
|
64
|
-
owner: {
|
|
65
|
-
id: string;
|
|
66
|
-
avatar_url: string;
|
|
67
|
-
login: string;
|
|
68
|
-
name: string;
|
|
69
|
-
bio: string;
|
|
70
|
-
home_url: string;
|
|
71
|
-
type: string;
|
|
72
|
-
tier: string;
|
|
73
|
-
};
|
|
74
|
-
}[];
|
|
75
|
-
files: any[];
|
|
76
|
-
comments: {
|
|
77
|
-
id: string;
|
|
78
|
-
content: string;
|
|
79
|
-
node_id: number;
|
|
80
|
-
create_time: string;
|
|
81
|
-
update_time: any;
|
|
82
|
-
resolved: boolean;
|
|
83
|
-
user: {
|
|
84
|
-
id: string;
|
|
85
|
-
github_login: string;
|
|
86
|
-
avatar_url: string;
|
|
87
|
-
login: string;
|
|
88
|
-
name: string;
|
|
89
|
-
bio: string;
|
|
90
|
-
home_url: string;
|
|
91
|
-
tier: string;
|
|
92
|
-
};
|
|
93
|
-
}[];
|
|
94
|
-
commenting_lock: any;
|
|
95
|
-
suggestion_from: any;
|
|
96
|
-
suggestions_to: any[];
|
|
97
|
-
version: number;
|
|
98
|
-
title: string;
|
|
99
|
-
license: string;
|
|
100
|
-
copyright: string;
|
|
101
|
-
nodes: {
|
|
102
|
-
id: number;
|
|
103
|
-
value: string;
|
|
104
|
-
pinned: boolean;
|
|
105
|
-
mode: string;
|
|
106
|
-
data: any;
|
|
107
|
-
name: any;
|
|
108
|
-
}[];
|
|
109
|
-
resolutions: any[];
|
|
110
|
-
};
|
|
111
|
-
//# sourceMappingURL=Observable%20TimeChart.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Observable TimeChart.d.ts","sourceRoot":"","sources":["../../src/__tests__/Observable TimeChart.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmwBrB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/__tests__/index.ts"],"names":[],"mappings":"AAYA,cAAc,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/__tests__/node.ts"],"names":[],"mappings":""}
|
package/types/compiler.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"compiler.d.ts","sourceRoot":"","sources":["../src/compiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAe,MAAM,0BAA0B,CAAC;AAE5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,MAAM,MAAM,kBAAkB,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,KAAK,SAAS,CAAC;AAE9F,MAAM,WAAW,SAAS;IACtB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,OAAO,QAAG;IACV,SAAS,CAAC,KAAK,KAAA,OAAE;IACjB,QAAQ,CAAC,KAAK,KAAA,OAAE;CACnB;AAoLD,iBAAe,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,cAAc;cA8BpC,GAAG,CAAC,OAAO,QAAQ,GAAG,CAAC,MAAM,cAAc,kBAAkB;;;kBA9H7D,GAAG,CAAC,OAAO,QAAQ,GAAG,CAAC,MAAM,cAAc,kBAAkB;;mBAmFhE,GAAG,CAAC,MAAM,eAAe,GAAG,CAAC,MAAM;;;;qBApDjC,GAAG,CAAC,MAAM,cAAc,kBAAkB;;qBAoC/C,MAAM;;;iBAlDN,MAAM;;;iBAcD,GAAG,CAAC,MAAM,cAAc,kBAAkB;;iBAoC/C,MAAM;;;aA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AAe,SAAQ,UAAU;IAC9C,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,cAAc,CAAC;IACzB,aAAa,EAAE,cAAc,CAAC;CACjC;AAqBD,UAAU,iBAAkB,SAAQ,UAAU;IAC1C,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,cAAc,CAAC;IACxB,QAAQ,EAAE,cAAc,CAAC;IACzB,aAAa,EAAE,cAAc,CAAC;CACjC;AA6BD,UAAU,kBAAmB,SAAQ,UAAU;IAC3C,IAAI,EAAE,UAAU,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,IAAI,EAAE,GAAG,CAAC;CACb;AAWD,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,gBAAgB,GAAG,cAAc,GAAG,iBAAiB,GAAG,kBAAkB,CAmBtI"}
|
package/types/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAEpD,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE9D,OAAO,kBAAkB,CAAC"}
|
package/types/util.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAiBpD,UAAU,GAAG;IACT,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,IAAI;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACj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