@quickback-dev/cli 0.47.7 → 0.47.9
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/README.md +3 -1
- package/dist/codex/AGENTS.md +290 -0
- package/dist/commands/codex.d.ts +16 -0
- package/dist/commands/codex.d.ts.map +1 -0
- package/dist/commands/codex.js +159 -0
- package/dist/commands/codex.js.map +1 -0
- package/dist/commands/compile.d.ts +5 -0
- package/dist/commands/compile.d.ts.map +1 -1
- package/dist/commands/compile.js +12 -2
- package/dist/commands/compile.js.map +1 -1
- package/dist/commands/create.d.ts.map +1 -1
- package/dist/commands/create.js +1 -1
- package/dist/commands/create.js.map +1 -1
- package/dist/commands/dev.d.ts +16 -0
- package/dist/commands/dev.d.ts.map +1 -0
- package/dist/commands/dev.js +117 -0
- package/dist/commands/dev.js.map +1 -0
- package/dist/commands/init.d.ts +6 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +405 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/docs/content.d.ts.map +1 -1
- package/dist/docs/content.js +20 -5
- package/dist/docs/content.js.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/lib/api-client.d.ts +13 -1
- package/dist/lib/api-client.d.ts.map +1 -1
- package/dist/lib/api-client.js +47 -20
- package/dist/lib/api-client.js.map +1 -1
- package/dist/lib/api-client.test.js +78 -0
- package/dist/lib/api-client.test.js.map +1 -1
- package/dist/lib/file-loader.d.ts +11 -0
- package/dist/lib/file-loader.d.ts.map +1 -1
- package/dist/lib/file-loader.js +35 -0
- package/dist/lib/file-loader.js.map +1 -1
- package/dist/lib/sweep-stale.d.ts +25 -0
- package/dist/lib/sweep-stale.d.ts.map +1 -0
- package/dist/lib/sweep-stale.js +179 -0
- package/dist/lib/sweep-stale.js.map +1 -0
- package/dist/lib/sweep-stale.test.d.ts +2 -0
- package/dist/lib/sweep-stale.test.d.ts.map +1 -0
- package/dist/lib/sweep-stale.test.js +130 -0
- package/dist/lib/sweep-stale.test.js.map +1 -0
- package/dist/skill/SKILL.md +1 -0
- package/dist/skill/docs/changelog.md +79 -0
- package/dist/skill/docs/compiler/cloud-compiler/cli.md +3 -0
- package/dist/skill/docs/compiler/definitions/encryption.md +117 -1
- package/dist/skill/docs/compiler/definitions/masking.md +32 -0
- package/dist/skill/docs/compiler/definitions/rate-limit.md +216 -0
- package/dist/skill/docs/compiler/definitions/sealed-protocol.md +332 -0
- package/dist/skill/docs/compiler/definitions/triggers.md +169 -0
- package/dist/skill/docs/stack/webhooks/inbound.md +62 -5
- package/package.json +1 -1
- package/src/skill/SKILL.md +1 -0
- package/src/skill/docs/changelog.md +103 -0
- package/src/skill/docs/compiler/cloud-compiler/cli.md +3 -0
- package/src/skill/docs/compiler/definitions/encryption.md +117 -1
- package/src/skill/docs/compiler/definitions/masking.md +32 -0
- package/src/skill/docs/compiler/definitions/rate-limit.md +216 -0
- package/src/skill/docs/compiler/definitions/sealed-protocol.md +332 -0
- package/src/skill/docs/compiler/definitions/triggers.md +174 -0
- package/src/skill/docs/stack/schedules/index.md +60 -0
- package/src/skill/docs/stack/webhooks/inbound.md +62 -5
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
import { existsSync, mkdirSync, writeFileSync } from "fs";
|
|
2
|
+
import { join, resolve } from "path";
|
|
3
|
+
import pc from "picocolors";
|
|
4
|
+
export async function init(options) {
|
|
5
|
+
const targetPath = resolve(options?.path || ".");
|
|
6
|
+
const quickbackPath = join(targetPath, "quickback");
|
|
7
|
+
// Check if quickback folder already exists
|
|
8
|
+
if (existsSync(quickbackPath)) {
|
|
9
|
+
console.error(pc.red("Error: quickback folder already exists in this directory"));
|
|
10
|
+
process.exit(1);
|
|
11
|
+
}
|
|
12
|
+
console.log(pc.cyan("Creating quickback project structure..."));
|
|
13
|
+
try {
|
|
14
|
+
// Create folder structure
|
|
15
|
+
mkdirSync(quickbackPath, { recursive: true });
|
|
16
|
+
mkdirSync(join(quickbackPath, "definitions"), { recursive: true });
|
|
17
|
+
mkdirSync(join(quickbackPath, "definitions", "auth"), { recursive: true });
|
|
18
|
+
mkdirSync(join(quickbackPath, "definitions", "features"), { recursive: true });
|
|
19
|
+
mkdirSync(join(quickbackPath, "definitions", "features", "todos"), { recursive: true });
|
|
20
|
+
mkdirSync(join(quickbackPath, "output"), { recursive: true });
|
|
21
|
+
// Create quickback.config.ts with new provider-based format
|
|
22
|
+
//
|
|
23
|
+
// The block between [quickback:options-start] / [quickback:options-end]
|
|
24
|
+
// is owned by Quickback and **regenerated on every `quickback
|
|
25
|
+
// compile`** — the CLI splices in whatever the server returns.
|
|
26
|
+
// Keeping it server-driven means new options appear automatically
|
|
27
|
+
// when you upgrade Quickback (no CLI bump needed) and any options
|
|
28
|
+
// you've already set get omitted from the block to avoid
|
|
29
|
+
// duplication. To enable an option, copy its line *above* the
|
|
30
|
+
// start sentinel; Quickback will preserve it and drop it from the
|
|
31
|
+
// managed block on the next compile.
|
|
32
|
+
const configContent = `/**
|
|
33
|
+
* Quickback Configuration
|
|
34
|
+
*
|
|
35
|
+
* This file defines your backend configuration using the provider system.
|
|
36
|
+
* Use presets for quick setup, or define individual providers for customization.
|
|
37
|
+
*
|
|
38
|
+
* The block between [quickback:options-start] and [quickback:options-end]
|
|
39
|
+
* is regenerated on every \`quickback compile\` to reflect the current set
|
|
40
|
+
* of options Quickback supports — auth flavors, file uploads, agent
|
|
41
|
+
* surfaces, ETag, OpenAPI publishing, custom bindings, and so on. Copy
|
|
42
|
+
* any line you want to enable *above* the start sentinel; Quickback
|
|
43
|
+
* preserves anything outside the marker block and drops it from the
|
|
44
|
+
* managed block on the next compile.
|
|
45
|
+
*/
|
|
46
|
+
import { defineConfig } from "@quickback/compiler";
|
|
47
|
+
import { cloudflare } from "@quickback/compiler/presets";
|
|
48
|
+
|
|
49
|
+
export default defineConfig({
|
|
50
|
+
// Project settings
|
|
51
|
+
name: "my-quickback-app",
|
|
52
|
+
template: "hono", // "hono" | "nextjs"
|
|
53
|
+
|
|
54
|
+
// Use a preset for quick setup (includes runtime, database, storage, auth)
|
|
55
|
+
providers: cloudflare({
|
|
56
|
+
// Optional customization:
|
|
57
|
+
// databaseBinding: "DATABASE",
|
|
58
|
+
// kvBinding: "KV",
|
|
59
|
+
}),
|
|
60
|
+
|
|
61
|
+
// Build settings
|
|
62
|
+
build: {
|
|
63
|
+
outputDir: "./output",
|
|
64
|
+
},
|
|
65
|
+
|
|
66
|
+
// [quickback:options-start]
|
|
67
|
+
// Run \`quickback compile\` to populate this block with every available option.
|
|
68
|
+
// [quickback:options-end]
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Alternative: For local development with Bun and SQLite, use:
|
|
73
|
+
*
|
|
74
|
+
* import { bun } from "@quickback/compiler/presets";
|
|
75
|
+
*
|
|
76
|
+
* providers: bun({
|
|
77
|
+
* databasePath: "./data/app.db",
|
|
78
|
+
* }),
|
|
79
|
+
*/
|
|
80
|
+
`;
|
|
81
|
+
writeFileSync(join(quickbackPath, "quickback.config.ts"), configContent);
|
|
82
|
+
// Create auth definition
|
|
83
|
+
const authConfigContent = `/**
|
|
84
|
+
* Better Auth Configuration
|
|
85
|
+
*
|
|
86
|
+
* This file defines your authentication configuration for Better Auth.
|
|
87
|
+
* Modify this to customize authentication behavior in your application.
|
|
88
|
+
*/
|
|
89
|
+
|
|
90
|
+
export const authConfig = {
|
|
91
|
+
// Core settings
|
|
92
|
+
autoDetectIpAddress: true,
|
|
93
|
+
geolocationTracking: true,
|
|
94
|
+
|
|
95
|
+
// Authentication methods
|
|
96
|
+
emailAndPassword: {
|
|
97
|
+
enabled: true,
|
|
98
|
+
requireEmailVerification: false
|
|
99
|
+
},
|
|
100
|
+
|
|
101
|
+
// Plugins - Add or remove based on your needs
|
|
102
|
+
// Available plugins: "anonymous", "openAPI", "twoFactor", "passkey", "magicLink"
|
|
103
|
+
plugins: ["anonymous"],
|
|
104
|
+
|
|
105
|
+
// Rate limiting configuration
|
|
106
|
+
rateLimit: {
|
|
107
|
+
enabled: true,
|
|
108
|
+
window: 60, // seconds (minimum for KV is 60s)
|
|
109
|
+
max: 100, // requests per window
|
|
110
|
+
customRules: {
|
|
111
|
+
// Add custom rate limit rules for specific endpoints
|
|
112
|
+
"/sign-in/email": {
|
|
113
|
+
window: 60,
|
|
114
|
+
max: 10
|
|
115
|
+
},
|
|
116
|
+
"/sign-in/social": {
|
|
117
|
+
window: 60,
|
|
118
|
+
max: 10
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
|
|
123
|
+
// Social providers - Enable and configure as needed
|
|
124
|
+
socialProviders: {
|
|
125
|
+
google: {
|
|
126
|
+
enabled: false,
|
|
127
|
+
// clientId and clientSecret will be read from environment variables
|
|
128
|
+
},
|
|
129
|
+
github: {
|
|
130
|
+
enabled: false,
|
|
131
|
+
},
|
|
132
|
+
discord: {
|
|
133
|
+
enabled: false,
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
|
|
137
|
+
// Session configuration
|
|
138
|
+
session: {
|
|
139
|
+
expiresInDays: 30,
|
|
140
|
+
updateAgeInDays: 1
|
|
141
|
+
},
|
|
142
|
+
|
|
143
|
+
// Database configuration
|
|
144
|
+
database: {
|
|
145
|
+
// Additional database-specific options
|
|
146
|
+
usePlural: true, // Use plural table names (users, sessions, etc.)
|
|
147
|
+
debugLogs: true // Enable debug logging for database operations
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
`;
|
|
151
|
+
writeFileSync(join(quickbackPath, "definitions", "auth", "better-auth.ts"), authConfigContent);
|
|
152
|
+
// Create example todos feature
|
|
153
|
+
const todosSchemaContent = `/**
|
|
154
|
+
* Todos Feature Schema
|
|
155
|
+
*
|
|
156
|
+
* Example feature definition showing how to create database schemas
|
|
157
|
+
* and API endpoints for your application features.
|
|
158
|
+
*/
|
|
159
|
+
|
|
160
|
+
import { sqliteTable, text, integer } from "drizzle-orm/sqlite-core";
|
|
161
|
+
import { sql } from "drizzle-orm";
|
|
162
|
+
|
|
163
|
+
export const todos = sqliteTable("todos", {
|
|
164
|
+
id: text("id").primaryKey().$defaultFn(() => crypto.randomUUID()),
|
|
165
|
+
userId: text("user_id").notNull(),
|
|
166
|
+
title: text("title").notNull(),
|
|
167
|
+
description: text("description"),
|
|
168
|
+
completed: integer("completed", { mode: "boolean" }).default(false).notNull(),
|
|
169
|
+
createdAt: integer("created_at", { mode: "timestamp" }).$defaultFn(() => new Date()),
|
|
170
|
+
updatedAt: integer("updated_at", { mode: "timestamp" }).$defaultFn(() => new Date()),
|
|
171
|
+
});
|
|
172
|
+
|
|
173
|
+
export type Todo = typeof todos.$inferSelect;
|
|
174
|
+
export type NewTodo = typeof todos.$inferInsert;
|
|
175
|
+
`;
|
|
176
|
+
writeFileSync(join(quickbackPath, "definitions", "features", "todos", "schema.ts"), todosSchemaContent);
|
|
177
|
+
// Create todos API routes
|
|
178
|
+
const todosRoutesContent = `/**
|
|
179
|
+
* Todos API Routes
|
|
180
|
+
*
|
|
181
|
+
* Example API implementation for the todos feature.
|
|
182
|
+
* Shows how to create authenticated CRUD endpoints.
|
|
183
|
+
*/
|
|
184
|
+
|
|
185
|
+
import { Hono } from "hono";
|
|
186
|
+
import { eq, and } from "drizzle-orm";
|
|
187
|
+
import type { Todo, NewTodo } from "./schema";
|
|
188
|
+
|
|
189
|
+
export function createTodosRoutes(auth: any, db: any, todos: any) {
|
|
190
|
+
const app = new Hono();
|
|
191
|
+
|
|
192
|
+
// Get all todos for the authenticated user
|
|
193
|
+
app.get("/", async (c) => {
|
|
194
|
+
const session = await auth.api.getSession({
|
|
195
|
+
headers: c.req.raw.headers,
|
|
196
|
+
});
|
|
197
|
+
|
|
198
|
+
if (!session) {
|
|
199
|
+
return c.json({ error: "Unauthorized" }, 401);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
const userTodos = await db
|
|
203
|
+
.select()
|
|
204
|
+
.from(todos)
|
|
205
|
+
.where(eq(todos.userId, session.user.id));
|
|
206
|
+
|
|
207
|
+
return c.json(userTodos);
|
|
208
|
+
});
|
|
209
|
+
|
|
210
|
+
// Create a new todo
|
|
211
|
+
app.post("/", async (c) => {
|
|
212
|
+
const session = await auth.api.getSession({
|
|
213
|
+
headers: c.req.raw.headers,
|
|
214
|
+
});
|
|
215
|
+
|
|
216
|
+
if (!session) {
|
|
217
|
+
return c.json({ error: "Unauthorized" }, 401);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
const body = await c.req.json<{ title: string; description?: string }>();
|
|
221
|
+
|
|
222
|
+
if (!body.title) {
|
|
223
|
+
return c.json({ error: "Title is required" }, 400);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
const newTodo: NewTodo = {
|
|
227
|
+
userId: session.user.id,
|
|
228
|
+
title: body.title,
|
|
229
|
+
description: body.description,
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
const [todo] = await db.insert(todos).values(newTodo).returning();
|
|
233
|
+
return c.json(todo, 201);
|
|
234
|
+
});
|
|
235
|
+
|
|
236
|
+
// Update a todo
|
|
237
|
+
app.patch("/:id", async (c) => {
|
|
238
|
+
const session = await auth.api.getSession({
|
|
239
|
+
headers: c.req.raw.headers,
|
|
240
|
+
});
|
|
241
|
+
|
|
242
|
+
if (!session) {
|
|
243
|
+
return c.json({ error: "Unauthorized" }, 401);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
const id = c.req.param("id");
|
|
247
|
+
const body = await c.req.json<{ title?: string; description?: string; completed?: boolean }>();
|
|
248
|
+
|
|
249
|
+
const [updatedTodo] = await db
|
|
250
|
+
.update(todos)
|
|
251
|
+
.set({
|
|
252
|
+
...body,
|
|
253
|
+
updatedAt: new Date(),
|
|
254
|
+
})
|
|
255
|
+
.where(and(eq(todos.id, id), eq(todos.userId, session.user.id)))
|
|
256
|
+
.returning();
|
|
257
|
+
|
|
258
|
+
if (!updatedTodo) {
|
|
259
|
+
return c.json({ error: "Todo not found" }, 404);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
return c.json(updatedTodo);
|
|
263
|
+
});
|
|
264
|
+
|
|
265
|
+
// Delete a todo
|
|
266
|
+
app.delete("/:id", async (c) => {
|
|
267
|
+
const session = await auth.api.getSession({
|
|
268
|
+
headers: c.req.raw.headers,
|
|
269
|
+
});
|
|
270
|
+
|
|
271
|
+
if (!session) {
|
|
272
|
+
return c.json({ error: "Unauthorized" }, 401);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
const id = c.req.param("id");
|
|
276
|
+
|
|
277
|
+
const [deletedTodo] = await db
|
|
278
|
+
.delete(todos)
|
|
279
|
+
.where(and(eq(todos.id, id), eq(todos.userId, session.user.id)))
|
|
280
|
+
.returning();
|
|
281
|
+
|
|
282
|
+
if (!deletedTodo) {
|
|
283
|
+
return c.json({ error: "Todo not found" }, 404);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
return c.json({ message: "Todo deleted successfully" });
|
|
287
|
+
});
|
|
288
|
+
|
|
289
|
+
return app;
|
|
290
|
+
}
|
|
291
|
+
`;
|
|
292
|
+
writeFileSync(join(quickbackPath, "definitions", "features", "todos", "routes.ts"), todosRoutesContent);
|
|
293
|
+
// Create todos README
|
|
294
|
+
const todosReadmeContent = `# Todos Feature
|
|
295
|
+
|
|
296
|
+
This is an example feature showing how to structure your application features in Quickback.
|
|
297
|
+
|
|
298
|
+
## Structure
|
|
299
|
+
|
|
300
|
+
- **schema.ts** - Defines the database schema using Drizzle ORM
|
|
301
|
+
- **routes.ts** - Implements the API endpoints for CRUD operations
|
|
302
|
+
|
|
303
|
+
## Usage
|
|
304
|
+
|
|
305
|
+
This feature will be automatically integrated into your application when you run the Quickback compiler. The routes will be mounted at \`/api/todos\`.
|
|
306
|
+
|
|
307
|
+
## Endpoints
|
|
308
|
+
|
|
309
|
+
- \`GET /api/todos\` - Get all todos for the authenticated user
|
|
310
|
+
- \`POST /api/todos\` - Create a new todo
|
|
311
|
+
- \`PATCH /api/todos/:id\` - Update a todo
|
|
312
|
+
- \`DELETE /api/todos/:id\` - Delete a todo
|
|
313
|
+
|
|
314
|
+
All endpoints require authentication via Better Auth sessions.
|
|
315
|
+
`;
|
|
316
|
+
writeFileSync(join(quickbackPath, "definitions", "features", "todos", "README.md"), todosReadmeContent);
|
|
317
|
+
// Create .gitignore
|
|
318
|
+
const gitignoreContent = `# Output directory
|
|
319
|
+
output/
|
|
320
|
+
|
|
321
|
+
# Dependencies
|
|
322
|
+
node_modules/
|
|
323
|
+
|
|
324
|
+
# Environment files
|
|
325
|
+
.env
|
|
326
|
+
.env.local
|
|
327
|
+
.env.*.local
|
|
328
|
+
|
|
329
|
+
# IDE
|
|
330
|
+
.vscode/
|
|
331
|
+
.idea/
|
|
332
|
+
|
|
333
|
+
# OS
|
|
334
|
+
.DS_Store
|
|
335
|
+
Thumbs.db
|
|
336
|
+
|
|
337
|
+
# Logs
|
|
338
|
+
*.log
|
|
339
|
+
|
|
340
|
+
# Build artifacts
|
|
341
|
+
dist/
|
|
342
|
+
build/
|
|
343
|
+
.next/
|
|
344
|
+
`;
|
|
345
|
+
writeFileSync(join(quickbackPath, ".gitignore"), gitignoreContent);
|
|
346
|
+
// Create README
|
|
347
|
+
const readmeContent = `# Quickback Project
|
|
348
|
+
|
|
349
|
+
This is a Quickback project structure for building Cloudflare Workers applications with authentication.
|
|
350
|
+
|
|
351
|
+
## Structure
|
|
352
|
+
|
|
353
|
+
- **quickback.config.ts** - Main configuration file for your project
|
|
354
|
+
- **definitions/** - Contains all your feature and configuration definitions
|
|
355
|
+
- **auth/** - Authentication configuration (Better Auth)
|
|
356
|
+
- **features/** - Your application features (APIs, schemas, etc.)
|
|
357
|
+
- **output/** - Generated code output (gitignored)
|
|
358
|
+
|
|
359
|
+
## Getting Started
|
|
360
|
+
|
|
361
|
+
1. Customize \`quickback.config.ts\` with your project settings
|
|
362
|
+
2. Modify \`definitions/auth/better-auth.ts\` for authentication configuration
|
|
363
|
+
3. Add your own features in \`definitions/features/\`
|
|
364
|
+
4. Run the Quickback compiler to generate your application:
|
|
365
|
+
|
|
366
|
+
\`\`\`bash
|
|
367
|
+
npx @quickback/compiler generate
|
|
368
|
+
\`\`\`
|
|
369
|
+
|
|
370
|
+
## Adding Features
|
|
371
|
+
|
|
372
|
+
Create a new directory under \`definitions/features/\` with:
|
|
373
|
+
- \`schema.ts\` - Database schema definitions
|
|
374
|
+
- \`routes.ts\` - API route implementations
|
|
375
|
+
- Any other files needed for your feature
|
|
376
|
+
|
|
377
|
+
## Environment Variables
|
|
378
|
+
|
|
379
|
+
Configure the following in your \`.env\` file:
|
|
380
|
+
- \`CLOUDFLARE_ACCOUNT_ID\` - Your Cloudflare account ID
|
|
381
|
+
- Social provider credentials (if using social auth)
|
|
382
|
+
- Database connection strings (for Hyperdrive)
|
|
383
|
+
|
|
384
|
+
## Learn More
|
|
385
|
+
|
|
386
|
+
- [Quickback Documentation](https://github.com/quickback/quickback-compiler)
|
|
387
|
+
- [Better Auth Documentation](https://www.better-auth.com)
|
|
388
|
+
- [Cloudflare Workers Documentation](https://developers.cloudflare.com/workers)
|
|
389
|
+
`;
|
|
390
|
+
writeFileSync(join(quickbackPath, "README.md"), readmeContent);
|
|
391
|
+
console.log(pc.green("\n✅ Quickback project structure created successfully!"));
|
|
392
|
+
console.log(pc.cyan("\nNext steps:"));
|
|
393
|
+
console.log(pc.white(` 1. cd ${quickbackPath}`));
|
|
394
|
+
console.log(pc.white(" 2. Customize quickback.config.ts"));
|
|
395
|
+
console.log(pc.white(" 3. Modify auth configuration in definitions/auth/"));
|
|
396
|
+
console.log(pc.white(" 4. Add your features in definitions/features/"));
|
|
397
|
+
console.log(pc.white(" 5. Run: npx @quickback/compiler generate"));
|
|
398
|
+
console.log(pc.cyan("\nFor more information, see the README.md file in the quickback folder."));
|
|
399
|
+
}
|
|
400
|
+
catch (error) {
|
|
401
|
+
console.error(pc.red("Error creating quickback structure:"), error);
|
|
402
|
+
process.exit(1);
|
|
403
|
+
}
|
|
404
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AAC,IAAI,CAAC,yEAAyE,CAAC,CAAC,CAAC;IAEpG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,qCAAqC,CAAC,EAAE,KAAK,CAAC,CAAC;QACpE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../src/docs/content.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../src/docs/content.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CA6ezC,CAAC;AAEF,eAAO,MAAM,UAAU,UA4HtB,CAAC"}
|