/** * `plugin_logs` table — structured log storage for plugin workers. * * Each row stores a single log entry emitted by a plugin worker via * `ctx.logger.info(...)` etc. Logs are queryable by plugin, level, and * time range to support the operator logs panel and debugging workflows. * * Rows are inserted by the host when handling `log` notifications from * the worker process. A capped retention policy can be applied via * periodic cleanup (e.g. delete rows older than 7 days). * * @see PLUGIN_SPEC.md §26 — Observability */ export declare const pluginLogs: import("drizzle-orm/pg-core").PgTableWithColumns<{ name: "plugin_logs"; schema: undefined; columns: { id: import("drizzle-orm/pg-core").PgColumn<{ name: "id"; tableName: "plugin_logs"; dataType: "string"; columnType: "PgUUID"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; pluginId: import("drizzle-orm/pg-core").PgColumn<{ name: "plugin_id"; tableName: "plugin_logs"; dataType: "string"; columnType: "PgUUID"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; level: import("drizzle-orm/pg-core").PgColumn<{ name: "level"; tableName: "plugin_logs"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; message: import("drizzle-orm/pg-core").PgColumn<{ name: "message"; tableName: "plugin_logs"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; meta: import("drizzle-orm/pg-core").PgColumn<{ name: "meta"; tableName: "plugin_logs"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; createdAt: import("drizzle-orm/pg-core").PgColumn<{ name: "created_at"; tableName: "plugin_logs"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; //# sourceMappingURL=plugin_logs.d.ts.map