- Admin dashboard (/admin/consent-logs) with password auth - Consent API (/api/consent) with SQLite + IP hashing - Privacy Policy (Thai) - PDPA Section 36 compliant - Terms & Conditions (Thai) - 9 standard clauses - .env.example template with Umami placeholder All pages preserve current design system.
25 lines
524 B
JavaScript
25 lines
524 B
JavaScript
import { entityKind } from "./entity.js";
|
|
class Subquery {
|
|
static [entityKind] = "Subquery";
|
|
constructor(sql, fields, alias, isWith = false, usedTables = []) {
|
|
this._ = {
|
|
brand: "Subquery",
|
|
sql,
|
|
selectedFields: fields,
|
|
alias,
|
|
isWith,
|
|
usedTables
|
|
};
|
|
}
|
|
// getSQL(): SQL<unknown> {
|
|
// return new SQL([this]);
|
|
// }
|
|
}
|
|
class WithSubquery extends Subquery {
|
|
static [entityKind] = "WithSubquery";
|
|
}
|
|
export {
|
|
Subquery,
|
|
WithSubquery
|
|
};
|
|
//# sourceMappingURL=subquery.js.map
|