@quickback-dev/cli 0.60.1 → 0.60.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/commands/compile.d.ts.map +1 -1
- package/dist/commands/compile.js +1 -9
- package/dist/commands/compile.js.map +1 -1
- package/dist/commands/cursor.d.ts.map +1 -1
- package/dist/commands/cursor.js +6 -7
- package/dist/commands/cursor.js.map +1 -1
- package/dist/commands/deploy.d.ts.map +1 -1
- package/dist/commands/deploy.js +1 -9
- package/dist/commands/deploy.js.map +1 -1
- package/dist/commands/docs.d.ts.map +1 -1
- package/dist/commands/docs.js +3 -1
- package/dist/commands/docs.js.map +1 -1
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +3 -1
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/migrations.d.ts.map +1 -1
- package/dist/commands/migrations.js +1 -9
- package/dist/commands/migrations.js.map +1 -1
- package/dist/docs/index.d.ts +25 -0
- package/dist/docs/index.d.ts.map +1 -0
- package/dist/docs/index.js +70 -0
- package/dist/docs/index.js.map +1 -0
- package/dist/docs/index.test.d.ts +2 -0
- package/dist/docs/index.test.d.ts.map +1 -0
- package/dist/docs/index.test.js +51 -0
- package/dist/docs/index.test.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/lib/auth.d.ts +0 -4
- package/dist/lib/auth.d.ts.map +1 -1
- package/dist/lib/auth.js +0 -16
- package/dist/lib/auth.js.map +1 -1
- package/dist/lib/compiler-stubs.d.ts +22 -67
- package/dist/lib/compiler-stubs.d.ts.map +1 -1
- package/dist/lib/compiler-stubs.js +35 -100
- package/dist/lib/compiler-stubs.js.map +1 -1
- package/dist/lib/copy-passthrough.d.ts +43 -0
- package/dist/lib/copy-passthrough.d.ts.map +1 -0
- package/dist/lib/copy-passthrough.js +118 -0
- package/dist/lib/copy-passthrough.js.map +1 -0
- package/dist/lib/copy-public-assets.d.ts +19 -22
- package/dist/lib/copy-public-assets.d.ts.map +1 -1
- package/dist/lib/copy-public-assets.js +20 -99
- package/dist/lib/copy-public-assets.js.map +1 -1
- package/dist/lib/copy-source-apps.d.ts +22 -20
- package/dist/lib/copy-source-apps.d.ts.map +1 -1
- package/dist/lib/copy-source-apps.js +21 -105
- package/dist/lib/copy-source-apps.js.map +1 -1
- package/dist/lib/file-writer.d.ts +0 -5
- package/dist/lib/file-writer.d.ts.map +1 -1
- package/dist/lib/file-writer.js +0 -17
- package/dist/lib/file-writer.js.map +1 -1
- package/dist/lib/prepare-output.d.ts.map +1 -1
- package/dist/lib/prepare-output.js +1 -9
- package/dist/lib/prepare-output.js.map +1 -1
- package/dist/skill/docs/configure/index.md +3 -0
- package/dist/skill/docs/platform/database/d1.md +98 -0
- package/dist/skill/docs/platform/database/neon.md +14 -7
- package/dist/skill/docs/start/deploy-browser.md +35 -1
- package/dist/templates/registry.d.ts +0 -5
- package/dist/templates/registry.d.ts.map +1 -1
- package/dist/templates/registry.js +0 -21
- package/dist/templates/registry.js.map +1 -1
- package/package.json +2 -3
- package/src/skill/docs/configure/index.md +3 -0
- package/src/skill/docs/platform/database/d1.md +98 -0
- package/src/skill/docs/platform/database/neon.md +14 -7
- package/src/skill/docs/start/deploy-browser.md +35 -1
- package/dist/docs/content.d.ts +0 -7
- package/dist/docs/content.d.ts.map +0 -1
- package/dist/docs/content.js +0 -737
- package/dist/docs/content.js.map +0 -1
- package/dist/lib/helpers.d.ts +0 -39
- package/dist/lib/helpers.d.ts.map +0 -1
- package/dist/lib/helpers.js +0 -299
- package/dist/lib/helpers.js.map +0 -1
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Built-in documentation, read from the bundled markdown tree.
|
|
3
|
+
*
|
|
4
|
+
* The docs corpus ships exactly once, at `src/skill/docs/` — plain markdown
|
|
5
|
+
* transformed from `marketing/docs/content/docs/**\/*.mdx` by
|
|
6
|
+
* `scripts/bundle-skill.ts`. It's already published (`package.json#files`
|
|
7
|
+
* lists `src/skill/**\/*`) and already copied to `dist/skill/` by postbuild,
|
|
8
|
+
* because the Claude Code skill install needs it there.
|
|
9
|
+
*
|
|
10
|
+
* This module reads that same tree instead of a second generated copy. The
|
|
11
|
+
* old `src/docs/content.ts` re-bundled the identical 146 pages into a 1.7 MB
|
|
12
|
+
* TypeScript string literal, so every `npm i @quickback-dev/cli` downloaded
|
|
13
|
+
* the documentation twice.
|
|
14
|
+
*
|
|
15
|
+
* Topic keys match the old generated ones exactly: the path relative to the
|
|
16
|
+
* docs root, minus the extension, with a trailing `/index` stripped
|
|
17
|
+
* (`define/firewall.md` → `define/firewall`, `api/index.md` → `api`).
|
|
18
|
+
*/
|
|
19
|
+
import { readdirSync, readFileSync, existsSync } from 'fs';
|
|
20
|
+
import { join, dirname, relative, sep } from 'path';
|
|
21
|
+
import { fileURLToPath } from 'url';
|
|
22
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
23
|
+
/** Sibling of this module once built (`dist/docs/` → `dist/skill/docs/`). */
|
|
24
|
+
const DOCS_DIR = join(__dirname, '..', 'skill', 'docs');
|
|
25
|
+
/** Recursively collect `.md` paths relative to `base`, in stable sorted order. */
|
|
26
|
+
function collectMarkdown(dir, base, out = []) {
|
|
27
|
+
if (!existsSync(dir))
|
|
28
|
+
return out;
|
|
29
|
+
const entries = readdirSync(dir, { withFileTypes: true }).sort((a, b) => a.name < b.name ? -1 : a.name > b.name ? 1 : 0);
|
|
30
|
+
for (const entry of entries) {
|
|
31
|
+
const full = join(dir, entry.name);
|
|
32
|
+
if (entry.isDirectory())
|
|
33
|
+
collectMarkdown(full, base, out);
|
|
34
|
+
else if (entry.name.endsWith('.md'))
|
|
35
|
+
out.push(relative(base, full));
|
|
36
|
+
}
|
|
37
|
+
return out;
|
|
38
|
+
}
|
|
39
|
+
function topicKey(relativePath) {
|
|
40
|
+
const key = relativePath
|
|
41
|
+
.split(sep)
|
|
42
|
+
.join('/')
|
|
43
|
+
.replace(/\.md$/, '')
|
|
44
|
+
.replace(/\/index$/, '');
|
|
45
|
+
return key === 'index' || key === '' ? 'index' : key;
|
|
46
|
+
}
|
|
47
|
+
function loadDocs() {
|
|
48
|
+
const docs = {};
|
|
49
|
+
for (const rel of collectMarkdown(DOCS_DIR, DOCS_DIR)) {
|
|
50
|
+
const content = readFileSync(join(DOCS_DIR, rel), 'utf-8').trim();
|
|
51
|
+
if (!content)
|
|
52
|
+
continue;
|
|
53
|
+
const topic = topicKey(rel);
|
|
54
|
+
// `bundle-skill.ts` lifts the MDX frontmatter title to a leading H1, so
|
|
55
|
+
// the first heading is the title. Fall back to the topic key.
|
|
56
|
+
const heading = content.match(/^#\s+(.+)$/m);
|
|
57
|
+
docs[topic] = { title: heading ? heading[1].trim() : topic, content };
|
|
58
|
+
}
|
|
59
|
+
return docs;
|
|
60
|
+
}
|
|
61
|
+
let cached = null;
|
|
62
|
+
export function getDocs() {
|
|
63
|
+
if (!cached)
|
|
64
|
+
cached = loadDocs();
|
|
65
|
+
return cached;
|
|
66
|
+
}
|
|
67
|
+
export function getTopicList() {
|
|
68
|
+
return Object.keys(getDocs());
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/docs/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAEpC,MAAM,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAE1D,6EAA6E;AAC7E,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,EAA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AG,CAAC;AACvD,CAAC;AAED,SAAS,QAAQ;IACf,MAAM,IAAI,GAA6B,EAAE,CAAC;IAC1C,KAAK,MAAM,GAAG,IAAI,eAAe,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC;QACtD,MAAM,OAAO,GAAG,YAAY,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC;QAClE,IAAI,CAAC,OAAO;YAAE,SAAS;QACvB,MAAM,KAAK,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;QAC5B,wEAAwE;QACxE,8DAA8D;QAC9D,MAAM,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QAC7C,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC;IACxE,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,IAAI,MAAM,GAAoC,IAAI,CAAC;AAEnD,MAAM,UAAU,OAAO;IACrB,IAAI,CAAC,MAAM;QAAE,MAAM,GAAG,QAAQ,EAAE,CAAC;IACjC,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,YAAY;IAC1B,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;AAChC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../src/docs/index.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { describe, expect, test } from 'bun:test';
|
|
2
|
+
import { existsSync, readdirSync, statSync } from 'fs';
|
|
3
|
+
import { join } from 'path';
|
|
4
|
+
import { getDocs, getTopicList } from './index.js';
|
|
5
|
+
const DOCS_DIR = join(import.meta.dir, '..', 'skill', 'docs');
|
|
6
|
+
function countMarkdown(dir) {
|
|
7
|
+
let n = 0;
|
|
8
|
+
for (const entry of readdirSync(dir)) {
|
|
9
|
+
const full = join(dir, entry);
|
|
10
|
+
if (statSync(full).isDirectory())
|
|
11
|
+
n += countMarkdown(full);
|
|
12
|
+
else if (entry.endsWith('.md'))
|
|
13
|
+
n += 1;
|
|
14
|
+
}
|
|
15
|
+
return n;
|
|
16
|
+
}
|
|
17
|
+
describe('bundled docs', () => {
|
|
18
|
+
test('the markdown corpus ships with the package', () => {
|
|
19
|
+
// `quickback docs` and `quickback mcp` read this tree at runtime instead
|
|
20
|
+
// of a second generated copy — if bundle-skill.ts ever stops emitting it,
|
|
21
|
+
// both commands silently serve nothing.
|
|
22
|
+
expect(existsSync(DOCS_DIR)).toBe(true);
|
|
23
|
+
expect(countMarkdown(DOCS_DIR)).toBeGreaterThan(100);
|
|
24
|
+
});
|
|
25
|
+
test('every markdown page becomes exactly one topic', () => {
|
|
26
|
+
expect(getTopicList().length).toBe(countMarkdown(DOCS_DIR));
|
|
27
|
+
});
|
|
28
|
+
test('topic keys drop the extension and the trailing /index', () => {
|
|
29
|
+
const docs = getDocs();
|
|
30
|
+
// Nested page: define/firewall.md -> "define/firewall"
|
|
31
|
+
expect(docs['define/firewall']).toBeDefined();
|
|
32
|
+
expect(docs['define/firewall.md']).toBeUndefined();
|
|
33
|
+
// Section index: api/index.md -> "api" (not "api/index")
|
|
34
|
+
expect(docs['api']).toBeDefined();
|
|
35
|
+
expect(docs['api/index']).toBeUndefined();
|
|
36
|
+
// Root index.md -> "index"
|
|
37
|
+
expect(docs['index']).toBeDefined();
|
|
38
|
+
});
|
|
39
|
+
test('titles come from the leading H1 that bundle-skill lifts from frontmatter', () => {
|
|
40
|
+
const docs = getDocs();
|
|
41
|
+
expect(docs['define/firewall'].title).toBe('Firewall - Data Isolation');
|
|
42
|
+
for (const [topic, entry] of Object.entries(docs)) {
|
|
43
|
+
expect(entry.title.length, `${topic} has an empty title`).toBeGreaterThan(0);
|
|
44
|
+
expect(entry.content.length, `${topic} has empty content`).toBeGreaterThan(0);
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
test('repeated calls reuse the cached corpus', () => {
|
|
48
|
+
expect(getDocs()).toBe(getDocs());
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
//# sourceMappingURL=index.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.test.js","sourceRoot":"","sources":["../../src/docs/index.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,IAAI,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAEnD,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;AAE9D,SAAS,aAAa,CAAC,GAAW;IAChC,IAAI,CAAC,GAAG,CAAC,CAAC;IACV,KAAK,MAAM,KAAK,IAAI,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC;QACrC,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;QAC9B,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE;YAAE,CAAC,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;aACtD,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC;YAAE,CAAC,IAAI,CAAC,CAAC;IACzC,CAAC;IACD,OAAO,CAAC,CAAC;AACX,CAAC;AAED,QAAQ,CAAC,cAAc,EAAE,GAAG,EAAE;IAC5B,IAAI,CAAC,4CAA4C,EAAE,GA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AC;YAClD,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE,GAAG,KAAK,qBAAqB,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;YAC7E,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,KAAK,oBAAoB,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;QAChF,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,wCAAwC,EAAE,GAAG,EAAE;QAClD,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;IACpC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/lib/auth.d.ts
CHANGED
|
@@ -47,10 +47,6 @@ export declare function getStoredUser(): Promise<Credentials['user'] | null>;
|
|
|
47
47
|
* Check if user is logged in
|
|
48
48
|
*/
|
|
49
49
|
export declare function isLoggedIn(): Promise<boolean>;
|
|
50
|
-
/**
|
|
51
|
-
* Get stored organization info
|
|
52
|
-
*/
|
|
53
|
-
export declare function getStoredOrganization(): Promise<Credentials['organization'] | null>;
|
|
54
50
|
/**
|
|
55
51
|
* Pre-compile auth gate.
|
|
56
52
|
*
|
package/dist/lib/auth.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/lib/auth.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAYH,UAAU,WAAW;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE;QACL,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,YAAY,CAAC,EAAE;QACb,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM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C,GAAG,IAAI,CAAC,CAazE;AAED;;GAEG;AACH,wBAAsB,UAAU,IAAI,OAAO,CAAC,OAAO,CAAC,CAGnD;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,iBAAiB;IAChC,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAC;IACf,+EAA+E;IAC/E,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7B,6EAA6E;IAC7E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,gBAAgB,GACxB;IAAE,MAAM,EAAE,eAAe,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,SAAS,GAAG,SAAS,CAAA;CAAE,GACtE;IAAE,MAAM,EAAE,eAAe,CAAA;CAAE,GAC3B;IAAE,MAAM,EAAE,WAAW,CAAA;CAAE,CAAC;AAE5B;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAU1D;AAED,wBAAsB,oBAAoB,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAwDhG"}
|
package/dist/lib/auth.js
CHANGED
|
@@ -86,22 +86,6 @@ export async function isLoggedIn() {
|
|
|
86
86
|
const token = await getStoredToken();
|
|
87
87
|
return token !== null;
|
|
88
88
|
}
|
|
89
|
-
/**
|
|
90
|
-
* Get stored organization info
|
|
91
|
-
*/
|
|
92
|
-
export async function getStoredOrganization() {
|
|
93
|
-
try {
|
|
94
|
-
if (!existsSync(CREDENTIALS_FILE)) {
|
|
95
|
-
return null;
|
|
96
|
-
}
|
|
97
|
-
const data = readFileSync(CREDENTIALS_FILE, 'utf-8');
|
|
98
|
-
const credentials = JSON.parse(data);
|
|
99
|
-
return credentials.organization || null;
|
|
100
|
-
}
|
|
101
|
-
catch {
|
|
102
|
-
return null;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
89
|
/**
|
|
106
90
|
* Only loopback hostnames used by the supported local Docker launcher bypass
|
|
107
91
|
* the CLI login prompt. URL text elsewhere (path, query, userinfo, or a longer
|
package/dist/lib/auth.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../src/lib/auth.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AACpF,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,OAAO,MAAM,SAAS,CAAC;AAE9B,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,EAAE,EAAE,YAAY,CAAC,CAAC;AACjD,MAAM,gBAAgB,GAAG,IAAI,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAAC;AAiB9D;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc;IAClC,IAAI,CAAC;QACH,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,EAAE,CAAC;YAClC,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,IAAI,GAAG,YAAY,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;QACrD,MAAM,WAAW,GAAgB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAElD,4BAA4B;QAC5B,IAAI,WAAW,CAAC,SAAS,EAAE,CAAC;YAC1B,MAAM,SAAS,GAAG,IAAI,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;YAClD,IAAI,SAAS,GAAG,IAAI,IAAI,EAAE,EAAE,CAAC;gBAC3B,0BAA0B;gBAC1B,MAAM,gBAAgB,EAAE,CAAC;gBACzB,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;QAED,OAA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;QACd,OAAO,EAAE,gCAAgC;QACzC,OAAO,EAAE;YACP,EAAE,KAAK,EAAE,gCAAgC,EAAE,KAAK,EAAE,OAAO,EAAE;YAC3D,EAAE,KAAK,EAAE,0CAA0C,EAAE,KAAK,EAAE,QAAQ,EAAE;YACtE,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;SACrC;QACD,OAAO,EAAE,CAAC;KACX,CAAC,CAAC;IAEH,IAAI,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;QAChD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;IACjC,CAAC;IAED,gEAAgE;IAChE,mEAAmE;IACnE,gEAAgE;IAChE,mEAAmE;IACnE,sBAAsB;IACtB,IAAI,MAAM,KAAK,QAAQ,EAAE,CAAC;QACxB,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,oEAAoE,CAAC,CAAC,CAAC;IAC7F,CAAC;IAED,MAAM,OAAO,CAAC,OAAO,EAAE,CAAC;IACxB,KAAK,GAAG,MAAM,cAAc,EAAE,CAAC;IAC/B,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;IACjC,CAAC;IACD,OAAO,CAAC,GAAG,EAAE,CAAC;IACd,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAC5D,CAAC"}
|
|
@@ -6,58 +6,45 @@
|
|
|
6
6
|
*
|
|
7
7
|
* The actual validation happens server-side in the compiler worker.
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
export declare const defineConfig: (definition: Record<string, unknown>) => Record<string, unknown>;
|
|
10
|
+
/** Used in features/<area>/_area.ts. The compiler re-validates server-side. */
|
|
11
|
+
export declare const defineArea: (definition: Record<string, unknown>) => Record<string, unknown>;
|
|
12
|
+
/** Used in services/queues/*.ts */
|
|
13
|
+
export declare const defineQueue: (definition: Record<string, unknown>) => Record<string, unknown>;
|
|
14
|
+
/** Used in services/realtime/*.ts */
|
|
15
|
+
export declare const defineRealtime: (definition: Record<string, unknown>) => Record<string, unknown>;
|
|
16
|
+
/** Used in services/embeddings/*.ts */
|
|
17
|
+
export declare const defineEmbedding: (definition: Record<string, unknown>) => Record<string, unknown>;
|
|
18
|
+
/** Used in features/{feature}/pages/*.ts */
|
|
19
|
+
export declare const definePage: (definition: Record<string, unknown>) => Record<string, unknown>;
|
|
20
|
+
export declare const defineRuntime: (name: string, config?: Record<string, unknown>) => {
|
|
17
21
|
name: string;
|
|
18
22
|
config: Record<string, unknown>;
|
|
19
23
|
};
|
|
20
|
-
|
|
21
|
-
* Stub for defineDatabase - returns provider config
|
|
22
|
-
*/
|
|
23
|
-
export declare function defineDatabase(name: string, config?: Record<string, unknown>): {
|
|
24
|
+
export declare const defineDatabase: (name: string, config?: Record<string, unknown>) => {
|
|
24
25
|
name: string;
|
|
25
26
|
config: Record<string, unknown>;
|
|
26
27
|
};
|
|
27
|
-
|
|
28
|
-
* Stub for defineAuth - returns provider config
|
|
29
|
-
*/
|
|
30
|
-
export declare function defineAuth(name: string, config?: Record<string, unknown>): {
|
|
28
|
+
export declare const defineAuth: (name: string, config?: Record<string, unknown>) => {
|
|
31
29
|
name: string;
|
|
32
30
|
config: Record<string, unknown>;
|
|
33
31
|
};
|
|
34
|
-
|
|
35
|
-
* Stub for defineStorage - returns provider config
|
|
36
|
-
*/
|
|
37
|
-
export declare function defineStorage(name: string, config?: Record<string, unknown>): {
|
|
32
|
+
export declare const defineStorage: (name: string, config?: Record<string, unknown>) => {
|
|
38
33
|
name: string;
|
|
39
34
|
config: Record<string, unknown>;
|
|
40
35
|
};
|
|
41
|
-
|
|
42
|
-
* Stub for defineFileStorage - returns provider config for R2 file storage
|
|
43
|
-
*/
|
|
44
|
-
export declare function defineFileStorage(name: string, config?: Record<string, unknown>): {
|
|
36
|
+
export declare const defineFileStorage: (name: string, config?: Record<string, unknown>) => {
|
|
45
37
|
name: string;
|
|
46
38
|
config: Record<string, unknown>;
|
|
47
39
|
};
|
|
48
|
-
/**
|
|
49
|
-
|
|
50
|
-
*/
|
|
51
|
-
export declare function defineResource<TSchema>(schema: TSchema, config: Record<string, unknown>): Record<string, unknown> & {
|
|
40
|
+
/** Unified schema + configuration (firewall, guards, crud, embeddings, realtime). */
|
|
41
|
+
export declare const defineTable: <TSchema>(schema: TSchema, config: Record<string, unknown>) => Record<string, unknown> & {
|
|
52
42
|
__schema: TSchema;
|
|
53
43
|
};
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
* all configuration (firewall, guards, crud, embeddings, realtime) in one place.
|
|
59
|
-
*/
|
|
60
|
-
export declare function defineTable<TSchema>(schema: TSchema, config: Record<string, unknown>): Record<string, unknown> & {
|
|
44
|
+
export declare const defineResource: <TSchema>(schema: TSchema, config: Record<string, unknown>) => Record<string, unknown> & {
|
|
45
|
+
__schema: TSchema;
|
|
46
|
+
};
|
|
47
|
+
export declare const defineActions: <TSchema>(schema: TSchema, config: Record<string, unknown>) => Record<string, unknown> & {
|
|
61
48
|
__schema: TSchema;
|
|
62
49
|
};
|
|
63
50
|
export declare const q: {
|
|
@@ -75,42 +62,10 @@ export declare const q: {
|
|
|
75
62
|
enum: (_values: readonly string[], _name?: string) => Record<string, unknown>;
|
|
76
63
|
id: () => Record<string, unknown>;
|
|
77
64
|
};
|
|
78
|
-
/**
|
|
79
|
-
* Stub for defineActions - just returns the actions with schema reference
|
|
80
|
-
*/
|
|
81
|
-
export declare function defineActions<TSchema>(schema: TSchema, actions: Record<string, unknown>): Record<string, unknown> & {
|
|
82
|
-
__schema: TSchema;
|
|
83
|
-
};
|
|
84
65
|
/**
|
|
85
66
|
* Stub for defineAction - returns a curried function that returns the config
|
|
86
67
|
*/
|
|
87
68
|
export declare function defineAction<TSchema = unknown>(): (config: Record<string, unknown>) => Record<string, unknown>;
|
|
88
|
-
/**
|
|
89
|
-
* Stub for defineArea - returns the area definition as-is.
|
|
90
|
-
* Used in features/<area>/_area.ts (feature areas). The compiler
|
|
91
|
-
* re-validates the transported definition server-side.
|
|
92
|
-
*/
|
|
93
|
-
export declare function defineArea(definition: Record<string, unknown>): Record<string, unknown>;
|
|
94
|
-
/**
|
|
95
|
-
* Stub for defineQueue - returns the queue handler definition
|
|
96
|
-
* Used in definitions/services/queues/*.ts
|
|
97
|
-
*/
|
|
98
|
-
export declare function defineQueue<TMessage = unknown>(config: Record<string, unknown>): Record<string, unknown>;
|
|
99
|
-
/**
|
|
100
|
-
* Stub for defineRealtime - returns the realtime definition
|
|
101
|
-
* Used in definitions/services/realtime/*.ts
|
|
102
|
-
*/
|
|
103
|
-
export declare function defineRealtime(config: Record<string, unknown>): Record<string, unknown>;
|
|
104
|
-
/**
|
|
105
|
-
* Stub for defineEmbedding - returns the embedding definition
|
|
106
|
-
* Used in definitions/services/embeddings/*.ts
|
|
107
|
-
*/
|
|
108
|
-
export declare function defineEmbedding(config: Record<string, unknown>): Record<string, unknown>;
|
|
109
|
-
/**
|
|
110
|
-
* Stub for definePage - returns the page definition
|
|
111
|
-
* Used in features/{feature}/pages/*.ts
|
|
112
|
-
*/
|
|
113
|
-
export declare function definePage(config: Record<string, unknown>): Record<string, unknown>;
|
|
114
69
|
/**
|
|
115
70
|
* Stub for ActionError — mirrors the runtime class the compiler emits into
|
|
116
71
|
* src/lib/types.ts so user files importing it from "@quickback/compiler"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compiler-stubs.d.ts","sourceRoot":"","sources":["../../src/lib/compiler-stubs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"compiler-stubs.d.ts","sourceRoot":"","sources":["../../src/lib/compiler-stubs.ts"],"names":[],"mappings":"AAAA;;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,IAAI,EAAE,MAAM,EACZ,UAAU,GAAE,MAAY,EACxB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAQpC"}
|
|
@@ -7,62 +7,42 @@
|
|
|
7
7
|
* The actual validation happens server-side in the compiler worker.
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
|
|
12
|
-
export function defineConfig(config) {
|
|
13
|
-
return config;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Stub for defineRuntime - returns provider config
|
|
17
|
-
*/
|
|
18
|
-
export function defineRuntime(name, config) {
|
|
19
|
-
return { name, config: config || {} };
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Stub for defineDatabase - returns provider config
|
|
23
|
-
*/
|
|
24
|
-
export function defineDatabase(name, config) {
|
|
25
|
-
return { name, config: config || {} };
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Stub for defineAuth - returns provider config
|
|
29
|
-
*/
|
|
30
|
-
export function defineAuth(name, config) {
|
|
31
|
-
return { name, config: config || {} };
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Stub for defineStorage - returns provider config
|
|
35
|
-
*/
|
|
36
|
-
export function defineStorage(name, config) {
|
|
37
|
-
return { name, config: config || {} };
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Stub for defineFileStorage - returns provider config for R2 file storage
|
|
41
|
-
*/
|
|
42
|
-
export function defineFileStorage(name, config) {
|
|
43
|
-
return { name, config: config || {} };
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Stub for defineResource - just returns the config with schema reference
|
|
47
|
-
*/
|
|
48
|
-
export function defineResource(schema, config) {
|
|
49
|
-
return {
|
|
50
|
-
...config,
|
|
51
|
-
__schema: schema,
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Stub for defineTable - combines schema with all configuration
|
|
10
|
+
* Most stubs are one of two shapes, so they're built from two helpers rather
|
|
11
|
+
* than written out eleven times:
|
|
56
12
|
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
13
|
+
* - `identity` — the definition is transported verbatim and validated
|
|
14
|
+
* server-side (defineConfig, defineArea, defineQueue, defineRealtime,
|
|
15
|
+
* defineEmbedding, definePage).
|
|
16
|
+
* - `provider` — `(name, config)` collapsed to `{ name, config }`
|
|
17
|
+
* (defineRuntime, defineDatabase, defineAuth, defineStorage,
|
|
18
|
+
* defineFileStorage).
|
|
19
|
+
*
|
|
20
|
+
* `defineTable` / `defineResource` / `defineActions` additionally stash the
|
|
21
|
+
* schema reference under `__schema`.
|
|
22
|
+
*/
|
|
23
|
+
const identity = (definition) => definition;
|
|
24
|
+
const provider = (name, config) => ({ name, config: config || {} });
|
|
25
|
+
const withSchema = (schema, config) => ({ ...config, __schema: schema });
|
|
26
|
+
export const defineConfig = (identity);
|
|
27
|
+
/** Used in features/<area>/_area.ts. The compiler re-validates server-side. */
|
|
28
|
+
export const defineArea = (identity);
|
|
29
|
+
/** Used in services/queues/*.ts */
|
|
30
|
+
export const defineQueue = (identity);
|
|
31
|
+
/** Used in services/realtime/*.ts */
|
|
32
|
+
export const defineRealtime = (identity);
|
|
33
|
+
/** Used in services/embeddings/*.ts */
|
|
34
|
+
export const defineEmbedding = (identity);
|
|
35
|
+
/** Used in features/{feature}/pages/*.ts */
|
|
36
|
+
export const definePage = (identity);
|
|
37
|
+
export const defineRuntime = provider;
|
|
38
|
+
export const defineDatabase = provider;
|
|
39
|
+
export const defineAuth = provider;
|
|
40
|
+
export const defineStorage = provider;
|
|
41
|
+
export const defineFileStorage = provider;
|
|
42
|
+
/** Unified schema + configuration (firewall, guards, crud, embeddings, realtime). */
|
|
43
|
+
export const defineTable = withSchema;
|
|
44
|
+
export const defineResource = withSchema;
|
|
45
|
+
export const defineActions = withSchema;
|
|
66
46
|
/**
|
|
67
47
|
* Stub for the `q` schema DSL. Returns chainable column builders and a `table`
|
|
68
48
|
* function that collects columns into a placeholder object. The CLI never
|
|
@@ -96,57 +76,12 @@ export const q = {
|
|
|
96
76
|
enum: (_values, _name) => makeQColumn(),
|
|
97
77
|
id: () => makeQColumn(),
|
|
98
78
|
};
|
|
99
|
-
/**
|
|
100
|
-
* Stub for defineActions - just returns the actions with schema reference
|
|
101
|
-
*/
|
|
102
|
-
export function defineActions(schema, actions) {
|
|
103
|
-
return {
|
|
104
|
-
...actions,
|
|
105
|
-
__schema: schema,
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
79
|
/**
|
|
109
80
|
* Stub for defineAction - returns a curried function that returns the config
|
|
110
81
|
*/
|
|
111
82
|
export function defineAction() {
|
|
112
83
|
return (config) => config;
|
|
113
84
|
}
|
|
114
|
-
/**
|
|
115
|
-
* Stub for defineArea - returns the area definition as-is.
|
|
116
|
-
* Used in features/<area>/_area.ts (feature areas). The compiler
|
|
117
|
-
* re-validates the transported definition server-side.
|
|
118
|
-
*/
|
|
119
|
-
export function defineArea(definition) {
|
|
120
|
-
return definition;
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Stub for defineQueue - returns the queue handler definition
|
|
124
|
-
* Used in definitions/services/queues/*.ts
|
|
125
|
-
*/
|
|
126
|
-
export function defineQueue(config) {
|
|
127
|
-
return config;
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* Stub for defineRealtime - returns the realtime definition
|
|
131
|
-
* Used in definitions/services/realtime/*.ts
|
|
132
|
-
*/
|
|
133
|
-
export function defineRealtime(config) {
|
|
134
|
-
return config;
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* Stub for defineEmbedding - returns the embedding definition
|
|
138
|
-
* Used in definitions/services/embeddings/*.ts
|
|
139
|
-
*/
|
|
140
|
-
export function defineEmbedding(config) {
|
|
141
|
-
return config;
|
|
142
|
-
}
|
|
143
|
-
/**
|
|
144
|
-
* Stub for definePage - returns the page definition
|
|
145
|
-
* Used in features/{feature}/pages/*.ts
|
|
146
|
-
*/
|
|
147
|
-
export function definePage(config) {
|
|
148
|
-
return config;
|
|
149
|
-
}
|
|
150
85
|
/**
|
|
151
86
|
* Stub for ActionError — mirrors the runtime class the compiler emits into
|
|
152
87
|
* src/lib/types.ts so user files importing it from "@quickback/compiler"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compiler-stubs.js","sourceRoot":"","sources":["../../src/lib/compiler-stubs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH
|
|
1
|
+
{"version":3,"file":"compiler-stubs.js","sourceRoot":"","sources":["../../src/lib/compiler-stubs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;;;;;;;;GAaG;AACH,MAAM,QAAQ,GAAG,CAAI,UAAa,EAAK,EAAE,CAAC,UAAU,CAAC;AAErD,MAAM,QAAQ,GAAG,CACf,IAAY,EACZ,MAAgC,EACmB,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,IAAI,EAAE,EAAE,CAAC,CAAC;AAEzF,MAAM,UAAU,GAAG,CACjB,MAAe,EACf,MAA+B,EACkB,EAAE,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAC;AAExF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAA,QAAiC,CAAA,CAAC;AAC9D,+EAA+E;AAC/E,MAAM,CAAC,MAAM,UAAU,GAAG,CAAA,QAAiC,CAAA,CAAC;AAC5D,mCAAmC;AACnC,MAAM,CAAC,MAAM,WAAW,GAAG,CAAA,QAAiC,CAAA,CAAC;AAC7D,qCAAqC;AACrC,MAAM,CAAC,MAAM,cAAc,GAAG,CAAA,QAAiC,CAAA,CAAC;AAChE,uCAAuC;AACvC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAA,QAAiC,CAAA,CAAC;AAC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AAE;IACvC,IAAI,EAAE,CAAC,KAAc,EAAE,EAAE,CAAC,WAAW,EAAE;IACvC,SAAS,EAAE,CAAC,KAAc,EAAE,EAAE,CAAC,WAAW,EAAE;IAC5C,IAAI,EAAE,CAAC,IAAc,EAAE,KAAc,EAAE,EAAE,CAAC,WAAW,EAAE;IACvD,IAAI,EAAE,CAAC,OAA0B,EAAE,KAAc,EAAE,EAAE,CAAC,WAAW,EAAE;IACnE,EAAE,EAAE,GAAG,EAAE,CAAC,WAAW,EAAE;CACxB,CAAC;AAEF;;GAEG;AACH,MAAM,UAAU,YAAY;IAC1B,OAAO,CAAC,MAA+B,EAAE,EAAE,CAAC,MAAM,CAAC;AACrD,CAAC;AAED;;;;;GAKG;AACH,MAAM,OAAO,WAAY,SAAQ,KAAK;IAC3B,IAAI,CAAS;IACb,UAAU,CAAS;IACnB,OAAO,CAA2B;IAE3C,YACE,OAAe,EACf,IAAY,EACZ,aAAqB,GAAG,EACxB,OAAiC;QAEjC,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC;QAC1B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;CACF"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export interface PassthroughOptions {
|
|
2
|
+
/** Project root — the parent of the `quickback/` folder. */
|
|
3
|
+
projectRoot: string;
|
|
4
|
+
/** Output root — where `src/` lives. Usually equals projectRoot. */
|
|
5
|
+
outputDir: string;
|
|
6
|
+
/** Paths the compiler is writing this run, relative to outputDir. */
|
|
7
|
+
manifestPaths: Iterable<string>;
|
|
8
|
+
}
|
|
9
|
+
export interface PassthroughResult {
|
|
10
|
+
/** Number of files copied. Zero when the folder is missing or empty. */
|
|
11
|
+
copied: number;
|
|
12
|
+
/** Absolute path of the source folder, for logging — undefined when missing. */
|
|
13
|
+
sourceDir?: string;
|
|
14
|
+
/** Final destination paths, relative to outputDir. */
|
|
15
|
+
destPaths: string[];
|
|
16
|
+
}
|
|
17
|
+
export interface PassthroughCollision {
|
|
18
|
+
/** Source path relative to `quickback/<dirName>/`, POSIX-normalized. */
|
|
19
|
+
relPath: string;
|
|
20
|
+
/** Compiler-manifest path it would overwrite, POSIX-normalized. */
|
|
21
|
+
manifestPath: string;
|
|
22
|
+
}
|
|
23
|
+
export interface PassthroughSpec {
|
|
24
|
+
/** Folder under `quickback/`, e.g. `public` or `apps`. */
|
|
25
|
+
dirName: string;
|
|
26
|
+
/** Subdirectory names to prune during the walk. */
|
|
27
|
+
skipDirs?: ReadonlySet<string>;
|
|
28
|
+
/** Builds the error thrown when any file would shadow compiler output. */
|
|
29
|
+
collisionError: (collisions: PassthroughCollision[]) => Error;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Shared message body for the passthrough collision errors, so both read
|
|
33
|
+
* identically apart from the folder they name.
|
|
34
|
+
*/
|
|
35
|
+
export declare function collisionMessage(dirName: string, collisions: PassthroughCollision[]): string;
|
|
36
|
+
/**
|
|
37
|
+
* Copy `<projectRoot>/quickback/<dirName>/**` into `<outputDir>/src/apps/**`.
|
|
38
|
+
*
|
|
39
|
+
* Returns `{ copied: 0 }` when the source folder is absent — both folders are
|
|
40
|
+
* opt-in conventions, not required directories.
|
|
41
|
+
*/
|
|
42
|
+
export declare function copyPassthrough(spec: PassthroughSpec, options: PassthroughOptions): Promise<PassthroughResult>;
|
|
43
|
+
//# sourceMappingURL=copy-passthrough.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy-passthrough.d.ts","sourceRoot":"","sources":["../../src/lib/copy-passthrough.ts"],"names":[],"mappings":"AA2BA,MAAM,WAAW,kBAAkB;IACjC,4DAA4D;IAC5D,WAAW,EAAE,MAAM,CAAC;IACpB,oEAAoE;IACpE,SAAS,EAAE,MAAM,CAAC;IAClB,qEAAqE;IACrE,aAAa,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;CACjC;AAED,MAAM,WAAW,iBAAiB;IAChC,wEAAwE;IACxE,MAAM,EAAE,MAAM,CAAC;IACf,gFAAgF;IAChF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,oBAAoB;IACnC,wEAAwE;IACxE,OAAO,EAAE,MAAM,CAAC;IAChB,mEAAmE;IACnE,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,0DAA0D;IAC1D,OAAO,EAAE,MAAM,CAAC;IAChB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/B,0EAA0E;IAC1E,cAAc,EAAE,CAAC,UAAU,EAAE,oBAAoB,EAAE,KAAK,KAAK,CAAC;CAC/D;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,oBAAoB,EAAE,GAAG,MAAM,CAQ5F;AAED;;;;;GAKG;AACH,wBAAsB,eAAe,CACnC,IAAI,EAAE,eAAe,EACrB,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAAC,iBAAiB,CAAC,CAoC5B"}
|