diff --git a/apps/web/src/app/page/[slug]/components/PublicPageView/PublicPageView.tsx b/apps/web/src/app/page/[slug]/components/PublicPageView/PublicPageView.tsx
index 80f479905c4..cc41ab7b88f 100644
--- a/apps/web/src/app/page/[slug]/components/PublicPageView/PublicPageView.tsx
+++ b/apps/web/src/app/page/[slug]/components/PublicPageView/PublicPageView.tsx
@@ -6,6 +6,7 @@ import { PageFrame } from "@superset/ui/page-comments";
import { Globe } from "lucide-react";
import Link from "next/link";
import { OpenInSupersetButton } from "../OpenInSupersetButton";
+import { ReportPageDialog } from "./components/ReportPageDialog";
interface PublicPageViewProps {
title: string;
@@ -30,7 +31,8 @@ export function PublicPageView({
aria-label={t({ message: "Shared with everyone" })}
/>
{title}
-
+
+
{signedIn ? (
) : (
@@ -51,6 +53,13 @@ export function PublicPageView({
+
+
);
}
diff --git a/apps/web/src/app/page/[slug]/components/PublicPageView/components/ReportPageDialog/ReportPageDialog.tsx b/apps/web/src/app/page/[slug]/components/PublicPageView/components/ReportPageDialog/ReportPageDialog.tsx
new file mode 100644
index 00000000000..043597d6586
--- /dev/null
+++ b/apps/web/src/app/page/[slug]/components/PublicPageView/components/ReportPageDialog/ReportPageDialog.tsx
@@ -0,0 +1,195 @@
+"use client";
+
+import { useLingui as useTranslation } from "@lingui/react";
+import { Trans, useLingui } from "@lingui/react/macro";
+import type { PageReportReason } from "@superset/db/enums";
+import { errorMessage } from "@superset/i18n/errors";
+import { Button } from "@superset/ui/button";
+import {
+ Dialog,
+ DialogContent,
+ DialogDescription,
+ DialogFooter,
+ DialogHeader,
+ DialogTitle,
+ DialogTrigger,
+} from "@superset/ui/dialog";
+import { Input } from "@superset/ui/input";
+import { Label } from "@superset/ui/label";
+import {
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue,
+} from "@superset/ui/select";
+import { Textarea } from "@superset/ui/textarea";
+import { useMutation } from "@tanstack/react-query";
+import { Flag } from "lucide-react";
+import { useState } from "react";
+import { useTRPC } from "@/trpc/react";
+import { REPORT_REASONS } from "./constants";
+
+interface ReportPageDialogProps {
+ slug: string;
+ signedIn: boolean;
+}
+
+export function ReportPageDialog({ slug, signedIn }: ReportPageDialogProps) {
+ const { t } = useLingui();
+ const { _: translate } = useTranslation();
+ const trpc = useTRPC();
+ const [open, setOpen] = useState(false);
+ const [reason, setReason] = useState
("");
+ const [details, setDetails] = useState("");
+ const [email, setEmail] = useState("");
+
+ const report = useMutation(trpc.page.report.mutationOptions());
+
+ const reset = () => {
+ setReason("");
+ setDetails("");
+ setEmail("");
+ report.reset();
+ };
+
+ const submit = () => {
+ if (!reason) return;
+ report.mutate({
+ slug,
+ reason,
+ details: details.trim() || undefined,
+ reporterEmail: !signedIn && email.trim() ? email.trim() : undefined,
+ });
+ };
+
+ return (
+
+ );
+}
diff --git a/apps/web/src/app/page/[slug]/components/PublicPageView/components/ReportPageDialog/constants.ts b/apps/web/src/app/page/[slug]/components/PublicPageView/components/ReportPageDialog/constants.ts
new file mode 100644
index 00000000000..1f69fa07379
--- /dev/null
+++ b/apps/web/src/app/page/[slug]/components/PublicPageView/components/ReportPageDialog/constants.ts
@@ -0,0 +1,21 @@
+import type { MessageDescriptor } from "@lingui/core";
+import { msg } from "@lingui/core/macro";
+import type { PageReportReason } from "@superset/db/enums";
+
+const REPORT_REASON_LABELS: Record = {
+ malware_or_phishing: msg({ message: "Malware or phishing" }),
+ spam_or_scam: msg({ message: "Spam or a scam" }),
+ impersonation: msg({ message: "Impersonates someone" }),
+ sexual_content: msg({ message: "Sexual content" }),
+ violence_or_harassment: msg({ message: "Violence or harassment" }),
+ illegal_content: msg({ message: "Illegal content" }),
+ copyright: msg({ message: "Copyright or trademark" }),
+ other: msg({ message: "Something else" }),
+};
+
+export const REPORT_REASONS = (
+ Object.entries(REPORT_REASON_LABELS) as [
+ PageReportReason,
+ MessageDescriptor,
+ ][]
+).map(([value, label]) => ({ value, label }));
diff --git a/apps/web/src/app/page/[slug]/components/PublicPageView/components/ReportPageDialog/index.ts b/apps/web/src/app/page/[slug]/components/PublicPageView/components/ReportPageDialog/index.ts
new file mode 100644
index 00000000000..15b56cb13b6
--- /dev/null
+++ b/apps/web/src/app/page/[slug]/components/PublicPageView/components/ReportPageDialog/index.ts
@@ -0,0 +1 @@
+export { ReportPageDialog } from "./ReportPageDialog";
diff --git a/packages/db/drizzle/0129_page_reports_and_takedown.sql b/packages/db/drizzle/0129_page_reports_and_takedown.sql
new file mode 100644
index 00000000000..a96c7af9b07
--- /dev/null
+++ b/packages/db/drizzle/0129_page_reports_and_takedown.sql
@@ -0,0 +1,27 @@
+CREATE TYPE "public"."page_report_status" AS ENUM('open', 'upheld', 'dismissed');--> statement-breakpoint
+CREATE TABLE "page_reports" (
+ "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
+ "page_id" uuid NOT NULL,
+ "reported_version" integer,
+ "reason" text NOT NULL,
+ "details" text,
+ "status" "page_report_status" DEFAULT 'open' NOT NULL,
+ "reported_by_user_id" uuid,
+ "reporter_email" text,
+ "reporter_ip_hash" text,
+ "reviewed_by_user_id" uuid,
+ "reviewed_at" timestamp with time zone,
+ "review_note" text,
+ "created_at" timestamp with time zone DEFAULT now() NOT NULL
+);
+--> statement-breakpoint
+ALTER TABLE "pages" ADD COLUMN "taken_down_at" timestamp with time zone;--> statement-breakpoint
+ALTER TABLE "pages" ADD COLUMN "taken_down_by_user_id" uuid;--> statement-breakpoint
+ALTER TABLE "pages" ADD COLUMN "taken_down_note" text;--> statement-breakpoint
+ALTER TABLE "page_reports" ADD CONSTRAINT "page_reports_page_id_pages_id_fk" FOREIGN KEY ("page_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
+ALTER TABLE "page_reports" ADD CONSTRAINT "page_reports_reported_by_user_id_users_id_fk" FOREIGN KEY ("reported_by_user_id") REFERENCES "auth"."users"("id") ON DELETE set null ON UPDATE no action;--> statement-breakpoint
+ALTER TABLE "page_reports" ADD CONSTRAINT "page_reports_reviewed_by_user_id_users_id_fk" FOREIGN KEY ("reviewed_by_user_id") REFERENCES "auth"."users"("id") ON DELETE set null ON UPDATE no action;--> statement-breakpoint
+CREATE INDEX "page_reports_status_created_at_idx" ON "page_reports" USING btree ("status","created_at" desc);--> statement-breakpoint
+CREATE INDEX "page_reports_page_id_idx" ON "page_reports" USING btree ("page_id");--> statement-breakpoint
+CREATE INDEX "page_reports_reporter_ip_hash_idx" ON "page_reports" USING btree ("reporter_ip_hash");--> statement-breakpoint
+ALTER TABLE "pages" ADD CONSTRAINT "pages_taken_down_by_user_id_users_id_fk" FOREIGN KEY ("taken_down_by_user_id") REFERENCES "auth"."users"("id") ON DELETE set null ON UPDATE no action;
\ No newline at end of file
diff --git a/packages/db/drizzle/meta/0129_snapshot.json b/packages/db/drizzle/meta/0129_snapshot.json
new file mode 100644
index 00000000000..12af47f9a84
--- /dev/null
+++ b/packages/db/drizzle/meta/0129_snapshot.json
@@ -0,0 +1,11319 @@
+{
+ "id": "3759e999-ca36-4dc1-95f0-b95acb58cf0f",
+ "prevId": "0b6b9deb-6d8a-4983-8c95-c26979c513df",
+ "version": "7",
+ "dialect": "postgresql",
+ "tables": {
+ "auth.accounts": {
+ "name": "accounts",
+ "schema": "auth",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "account_id": {
+ "name": "account_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "provider_id": {
+ "name": "provider_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "access_token": {
+ "name": "access_token",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "refresh_token": {
+ "name": "refresh_token",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "id_token": {
+ "name": "id_token",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "access_token_expires_at": {
+ "name": "access_token_expires_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "refresh_token_expires_at": {
+ "name": "refresh_token_expires_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "scope": {
+ "name": "scope",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "password": {
+ "name": "password",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true
+ }
+ },
+ "indexes": {
+ "accounts_user_id_idx": {
+ "name": "accounts_user_id_idx",
+ "columns": [
+ {
+ "expression": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "accounts_user_id_users_id_fk": {
+ "name": "accounts_user_id_users_id_fk",
+ "tableFrom": "accounts",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "auth.apikeys": {
+ "name": "apikeys",
+ "schema": "auth",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "config_id": {
+ "name": "config_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'default'"
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "start": {
+ "name": "start",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "reference_id": {
+ "name": "reference_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "prefix": {
+ "name": "prefix",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "key": {
+ "name": "key",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "refill_interval": {
+ "name": "refill_interval",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "refill_amount": {
+ "name": "refill_amount",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "last_refill_at": {
+ "name": "last_refill_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "enabled": {
+ "name": "enabled",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": false,
+ "default": true
+ },
+ "rate_limit_enabled": {
+ "name": "rate_limit_enabled",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": false,
+ "default": true
+ },
+ "rate_limit_time_window": {
+ "name": "rate_limit_time_window",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "default": 86400000
+ },
+ "rate_limit_max": {
+ "name": "rate_limit_max",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "default": 10
+ },
+ "request_count": {
+ "name": "request_count",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "default": 0
+ },
+ "remaining": {
+ "name": "remaining",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "last_request": {
+ "name": "last_request",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "expires_at": {
+ "name": "expires_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "permissions": {
+ "name": "permissions",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "metadata": {
+ "name": "metadata",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false,
+ "generated": {
+ "as": "CASE\n\t\t\t\tWHEN metadata IS NULL OR metadata = '' THEN NULL\n\t\t\t\tWHEN NOT (metadata IS JSON OBJECT) THEN NULL\n\t\t\t\tWHEN (metadata::jsonb->>'organizationId') ~* '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'\n\t\t\t\t\tTHEN (metadata::jsonb->>'organizationId')::uuid\n\t\t\t\tELSE NULL\n\t\t\tEND",
+ "type": "stored"
+ }
+ }
+ },
+ "indexes": {
+ "apikeys_configId_idx": {
+ "name": "apikeys_configId_idx",
+ "columns": [
+ {
+ "expression": "config_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "apikeys_referenceId_idx": {
+ "name": "apikeys_referenceId_idx",
+ "columns": [
+ {
+ "expression": "reference_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "apikeys_key_idx": {
+ "name": "apikeys_key_idx",
+ "columns": [
+ {
+ "expression": "key",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "apikeys_organization_id_idx": {
+ "name": "apikeys_organization_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "apikeys_metadata_trgm_idx": {
+ "name": "apikeys_metadata_trgm_idx",
+ "columns": [
+ {
+ "expression": "\"metadata\" gin_trgm_ops",
+ "asc": true,
+ "isExpression": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "gin",
+ "with": {}
+ }
+ },
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "auth.device_codes": {
+ "name": "device_codes",
+ "schema": "auth",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "device_code": {
+ "name": "device_code",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "user_code": {
+ "name": "user_code",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "expires_at": {
+ "name": "expires_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "status": {
+ "name": "status",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "last_polled_at": {
+ "name": "last_polled_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "polling_interval": {
+ "name": "polling_interval",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "client_id": {
+ "name": "client_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "scope": {
+ "name": "scope",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "auth.invitations": {
+ "name": "invitations",
+ "schema": "auth",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "email": {
+ "name": "email",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "role": {
+ "name": "role",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "status": {
+ "name": "status",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'pending'"
+ },
+ "expires_at": {
+ "name": "expires_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "inviter_id": {
+ "name": "inviter_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "team_id": {
+ "name": "team_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ }
+ },
+ "indexes": {
+ "invitations_organization_id_idx": {
+ "name": "invitations_organization_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "invitations_email_idx": {
+ "name": "invitations_email_idx",
+ "columns": [
+ {
+ "expression": "email",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "invitations_organization_id_organizations_id_fk": {
+ "name": "invitations_organization_id_organizations_id_fk",
+ "tableFrom": "invitations",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "invitations_inviter_id_users_id_fk": {
+ "name": "invitations_inviter_id_users_id_fk",
+ "tableFrom": "invitations",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "inviter_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "invitations_team_id_teams_id_fk": {
+ "name": "invitations_team_id_teams_id_fk",
+ "tableFrom": "invitations",
+ "tableTo": "teams",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "team_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "auth.jwkss": {
+ "name": "jwkss",
+ "schema": "auth",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "public_key": {
+ "name": "public_key",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "private_key": {
+ "name": "private_key",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "expires_at": {
+ "name": "expires_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "auth.members": {
+ "name": "members",
+ "schema": "auth",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "role": {
+ "name": "role",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'member'"
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "members_organization_id_idx": {
+ "name": "members_organization_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "members_user_id_idx": {
+ "name": "members_user_id_idx",
+ "columns": [
+ {
+ "expression": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "members_organization_id_organizations_id_fk": {
+ "name": "members_organization_id_organizations_id_fk",
+ "tableFrom": "members",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "members_user_id_users_id_fk": {
+ "name": "members_user_id_users_id_fk",
+ "tableFrom": "members",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "auth.oauth_access_tokens": {
+ "name": "oauth_access_tokens",
+ "schema": "auth",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "token": {
+ "name": "token",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "client_id": {
+ "name": "client_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "session_id": {
+ "name": "session_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "reference_id": {
+ "name": "reference_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "refresh_id": {
+ "name": "refresh_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "expires_at": {
+ "name": "expires_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "scopes": {
+ "name": "scopes",
+ "type": "text[]",
+ "primaryKey": false,
+ "notNull": true
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {
+ "oauth_access_tokens_client_id_oauth_clients_client_id_fk": {
+ "name": "oauth_access_tokens_client_id_oauth_clients_client_id_fk",
+ "tableFrom": "oauth_access_tokens",
+ "tableTo": "oauth_clients",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "client_id"
+ ],
+ "columnsTo": [
+ "client_id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "oauth_access_tokens_session_id_sessions_id_fk": {
+ "name": "oauth_access_tokens_session_id_sessions_id_fk",
+ "tableFrom": "oauth_access_tokens",
+ "tableTo": "sessions",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "session_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ },
+ "oauth_access_tokens_user_id_users_id_fk": {
+ "name": "oauth_access_tokens_user_id_users_id_fk",
+ "tableFrom": "oauth_access_tokens",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "oauth_access_tokens_refresh_id_oauth_refresh_tokens_id_fk": {
+ "name": "oauth_access_tokens_refresh_id_oauth_refresh_tokens_id_fk",
+ "tableFrom": "oauth_access_tokens",
+ "tableTo": "oauth_refresh_tokens",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "refresh_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "oauth_access_tokens_token_unique": {
+ "name": "oauth_access_tokens_token_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "token"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "auth.oauth_clients": {
+ "name": "oauth_clients",
+ "schema": "auth",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "client_id": {
+ "name": "client_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "client_secret": {
+ "name": "client_secret",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "disabled": {
+ "name": "disabled",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": false,
+ "default": false
+ },
+ "skip_consent": {
+ "name": "skip_consent",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "enable_end_session": {
+ "name": "enable_end_session",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "scopes": {
+ "name": "scopes",
+ "type": "text[]",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "uri": {
+ "name": "uri",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "icon": {
+ "name": "icon",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "contacts": {
+ "name": "contacts",
+ "type": "text[]",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "tos": {
+ "name": "tos",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "policy": {
+ "name": "policy",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "software_id": {
+ "name": "software_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "software_version": {
+ "name": "software_version",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "software_statement": {
+ "name": "software_statement",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "redirect_uris": {
+ "name": "redirect_uris",
+ "type": "text[]",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "post_logout_redirect_uris": {
+ "name": "post_logout_redirect_uris",
+ "type": "text[]",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "token_endpoint_auth_method": {
+ "name": "token_endpoint_auth_method",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "grant_types": {
+ "name": "grant_types",
+ "type": "text[]",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "response_types": {
+ "name": "response_types",
+ "type": "text[]",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "public": {
+ "name": "public",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "type": {
+ "name": "type",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "require_pkce": {
+ "name": "require_pkce",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "subject_type": {
+ "name": "subject_type",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "reference_id": {
+ "name": "reference_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "metadata": {
+ "name": "metadata",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {
+ "oauth_clients_user_id_users_id_fk": {
+ "name": "oauth_clients_user_id_users_id_fk",
+ "tableFrom": "oauth_clients",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "oauth_clients_client_id_unique": {
+ "name": "oauth_clients_client_id_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "client_id"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "auth.oauth_consents": {
+ "name": "oauth_consents",
+ "schema": "auth",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "client_id": {
+ "name": "client_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "reference_id": {
+ "name": "reference_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "scopes": {
+ "name": "scopes",
+ "type": "text[]",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {
+ "oauth_consents_client_id_oauth_clients_client_id_fk": {
+ "name": "oauth_consents_client_id_oauth_clients_client_id_fk",
+ "tableFrom": "oauth_consents",
+ "tableTo": "oauth_clients",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "client_id"
+ ],
+ "columnsTo": [
+ "client_id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "oauth_consents_user_id_users_id_fk": {
+ "name": "oauth_consents_user_id_users_id_fk",
+ "tableFrom": "oauth_consents",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "auth.oauth_refresh_tokens": {
+ "name": "oauth_refresh_tokens",
+ "schema": "auth",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "token": {
+ "name": "token",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "client_id": {
+ "name": "client_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "session_id": {
+ "name": "session_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "reference_id": {
+ "name": "reference_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "expires_at": {
+ "name": "expires_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "revoked": {
+ "name": "revoked",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "auth_time": {
+ "name": "auth_time",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "scopes": {
+ "name": "scopes",
+ "type": "text[]",
+ "primaryKey": false,
+ "notNull": true
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {
+ "oauth_refresh_tokens_client_id_oauth_clients_client_id_fk": {
+ "name": "oauth_refresh_tokens_client_id_oauth_clients_client_id_fk",
+ "tableFrom": "oauth_refresh_tokens",
+ "tableTo": "oauth_clients",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "client_id"
+ ],
+ "columnsTo": [
+ "client_id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "oauth_refresh_tokens_session_id_sessions_id_fk": {
+ "name": "oauth_refresh_tokens_session_id_sessions_id_fk",
+ "tableFrom": "oauth_refresh_tokens",
+ "tableTo": "sessions",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "session_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ },
+ "oauth_refresh_tokens_user_id_users_id_fk": {
+ "name": "oauth_refresh_tokens_user_id_users_id_fk",
+ "tableFrom": "oauth_refresh_tokens",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "auth.organizations": {
+ "name": "organizations",
+ "schema": "auth",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "slug": {
+ "name": "slug",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "logo": {
+ "name": "logo",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "metadata": {
+ "name": "metadata",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "stripe_customer_id": {
+ "name": "stripe_customer_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "allowed_domains": {
+ "name": "allowed_domains",
+ "type": "text[]",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'{}'"
+ }
+ },
+ "indexes": {
+ "organizations_slug_idx": {
+ "name": "organizations_slug_idx",
+ "columns": [
+ {
+ "expression": "slug",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "organizations_allowed_domains_idx": {
+ "name": "organizations_allowed_domains_idx",
+ "columns": [
+ {
+ "expression": "allowed_domains",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "gin",
+ "with": {}
+ }
+ },
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "organizations_slug_unique": {
+ "name": "organizations_slug_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "slug"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "auth.sessions": {
+ "name": "sessions",
+ "schema": "auth",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "expires_at": {
+ "name": "expires_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "token": {
+ "name": "token",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "ip_address": {
+ "name": "ip_address",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "user_agent": {
+ "name": "user_agent",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "active_organization_id": {
+ "name": "active_organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "active_team_id": {
+ "name": "active_team_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ }
+ },
+ "indexes": {
+ "sessions_user_id_idx": {
+ "name": "sessions_user_id_idx",
+ "columns": [
+ {
+ "expression": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "sessions_user_id_users_id_fk": {
+ "name": "sessions_user_id_users_id_fk",
+ "tableFrom": "sessions",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "sessions_token_unique": {
+ "name": "sessions_token_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "token"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "auth.team_members": {
+ "name": "team_members",
+ "schema": "auth",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "team_id": {
+ "name": "team_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "team_members_team_id_idx": {
+ "name": "team_members_team_id_idx",
+ "columns": [
+ {
+ "expression": "team_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "team_members_user_id_idx": {
+ "name": "team_members_user_id_idx",
+ "columns": [
+ {
+ "expression": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "team_members_organization_id_idx": {
+ "name": "team_members_organization_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "team_members_team_user_unique": {
+ "name": "team_members_team_user_unique",
+ "columns": [
+ {
+ "expression": "team_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "team_members_team_id_teams_id_fk": {
+ "name": "team_members_team_id_teams_id_fk",
+ "tableFrom": "team_members",
+ "tableTo": "teams",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "team_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "team_members_user_id_users_id_fk": {
+ "name": "team_members_user_id_users_id_fk",
+ "tableFrom": "team_members",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "team_members_organization_id_organizations_id_fk": {
+ "name": "team_members_organization_id_organizations_id_fk",
+ "tableFrom": "team_members",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "auth.teams": {
+ "name": "teams",
+ "schema": "auth",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "slug": {
+ "name": "slug",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "teams_organization_id_idx": {
+ "name": "teams_organization_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "teams_org_slug_unique": {
+ "name": "teams_org_slug_unique",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "slug",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "teams_organization_id_organizations_id_fk": {
+ "name": "teams_organization_id_organizations_id_fk",
+ "tableFrom": "teams",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "auth.users": {
+ "name": "users",
+ "schema": "auth",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "email": {
+ "name": "email",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "email_verified": {
+ "name": "email_verified",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": true,
+ "default": false
+ },
+ "image": {
+ "name": "image",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "organization_ids": {
+ "name": "organization_ids",
+ "type": "uuid[]",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'{}'"
+ },
+ "last_active_organization_id": {
+ "name": "last_active_organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "onboarded_at": {
+ "name": "onboarded_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "locale": {
+ "name": "locale",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "deletion_requested_at": {
+ "name": "deletion_requested_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "deleted_at": {
+ "name": "deleted_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "users_organization_ids_idx": {
+ "name": "users_organization_ids_idx",
+ "columns": [
+ {
+ "expression": "organization_ids",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "gin",
+ "with": {}
+ }
+ },
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "users_email_unique": {
+ "name": "users_email_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "email"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "auth.verifications": {
+ "name": "verifications",
+ "schema": "auth",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "identifier": {
+ "name": "identifier",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "value": {
+ "name": "value",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "expires_at": {
+ "name": "expires_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "verifications_identifier_idx": {
+ "name": "verifications_identifier_idx",
+ "columns": [
+ {
+ "expression": "identifier",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.github_installations": {
+ "name": "github_installations",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "connected_by_user_id": {
+ "name": "connected_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "installation_id": {
+ "name": "installation_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "account_login": {
+ "name": "account_login",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "account_type": {
+ "name": "account_type",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "permissions": {
+ "name": "permissions",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "suspended": {
+ "name": "suspended",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": true,
+ "default": false
+ },
+ "suspended_at": {
+ "name": "suspended_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "last_synced_at": {
+ "name": "last_synced_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "github_installations_installation_id_idx": {
+ "name": "github_installations_installation_id_idx",
+ "columns": [
+ {
+ "expression": "installation_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "github_installations_organization_id_organizations_id_fk": {
+ "name": "github_installations_organization_id_organizations_id_fk",
+ "tableFrom": "github_installations",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "github_installations_connected_by_user_id_users_id_fk": {
+ "name": "github_installations_connected_by_user_id_users_id_fk",
+ "tableFrom": "github_installations",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "connected_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "github_installations_installation_id_unique": {
+ "name": "github_installations_installation_id_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "installation_id"
+ ]
+ },
+ "github_installations_org_unique": {
+ "name": "github_installations_org_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "organization_id"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.github_pull_requests": {
+ "name": "github_pull_requests",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "repository_id": {
+ "name": "repository_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "pr_number": {
+ "name": "pr_number",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "node_id": {
+ "name": "node_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "head_branch": {
+ "name": "head_branch",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "head_sha": {
+ "name": "head_sha",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "base_branch": {
+ "name": "base_branch",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "url": {
+ "name": "url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "author_login": {
+ "name": "author_login",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "author_avatar_url": {
+ "name": "author_avatar_url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "state": {
+ "name": "state",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "is_draft": {
+ "name": "is_draft",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": true,
+ "default": false
+ },
+ "additions": {
+ "name": "additions",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "deletions": {
+ "name": "deletions",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "changed_files": {
+ "name": "changed_files",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "review_decision": {
+ "name": "review_decision",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "checks_status": {
+ "name": "checks_status",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'none'"
+ },
+ "checks": {
+ "name": "checks",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": false,
+ "default": "'[]'::jsonb"
+ },
+ "merged_at": {
+ "name": "merged_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "closed_at": {
+ "name": "closed_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "last_synced_at": {
+ "name": "last_synced_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "github_pull_requests_repository_id_idx": {
+ "name": "github_pull_requests_repository_id_idx",
+ "columns": [
+ {
+ "expression": "repository_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "github_pull_requests_state_idx": {
+ "name": "github_pull_requests_state_idx",
+ "columns": [
+ {
+ "expression": "state",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "github_pull_requests_head_branch_idx": {
+ "name": "github_pull_requests_head_branch_idx",
+ "columns": [
+ {
+ "expression": "head_branch",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "github_pull_requests_org_id_idx": {
+ "name": "github_pull_requests_org_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "github_pull_requests_repository_id_github_repositories_id_fk": {
+ "name": "github_pull_requests_repository_id_github_repositories_id_fk",
+ "tableFrom": "github_pull_requests",
+ "tableTo": "github_repositories",
+ "columnsFrom": [
+ "repository_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "github_pull_requests_organization_id_organizations_id_fk": {
+ "name": "github_pull_requests_organization_id_organizations_id_fk",
+ "tableFrom": "github_pull_requests",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "github_pull_requests_repo_pr_unique": {
+ "name": "github_pull_requests_repo_pr_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "repository_id",
+ "pr_number"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.github_repositories": {
+ "name": "github_repositories",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "installation_id": {
+ "name": "installation_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "repo_id": {
+ "name": "repo_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "owner": {
+ "name": "owner",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "full_name": {
+ "name": "full_name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "default_branch": {
+ "name": "default_branch",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'main'"
+ },
+ "is_private": {
+ "name": "is_private",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": true,
+ "default": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "github_repositories_installation_id_idx": {
+ "name": "github_repositories_installation_id_idx",
+ "columns": [
+ {
+ "expression": "installation_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "github_repositories_full_name_idx": {
+ "name": "github_repositories_full_name_idx",
+ "columns": [
+ {
+ "expression": "full_name",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "github_repositories_org_id_idx": {
+ "name": "github_repositories_org_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "github_repositories_installation_id_github_installations_id_fk": {
+ "name": "github_repositories_installation_id_github_installations_id_fk",
+ "tableFrom": "github_repositories",
+ "tableTo": "github_installations",
+ "columnsFrom": [
+ "installation_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "github_repositories_organization_id_organizations_id_fk": {
+ "name": "github_repositories_organization_id_organizations_id_fk",
+ "tableFrom": "github_repositories",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "github_repositories_repo_id_unique": {
+ "name": "github_repositories_repo_id_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "repo_id"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "ingest.webhook_events": {
+ "name": "webhook_events",
+ "schema": "ingest",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "provider": {
+ "name": "provider",
+ "type": "integration_provider",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "event_id": {
+ "name": "event_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "event_type": {
+ "name": "event_type",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "status": {
+ "name": "status",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'pending'"
+ },
+ "processed_at": {
+ "name": "processed_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "error": {
+ "name": "error",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "retry_count": {
+ "name": "retry_count",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "received_at": {
+ "name": "received_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "webhook_events_provider_status_idx": {
+ "name": "webhook_events_provider_status_idx",
+ "columns": [
+ {
+ "expression": "provider",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "status",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "webhook_events_provider_event_id_idx": {
+ "name": "webhook_events_provider_event_id_idx",
+ "columns": [
+ {
+ "expression": "provider",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "event_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "webhook_events_received_at_idx": {
+ "name": "webhook_events_received_at_idx",
+ "columns": [
+ {
+ "expression": "received_at",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.leaderboard_daily": {
+ "name": "leaderboard_daily",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "day": {
+ "name": "day",
+ "type": "date",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "provider": {
+ "name": "provider",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "model": {
+ "name": "model",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "host_id": {
+ "name": "host_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "uncached_input": {
+ "name": "uncached_input",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "cached_input": {
+ "name": "cached_input",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "cache_write_5m": {
+ "name": "cache_write_5m",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "cache_write_1h": {
+ "name": "cache_write_1h",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "output": {
+ "name": "output",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "reasoning_output": {
+ "name": "reasoning_output",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "tokens": {
+ "name": "tokens",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "usd_estimate": {
+ "name": "usd_estimate",
+ "type": "numeric(14, 6)",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'0'"
+ },
+ "approximate": {
+ "name": "approximate",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": true,
+ "default": false
+ },
+ "sessions": {
+ "name": "sessions",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "leaderboard_daily_day_idx": {
+ "name": "leaderboard_daily_day_idx",
+ "columns": [
+ {
+ "expression": "day",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "leaderboard_daily_user_day_idx": {
+ "name": "leaderboard_daily_user_day_idx",
+ "columns": [
+ {
+ "expression": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "day",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "leaderboard_daily_model_day_idx": {
+ "name": "leaderboard_daily_model_day_idx",
+ "columns": [
+ {
+ "expression": "model",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "day",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "leaderboard_daily_user_id_public_profiles_user_id_fk": {
+ "name": "leaderboard_daily_user_id_public_profiles_user_id_fk",
+ "tableFrom": "leaderboard_daily",
+ "tableTo": "public_profiles",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "user_id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "leaderboard_daily_identity_key": {
+ "name": "leaderboard_daily_identity_key",
+ "nullsNotDistinct": false,
+ "columns": [
+ "user_id",
+ "day",
+ "provider",
+ "model",
+ "host_id"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.leaderboard_daily_factory": {
+ "name": "leaderboard_daily_factory",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "day": {
+ "name": "day",
+ "type": "date",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "host_id": {
+ "name": "host_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "sessions": {
+ "name": "sessions",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "parallel_sessions": {
+ "name": "parallel_sessions",
+ "type": "numeric(6, 2)",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'0'"
+ },
+ "agent_prs_merged": {
+ "name": "agent_prs_merged",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "leaderboard_daily_factory_day_idx": {
+ "name": "leaderboard_daily_factory_day_idx",
+ "columns": [
+ {
+ "expression": "day",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "leaderboard_daily_factory_user_day_idx": {
+ "name": "leaderboard_daily_factory_user_day_idx",
+ "columns": [
+ {
+ "expression": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "day",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "leaderboard_daily_factory_user_id_public_profiles_user_id_fk": {
+ "name": "leaderboard_daily_factory_user_id_public_profiles_user_id_fk",
+ "tableFrom": "leaderboard_daily_factory",
+ "tableTo": "public_profiles",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "user_id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "leaderboard_daily_factory_identity_key": {
+ "name": "leaderboard_daily_factory_identity_key",
+ "nullsNotDistinct": false,
+ "columns": [
+ "user_id",
+ "day",
+ "host_id"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.leaderboard_participants": {
+ "name": "leaderboard_participants",
+ "schema": "",
+ "columns": {
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true
+ },
+ "handle": {
+ "name": "handle",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "visibility": {
+ "name": "visibility",
+ "type": "leaderboard_visibility",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'public'"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "opted_in_at": {
+ "name": "opted_in_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "revoked_at": {
+ "name": "revoked_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "flagged_at": {
+ "name": "flagged_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "last_published_at": {
+ "name": "last_published_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "payload_version": {
+ "name": "payload_version",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 1
+ },
+ "tokens": {
+ "name": "tokens",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "usd": {
+ "name": "usd",
+ "type": "numeric(20, 6)",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'0'"
+ },
+ "sessions": {
+ "name": "sessions",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "uncached_input": {
+ "name": "uncached_input",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "cached_input": {
+ "name": "cached_input",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "cache_write_5m": {
+ "name": "cache_write_5m",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "cache_write_1h": {
+ "name": "cache_write_1h",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "output": {
+ "name": "output",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "reasoning_output": {
+ "name": "reasoning_output",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "approximate": {
+ "name": "approximate",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": true,
+ "default": false
+ },
+ "day_range_start": {
+ "name": "day_range_start",
+ "type": "date",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "day_range_end": {
+ "name": "day_range_end",
+ "type": "date",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "tier": {
+ "name": "tier",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "tier_computed_at": {
+ "name": "tier_computed_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "active_days": {
+ "name": "active_days",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "axis_width": {
+ "name": "axis_width",
+ "type": "numeric(6, 2)",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'0'"
+ },
+ "axis_depth": {
+ "name": "axis_depth",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "axis_output": {
+ "name": "axis_output",
+ "type": "numeric(8, 2)",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'0'"
+ },
+ "axis_cost": {
+ "name": "axis_cost",
+ "type": "numeric(10, 2)",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'0'"
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "leaderboard_participants_tokens_idx": {
+ "name": "leaderboard_participants_tokens_idx",
+ "columns": [
+ {
+ "expression": "tokens",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "leaderboard_participants_org_idx": {
+ "name": "leaderboard_participants_org_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "leaderboard_participants_usd_idx": {
+ "name": "leaderboard_participants_usd_idx",
+ "columns": [
+ {
+ "expression": "usd",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "leaderboard_participants_tier_idx": {
+ "name": "leaderboard_participants_tier_idx",
+ "columns": [
+ {
+ "expression": "tier",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "leaderboard_participants_user_id_users_id_fk": {
+ "name": "leaderboard_participants_user_id_users_id_fk",
+ "tableFrom": "leaderboard_participants",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "leaderboard_participants_organization_id_organizations_id_fk": {
+ "name": "leaderboard_participants_organization_id_organizations_id_fk",
+ "tableFrom": "leaderboard_participants",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "leaderboard_participants_handle_unique": {
+ "name": "leaderboard_participants_handle_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "handle"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.plugin_installs": {
+ "name": "plugin_installs",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "marketplace": {
+ "name": "marketplace",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "plugin_name": {
+ "name": "plugin_name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "version": {
+ "name": "version",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "manifest": {
+ "name": "manifest",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "enabled": {
+ "name": "enabled",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": true,
+ "default": true
+ },
+ "installed_at": {
+ "name": "installed_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "plugin_installs_user_plugin_unique": {
+ "name": "plugin_installs_user_plugin_unique",
+ "columns": [
+ {
+ "expression": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "marketplace",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "plugin_name",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "plugin_installs_user_idx": {
+ "name": "plugin_installs_user_idx",
+ "columns": [
+ {
+ "expression": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "plugin_installs_organization_id_organizations_id_fk": {
+ "name": "plugin_installs_organization_id_organizations_id_fk",
+ "tableFrom": "plugin_installs",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "plugin_installs_user_id_users_id_fk": {
+ "name": "plugin_installs_user_id_users_id_fk",
+ "tableFrom": "plugin_installs",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.plugin_marketplaces": {
+ "name": "plugin_marketplaces",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "source_kind": {
+ "name": "source_kind",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "repo": {
+ "name": "repo",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "ref": {
+ "name": "ref",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "path": {
+ "name": "path",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "added_at": {
+ "name": "added_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "plugin_marketplaces_user_name_unique": {
+ "name": "plugin_marketplaces_user_name_unique",
+ "columns": [
+ {
+ "expression": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "name",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "plugin_marketplaces_user_idx": {
+ "name": "plugin_marketplaces_user_idx",
+ "columns": [
+ {
+ "expression": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "plugin_marketplaces_organization_id_organizations_id_fk": {
+ "name": "plugin_marketplaces_organization_id_organizations_id_fk",
+ "tableFrom": "plugin_marketplaces",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "plugin_marketplaces_user_id_users_id_fk": {
+ "name": "plugin_marketplaces_user_id_users_id_fk",
+ "tableFrom": "plugin_marketplaces",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.plugin_oauth_clients": {
+ "name": "plugin_oauth_clients",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "issuer": {
+ "name": "issuer",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "redirect_uri": {
+ "name": "redirect_uri",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "client_id": {
+ "name": "client_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "client_secret": {
+ "name": "client_secret",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "client_secret_expires_at": {
+ "name": "client_secret_expires_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "registration_access_token": {
+ "name": "registration_access_token",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "registration_client_uri": {
+ "name": "registration_client_uri",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "token_endpoint_auth_method": {
+ "name": "token_endpoint_auth_method",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "plugin_oauth_clients_issuer_redirect_unique": {
+ "name": "plugin_oauth_clients_issuer_redirect_unique",
+ "columns": [
+ {
+ "expression": "issuer",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "redirect_uri",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.handles": {
+ "name": "handles",
+ "schema": "",
+ "columns": {
+ "handle": {
+ "name": "handle",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true
+ },
+ "owner_type": {
+ "name": "owner_type",
+ "type": "handle_owner_type",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "handles_owner_type_idx": {
+ "name": "handles_owner_type_idx",
+ "columns": [
+ {
+ "expression": "owner_type",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "handles_user_id_users_id_fk": {
+ "name": "handles_user_id_users_id_fk",
+ "tableFrom": "handles",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "handles_organization_id_organizations_id_fk": {
+ "name": "handles_organization_id_organizations_id_fk",
+ "tableFrom": "handles",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "handles_user_key": {
+ "name": "handles_user_key",
+ "nullsNotDistinct": false,
+ "columns": [
+ "user_id"
+ ]
+ },
+ "handles_organization_key": {
+ "name": "handles_organization_key",
+ "nullsNotDistinct": false,
+ "columns": [
+ "organization_id"
+ ]
+ },
+ "handles_user_owner_key": {
+ "name": "handles_user_owner_key",
+ "nullsNotDistinct": false,
+ "columns": [
+ "handle",
+ "user_id"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {
+ "handles_owner_matches_type": {
+ "name": "handles_owner_matches_type",
+ "value": "(\n\t\t\t\t(\"handles\".\"owner_type\" = 'user' and \"handles\".\"user_id\" is not null and \"handles\".\"organization_id\" is null)\n\t\t\t\tor (\"handles\".\"owner_type\" = 'organization' and \"handles\".\"organization_id\" is not null and \"handles\".\"user_id\" is null)\n\t\t\t\tor (\"handles\".\"owner_type\" = 'reserved' and \"handles\".\"user_id\" is null and \"handles\".\"organization_id\" is null)\n\t\t\t)"
+ },
+ "handles_shape": {
+ "name": "handles_shape",
+ "value": "length(\"handles\".\"handle\") between 2 and 39 and \"handles\".\"handle\" ~ '^[a-z0-9]+(-[a-z0-9]+)*$'"
+ }
+ },
+ "isRLSEnabled": false
+ },
+ "public.profile_awards": {
+ "name": "profile_awards",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "slug": {
+ "name": "slug",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "tier": {
+ "name": "tier",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "value": {
+ "name": "value",
+ "type": "numeric(20, 4)",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'0'"
+ },
+ "awarded_on": {
+ "name": "awarded_on",
+ "type": "date",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "awarded_at": {
+ "name": "awarded_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "profile_awards_user_idx": {
+ "name": "profile_awards_user_idx",
+ "columns": [
+ {
+ "expression": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "profile_awards_slug_idx": {
+ "name": "profile_awards_slug_idx",
+ "columns": [
+ {
+ "expression": "slug",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "awarded_at",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "profile_awards_user_id_public_profiles_user_id_fk": {
+ "name": "profile_awards_user_id_public_profiles_user_id_fk",
+ "tableFrom": "profile_awards",
+ "tableTo": "public_profiles",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "user_id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "profile_awards_identity_key": {
+ "name": "profile_awards_identity_key",
+ "nullsNotDistinct": false,
+ "columns": [
+ "user_id",
+ "slug",
+ "tier"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.public_profiles": {
+ "name": "public_profiles",
+ "schema": "",
+ "columns": {
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true
+ },
+ "handle": {
+ "name": "handle",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "visibility": {
+ "name": "visibility",
+ "type": "leaderboard_visibility",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'public'"
+ },
+ "bio": {
+ "name": "bio",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "github_handle": {
+ "name": "github_handle",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "x_handle": {
+ "name": "x_handle",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "website_url": {
+ "name": "website_url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "opted_in_at": {
+ "name": "opted_in_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "revoked_at": {
+ "name": "revoked_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "flagged_at": {
+ "name": "flagged_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "last_published_at": {
+ "name": "last_published_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "payload_version": {
+ "name": "payload_version",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 1
+ },
+ "awards_catalog_version": {
+ "name": "awards_catalog_version",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "tokens": {
+ "name": "tokens",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "usd": {
+ "name": "usd",
+ "type": "numeric(20, 6)",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'0'"
+ },
+ "sessions": {
+ "name": "sessions",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "uncached_input": {
+ "name": "uncached_input",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "cached_input": {
+ "name": "cached_input",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "cache_write_5m": {
+ "name": "cache_write_5m",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "cache_write_1h": {
+ "name": "cache_write_1h",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "output": {
+ "name": "output",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "reasoning_output": {
+ "name": "reasoning_output",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "approximate": {
+ "name": "approximate",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": true,
+ "default": false
+ },
+ "day_range_start": {
+ "name": "day_range_start",
+ "type": "date",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "day_range_end": {
+ "name": "day_range_end",
+ "type": "date",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "tier": {
+ "name": "tier",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "tier_computed_at": {
+ "name": "tier_computed_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "active_days": {
+ "name": "active_days",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "axis_width": {
+ "name": "axis_width",
+ "type": "numeric(6, 2)",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'0'"
+ },
+ "axis_depth": {
+ "name": "axis_depth",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true,
+ "default": 0
+ },
+ "axis_output": {
+ "name": "axis_output",
+ "type": "numeric(8, 2)",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'0'"
+ },
+ "axis_cost": {
+ "name": "axis_cost",
+ "type": "numeric(10, 2)",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'0'"
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "public_profiles_tokens_idx": {
+ "name": "public_profiles_tokens_idx",
+ "columns": [
+ {
+ "expression": "tokens",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "public_profiles_org_idx": {
+ "name": "public_profiles_org_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "public_profiles_usd_idx": {
+ "name": "public_profiles_usd_idx",
+ "columns": [
+ {
+ "expression": "usd",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "public_profiles_tier_idx": {
+ "name": "public_profiles_tier_idx",
+ "columns": [
+ {
+ "expression": "tier",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "public_profiles_user_id_users_id_fk": {
+ "name": "public_profiles_user_id_users_id_fk",
+ "tableFrom": "public_profiles",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "public_profiles_organization_id_organizations_id_fk": {
+ "name": "public_profiles_organization_id_organizations_id_fk",
+ "tableFrom": "public_profiles",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ },
+ "public_profiles_handle_owner_fk": {
+ "name": "public_profiles_handle_owner_fk",
+ "tableFrom": "public_profiles",
+ "tableTo": "handles",
+ "columnsFrom": [
+ "handle",
+ "user_id"
+ ],
+ "columnsTo": [
+ "handle",
+ "user_id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "cascade"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "public_profiles_handle_unique": {
+ "name": "public_profiles_handle_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "handle"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {
+ "public_profiles_bio_length": {
+ "name": "public_profiles_bio_length",
+ "value": "length(\"public_profiles\".\"bio\") <= 160"
+ },
+ "public_profiles_website_scheme": {
+ "name": "public_profiles_website_scheme",
+ "value": "\"public_profiles\".\"website_url\" is null or \"public_profiles\".\"website_url\" ~ '^https://'"
+ }
+ },
+ "isRLSEnabled": false
+ },
+ "public.agent_commands": {
+ "name": "agent_commands",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "target_device_id": {
+ "name": "target_device_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "target_device_type": {
+ "name": "target_device_type",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "tool": {
+ "name": "tool",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "params": {
+ "name": "params",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "parent_command_id": {
+ "name": "parent_command_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "status": {
+ "name": "status",
+ "type": "command_status",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'pending'"
+ },
+ "result": {
+ "name": "result",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "error": {
+ "name": "error",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "executed_at": {
+ "name": "executed_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "timeout_at": {
+ "name": "timeout_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ }
+ },
+ "indexes": {
+ "agent_commands_user_status_idx": {
+ "name": "agent_commands_user_status_idx",
+ "columns": [
+ {
+ "expression": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "status",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "agent_commands_target_device_status_idx": {
+ "name": "agent_commands_target_device_status_idx",
+ "columns": [
+ {
+ "expression": "target_device_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "status",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "agent_commands_org_created_idx": {
+ "name": "agent_commands_org_created_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "created_at",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "agent_commands_user_id_users_id_fk": {
+ "name": "agent_commands_user_id_users_id_fk",
+ "tableFrom": "agent_commands",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "agent_commands_organization_id_organizations_id_fk": {
+ "name": "agent_commands_organization_id_organizations_id_fk",
+ "tableFrom": "agent_commands",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.agent_credentials": {
+ "name": "agent_credentials",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "agent": {
+ "name": "agent",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "kind": {
+ "name": "kind",
+ "type": "agent_credential_kind",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "encrypted_value": {
+ "name": "encrypted_value",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "base_url": {
+ "name": "base_url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "provider": {
+ "name": "provider",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "account_label": {
+ "name": "account_label",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "last_validated_at": {
+ "name": "last_validated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "agent_credentials_user_id_idx": {
+ "name": "agent_credentials_user_id_idx",
+ "columns": [
+ {
+ "expression": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "agent_credentials_user_id_users_id_fk": {
+ "name": "agent_credentials_user_id_users_id_fk",
+ "tableFrom": "agent_credentials",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "agent_credentials_user_id_agent_unique": {
+ "name": "agent_credentials_user_id_agent_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "user_id",
+ "agent"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.attachments": {
+ "name": "attachments",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "file_id": {
+ "name": "file_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "parent_kind": {
+ "name": "parent_kind",
+ "type": "attachment_parent_kind",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "parent_id": {
+ "name": "parent_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "path": {
+ "name": "path",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "attachments_file_id_idx": {
+ "name": "attachments_file_id_idx",
+ "columns": [
+ {
+ "expression": "file_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "attachments_parent_kind_parent_id_idx": {
+ "name": "attachments_parent_kind_parent_id_idx",
+ "columns": [
+ {
+ "expression": "parent_kind",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "parent_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "attachments_parent_path_unique": {
+ "name": "attachments_parent_path_unique",
+ "columns": [
+ {
+ "expression": "parent_kind",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "parent_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "path",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "where": "\"attachments\".\"path\" is not null",
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "attachments_file_id_files_id_fk": {
+ "name": "attachments_file_id_files_id_fk",
+ "tableFrom": "attachments",
+ "tableTo": "files",
+ "columnsFrom": [
+ "file_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.automation_events": {
+ "name": "automation_events",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "integration_connection_id": {
+ "name": "integration_connection_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "provider": {
+ "name": "provider",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "event_type": {
+ "name": "event_type",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "external_event_id": {
+ "name": "external_event_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "resource_key": {
+ "name": "resource_key",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "url": {
+ "name": "url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "repository_id": {
+ "name": "repository_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "ref": {
+ "name": "ref",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "actor_login": {
+ "name": "actor_login",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "actor_is_external": {
+ "name": "actor_is_external",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "payload": {
+ "name": "payload",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "webhook_event_id": {
+ "name": "webhook_event_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "received_at": {
+ "name": "received_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "dispatch_input": {
+ "name": "dispatch_input",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "dispatched_at": {
+ "name": "dispatched_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ }
+ },
+ "indexes": {
+ "automation_events_undispatched_idx": {
+ "name": "automation_events_undispatched_idx",
+ "columns": [
+ {
+ "expression": "received_at",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "where": "\"automation_events\".\"dispatched_at\" IS NULL",
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "automation_events_org_received_idx": {
+ "name": "automation_events_org_received_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "received_at",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "automation_events_resource_idx": {
+ "name": "automation_events_resource_idx",
+ "columns": [
+ {
+ "expression": "resource_key",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "automation_events_received_at_idx": {
+ "name": "automation_events_received_at_idx",
+ "columns": [
+ {
+ "expression": "received_at",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "automation_events_organization_id_organizations_id_fk": {
+ "name": "automation_events_organization_id_organizations_id_fk",
+ "tableFrom": "automation_events",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "automation_events_dedup_unique": {
+ "name": "automation_events_dedup_unique",
+ "nullsNotDistinct": true,
+ "columns": [
+ "integration_connection_id",
+ "provider",
+ "external_event_id"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.automation_prompt_versions": {
+ "name": "automation_prompt_versions",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "automation_id": {
+ "name": "automation_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "author_user_id": {
+ "name": "author_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "window_bucket": {
+ "name": "window_bucket",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "content": {
+ "name": "content",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "content_hash": {
+ "name": "content_hash",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "source": {
+ "name": "source",
+ "type": "automation_prompt_source",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "restored_from_version_id": {
+ "name": "restored_from_version_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "started_at": {
+ "name": "started_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "automation_prompt_versions_bucket_uniq": {
+ "name": "automation_prompt_versions_bucket_uniq",
+ "columns": [
+ {
+ "expression": "automation_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "author_user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "window_bucket",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "where": "\"automation_prompt_versions\".\"source\" <> 'restore'",
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "automation_prompt_versions_automation_idx": {
+ "name": "automation_prompt_versions_automation_idx",
+ "columns": [
+ {
+ "expression": "automation_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "updated_at",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "automation_prompt_versions_automation_id_automations_id_fk": {
+ "name": "automation_prompt_versions_automation_id_automations_id_fk",
+ "tableFrom": "automation_prompt_versions",
+ "tableTo": "automations",
+ "columnsFrom": [
+ "automation_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "automation_prompt_versions_author_user_id_users_id_fk": {
+ "name": "automation_prompt_versions_author_user_id_users_id_fk",
+ "tableFrom": "automation_prompt_versions",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "author_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "automation_prompt_versions_restored_from_version_id_fk": {
+ "name": "automation_prompt_versions_restored_from_version_id_fk",
+ "tableFrom": "automation_prompt_versions",
+ "tableTo": "automation_prompt_versions",
+ "columnsFrom": [
+ "restored_from_version_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.automation_runs": {
+ "name": "automation_runs",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "automation_id": {
+ "name": "automation_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "trigger_id": {
+ "name": "trigger_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "event_id": {
+ "name": "event_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "scheduled_for": {
+ "name": "scheduled_for",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "resource_key": {
+ "name": "resource_key",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "host_id": {
+ "name": "host_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "v2_workspace_id": {
+ "name": "v2_workspace_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "session_kind": {
+ "name": "session_kind",
+ "type": "automation_session_kind",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "chat_session_id": {
+ "name": "chat_session_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "terminal_session_id": {
+ "name": "terminal_session_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "status": {
+ "name": "status",
+ "type": "automation_run_status",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "error": {
+ "name": "error",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "error_code": {
+ "name": "error_code",
+ "type": "automation_run_error_code",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "dispatched_at": {
+ "name": "dispatched_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "automation_runs_schedule_dedup_idx": {
+ "name": "automation_runs_schedule_dedup_idx",
+ "columns": [
+ {
+ "expression": "automation_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "scheduled_for",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "where": "scheduled_for IS NOT NULL",
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "automation_runs_event_dedup_idx": {
+ "name": "automation_runs_event_dedup_idx",
+ "columns": [
+ {
+ "expression": "trigger_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "event_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "where": "event_id IS NOT NULL",
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "automation_runs_inflight_resource_idx": {
+ "name": "automation_runs_inflight_resource_idx",
+ "columns": [
+ {
+ "expression": "trigger_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "resource_key",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "where": "status IN ('dispatching', 'dispatched')",
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "automation_runs_history_idx": {
+ "name": "automation_runs_history_idx",
+ "columns": [
+ {
+ "expression": "automation_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "created_at",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "automation_runs_status_idx": {
+ "name": "automation_runs_status_idx",
+ "columns": [
+ {
+ "expression": "status",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "automation_runs_workspace_idx": {
+ "name": "automation_runs_workspace_idx",
+ "columns": [
+ {
+ "expression": "v2_workspace_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "automation_runs_event_idx": {
+ "name": "automation_runs_event_idx",
+ "columns": [
+ {
+ "expression": "event_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "automation_runs_organization_id_organizations_id_fk": {
+ "name": "automation_runs_organization_id_organizations_id_fk",
+ "tableFrom": "automation_runs",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "automation_runs_trigger_id_automation_triggers_id_fk": {
+ "name": "automation_runs_trigger_id_automation_triggers_id_fk",
+ "tableFrom": "automation_runs",
+ "tableTo": "automation_triggers",
+ "columnsFrom": [
+ "trigger_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ },
+ "automation_runs_event_id_automation_events_id_fk": {
+ "name": "automation_runs_event_id_automation_events_id_fk",
+ "tableFrom": "automation_runs",
+ "tableTo": "automation_events",
+ "columnsFrom": [
+ "event_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ },
+ "automation_runs_chat_session_id_chat_sessions_id_fk": {
+ "name": "automation_runs_chat_session_id_chat_sessions_id_fk",
+ "tableFrom": "automation_runs",
+ "tableTo": "chat_sessions",
+ "columnsFrom": [
+ "chat_session_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ },
+ "automation_runs_automation_org_fk": {
+ "name": "automation_runs_automation_org_fk",
+ "tableFrom": "automation_runs",
+ "tableTo": "automations",
+ "columnsFrom": [
+ "automation_id",
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id",
+ "organization_id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.automation_triggers": {
+ "name": "automation_triggers",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "automation_id": {
+ "name": "automation_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "kind": {
+ "name": "kind",
+ "type": "automation_trigger_kind",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "config": {
+ "name": "config",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "next_run_at": {
+ "name": "next_run_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "secret_hash": {
+ "name": "secret_hash",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "secret_prefix": {
+ "name": "secret_prefix",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "secret_rotated_at": {
+ "name": "secret_rotated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "automation_triggers_dispatcher_idx": {
+ "name": "automation_triggers_dispatcher_idx",
+ "columns": [
+ {
+ "expression": "next_run_at",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "where": "kind = 'schedule'",
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "automation_triggers_matcher_idx": {
+ "name": "automation_triggers_matcher_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "kind",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "automation_triggers_automation_idx": {
+ "name": "automation_triggers_automation_idx",
+ "columns": [
+ {
+ "expression": "automation_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "automation_triggers_schedule_idx": {
+ "name": "automation_triggers_schedule_idx",
+ "columns": [
+ {
+ "expression": "automation_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "where": "kind = 'schedule'",
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "automation_triggers_organization_id_organizations_id_fk": {
+ "name": "automation_triggers_organization_id_organizations_id_fk",
+ "tableFrom": "automation_triggers",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "automation_triggers_automation_org_fk": {
+ "name": "automation_triggers_automation_org_fk",
+ "tableFrom": "automation_triggers",
+ "tableTo": "automations",
+ "columnsFrom": [
+ "automation_id",
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id",
+ "organization_id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {
+ "automation_triggers_kind_matches_config": {
+ "name": "automation_triggers_kind_matches_config",
+ "value": "config->>'kind' = kind::text"
+ }
+ },
+ "isRLSEnabled": false
+ },
+ "public.automations": {
+ "name": "automations",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "owner_user_id": {
+ "name": "owner_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "prompt": {
+ "name": "prompt",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "agent": {
+ "name": "agent",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "target_host_id": {
+ "name": "target_host_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "v2_project_id": {
+ "name": "v2_project_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "v2_workspace_id": {
+ "name": "v2_workspace_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "tags": {
+ "name": "tags",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'[\"automation\"]'::jsonb"
+ },
+ "continue_agent_session": {
+ "name": "continue_agent_session",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": true,
+ "default": false
+ },
+ "enabled": {
+ "name": "enabled",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": true,
+ "default": true
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "automations_owner_idx": {
+ "name": "automations_owner_idx",
+ "columns": [
+ {
+ "expression": "owner_user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "automations_organization_idx": {
+ "name": "automations_organization_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "automations_organization_id_organizations_id_fk": {
+ "name": "automations_organization_id_organizations_id_fk",
+ "tableFrom": "automations",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "automations_owner_user_id_users_id_fk": {
+ "name": "automations_owner_user_id_users_id_fk",
+ "tableFrom": "automations",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "owner_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "automations_id_org_unique": {
+ "name": "automations_id_org_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "id",
+ "organization_id"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.chat_sessions": {
+ "name": "chat_sessions",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "created_by": {
+ "name": "created_by",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "workspace_id": {
+ "name": "workspace_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "v2_workspace_id": {
+ "name": "v2_workspace_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "last_active_at": {
+ "name": "last_active_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "chat_sessions_org_idx": {
+ "name": "chat_sessions_org_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "chat_sessions_created_by_idx": {
+ "name": "chat_sessions_created_by_idx",
+ "columns": [
+ {
+ "expression": "created_by",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "chat_sessions_last_active_idx": {
+ "name": "chat_sessions_last_active_idx",
+ "columns": [
+ {
+ "expression": "last_active_at",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "chat_sessions_organization_id_organizations_id_fk": {
+ "name": "chat_sessions_organization_id_organizations_id_fk",
+ "tableFrom": "chat_sessions",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "chat_sessions_created_by_users_id_fk": {
+ "name": "chat_sessions_created_by_users_id_fk",
+ "tableFrom": "chat_sessions",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "created_by"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "chat_sessions_workspace_id_workspaces_id_fk": {
+ "name": "chat_sessions_workspace_id_workspaces_id_fk",
+ "tableFrom": "chat_sessions",
+ "tableTo": "workspaces",
+ "columnsFrom": [
+ "workspace_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.cloud_workspace_repositories": {
+ "name": "cloud_workspace_repositories",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "cloud_workspace_id": {
+ "name": "cloud_workspace_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "repository_id": {
+ "name": "repository_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "path": {
+ "name": "path",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ }
+ },
+ "indexes": {
+ "cloud_workspace_repositories_cloud_workspace_id_idx": {
+ "name": "cloud_workspace_repositories_cloud_workspace_id_idx",
+ "columns": [
+ {
+ "expression": "cloud_workspace_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "cloud_workspace_repositories_cloud_workspace_id_cloud_workspaces_id_fk": {
+ "name": "cloud_workspace_repositories_cloud_workspace_id_cloud_workspaces_id_fk",
+ "tableFrom": "cloud_workspace_repositories",
+ "tableTo": "cloud_workspaces",
+ "columnsFrom": [
+ "cloud_workspace_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "cloud_workspace_repositories_repository_id_github_repositories_id_fk": {
+ "name": "cloud_workspace_repositories_repository_id_github_repositories_id_fk",
+ "tableFrom": "cloud_workspace_repositories",
+ "tableTo": "github_repositories",
+ "columnsFrom": [
+ "repository_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "cloud_workspace_repositories_workspace_repository_unique": {
+ "name": "cloud_workspace_repositories_workspace_repository_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "cloud_workspace_id",
+ "repository_id"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.cloud_workspaces": {
+ "name": "cloud_workspaces",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "branch": {
+ "name": "branch",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "base_branch": {
+ "name": "base_branch",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "provider": {
+ "name": "provider",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'vercel'"
+ },
+ "provider_sandbox_id": {
+ "name": "provider_sandbox_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "sandbox_url": {
+ "name": "sandbox_url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "status": {
+ "name": "status",
+ "type": "cloud_workspace_status",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'provisioning'"
+ },
+ "environment_id": {
+ "name": "environment_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "host_version": {
+ "name": "host_version",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "agent_status": {
+ "name": "agent_status",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "agent_status_at": {
+ "name": "agent_status_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "deleted_at": {
+ "name": "deleted_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_by_user_id": {
+ "name": "created_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "cloud_workspaces_organization_id_idx": {
+ "name": "cloud_workspaces_organization_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "cloud_workspaces_organization_id_organizations_id_fk": {
+ "name": "cloud_workspaces_organization_id_organizations_id_fk",
+ "tableFrom": "cloud_workspaces",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "cloud_workspaces_environment_id_environments_id_fk": {
+ "name": "cloud_workspaces_environment_id_environments_id_fk",
+ "tableFrom": "cloud_workspaces",
+ "tableTo": "environments",
+ "columnsFrom": [
+ "environment_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "no action",
+ "onUpdate": "no action"
+ },
+ "cloud_workspaces_created_by_user_id_users_id_fk": {
+ "name": "cloud_workspaces_created_by_user_id_users_id_fk",
+ "tableFrom": "cloud_workspaces",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "created_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "cloud_workspaces_provider_sandbox_id_unique": {
+ "name": "cloud_workspaces_provider_sandbox_id_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "provider",
+ "provider_sandbox_id"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.connections": {
+ "name": "connections",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "connected_by_user_id": {
+ "name": "connected_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "connector": {
+ "name": "connector",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "owner_kind": {
+ "name": "owner_kind",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "auth_method": {
+ "name": "auth_method",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "access_token": {
+ "name": "access_token",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "refresh_token": {
+ "name": "refresh_token",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "token_expires_at": {
+ "name": "token_expires_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "scopes": {
+ "name": "scopes",
+ "type": "text[]",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "issuer": {
+ "name": "issuer",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "resource": {
+ "name": "resource",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "external_account_id": {
+ "name": "external_account_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "external_account_label": {
+ "name": "external_account_label",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "external_user_id": {
+ "name": "external_user_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "external_user_label": {
+ "name": "external_user_label",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "config": {
+ "name": "config",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "state": {
+ "name": "state",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "disconnected_at": {
+ "name": "disconnected_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "disconnect_reason": {
+ "name": "disconnect_reason",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "connections_org_connector_unique": {
+ "name": "connections_org_connector_unique",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "connector",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "where": "\"connections\".\"owner_kind\" = 'org'",
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "connections_user_connector_unique": {
+ "name": "connections_user_connector_unique",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "connector",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "connected_by_user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "external_account_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "where": "\"connections\".\"owner_kind\" = 'user'",
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "connections_org_idx": {
+ "name": "connections_org_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "connections_user_connector_idx": {
+ "name": "connections_user_connector_idx",
+ "columns": [
+ {
+ "expression": "connected_by_user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "connector",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "where": "\"connections\".\"disconnected_at\" IS NULL",
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "connections_external_account_idx": {
+ "name": "connections_external_account_idx",
+ "columns": [
+ {
+ "expression": "connector",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "external_account_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "connections_organization_id_organizations_id_fk": {
+ "name": "connections_organization_id_organizations_id_fk",
+ "tableFrom": "connections",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "connections_connected_by_user_id_users_id_fk": {
+ "name": "connections_connected_by_user_id_users_id_fk",
+ "tableFrom": "connections",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "connected_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {
+ "connections_user_identity_present": {
+ "name": "connections_user_identity_present",
+ "value": "owner_kind <> 'user' OR external_user_id IS NOT NULL"
+ }
+ },
+ "isRLSEnabled": false
+ },
+ "public.deal_redemptions": {
+ "name": "deal_redemptions",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "source": {
+ "name": "source",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "external_redemption_id": {
+ "name": "external_redemption_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "deal_id": {
+ "name": "deal_id",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "email": {
+ "name": "email",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "company_name": {
+ "name": "company_name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "company_batch": {
+ "name": "company_batch",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "status": {
+ "name": "status",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "stripe_subscription_id": {
+ "name": "stripe_subscription_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "promotion_code": {
+ "name": "promotion_code",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "payload": {
+ "name": "payload",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "deal_redemptions_source_external_id_unique": {
+ "name": "deal_redemptions_source_external_id_unique",
+ "columns": [
+ {
+ "expression": "source",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "external_redemption_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "deal_redemptions_email_idx": {
+ "name": "deal_redemptions_email_idx",
+ "columns": [
+ {
+ "expression": "email",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "deal_redemptions_organization_id_organizations_id_fk": {
+ "name": "deal_redemptions_organization_id_organizations_id_fk",
+ "tableFrom": "deal_redemptions",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.desktop_notices": {
+ "name": "desktop_notices",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "severity": {
+ "name": "severity",
+ "type": "desktop_notice_severity",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "trigger": {
+ "name": "trigger",
+ "type": "desktop_notice_trigger",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'immediate'"
+ },
+ "min_version": {
+ "name": "min_version",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "max_version": {
+ "name": "max_version",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "platforms": {
+ "name": "platforms",
+ "type": "text[]",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "channels": {
+ "name": "channels",
+ "type": "text[]",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "starts_at": {
+ "name": "starts_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "ends_at": {
+ "name": "ends_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "body": {
+ "name": "body",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "cta_label": {
+ "name": "cta_label",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "cta_action": {
+ "name": "cta_action",
+ "type": "desktop_notice_cta_action",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "cta_url": {
+ "name": "cta_url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "dismissible": {
+ "name": "dismissible",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": true,
+ "default": true
+ },
+ "active": {
+ "name": "active",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": true,
+ "default": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "desktop_notices_active_idx": {
+ "name": "desktop_notices_active_idx",
+ "columns": [
+ {
+ "expression": "active",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.environment_repositories": {
+ "name": "environment_repositories",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "environment_id": {
+ "name": "environment_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "repository_id": {
+ "name": "repository_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ }
+ },
+ "indexes": {
+ "environment_repositories_environment_id_idx": {
+ "name": "environment_repositories_environment_id_idx",
+ "columns": [
+ {
+ "expression": "environment_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "environment_repositories_environment_id_environments_id_fk": {
+ "name": "environment_repositories_environment_id_environments_id_fk",
+ "tableFrom": "environment_repositories",
+ "tableTo": "environments",
+ "columnsFrom": [
+ "environment_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "environment_repositories_repository_id_github_repositories_id_fk": {
+ "name": "environment_repositories_repository_id_github_repositories_id_fk",
+ "tableFrom": "environment_repositories",
+ "tableTo": "github_repositories",
+ "columnsFrom": [
+ "repository_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "environment_repositories_environment_id_repository_id_unique": {
+ "name": "environment_repositories_environment_id_repository_id_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "environment_id",
+ "repository_id"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.environment_secrets": {
+ "name": "environment_secrets",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "environment_id": {
+ "name": "environment_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "key": {
+ "name": "key",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "encrypted_value": {
+ "name": "encrypted_value",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "sensitive": {
+ "name": "sensitive",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "created_by_user_id": {
+ "name": "created_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "environment_secrets_environment_id_idx": {
+ "name": "environment_secrets_environment_id_idx",
+ "columns": [
+ {
+ "expression": "environment_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "environment_secrets_organization_id_idx": {
+ "name": "environment_secrets_organization_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "environment_secrets_organization_id_organizations_id_fk": {
+ "name": "environment_secrets_organization_id_organizations_id_fk",
+ "tableFrom": "environment_secrets",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "environment_secrets_environment_id_environments_id_fk": {
+ "name": "environment_secrets_environment_id_environments_id_fk",
+ "tableFrom": "environment_secrets",
+ "tableTo": "environments",
+ "columnsFrom": [
+ "environment_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "environment_secrets_created_by_user_id_users_id_fk": {
+ "name": "environment_secrets_created_by_user_id_users_id_fk",
+ "tableFrom": "environment_secrets",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "created_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "environment_secrets_environment_id_organization_id_key_unique": {
+ "name": "environment_secrets_environment_id_organization_id_key_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "environment_id",
+ "organization_id",
+ "key"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.environments": {
+ "name": "environments",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "provider": {
+ "name": "provider",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'vercel'"
+ },
+ "source_kind": {
+ "name": "source_kind",
+ "type": "environment_source_kind",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "source_ref": {
+ "name": "source_ref",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "region": {
+ "name": "region",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'sfo1'"
+ },
+ "bundle_sha": {
+ "name": "bundle_sha",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "hooks_repository_id": {
+ "name": "hooks_repository_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "scope": {
+ "name": "scope",
+ "type": "environment_scope",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'organization'"
+ },
+ "created_by_user_id": {
+ "name": "created_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "archived_at": {
+ "name": "archived_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "environments_organization_id_idx": {
+ "name": "environments_organization_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "environments_organization_id_organizations_id_fk": {
+ "name": "environments_organization_id_organizations_id_fk",
+ "tableFrom": "environments",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "environments_hooks_repository_id_github_repositories_id_fk": {
+ "name": "environments_hooks_repository_id_github_repositories_id_fk",
+ "tableFrom": "environments",
+ "tableTo": "github_repositories",
+ "columnsFrom": [
+ "hooks_repository_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ },
+ "environments_created_by_user_id_users_id_fk": {
+ "name": "environments_created_by_user_id_users_id_fk",
+ "tableFrom": "environments",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "created_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.files": {
+ "name": "files",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "content_type": {
+ "name": "content_type",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "size_bytes": {
+ "name": "size_bytes",
+ "type": "bigint",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "sha256": {
+ "name": "sha256",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "status": {
+ "name": "status",
+ "type": "file_status",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'pending'"
+ },
+ "created_by_user_id": {
+ "name": "created_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "files_organization_id_created_at_idx": {
+ "name": "files_organization_id_created_at_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "\"created_at\" desc",
+ "asc": true,
+ "isExpression": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "files_status_created_at_idx": {
+ "name": "files_status_created_at_idx",
+ "columns": [
+ {
+ "expression": "status",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "created_at",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "files_organization_id_organizations_id_fk": {
+ "name": "files_organization_id_organizations_id_fk",
+ "tableFrom": "files",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "files_created_by_user_id_users_id_fk": {
+ "name": "files_created_by_user_id_users_id_fk",
+ "tableFrom": "files",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "created_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.github_user_connections": {
+ "name": "github_user_connections",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "github_user_id": {
+ "name": "github_user_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "login": {
+ "name": "login",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "encrypted_access_token": {
+ "name": "encrypted_access_token",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "access_token_expires_at": {
+ "name": "access_token_expires_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "encrypted_refresh_token": {
+ "name": "encrypted_refresh_token",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "refresh_token_expires_at": {
+ "name": "refresh_token_expires_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {
+ "github_user_connections_user_id_users_id_fk": {
+ "name": "github_user_connections_user_id_users_id_fk",
+ "tableFrom": "github_user_connections",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "github_user_connections_user_id_unique": {
+ "name": "github_user_connections_user_id_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "user_id"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.integration_connections": {
+ "name": "integration_connections",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "connected_by_user_id": {
+ "name": "connected_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "provider": {
+ "name": "provider",
+ "type": "integration_provider",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "access_token": {
+ "name": "access_token",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "refresh_token": {
+ "name": "refresh_token",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "token_expires_at": {
+ "name": "token_expires_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "disconnected_at": {
+ "name": "disconnected_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "disconnect_reason": {
+ "name": "disconnect_reason",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "external_org_id": {
+ "name": "external_org_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "external_org_name": {
+ "name": "external_org_name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "config": {
+ "name": "config",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "integration_connections_org_provider_unique": {
+ "name": "integration_connections_org_provider_unique",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "provider",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "where": "\"integration_connections\".\"provider\" <> 'google'",
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "integration_connections_google_user_unique": {
+ "name": "integration_connections_google_user_unique",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "provider",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "connected_by_user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "where": "\"integration_connections\".\"provider\" = 'google'",
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "integration_connections_slack_external_org_active_unique": {
+ "name": "integration_connections_slack_external_org_active_unique",
+ "columns": [
+ {
+ "expression": "external_org_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "where": "\"integration_connections\".\"provider\" = 'slack' AND \"integration_connections\".\"disconnected_at\" IS NULL",
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "integration_connections_org_idx": {
+ "name": "integration_connections_org_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "integration_connections_organization_id_organizations_id_fk": {
+ "name": "integration_connections_organization_id_organizations_id_fk",
+ "tableFrom": "integration_connections",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "integration_connections_connected_by_user_id_users_id_fk": {
+ "name": "integration_connections_connected_by_user_id_users_id_fk",
+ "tableFrom": "integration_connections",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "connected_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.page_comment_threads": {
+ "name": "page_comment_threads",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "page_id": {
+ "name": "page_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "page_version_id": {
+ "name": "page_version_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "anchor_kind": {
+ "name": "anchor_kind",
+ "type": "page_comment_anchor_kind",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "intent": {
+ "name": "intent",
+ "type": "page_comment_intent",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "anchor": {
+ "name": "anchor",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "anchor_text": {
+ "name": "anchor_text",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_by_user_id": {
+ "name": "created_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "agent_activated_at": {
+ "name": "agent_activated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "agent_activated_by_user_id": {
+ "name": "agent_activated_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "resolved_at": {
+ "name": "resolved_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "resolved_by_user_id": {
+ "name": "resolved_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "page_comment_threads_page_id_idx": {
+ "name": "page_comment_threads_page_id_idx",
+ "columns": [
+ {
+ "expression": "page_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "page_comment_threads_page_version_id_idx": {
+ "name": "page_comment_threads_page_version_id_idx",
+ "columns": [
+ {
+ "expression": "page_version_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "page_comment_threads_open_idx": {
+ "name": "page_comment_threads_open_idx",
+ "columns": [
+ {
+ "expression": "page_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "where": "resolved_at IS NULL",
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "page_comment_threads_page_id_pages_id_fk": {
+ "name": "page_comment_threads_page_id_pages_id_fk",
+ "tableFrom": "page_comment_threads",
+ "tableTo": "pages",
+ "columnsFrom": [
+ "page_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "page_comment_threads_page_version_id_page_versions_id_fk": {
+ "name": "page_comment_threads_page_version_id_page_versions_id_fk",
+ "tableFrom": "page_comment_threads",
+ "tableTo": "page_versions",
+ "columnsFrom": [
+ "page_version_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "page_comment_threads_created_by_user_id_users_id_fk": {
+ "name": "page_comment_threads_created_by_user_id_users_id_fk",
+ "tableFrom": "page_comment_threads",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "created_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ },
+ "page_comment_threads_agent_activated_by_user_id_users_id_fk": {
+ "name": "page_comment_threads_agent_activated_by_user_id_users_id_fk",
+ "tableFrom": "page_comment_threads",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "agent_activated_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ },
+ "page_comment_threads_resolved_by_user_id_users_id_fk": {
+ "name": "page_comment_threads_resolved_by_user_id_users_id_fk",
+ "tableFrom": "page_comment_threads",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "resolved_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {
+ "page_comment_threads_anchor_matches_kind": {
+ "name": "page_comment_threads_anchor_matches_kind",
+ "value": "(anchor_kind = 'page') = (anchor IS NULL)"
+ }
+ },
+ "isRLSEnabled": false
+ },
+ "public.page_comments": {
+ "name": "page_comments",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "thread_id": {
+ "name": "thread_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "author_kind": {
+ "name": "author_kind",
+ "type": "page_comment_author_kind",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'human'"
+ },
+ "author_user_id": {
+ "name": "author_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "agent_session_id": {
+ "name": "agent_session_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "body": {
+ "name": "body",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "deleted_at": {
+ "name": "deleted_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ }
+ },
+ "indexes": {
+ "page_comments_thread_id_created_at_idx": {
+ "name": "page_comments_thread_id_created_at_idx",
+ "columns": [
+ {
+ "expression": "thread_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "created_at",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "page_comments_thread_id_page_comment_threads_id_fk": {
+ "name": "page_comments_thread_id_page_comment_threads_id_fk",
+ "tableFrom": "page_comments",
+ "tableTo": "page_comment_threads",
+ "columnsFrom": [
+ "thread_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "page_comments_author_user_id_users_id_fk": {
+ "name": "page_comments_author_user_id_users_id_fk",
+ "tableFrom": "page_comments",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "author_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {
+ "page_comments_agent_has_session": {
+ "name": "page_comments_agent_has_session",
+ "value": "author_kind <> 'agent' OR agent_session_id IS NOT NULL"
+ }
+ },
+ "isRLSEnabled": false
+ },
+ "public.page_reports": {
+ "name": "page_reports",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "page_id": {
+ "name": "page_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "reported_version": {
+ "name": "reported_version",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "reason": {
+ "name": "reason",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "details": {
+ "name": "details",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "status": {
+ "name": "status",
+ "type": "page_report_status",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'open'"
+ },
+ "reported_by_user_id": {
+ "name": "reported_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "reporter_email": {
+ "name": "reporter_email",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "reporter_ip_hash": {
+ "name": "reporter_ip_hash",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "reviewed_by_user_id": {
+ "name": "reviewed_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "reviewed_at": {
+ "name": "reviewed_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "review_note": {
+ "name": "review_note",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "page_reports_status_created_at_idx": {
+ "name": "page_reports_status_created_at_idx",
+ "columns": [
+ {
+ "expression": "status",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "\"created_at\" desc",
+ "asc": true,
+ "isExpression": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "page_reports_page_id_idx": {
+ "name": "page_reports_page_id_idx",
+ "columns": [
+ {
+ "expression": "page_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "page_reports_reporter_ip_hash_idx": {
+ "name": "page_reports_reporter_ip_hash_idx",
+ "columns": [
+ {
+ "expression": "reporter_ip_hash",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "page_reports_page_id_pages_id_fk": {
+ "name": "page_reports_page_id_pages_id_fk",
+ "tableFrom": "page_reports",
+ "tableTo": "pages",
+ "columnsFrom": [
+ "page_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "page_reports_reported_by_user_id_users_id_fk": {
+ "name": "page_reports_reported_by_user_id_users_id_fk",
+ "tableFrom": "page_reports",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "reported_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ },
+ "page_reports_reviewed_by_user_id_users_id_fk": {
+ "name": "page_reports_reviewed_by_user_id_users_id_fk",
+ "tableFrom": "page_reports",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "reviewed_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.page_versions": {
+ "name": "page_versions",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "page_id": {
+ "name": "page_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "version": {
+ "name": "version",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "label": {
+ "name": "label",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "storage_key": {
+ "name": "storage_key",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "content_type": {
+ "name": "content_type",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "size_bytes": {
+ "name": "size_bytes",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "sha256": {
+ "name": "sha256",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "created_by_user_id": {
+ "name": "created_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ }
+ },
+ "indexes": {
+ "page_versions_page_id_idx": {
+ "name": "page_versions_page_id_idx",
+ "columns": [
+ {
+ "expression": "page_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "page_versions_page_id_pages_id_fk": {
+ "name": "page_versions_page_id_pages_id_fk",
+ "tableFrom": "page_versions",
+ "tableTo": "pages",
+ "columnsFrom": [
+ "page_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "page_versions_created_by_user_id_users_id_fk": {
+ "name": "page_versions_created_by_user_id_users_id_fk",
+ "tableFrom": "page_versions",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "created_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "page_versions_page_id_version_unique": {
+ "name": "page_versions_page_id_version_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "page_id",
+ "version"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.pages": {
+ "name": "pages",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "slug": {
+ "name": "slug",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "created_by_user_id": {
+ "name": "created_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "description": {
+ "name": "description",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "visibility": {
+ "name": "visibility",
+ "type": "page_visibility",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'just_me'"
+ },
+ "shared_version": {
+ "name": "shared_version",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "taken_down_at": {
+ "name": "taken_down_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "taken_down_by_user_id": {
+ "name": "taken_down_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "taken_down_note": {
+ "name": "taken_down_note",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "watched_by_agent": {
+ "name": "watched_by_agent",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "watch_state": {
+ "name": "watch_state",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "watch_heartbeat_at": {
+ "name": "watch_heartbeat_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "pages_slug_unique": {
+ "name": "pages_slug_unique",
+ "columns": [
+ {
+ "expression": "slug",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "pages_organization_id_created_at_id_idx": {
+ "name": "pages_organization_id_created_at_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "\"created_at\" desc",
+ "asc": true,
+ "isExpression": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "\"id\" desc",
+ "asc": true,
+ "isExpression": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "pages_created_by_user_id_idx": {
+ "name": "pages_created_by_user_id_idx",
+ "columns": [
+ {
+ "expression": "created_by_user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "pages_organization_id_organizations_id_fk": {
+ "name": "pages_organization_id_organizations_id_fk",
+ "tableFrom": "pages",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "pages_created_by_user_id_users_id_fk": {
+ "name": "pages_created_by_user_id_users_id_fk",
+ "tableFrom": "pages",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "created_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ },
+ "pages_taken_down_by_user_id_users_id_fk": {
+ "name": "pages_taken_down_by_user_id_users_id_fk",
+ "tableFrom": "pages",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "taken_down_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.projects": {
+ "name": "projects",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "slug": {
+ "name": "slug",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "github_repository_id": {
+ "name": "github_repository_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "repo_owner": {
+ "name": "repo_owner",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "repo_name": {
+ "name": "repo_name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "repo_url": {
+ "name": "repo_url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "default_branch": {
+ "name": "default_branch",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'main'"
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "projects_organization_id_idx": {
+ "name": "projects_organization_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "projects_organization_id_organizations_id_fk": {
+ "name": "projects_organization_id_organizations_id_fk",
+ "tableFrom": "projects",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "projects_github_repository_id_github_repositories_id_fk": {
+ "name": "projects_github_repository_id_github_repositories_id_fk",
+ "tableFrom": "projects",
+ "tableTo": "github_repositories",
+ "columnsFrom": [
+ "github_repository_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "projects_org_slug_unique": {
+ "name": "projects_org_slug_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "organization_id",
+ "slug"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.submitted_prompts": {
+ "name": "submitted_prompts",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "prompt_text": {
+ "name": "prompt_text",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "submitter_name": {
+ "name": "submitter_name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "submitted_prompts_user_id_idx": {
+ "name": "submitted_prompts_user_id_idx",
+ "columns": [
+ {
+ "expression": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "submitted_prompts_organization_id_idx": {
+ "name": "submitted_prompts_organization_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "submitted_prompts_created_at_idx": {
+ "name": "submitted_prompts_created_at_idx",
+ "columns": [
+ {
+ "expression": "created_at",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "submitted_prompts_user_id_users_id_fk": {
+ "name": "submitted_prompts_user_id_users_id_fk",
+ "tableFrom": "submitted_prompts",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "submitted_prompts_organization_id_organizations_id_fk": {
+ "name": "submitted_prompts_organization_id_organizations_id_fk",
+ "tableFrom": "submitted_prompts",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.subscriptions": {
+ "name": "subscriptions",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "plan": {
+ "name": "plan",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "reference_id": {
+ "name": "reference_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "stripe_customer_id": {
+ "name": "stripe_customer_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "stripe_subscription_id": {
+ "name": "stripe_subscription_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "status": {
+ "name": "status",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'incomplete'"
+ },
+ "period_start": {
+ "name": "period_start",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "period_end": {
+ "name": "period_end",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "trial_start": {
+ "name": "trial_start",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "trial_end": {
+ "name": "trial_end",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "cancel_at_period_end": {
+ "name": "cancel_at_period_end",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": false,
+ "default": false
+ },
+ "cancel_at": {
+ "name": "cancel_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "canceled_at": {
+ "name": "canceled_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "ended_at": {
+ "name": "ended_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "seats": {
+ "name": "seats",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "billing_interval": {
+ "name": "billing_interval",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "stripe_schedule_id": {
+ "name": "stripe_schedule_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "subscriptions_reference_id_idx": {
+ "name": "subscriptions_reference_id_idx",
+ "columns": [
+ {
+ "expression": "reference_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "subscriptions_stripe_customer_id_idx": {
+ "name": "subscriptions_stripe_customer_id_idx",
+ "columns": [
+ {
+ "expression": "stripe_customer_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "subscriptions_status_idx": {
+ "name": "subscriptions_status_idx",
+ "columns": [
+ {
+ "expression": "status",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "subscriptions_reference_id_organizations_id_fk": {
+ "name": "subscriptions_reference_id_organizations_id_fk",
+ "tableFrom": "subscriptions",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "reference_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.task_statuses": {
+ "name": "task_statuses",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "color": {
+ "name": "color",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "type": {
+ "name": "type",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "position": {
+ "name": "position",
+ "type": "real",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "progress_percent": {
+ "name": "progress_percent",
+ "type": "real",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "external_provider": {
+ "name": "external_provider",
+ "type": "integration_provider",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "external_id": {
+ "name": "external_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "task_statuses_organization_id_idx": {
+ "name": "task_statuses_organization_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "task_statuses_type_idx": {
+ "name": "task_statuses_type_idx",
+ "columns": [
+ {
+ "expression": "type",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "task_statuses_organization_id_organizations_id_fk": {
+ "name": "task_statuses_organization_id_organizations_id_fk",
+ "tableFrom": "task_statuses",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "task_statuses_org_external_unique": {
+ "name": "task_statuses_org_external_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "organization_id",
+ "external_provider",
+ "external_id"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.tasks": {
+ "name": "tasks",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "slug": {
+ "name": "slug",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "description": {
+ "name": "description",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "status_id": {
+ "name": "status_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "priority": {
+ "name": "priority",
+ "type": "task_priority",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'none'"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "assignee_id": {
+ "name": "assignee_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "creator_id": {
+ "name": "creator_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "estimate": {
+ "name": "estimate",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "due_date": {
+ "name": "due_date",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "labels": {
+ "name": "labels",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": false,
+ "default": "'[]'::jsonb"
+ },
+ "branch": {
+ "name": "branch",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "pr_url": {
+ "name": "pr_url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "external_provider": {
+ "name": "external_provider",
+ "type": "integration_provider",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "external_id": {
+ "name": "external_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "external_key": {
+ "name": "external_key",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "external_url": {
+ "name": "external_url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "last_synced_at": {
+ "name": "last_synced_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "sync_error": {
+ "name": "sync_error",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "external_updated_at": {
+ "name": "external_updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "external_project_id": {
+ "name": "external_project_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "external_project_name": {
+ "name": "external_project_name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "external_cycle_id": {
+ "name": "external_cycle_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "external_cycle_name": {
+ "name": "external_cycle_name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "assignee_external_id": {
+ "name": "assignee_external_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "assignee_display_name": {
+ "name": "assignee_display_name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "assignee_avatar_url": {
+ "name": "assignee_avatar_url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "started_at": {
+ "name": "started_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "completed_at": {
+ "name": "completed_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "deleted_at": {
+ "name": "deleted_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "tasks_slug_idx": {
+ "name": "tasks_slug_idx",
+ "columns": [
+ {
+ "expression": "slug",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "tasks_organization_id_idx": {
+ "name": "tasks_organization_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "tasks_assignee_id_idx": {
+ "name": "tasks_assignee_id_idx",
+ "columns": [
+ {
+ "expression": "assignee_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "tasks_creator_id_idx": {
+ "name": "tasks_creator_id_idx",
+ "columns": [
+ {
+ "expression": "creator_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "tasks_status_id_idx": {
+ "name": "tasks_status_id_idx",
+ "columns": [
+ {
+ "expression": "status_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "tasks_created_at_idx": {
+ "name": "tasks_created_at_idx",
+ "columns": [
+ {
+ "expression": "created_at",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "tasks_external_provider_idx": {
+ "name": "tasks_external_provider_idx",
+ "columns": [
+ {
+ "expression": "external_provider",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "tasks_external_project_id_idx": {
+ "name": "tasks_external_project_id_idx",
+ "columns": [
+ {
+ "expression": "external_project_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "tasks_external_project_name_idx": {
+ "name": "tasks_external_project_name_idx",
+ "columns": [
+ {
+ "expression": "external_project_name",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "tasks_external_cycle_id_idx": {
+ "name": "tasks_external_cycle_id_idx",
+ "columns": [
+ {
+ "expression": "external_cycle_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "tasks_assignee_external_id_idx": {
+ "name": "tasks_assignee_external_id_idx",
+ "columns": [
+ {
+ "expression": "assignee_external_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "tasks_status_id_task_statuses_id_fk": {
+ "name": "tasks_status_id_task_statuses_id_fk",
+ "tableFrom": "tasks",
+ "tableTo": "task_statuses",
+ "columnsFrom": [
+ "status_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "no action",
+ "onUpdate": "no action"
+ },
+ "tasks_organization_id_organizations_id_fk": {
+ "name": "tasks_organization_id_organizations_id_fk",
+ "tableFrom": "tasks",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "tasks_assignee_id_users_id_fk": {
+ "name": "tasks_assignee_id_users_id_fk",
+ "tableFrom": "tasks",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "assignee_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ },
+ "tasks_creator_id_users_id_fk": {
+ "name": "tasks_creator_id_users_id_fk",
+ "tableFrom": "tasks",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "creator_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "tasks_external_unique": {
+ "name": "tasks_external_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "organization_id",
+ "external_provider",
+ "external_id"
+ ]
+ },
+ "tasks_org_slug_unique": {
+ "name": "tasks_org_slug_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "organization_id",
+ "slug"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.user_identities": {
+ "name": "user_identities",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "provider": {
+ "name": "provider",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "external_id": {
+ "name": "external_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "external_scope_id": {
+ "name": "external_scope_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "handle": {
+ "name": "handle",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "display_name": {
+ "name": "display_name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "metadata": {
+ "name": "metadata",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "user_identities_user_idx": {
+ "name": "user_identities_user_idx",
+ "columns": [
+ {
+ "expression": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "user_identities_org_provider_idx": {
+ "name": "user_identities_org_provider_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "provider",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "user_identities_user_id_users_id_fk": {
+ "name": "user_identities_user_id_users_id_fk",
+ "tableFrom": "user_identities",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "user_identities_organization_id_organizations_id_fk": {
+ "name": "user_identities_organization_id_organizations_id_fk",
+ "tableFrom": "user_identities",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "user_identities_account_unique": {
+ "name": "user_identities_account_unique",
+ "nullsNotDistinct": true,
+ "columns": [
+ "organization_id",
+ "provider",
+ "external_scope_id",
+ "external_id"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.v2_clients": {
+ "name": "v2_clients",
+ "schema": "",
+ "columns": {
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "machine_id": {
+ "name": "machine_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "type": {
+ "name": "type",
+ "type": "v2_client_type",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "v2_clients_organization_id_idx": {
+ "name": "v2_clients_organization_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "v2_clients_user_id_idx": {
+ "name": "v2_clients_user_id_idx",
+ "columns": [
+ {
+ "expression": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "v2_clients_organization_id_organizations_id_fk": {
+ "name": "v2_clients_organization_id_organizations_id_fk",
+ "tableFrom": "v2_clients",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "v2_clients_user_id_users_id_fk": {
+ "name": "v2_clients_user_id_users_id_fk",
+ "tableFrom": "v2_clients",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {
+ "v2_clients_organization_id_user_id_machine_id_pk": {
+ "name": "v2_clients_organization_id_user_id_machine_id_pk",
+ "columns": [
+ "organization_id",
+ "user_id",
+ "machine_id"
+ ]
+ }
+ },
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.v2_hosts": {
+ "name": "v2_hosts",
+ "schema": "",
+ "columns": {
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "machine_id": {
+ "name": "machine_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "wake_command": {
+ "name": "wake_command",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "version": {
+ "name": "version",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "platform": {
+ "name": "platform",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "install_source": {
+ "name": "install_source",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_by_user_id": {
+ "name": "created_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "v2_hosts_organization_id_idx": {
+ "name": "v2_hosts_organization_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "v2_hosts_organization_id_organizations_id_fk": {
+ "name": "v2_hosts_organization_id_organizations_id_fk",
+ "tableFrom": "v2_hosts",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "v2_hosts_created_by_user_id_users_id_fk": {
+ "name": "v2_hosts_created_by_user_id_users_id_fk",
+ "tableFrom": "v2_hosts",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "created_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {
+ "v2_hosts_organization_id_machine_id_pk": {
+ "name": "v2_hosts_organization_id_machine_id_pk",
+ "columns": [
+ "organization_id",
+ "machine_id"
+ ]
+ }
+ },
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.v2_projects": {
+ "name": "v2_projects",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "slug": {
+ "name": "slug",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "repo_clone_url": {
+ "name": "repo_clone_url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "github_repository_id": {
+ "name": "github_repository_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "icon_url": {
+ "name": "icon_url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "v2_projects_organization_id_idx": {
+ "name": "v2_projects_organization_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "v2_projects_organization_id_organizations_id_fk": {
+ "name": "v2_projects_organization_id_organizations_id_fk",
+ "tableFrom": "v2_projects",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "v2_projects_github_repository_id_github_repositories_id_fk": {
+ "name": "v2_projects_github_repository_id_github_repositories_id_fk",
+ "tableFrom": "v2_projects",
+ "tableTo": "github_repositories",
+ "columnsFrom": [
+ "github_repository_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "v2_projects_org_slug_unique": {
+ "name": "v2_projects_org_slug_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "organization_id",
+ "slug"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.v2_users_hosts": {
+ "name": "v2_users_hosts",
+ "schema": "",
+ "columns": {
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "host_id": {
+ "name": "host_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "role": {
+ "name": "role",
+ "type": "v2_users_host_role",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'member'"
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "v2_users_hosts_organization_id_idx": {
+ "name": "v2_users_hosts_organization_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "v2_users_hosts_user_id_idx": {
+ "name": "v2_users_hosts_user_id_idx",
+ "columns": [
+ {
+ "expression": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "v2_users_hosts_host_id_idx": {
+ "name": "v2_users_hosts_host_id_idx",
+ "columns": [
+ {
+ "expression": "host_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "v2_users_hosts_organization_id_organizations_id_fk": {
+ "name": "v2_users_hosts_organization_id_organizations_id_fk",
+ "tableFrom": "v2_users_hosts",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "v2_users_hosts_user_id_users_id_fk": {
+ "name": "v2_users_hosts_user_id_users_id_fk",
+ "tableFrom": "v2_users_hosts",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "v2_users_hosts_host_fk": {
+ "name": "v2_users_hosts_host_fk",
+ "tableFrom": "v2_users_hosts",
+ "tableTo": "v2_hosts",
+ "columnsFrom": [
+ "organization_id",
+ "host_id"
+ ],
+ "columnsTo": [
+ "organization_id",
+ "machine_id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {
+ "v2_users_hosts_organization_id_user_id_host_id_pk": {
+ "name": "v2_users_hosts_organization_id_user_id_host_id_pk",
+ "columns": [
+ "organization_id",
+ "user_id",
+ "host_id"
+ ]
+ }
+ },
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.v2_workspaces": {
+ "name": "v2_workspaces",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "project_id": {
+ "name": "project_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "host_id": {
+ "name": "host_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "branch": {
+ "name": "branch",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "type": {
+ "name": "type",
+ "type": "v2_workspace_type",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'worktree'"
+ },
+ "created_by_user_id": {
+ "name": "created_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "task_id": {
+ "name": "task_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "v2_workspaces_project_id_idx": {
+ "name": "v2_workspaces_project_id_idx",
+ "columns": [
+ {
+ "expression": "project_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "v2_workspaces_organization_id_idx": {
+ "name": "v2_workspaces_organization_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "v2_workspaces_host_id_idx": {
+ "name": "v2_workspaces_host_id_idx",
+ "columns": [
+ {
+ "expression": "host_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "v2_workspaces_task_id_idx": {
+ "name": "v2_workspaces_task_id_idx",
+ "columns": [
+ {
+ "expression": "task_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "v2_workspaces_one_main_per_host": {
+ "name": "v2_workspaces_one_main_per_host",
+ "columns": [
+ {
+ "expression": "project_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "host_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "where": "\"v2_workspaces\".\"type\" = 'main'",
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "v2_workspaces_organization_id_organizations_id_fk": {
+ "name": "v2_workspaces_organization_id_organizations_id_fk",
+ "tableFrom": "v2_workspaces",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "v2_workspaces_created_by_user_id_users_id_fk": {
+ "name": "v2_workspaces_created_by_user_id_users_id_fk",
+ "tableFrom": "v2_workspaces",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "created_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ },
+ "v2_workspaces_task_id_tasks_id_fk": {
+ "name": "v2_workspaces_task_id_tasks_id_fk",
+ "tableFrom": "v2_workspaces",
+ "tableTo": "tasks",
+ "columnsFrom": [
+ "task_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ },
+ "v2_workspaces_host_fk": {
+ "name": "v2_workspaces_host_fk",
+ "tableFrom": "v2_workspaces",
+ "tableTo": "v2_hosts",
+ "columnsFrom": [
+ "organization_id",
+ "host_id"
+ ],
+ "columnsTo": [
+ "organization_id",
+ "machine_id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.workspace_pages": {
+ "name": "workspace_pages",
+ "schema": "",
+ "columns": {
+ "workspace_id": {
+ "name": "workspace_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "page_id": {
+ "name": "page_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "entry_path": {
+ "name": "entry_path",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "workspace_pages_workspace_id_entry_path_unique": {
+ "name": "workspace_pages_workspace_id_entry_path_unique",
+ "columns": [
+ {
+ "expression": "workspace_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ },
+ {
+ "expression": "entry_path",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": true,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "workspace_pages_page_id_idx": {
+ "name": "workspace_pages_page_id_idx",
+ "columns": [
+ {
+ "expression": "page_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "workspace_pages_page_id_pages_id_fk": {
+ "name": "workspace_pages_page_id_pages_id_fk",
+ "tableFrom": "workspace_pages",
+ "tableTo": "pages",
+ "columnsFrom": [
+ "page_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {
+ "workspace_pages_workspace_id_page_id_pk": {
+ "name": "workspace_pages_workspace_id_page_id_pk",
+ "columns": [
+ "workspace_id",
+ "page_id"
+ ]
+ }
+ },
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.workspaces": {
+ "name": "workspaces",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "project_id": {
+ "name": "project_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "type": {
+ "name": "type",
+ "type": "workspace_type",
+ "typeSchema": "public",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "config": {
+ "name": "config",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "created_by_user_id": {
+ "name": "created_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {
+ "workspaces_project_id_idx": {
+ "name": "workspaces_project_id_idx",
+ "columns": [
+ {
+ "expression": "project_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "workspaces_organization_id_idx": {
+ "name": "workspaces_organization_id_idx",
+ "columns": [
+ {
+ "expression": "organization_id",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ },
+ "workspaces_type_idx": {
+ "name": "workspaces_type_idx",
+ "columns": [
+ {
+ "expression": "type",
+ "isExpression": false,
+ "asc": true,
+ "nulls": "last"
+ }
+ ],
+ "isUnique": false,
+ "concurrently": false,
+ "method": "btree",
+ "with": {}
+ }
+ },
+ "foreignKeys": {
+ "workspaces_organization_id_organizations_id_fk": {
+ "name": "workspaces_organization_id_organizations_id_fk",
+ "tableFrom": "workspaces",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "workspaces_project_id_projects_id_fk": {
+ "name": "workspaces_project_id_projects_id_fk",
+ "tableFrom": "workspaces",
+ "tableTo": "projects",
+ "columnsFrom": [
+ "project_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "workspaces_created_by_user_id_users_id_fk": {
+ "name": "workspaces_created_by_user_id_users_id_fk",
+ "tableFrom": "workspaces",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "created_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ },
+ "public.slack_thread_sessions": {
+ "name": "slack_thread_sessions",
+ "schema": "",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "uuid",
+ "primaryKey": true,
+ "notNull": true,
+ "default": "gen_random_uuid()"
+ },
+ "organization_id": {
+ "name": "organization_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "team_id": {
+ "name": "team_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "channel_id": {
+ "name": "channel_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "thread_ts": {
+ "name": "thread_ts",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true
+ },
+ "started_by_user_id": {
+ "name": "started_by_user_id",
+ "type": "uuid",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "status": {
+ "name": "status",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'idle'"
+ },
+ "quiet": {
+ "name": "quiet",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": true,
+ "default": false
+ },
+ "stop_requested_at": {
+ "name": "stop_requested_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "last_context_ts": {
+ "name": "last_context_ts",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "entity_log": {
+ "name": "entity_log",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'[]'::jsonb"
+ },
+ "queued_events": {
+ "name": "queued_events",
+ "type": "jsonb",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "'[]'::jsonb"
+ },
+ "last_activity_at": {
+ "name": "last_activity_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "timestamp with time zone",
+ "primaryKey": false,
+ "notNull": true,
+ "default": "now()"
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {
+ "slack_thread_sessions_organization_id_organizations_id_fk": {
+ "name": "slack_thread_sessions_organization_id_organizations_id_fk",
+ "tableFrom": "slack_thread_sessions",
+ "tableTo": "organizations",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "organization_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "slack_thread_sessions_started_by_user_id_users_id_fk": {
+ "name": "slack_thread_sessions_started_by_user_id_users_id_fk",
+ "tableFrom": "slack_thread_sessions",
+ "tableTo": "users",
+ "schemaTo": "auth",
+ "columnsFrom": [
+ "started_by_user_id"
+ ],
+ "columnsTo": [
+ "id"
+ ],
+ "onDelete": "set null",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {
+ "slack_thread_sessions_thread_unique": {
+ "name": "slack_thread_sessions_thread_unique",
+ "nullsNotDistinct": false,
+ "columns": [
+ "organization_id",
+ "team_id",
+ "channel_id",
+ "thread_ts"
+ ]
+ }
+ },
+ "policies": {},
+ "checkConstraints": {},
+ "isRLSEnabled": false
+ }
+ },
+ "enums": {
+ "public.handle_owner_type": {
+ "name": "handle_owner_type",
+ "schema": "public",
+ "values": [
+ "user",
+ "organization",
+ "reserved"
+ ]
+ },
+ "public.leaderboard_visibility": {
+ "name": "leaderboard_visibility",
+ "schema": "public",
+ "values": [
+ "public",
+ "hidden"
+ ]
+ },
+ "public.agent_credential_kind": {
+ "name": "agent_credential_kind",
+ "schema": "public",
+ "values": [
+ "subscription",
+ "api_key"
+ ]
+ },
+ "public.attachment_parent_kind": {
+ "name": "attachment_parent_kind",
+ "schema": "public",
+ "values": [
+ "page_version",
+ "issue",
+ "doc",
+ "chat_session",
+ "comment",
+ "page"
+ ]
+ },
+ "public.automation_prompt_source": {
+ "name": "automation_prompt_source",
+ "schema": "public",
+ "values": [
+ "human",
+ "agent",
+ "restore"
+ ]
+ },
+ "public.automation_run_error_code": {
+ "name": "automation_run_error_code",
+ "schema": "public",
+ "values": [
+ "no_instructions",
+ "host_offline",
+ "agent_not_found",
+ "workspace_not_found"
+ ]
+ },
+ "public.automation_run_status": {
+ "name": "automation_run_status",
+ "schema": "public",
+ "values": [
+ "dispatching",
+ "dispatched",
+ "skipped_offline",
+ "dispatch_failed",
+ "debounced",
+ "rejected"
+ ]
+ },
+ "public.automation_session_kind": {
+ "name": "automation_session_kind",
+ "schema": "public",
+ "values": [
+ "chat",
+ "terminal"
+ ]
+ },
+ "public.automation_trigger_kind": {
+ "name": "automation_trigger_kind",
+ "schema": "public",
+ "values": [
+ "schedule",
+ "webhook",
+ "github",
+ "slack",
+ "linear",
+ "sentry",
+ "microsoft_teams",
+ "google_calendar",
+ "gmail",
+ "notion"
+ ]
+ },
+ "public.cloud_workspace_status": {
+ "name": "cloud_workspace_status",
+ "schema": "public",
+ "values": [
+ "provisioning",
+ "ready",
+ "failed",
+ "deleted"
+ ]
+ },
+ "public.command_status": {
+ "name": "command_status",
+ "schema": "public",
+ "values": [
+ "pending",
+ "completed",
+ "failed",
+ "timeout"
+ ]
+ },
+ "public.desktop_notice_cta_action": {
+ "name": "desktop_notice_cta_action",
+ "schema": "public",
+ "values": [
+ "install-update",
+ "open-url"
+ ]
+ },
+ "public.desktop_notice_severity": {
+ "name": "desktop_notice_severity",
+ "schema": "public",
+ "values": [
+ "info",
+ "warning",
+ "blocking"
+ ]
+ },
+ "public.desktop_notice_trigger": {
+ "name": "desktop_notice_trigger",
+ "schema": "public",
+ "values": [
+ "immediate",
+ "pre-update",
+ "post-update"
+ ]
+ },
+ "public.environment_scope": {
+ "name": "environment_scope",
+ "schema": "public",
+ "values": [
+ "organization",
+ "personal"
+ ]
+ },
+ "public.environment_source_kind": {
+ "name": "environment_source_kind",
+ "schema": "public",
+ "values": [
+ "image",
+ "fork"
+ ]
+ },
+ "public.file_status": {
+ "name": "file_status",
+ "schema": "public",
+ "values": [
+ "pending",
+ "ready"
+ ]
+ },
+ "public.integration_provider": {
+ "name": "integration_provider",
+ "schema": "public",
+ "values": [
+ "linear",
+ "github",
+ "slack",
+ "sentry",
+ "microsoft_teams",
+ "google",
+ "notion"
+ ]
+ },
+ "public.page_comment_anchor_kind": {
+ "name": "page_comment_anchor_kind",
+ "schema": "public",
+ "values": [
+ "element",
+ "text",
+ "page"
+ ]
+ },
+ "public.page_comment_author_kind": {
+ "name": "page_comment_author_kind",
+ "schema": "public",
+ "values": [
+ "human",
+ "agent"
+ ]
+ },
+ "public.page_comment_intent": {
+ "name": "page_comment_intent",
+ "schema": "public",
+ "values": [
+ "delete",
+ "approve"
+ ]
+ },
+ "public.page_report_status": {
+ "name": "page_report_status",
+ "schema": "public",
+ "values": [
+ "open",
+ "upheld",
+ "dismissed"
+ ]
+ },
+ "public.page_visibility": {
+ "name": "page_visibility",
+ "schema": "public",
+ "values": [
+ "just_me",
+ "org",
+ "everyone"
+ ]
+ },
+ "public.task_priority": {
+ "name": "task_priority",
+ "schema": "public",
+ "values": [
+ "urgent",
+ "high",
+ "medium",
+ "low",
+ "none"
+ ]
+ },
+ "public.task_status": {
+ "name": "task_status",
+ "schema": "public",
+ "values": [
+ "backlog",
+ "todo",
+ "planning",
+ "working",
+ "needs-feedback",
+ "ready-to-merge",
+ "completed",
+ "canceled"
+ ]
+ },
+ "public.v2_client_type": {
+ "name": "v2_client_type",
+ "schema": "public",
+ "values": [
+ "desktop",
+ "mobile",
+ "web"
+ ]
+ },
+ "public.v2_users_host_role": {
+ "name": "v2_users_host_role",
+ "schema": "public",
+ "values": [
+ "owner",
+ "member"
+ ]
+ },
+ "public.v2_workspace_type": {
+ "name": "v2_workspace_type",
+ "schema": "public",
+ "values": [
+ "main",
+ "worktree"
+ ]
+ },
+ "public.workspace_type": {
+ "name": "workspace_type",
+ "schema": "public",
+ "values": [
+ "local",
+ "cloud"
+ ]
+ }
+ },
+ "schemas": {
+ "auth": "auth",
+ "ingest": "ingest"
+ },
+ "sequences": {},
+ "roles": {},
+ "policies": {},
+ "views": {},
+ "_meta": {
+ "columns": {},
+ "schemas": {},
+ "tables": {}
+ }
+}
\ No newline at end of file
diff --git a/packages/db/drizzle/meta/_journal.json b/packages/db/drizzle/meta/_journal.json
index 4e0920a64a5..75d90e0c2ff 100644
--- a/packages/db/drizzle/meta/_journal.json
+++ b/packages/db/drizzle/meta/_journal.json
@@ -904,6 +904,13 @@
"when": 1790620165276,
"tag": "0128_drop_environments_name_unique",
"breakpoints": true
+ },
+ {
+ "idx": 129,
+ "version": "7",
+ "when": 1790627951542,
+ "tag": "0129_page_reports_and_takedown",
+ "breakpoints": true
}
]
}
\ No newline at end of file
diff --git a/packages/db/src/schema/enums.ts b/packages/db/src/schema/enums.ts
index 892ecd4ec85..2624f02b93a 100644
--- a/packages/db/src/schema/enums.ts
+++ b/packages/db/src/schema/enums.ts
@@ -179,6 +179,23 @@ export const pageVisibilityValues = ["just_me", "org", "everyone"] as const;
export const pageVisibilityEnum = z.enum(pageVisibilityValues);
export type PageVisibility = z.infer;
+export const pageReportReasonValues = [
+ "malware_or_phishing",
+ "spam_or_scam",
+ "impersonation",
+ "sexual_content",
+ "violence_or_harassment",
+ "illegal_content",
+ "copyright",
+ "other",
+] as const;
+export const pageReportReasonEnum = z.enum(pageReportReasonValues);
+export type PageReportReason = z.infer;
+
+export const pageReportStatusValues = ["open", "upheld", "dismissed"] as const;
+export const pageReportStatusEnum = z.enum(pageReportStatusValues);
+export type PageReportStatus = z.infer;
+
export const pageCommentAnchorKindValues = ["element", "text", "page"] as const;
export const pageCommentAnchorKindEnum = z.enum(pageCommentAnchorKindValues);
export type PageCommentAnchorKind = z.infer;
diff --git a/packages/db/src/schema/schema.ts b/packages/db/src/schema/schema.ts
index ba7e3988fb5..d861f59418d 100644
--- a/packages/db/src/schema/schema.ts
+++ b/packages/db/src/schema/schema.ts
@@ -19,6 +19,7 @@ import {
uuid,
} from "drizzle-orm/pg-core";
import { organizations, users } from "./auth";
+import type { PageReportReason } from "./enums";
import {
agentCredentialKindValues,
automationPromptSourceValues,
@@ -37,6 +38,7 @@ import {
pageCommentAnchorKindValues,
pageCommentAuthorKindValues,
pageCommentIntentValues,
+ pageReportStatusValues,
pageVisibilityValues,
taskPriorityValues,
taskStatusEnumValues,
@@ -101,6 +103,11 @@ export const pageCommentIntent = pgEnum(
pageCommentIntentValues,
);
+export const pageReportStatus = pgEnum(
+ "page_report_status",
+ pageReportStatusValues,
+);
+
export const taskStatuses = pgTable(
"task_statuses",
{
@@ -1469,6 +1476,12 @@ export const pages = pgTable(
description: text(),
visibility: pageVisibility().notNull().default("just_me"),
sharedVersion: integer("shared_version"),
+ takenDownAt: timestamp("taken_down_at", { withTimezone: true }),
+ takenDownByUserId: uuid("taken_down_by_user_id").references(
+ () => users.id,
+ { onDelete: "set null" },
+ ),
+ takenDownNote: text("taken_down_note"),
watchedByAgent: text("watched_by_agent"),
watchState: jsonb("watch_state").$type(),
watchHeartbeatAt: timestamp("watch_heartbeat_at", { withTimezone: true }),
@@ -1526,6 +1539,46 @@ export const pageVersions = pgTable(
export type InsertPageVersion = typeof pageVersions.$inferInsert;
export type SelectPageVersion = typeof pageVersions.$inferSelect;
+export const pageReports = pgTable(
+ "page_reports",
+ {
+ id: uuid().primaryKey().defaultRandom(),
+ pageId: uuid("page_id")
+ .notNull()
+ .references(() => pages.id, { onDelete: "cascade" }),
+ reportedVersion: integer("reported_version"),
+ reason: text().notNull().$type(),
+ details: text(),
+ status: pageReportStatus().notNull().default("open"),
+ reportedByUserId: uuid("reported_by_user_id").references(() => users.id, {
+ onDelete: "set null",
+ }),
+ reporterEmail: text("reporter_email"),
+ // A reporter who is not signed in still has to be rate limitable and
+ // groupable across reports without us holding their address.
+ reporterIpHash: text("reporter_ip_hash"),
+ reviewedByUserId: uuid("reviewed_by_user_id").references(() => users.id, {
+ onDelete: "set null",
+ }),
+ reviewedAt: timestamp("reviewed_at", { withTimezone: true }),
+ reviewNote: text("review_note"),
+ createdAt: timestamp("created_at", { withTimezone: true })
+ .notNull()
+ .defaultNow(),
+ },
+ (table) => [
+ index("page_reports_status_created_at_idx").on(
+ table.status,
+ desc(table.createdAt),
+ ),
+ index("page_reports_page_id_idx").on(table.pageId),
+ index("page_reports_reporter_ip_hash_idx").on(table.reporterIpHash),
+ ],
+);
+
+export type InsertPageReport = typeof pageReports.$inferInsert;
+export type SelectPageReport = typeof pageReports.$inferSelect;
+
export const workspacePages = pgTable(
"workspace_pages",
{
diff --git a/packages/i18n/locales/cs/messages.po b/packages/i18n/locales/cs/messages.po
index c9a6d4d227a..bc510ef448c 100644
--- a/packages/i18n/locales/cs/messages.po
+++ b/packages/i18n/locales/cs/messages.po
@@ -2029,6 +2029,9 @@ msgstr "Kdokoli s odkazem"
msgid "anything"
msgstr "cokoli"
+msgid "Anything else? (optional)"
+msgstr "Ještě něco? (nepovinné)"
+
msgid "AP"
msgstr "AP"
@@ -4189,6 +4192,9 @@ msgstr "Zkopírujte historii prohlížení a přihlášení z jiného prohlíže
msgid "Copy your key now — you won't be able to see it again."
msgstr "Zkopírujte si klíč teď — už ho znovu neuvidíte."
+msgid "Copyright or trademark"
+msgstr "Autorská práva nebo ochranná známka"
+
msgid "Cost"
msgstr "Náklady"
@@ -7525,6 +7531,9 @@ msgstr "Nečinné · větev odeslána"
msgid "If you're enjoying Superset so far, a GitHub star helps other developers discover it."
msgstr "Pokud se vám Superset zatím líbí, hvězda na GitHubu pomůže dalším vývojářům ho objevit."
+msgid "Illegal content"
+msgstr "Nelegální obsah"
+
msgid "Image"
msgstr "Obrázek"
@@ -7548,6 +7557,9 @@ msgstr "Náhled obrázku {0}. Přibližujte klávesami plus a minus, posouvejte
msgid "Images"
msgstr "Obrázky"
+msgid "Impersonates someone"
+msgstr "Vydává se za někoho jiného"
+
msgid "Import"
msgstr "Importovat"
@@ -8654,6 +8666,9 @@ msgstr "Udělat ze stylu čipu výchozí TooltipContent"
msgid "Makes the Run button launch this terminal script for matching projects."
msgstr "Tlačítko Spustit bude u odpovídajících projektů spouštět tento terminálový skript."
+msgid "Malware or phishing"
+msgstr "Malware nebo phishing"
+
msgid "Manage"
msgstr "Spravovat"
@@ -10911,6 +10926,9 @@ msgstr "Stránka nenalezena"
msgid "Page Not Found"
msgstr "Stránka nenalezena"
+msgid "Page report rate limiting is not configured"
+msgstr "Omezení frekvence hlášení stránek není nastaveno"
+
msgid "Page title"
msgstr "Název stránky"
@@ -11125,6 +11143,9 @@ msgstr "Vyberte nadřazený adresář"
msgid "Pick a project location"
msgstr "Vyberte umístění projektu"
+msgid "Pick a reason"
+msgstr "Vyberte důvod"
+
msgid "Pick a sound or add your own. Custom audio supports .mp3, .wav, and .ogg."
msgstr "Vyberte zvuk nebo přidejte vlastní. Vlastní zvuk podporuje .mp3, .wav a .ogg."
@@ -12249,9 +12270,21 @@ msgstr "Odpověď pro {replyingTo}"
msgid "repo"
msgstr "repo"
+msgid "Report"
+msgstr "Nahlásit"
+
msgid "Report Issue"
msgstr "Nahlásit problém"
+msgid "Report not found"
+msgstr "Hlášení nenalezeno"
+
+msgid "Report this page"
+msgstr "Nahlásit tuto stránku"
+
+msgid "Reporting is briefly unavailable. Try again shortly."
+msgstr "Nahlašování je na chvíli nedostupné. Zkuste to prosím za okamžik."
+
msgid "Repos"
msgstr "Repozitáře"
@@ -13348,6 +13381,9 @@ msgstr "Odeslat zprávu"
msgid "Send reply"
msgstr "Odeslat odpověď"
+msgid "Send report"
+msgstr "Odeslat hlášení"
+
msgid "Send review"
msgstr "Odeslat revizi"
@@ -13514,6 +13550,9 @@ msgstr "Setup"
msgid "Setup script"
msgstr "Setup skript"
+msgid "Sexual content"
+msgstr "Sexuální obsah"
+
msgid "shadcn/ui tooltip recipe"
msgstr "recept na tooltip v shadcn/ui"
@@ -13987,6 +14026,12 @@ msgstr "Některé spouštěče potřebují další nastavení"
msgid "serverError.page.entryPathHeldByColleague"
msgstr "Někdo jiný už {entryPath} z tohoto workspace publikoval. Publikuj s výslovným ID stránky a přidej verzi k jeho stránce, nebo soubor přesuň."
+msgid "Someone on the Superset team will review this page. We only follow up if we need more from you."
+msgstr "Někdo z týmu Superset tuto stránku posoudí. Ozveme se jen tehdy, když budeme potřebovat víc informací."
+
+msgid "Something else"
+msgstr "Něco jiného"
+
msgid "Something went wrong"
msgstr "Něco se pokazilo"
@@ -14035,6 +14080,9 @@ msgstr "Cesta ke zdroji (ne import)"
msgid "Sources"
msgstr "Zdroje"
+msgid "Spam or a scam"
+msgstr "Spam nebo podvod"
+
msgid "Sparse checkout"
msgstr "Sparse checkout"
@@ -14900,6 +14948,9 @@ msgstr "Teardown vypršel po {seconds} s"
msgid "Tell any agent to use the <0>superset0> CLI to spin up workspaces, run tasks, or manage automations."
msgstr "Řekněte libovolnému agentovi, ať použije CLI <0>superset0> k vytváření pracovních prostorů, spouštění úkolů nebo správě automatizací."
+msgid "Tell us what is wrong with it. Reporting does not remove the page on its own."
+msgstr "Napište nám, co je špatně. Samotné nahlášení stránku neodstraní."
+
msgid "Ten parallel workstreams running, each landing merged work"
msgstr "Deset souběžných pracovních toků, z nichž každý dodává sloučenou práci"
@@ -14993,6 +15044,9 @@ msgstr "Textové pole"
msgid "Thanks for reaching out"
msgstr "Díky, že jste se ozvali"
+msgid "Thanks, we got it"
+msgstr "Děkujeme, máme to"
+
msgid "That {plugin} sign-in link expired. Try connecting again."
msgstr "Odkaz pro přihlášení k {plugin} vypršel. Zkuste se připojit znovu."
@@ -15513,6 +15567,12 @@ msgstr "Tahle stránka tu není"
msgid "This page no longer exists"
msgstr "Tato stránka už neexistuje"
+msgid "This page was published by a Superset user. Its contents are unverified."
+msgstr "Tuto stránku zveřejnil uživatel Superset. Její obsah není ověřen."
+
+msgid "This page was taken down and can no longer be changed"
+msgstr "Tato stránka byla stažena a už ji nelze měnit"
+
msgid "This path exists, but it is not a directory."
msgstr "Tato cesta existuje, ale není to adresář."
@@ -15787,6 +15847,9 @@ msgstr "Dívá se na něj příliš mnoho lidí najednou. Zkuste to za chvíli z
msgid "Too many prompt submissions. Try again later."
msgstr "Příliš mnoho odeslaných promptů. Zkuste to později."
+msgid "Too many reports. Try again later."
+msgstr "Příliš mnoho hlášení. Zkuste to později."
+
msgid "Too many requests. Please try again later."
msgstr "Příliš mnoho požadavků. Zkuste to prosím později."
@@ -16547,6 +16610,9 @@ msgstr "Zobrazit repozitář Superset na GitHubu"
msgid "View usage"
msgstr "Zobrazit využití"
+msgid "Violence or harassment"
+msgstr "Násilí nebo obtěžování"
+
msgid "Visitors"
msgstr "Návštěvníci"
@@ -16757,6 +16823,9 @@ msgstr "Vítejte v novém Superset"
msgid "What builders say about Superset"
msgstr "Co o Superset říkají tvůrci"
+msgid "What did you see on the page?"
+msgstr "Co jste na stránce viděli?"
+
msgid "What do you want to do?"
msgstr "Co chcete udělat?"
@@ -16775,6 +16844,9 @@ msgstr "Co je pracovní prostor?"
msgid "What is Superset Enterprise?"
msgstr "Co je Superset Enterprise?"
+msgid "What is wrong?"
+msgstr "Co je špatně?"
+
msgid "What platforms does Superset run on?"
msgstr "Na jakých platformách Superset běží?"
@@ -17227,6 +17299,9 @@ msgstr "Máte aktuální verzi!"
msgid "You've been invited to join {organization}"
msgstr "Byli jste pozváni do {organization}"
+msgid "you@example.com"
+msgstr "you@example.com"
+
msgid "Your account is deactivated and will be permanently deleted soon. Reactivate to restore it exactly as you left it."
msgstr "Váš účet je deaktivovaný a brzy bude trvale smazán. Obnovte ho a bude přesně takový, jaký jste ho opustili."
@@ -17251,6 +17326,9 @@ msgstr "Váš kód zůstává ve výchozím stavu lokálně a připojené služb
msgid "Your download starts automatically. If it didn't, grab it here."
msgstr "Stahování se spustí automaticky. Pokud ne, stáhněte si to zde."
+msgid "Your email (optional)"
+msgstr "Váš e-mail (nepovinné)"
+
msgid "Your GitHub account cannot reach a repository in this environment"
msgstr "Váš účet GitHub nemá přístup k repozitáři tohoto prostředí"
diff --git a/packages/i18n/locales/de/messages.po b/packages/i18n/locales/de/messages.po
index f687b634c5b..341ed5639d2 100644
--- a/packages/i18n/locales/de/messages.po
+++ b/packages/i18n/locales/de/messages.po
@@ -2029,6 +2029,9 @@ msgstr "Alle mit dem Link"
msgid "anything"
msgstr "beliebig"
+msgid "Anything else? (optional)"
+msgstr "Noch etwas? (optional)"
+
msgid "AP"
msgstr "AP"
@@ -4189,6 +4192,9 @@ msgstr "Kopiere Browserverlauf und Logins aus einem anderen Browser nach Superse
msgid "Copy your key now — you won't be able to see it again."
msgstr "Kopiere deinen Schlüssel jetzt — du kannst ihn später nicht mehr sehen."
+msgid "Copyright or trademark"
+msgstr "Urheberrecht oder Marke"
+
msgid "Cost"
msgstr "Kosten"
@@ -7525,6 +7531,9 @@ msgstr "Inaktiv · Branch gepusht"
msgid "If you're enjoying Superset so far, a GitHub star helps other developers discover it."
msgstr "Wenn dir Superset bisher gefällt: Ein Stern auf GitHub hilft anderen Entwicklern, es zu entdecken."
+msgid "Illegal content"
+msgstr "Illegale Inhalte"
+
msgid "Image"
msgstr "Bild"
@@ -7548,6 +7557,9 @@ msgstr "Bildvorschau von {0}. Mit Plus und Minus zoomen, mit den Pfeiltasten ver
msgid "Images"
msgstr "Bilder"
+msgid "Impersonates someone"
+msgstr "Gibt sich als jemand anderes aus"
+
msgid "Import"
msgstr "Importieren"
@@ -8654,6 +8666,9 @@ msgstr "Den Chip-Stil zum TooltipContent-Standard machen"
msgid "Makes the Run button launch this terminal script for matching projects."
msgstr "Lässt die Schaltfläche „Ausführen“ dieses Terminal-Skript für passende Projekte starten."
+msgid "Malware or phishing"
+msgstr "Schadsoftware oder Phishing"
+
msgid "Manage"
msgstr "Verwalten"
@@ -10911,6 +10926,9 @@ msgstr "Seite nicht gefunden"
msgid "Page Not Found"
msgstr "Seite nicht gefunden"
+msgid "Page report rate limiting is not configured"
+msgstr "Die Ratenbegrenzung für Seitenmeldungen ist nicht konfiguriert"
+
msgid "Page title"
msgstr "Seitentitel"
@@ -11125,6 +11143,9 @@ msgstr "Wähle ein übergeordnetes Verzeichnis"
msgid "Pick a project location"
msgstr "Wähle einen Projekt-Speicherort"
+msgid "Pick a reason"
+msgstr "Grund auswählen"
+
msgid "Pick a sound or add your own. Custom audio supports .mp3, .wav, and .ogg."
msgstr "Wähle einen Ton oder füge einen eigenen hinzu. Eigenes Audio unterstützt .mp3, .wav und .ogg."
@@ -12249,9 +12270,21 @@ msgstr "Antwort an {replyingTo}"
msgid "repo"
msgstr "Repo"
+msgid "Report"
+msgstr "Melden"
+
msgid "Report Issue"
msgstr "Problem melden"
+msgid "Report not found"
+msgstr "Meldung nicht gefunden"
+
+msgid "Report this page"
+msgstr "Diese Seite melden"
+
+msgid "Reporting is briefly unavailable. Try again shortly."
+msgstr "Das Melden ist kurzzeitig nicht verfügbar. Bitte versuche es gleich erneut."
+
msgid "Repos"
msgstr "Repos"
@@ -13348,6 +13381,9 @@ msgstr "Nachricht senden"
msgid "Send reply"
msgstr "Antwort senden"
+msgid "Send report"
+msgstr "Meldung senden"
+
msgid "Send review"
msgstr "Review senden"
@@ -13514,6 +13550,9 @@ msgstr "Setup"
msgid "Setup script"
msgstr "Setup-Skript"
+msgid "Sexual content"
+msgstr "Sexuelle Inhalte"
+
msgid "shadcn/ui tooltip recipe"
msgstr "shadcn/ui-Tooltip-Rezept"
@@ -13987,6 +14026,12 @@ msgstr "Einige Trigger brauchen weitere Konfiguration"
msgid "serverError.page.entryPathHeldByColleague"
msgstr "Jemand anderes hat {entryPath} aus diesem Workspace bereits veröffentlicht. Veröffentliche mit einer ausdrücklichen Seiten-ID, um eine Version zu dessen Seite hinzuzufügen, oder verschiebe die Datei."
+msgid "Someone on the Superset team will review this page. We only follow up if we need more from you."
+msgstr "Jemand aus dem Superset-Team prüft diese Seite. Wir melden uns nur, wenn wir mehr von dir brauchen."
+
+msgid "Something else"
+msgstr "Etwas anderes"
+
msgid "Something went wrong"
msgstr "Etwas ist schiefgelaufen"
@@ -14035,6 +14080,9 @@ msgstr "Quellpfad (kein Import)"
msgid "Sources"
msgstr "Quellen"
+msgid "Spam or a scam"
+msgstr "Spam oder Betrug"
+
msgid "Sparse checkout"
msgstr "Sparse Checkout"
@@ -14900,6 +14948,9 @@ msgstr "Zeitüberschreitung beim Teardown nach {seconds}s"
msgid "Tell any agent to use the <0>superset0> CLI to spin up workspaces, run tasks, or manage automations."
msgstr "Sag jedem Agenten, er soll die <0>superset0>-CLI nutzen, um Arbeitsbereiche zu starten, Aufgaben auszuführen oder Automatisierungen zu verwalten."
+msgid "Tell us what is wrong with it. Reporting does not remove the page on its own."
+msgstr "Sag uns, was daran nicht stimmt. Eine Meldung allein entfernt die Seite nicht."
+
msgid "Ten parallel workstreams running, each landing merged work"
msgstr "Zehn parallele Arbeitsabläufe, die jeweils Arbeit zum Merge bringen"
@@ -14993,6 +15044,9 @@ msgstr "Textarea"
msgid "Thanks for reaching out"
msgstr "Danke für deine Nachricht"
+msgid "Thanks, we got it"
+msgstr "Danke, wir haben es erhalten"
+
msgid "That {plugin} sign-in link expired. Try connecting again."
msgstr "Dieser Anmeldelink für {plugin} ist abgelaufen. Versuchen Sie es erneut."
@@ -15513,6 +15567,12 @@ msgstr "Diese Seite gibt es hier nicht"
msgid "This page no longer exists"
msgstr "Diese Seite existiert nicht mehr"
+msgid "This page was published by a Superset user. Its contents are unverified."
+msgstr "Diese Seite wurde von einem Superset-Nutzer veröffentlicht. Ihr Inhalt ist ungeprüft."
+
+msgid "This page was taken down and can no longer be changed"
+msgstr "Diese Seite wurde entfernt und kann nicht mehr geändert werden"
+
msgid "This path exists, but it is not a directory."
msgstr "Dieser Pfad existiert, ist aber kein Verzeichnis."
@@ -15787,6 +15847,9 @@ msgstr "Zu viele Personen sehen es sich gleichzeitig an. Versuche es gleich noch
msgid "Too many prompt submissions. Try again later."
msgstr "Zu viele eingereichte Prompts. Versuche es später erneut."
+msgid "Too many reports. Try again later."
+msgstr "Zu viele Meldungen. Versuche es später erneut."
+
msgid "Too many requests. Please try again later."
msgstr "Zu viele Anfragen. Bitte versuche es später erneut."
@@ -16547,6 +16610,9 @@ msgstr "Superset-Repository auf GitHub ansehen"
msgid "View usage"
msgstr "Nutzung ansehen"
+msgid "Violence or harassment"
+msgstr "Gewalt oder Belästigung"
+
msgid "Visitors"
msgstr "Besucher"
@@ -16757,6 +16823,9 @@ msgstr "Willkommen beim neuen Superset"
msgid "What builders say about Superset"
msgstr "Was Entwickler über Superset sagen"
+msgid "What did you see on the page?"
+msgstr "Was hast du auf der Seite gesehen?"
+
msgid "What do you want to do?"
msgstr "Was möchtest du tun?"
@@ -16775,6 +16844,9 @@ msgstr "Was ist ein Arbeitsbereich?"
msgid "What is Superset Enterprise?"
msgstr "Was ist Superset Enterprise?"
+msgid "What is wrong?"
+msgstr "Was stimmt nicht?"
+
msgid "What platforms does Superset run on?"
msgstr "Auf welchen Plattformen läuft Superset?"
@@ -17227,6 +17299,9 @@ msgstr "Du bist auf dem neuesten Stand!"
msgid "You've been invited to join {organization}"
msgstr "Du wurdest zu {organization} eingeladen"
+msgid "you@example.com"
+msgstr "you@example.com"
+
msgid "Your account is deactivated and will be permanently deleted soon. Reactivate to restore it exactly as you left it."
msgstr "Dein Konto ist deaktiviert und wird bald endgültig gelöscht. Reaktiviere es, um es genau so wiederherzustellen, wie du es verlassen hast."
@@ -17251,6 +17326,9 @@ msgstr "Dein Code bleibt standardmäßig lokal, mit ausdrücklicher Kontrolle ü
msgid "Your download starts automatically. If it didn't, grab it here."
msgstr "Der Download startet automatisch. Falls nicht, hier herunterladen."
+msgid "Your email (optional)"
+msgstr "Deine E-Mail-Adresse (optional)"
+
msgid "Your GitHub account cannot reach a repository in this environment"
msgstr "Dein GitHub-Konto kann ein Repository dieser Umgebung nicht erreichen"
diff --git a/packages/i18n/locales/en/messages.po b/packages/i18n/locales/en/messages.po
index b9e814c52cd..8372c2becce 100644
--- a/packages/i18n/locales/en/messages.po
+++ b/packages/i18n/locales/en/messages.po
@@ -2029,6 +2029,9 @@ msgstr "Anyone with the link"
msgid "anything"
msgstr "anything"
+msgid "Anything else? (optional)"
+msgstr "Anything else? (optional)"
+
msgid "AP"
msgstr "AP"
@@ -4189,6 +4192,9 @@ msgstr "Copy your browsing history and logins from another browser into Superset
msgid "Copy your key now — you won't be able to see it again."
msgstr "Copy your key now — you won't be able to see it again."
+msgid "Copyright or trademark"
+msgstr "Copyright or trademark"
+
msgid "Cost"
msgstr "Cost"
@@ -7525,6 +7531,9 @@ msgstr "Idle · branch pushed"
msgid "If you're enjoying Superset so far, a GitHub star helps other developers discover it."
msgstr "If you're enjoying Superset so far, a GitHub star helps other developers discover it."
+msgid "Illegal content"
+msgstr "Illegal content"
+
msgid "Image"
msgstr "Image"
@@ -7548,6 +7557,9 @@ msgstr "Image preview of {0}. Zoom with plus and minus, pan with arrow keys, pre
msgid "Images"
msgstr "Images"
+msgid "Impersonates someone"
+msgstr "Impersonates someone"
+
msgid "Import"
msgstr "Import"
@@ -8654,6 +8666,9 @@ msgstr "Make the chip style the TooltipContent default"
msgid "Makes the Run button launch this terminal script for matching projects."
msgstr "Makes the Run button launch this terminal script for matching projects."
+msgid "Malware or phishing"
+msgstr "Malware or phishing"
+
msgid "Manage"
msgstr "Manage"
@@ -10911,6 +10926,9 @@ msgstr "Page not found"
msgid "Page Not Found"
msgstr "Page Not Found"
+msgid "Page report rate limiting is not configured"
+msgstr "Page report rate limiting is not configured"
+
msgid "Page title"
msgstr "Page title"
@@ -11125,6 +11143,9 @@ msgstr "Pick a parent directory"
msgid "Pick a project location"
msgstr "Pick a project location"
+msgid "Pick a reason"
+msgstr "Pick a reason"
+
msgid "Pick a sound or add your own. Custom audio supports .mp3, .wav, and .ogg."
msgstr "Pick a sound or add your own. Custom audio supports .mp3, .wav, and .ogg."
@@ -12249,9 +12270,21 @@ msgstr "Replying to {replyingTo}"
msgid "repo"
msgstr "repo"
+msgid "Report"
+msgstr "Report"
+
msgid "Report Issue"
msgstr "Report Issue"
+msgid "Report not found"
+msgstr "Report not found"
+
+msgid "Report this page"
+msgstr "Report this page"
+
+msgid "Reporting is briefly unavailable. Try again shortly."
+msgstr "Reporting is briefly unavailable. Try again shortly."
+
msgid "Repos"
msgstr "Repos"
@@ -13348,6 +13381,9 @@ msgstr "Send message"
msgid "Send reply"
msgstr "Send reply"
+msgid "Send report"
+msgstr "Send report"
+
msgid "Send review"
msgstr "Send review"
@@ -13514,6 +13550,9 @@ msgstr "Setup"
msgid "Setup script"
msgstr "Setup script"
+msgid "Sexual content"
+msgstr "Sexual content"
+
msgid "shadcn/ui tooltip recipe"
msgstr "shadcn/ui tooltip recipe"
@@ -13987,6 +14026,12 @@ msgstr "Some triggers need additional configuration"
msgid "serverError.page.entryPathHeldByColleague"
msgstr "Someone else has already published {entryPath} from this workspace. Publish with an explicit page id to add a version to their page, or move the file."
+msgid "Someone on the Superset team will review this page. We only follow up if we need more from you."
+msgstr "Someone on the Superset team will review this page. We only follow up if we need more from you."
+
+msgid "Something else"
+msgstr "Something else"
+
msgid "Something went wrong"
msgstr "Something went wrong"
@@ -14035,6 +14080,9 @@ msgstr "Source path (not an import)"
msgid "Sources"
msgstr "Sources"
+msgid "Spam or a scam"
+msgstr "Spam or a scam"
+
msgid "Sparse checkout"
msgstr "Sparse checkout"
@@ -14900,6 +14948,9 @@ msgstr "Teardown timed out after {seconds}s"
msgid "Tell any agent to use the <0>superset0> CLI to spin up workspaces, run tasks, or manage automations."
msgstr "Tell any agent to use the <0>superset0> CLI to spin up workspaces, run tasks, or manage automations."
+msgid "Tell us what is wrong with it. Reporting does not remove the page on its own."
+msgstr "Tell us what is wrong with it. Reporting does not remove the page on its own."
+
msgid "Ten parallel workstreams running, each landing merged work"
msgstr "Ten parallel workstreams running, each landing merged work"
@@ -14993,6 +15044,9 @@ msgstr "Textarea"
msgid "Thanks for reaching out"
msgstr "Thanks for reaching out"
+msgid "Thanks, we got it"
+msgstr "Thanks, we got it"
+
msgid "That {plugin} sign-in link expired. Try connecting again."
msgstr "That {plugin} sign-in link expired. Try connecting again."
@@ -15513,6 +15567,12 @@ msgstr "This page isn't here"
msgid "This page no longer exists"
msgstr "This page no longer exists"
+msgid "This page was published by a Superset user. Its contents are unverified."
+msgstr "This page was published by a Superset user. Its contents are unverified."
+
+msgid "This page was taken down and can no longer be changed"
+msgstr "This page was taken down and can no longer be changed"
+
msgid "This path exists, but it is not a directory."
msgstr "This path exists, but it is not a directory."
@@ -15787,6 +15847,9 @@ msgstr "Too many people are looking at once. Try again shortly."
msgid "Too many prompt submissions. Try again later."
msgstr "Too many prompt submissions. Try again later."
+msgid "Too many reports. Try again later."
+msgstr "Too many reports. Try again later."
+
msgid "Too many requests. Please try again later."
msgstr "Too many requests. Please try again later."
@@ -16547,6 +16610,9 @@ msgstr "View Superset repository on GitHub"
msgid "View usage"
msgstr "View usage"
+msgid "Violence or harassment"
+msgstr "Violence or harassment"
+
msgid "Visitors"
msgstr "Visitors"
@@ -16757,6 +16823,9 @@ msgstr "Welcome to the new Superset"
msgid "What builders say about Superset"
msgstr "What builders say about Superset"
+msgid "What did you see on the page?"
+msgstr "What did you see on the page?"
+
msgid "What do you want to do?"
msgstr "What do you want to do?"
@@ -16775,6 +16844,9 @@ msgstr "What is a workspace?"
msgid "What is Superset Enterprise?"
msgstr "What is Superset Enterprise?"
+msgid "What is wrong?"
+msgstr "What is wrong?"
+
msgid "What platforms does Superset run on?"
msgstr "What platforms does Superset run on?"
@@ -17227,6 +17299,9 @@ msgstr "You're up to date!"
msgid "You've been invited to join {organization}"
msgstr "You've been invited to join {organization}"
+msgid "you@example.com"
+msgstr "you@example.com"
+
msgid "Your account is deactivated and will be permanently deleted soon. Reactivate to restore it exactly as you left it."
msgstr "Your account is deactivated and will be permanently deleted soon. Reactivate to restore it exactly as you left it."
@@ -17251,6 +17326,9 @@ msgstr "Your code stays local by default, with explicit control over connected s
msgid "Your download starts automatically. If it didn't, grab it here."
msgstr "Your download starts automatically. If it didn't, grab it here."
+msgid "Your email (optional)"
+msgstr "Your email (optional)"
+
msgid "Your GitHub account cannot reach a repository in this environment"
msgstr "Your GitHub account cannot reach a repository in this environment"
diff --git a/packages/i18n/locales/es/messages.po b/packages/i18n/locales/es/messages.po
index 30e9fc38ef9..5c0eb7e0245 100644
--- a/packages/i18n/locales/es/messages.po
+++ b/packages/i18n/locales/es/messages.po
@@ -2029,6 +2029,9 @@ msgstr "Cualquier persona con el enlace"
msgid "anything"
msgstr "cualquier cosa"
+msgid "Anything else? (optional)"
+msgstr "¿Algo más? (opcional)"
+
msgid "AP"
msgstr "AP"
@@ -4189,6 +4192,9 @@ msgstr "Copiar el historial de navegación y los inicios de sesión de otro nave
msgid "Copy your key now — you won't be able to see it again."
msgstr "Copia tu clave ahora: no podrás volver a verla."
+msgid "Copyright or trademark"
+msgstr "Derechos de autor o marca registrada"
+
msgid "Cost"
msgstr "Coste"
@@ -7525,6 +7531,9 @@ msgstr "Inactivo · rama subida"
msgid "If you're enjoying Superset so far, a GitHub star helps other developers discover it."
msgstr "Si Superset te está gustando, una estrella en GitHub ayuda a otros desarrolladores a descubrirlo."
+msgid "Illegal content"
+msgstr "Contenido ilegal"
+
msgid "Image"
msgstr "Imagen"
@@ -7548,6 +7557,9 @@ msgstr "Vista previa de la imagen de {0}. Haz zoom con más y menos, desplázate
msgid "Images"
msgstr "Imágenes"
+msgid "Impersonates someone"
+msgstr "Suplanta a alguien"
+
msgid "Import"
msgstr "Importar"
@@ -8654,6 +8666,9 @@ msgstr "Hacer que el estilo de chip sea el predeterminado de TooltipContent"
msgid "Makes the Run button launch this terminal script for matching projects."
msgstr "Hace que el botón Ejecutar lance este script de terminal en los proyectos que coincidan."
+msgid "Malware or phishing"
+msgstr "Malware o phishing"
+
msgid "Manage"
msgstr "Gestionar"
@@ -10911,6 +10926,9 @@ msgstr "Página no encontrada"
msgid "Page Not Found"
msgstr "Página no encontrada"
+msgid "Page report rate limiting is not configured"
+msgstr "El límite de velocidad de denuncias de páginas no está configurado"
+
msgid "Page title"
msgstr "Título de la página"
@@ -11125,6 +11143,9 @@ msgstr "Elige un directorio padre"
msgid "Pick a project location"
msgstr "Elige una ubicación para el proyecto"
+msgid "Pick a reason"
+msgstr "Elige un motivo"
+
msgid "Pick a sound or add your own. Custom audio supports .mp3, .wav, and .ogg."
msgstr "Elige un sonido o añade el tuyo. El audio propio admite .mp3, .wav y .ogg."
@@ -12249,9 +12270,21 @@ msgstr "Respondiendo a {replyingTo}"
msgid "repo"
msgstr "repo"
+msgid "Report"
+msgstr "Denunciar"
+
msgid "Report Issue"
msgstr "Informar de un problema"
+msgid "Report not found"
+msgstr "Denuncia no encontrada"
+
+msgid "Report this page"
+msgstr "Denunciar esta página"
+
+msgid "Reporting is briefly unavailable. Try again shortly."
+msgstr "Las denuncias no están disponibles por un momento. Vuelve a intentarlo en breve."
+
msgid "Repos"
msgstr "Repos"
@@ -13348,6 +13381,9 @@ msgstr "Enviar mensaje"
msgid "Send reply"
msgstr "Enviar la respuesta"
+msgid "Send report"
+msgstr "Enviar denuncia"
+
msgid "Send review"
msgstr "Enviar revisión"
@@ -13514,6 +13550,9 @@ msgstr "Setup"
msgid "Setup script"
msgstr "Script de setup"
+msgid "Sexual content"
+msgstr "Contenido sexual"
+
msgid "shadcn/ui tooltip recipe"
msgstr "Receta de tooltip de shadcn/ui"
@@ -13987,6 +14026,12 @@ msgstr "Algunos disparadores necesitan configuración adicional"
msgid "serverError.page.entryPathHeldByColleague"
msgstr "Otra persona ya publicó {entryPath} desde este workspace. Publica con un id de página explícito para añadir una versión a su página, o mueve el archivo."
+msgid "Someone on the Superset team will review this page. We only follow up if we need more from you."
+msgstr "Alguien del equipo de Superset revisará esta página. Solo te contactaremos si necesitamos más información."
+
+msgid "Something else"
+msgstr "Otra cosa"
+
msgid "Something went wrong"
msgstr "Algo salió mal"
@@ -14035,6 +14080,9 @@ msgstr "Ruta del código fuente (no es una importación)"
msgid "Sources"
msgstr "Fuentes"
+msgid "Spam or a scam"
+msgstr "Spam o estafa"
+
msgid "Sparse checkout"
msgstr "Sparse checkout"
@@ -14900,6 +14948,9 @@ msgstr "La limpieza agotó el tiempo tras {seconds} s"
msgid "Tell any agent to use the <0>superset0> CLI to spin up workspaces, run tasks, or manage automations."
msgstr "Pide a cualquier agente que use la CLI <0>superset0> para crear espacios de trabajo, ejecutar tareas o gestionar automatizaciones."
+msgid "Tell us what is wrong with it. Reporting does not remove the page on its own."
+msgstr "Cuéntanos qué está mal. Denunciar no elimina la página por sí solo."
+
msgid "Ten parallel workstreams running, each landing merged work"
msgstr "Diez flujos de trabajo paralelos, cada uno entregando trabajo fusionado"
@@ -14993,6 +15044,9 @@ msgstr "Área de texto"
msgid "Thanks for reaching out"
msgstr "Gracias por escribirnos"
+msgid "Thanks, we got it"
+msgstr "Gracias, lo hemos recibido"
+
msgid "That {plugin} sign-in link expired. Try connecting again."
msgstr "Ese enlace de inicio de sesión de {plugin} ha caducado. Vuelve a conectarte."
@@ -15513,6 +15567,12 @@ msgstr "Esta página no está aquí"
msgid "This page no longer exists"
msgstr "Esta página ya no existe"
+msgid "This page was published by a Superset user. Its contents are unverified."
+msgstr "Esta página la publicó un usuario de Superset. Su contenido no está verificado."
+
+msgid "This page was taken down and can no longer be changed"
+msgstr "Esta página fue retirada y ya no se puede modificar"
+
msgid "This path exists, but it is not a directory."
msgstr "Esta ruta existe, pero no es un directorio."
@@ -15787,6 +15847,9 @@ msgstr "Demasiadas personas lo están viendo a la vez. Inténtalo de nuevo en un
msgid "Too many prompt submissions. Try again later."
msgstr "Demasiados envíos de prompts. Inténtalo más tarde."
+msgid "Too many reports. Try again later."
+msgstr "Demasiadas denuncias. Inténtalo más tarde."
+
msgid "Too many requests. Please try again later."
msgstr "Demasiadas solicitudes. Inténtalo de nuevo más tarde."
@@ -16547,6 +16610,9 @@ msgstr "Ver el repositorio de Superset en GitHub"
msgid "View usage"
msgstr "Ver uso"
+msgid "Violence or harassment"
+msgstr "Violencia o acoso"
+
msgid "Visitors"
msgstr "Visitantes"
@@ -16757,6 +16823,9 @@ msgstr "Te damos la bienvenida al nuevo Superset"
msgid "What builders say about Superset"
msgstr "Lo que dicen los creadores sobre Superset"
+msgid "What did you see on the page?"
+msgstr "¿Qué viste en la página?"
+
msgid "What do you want to do?"
msgstr "¿Qué quieres hacer?"
@@ -16775,6 +16844,9 @@ msgstr "¿Qué es un espacio de trabajo?"
msgid "What is Superset Enterprise?"
msgstr "¿Qué es Superset Enterprise?"
+msgid "What is wrong?"
+msgstr "¿Qué ocurre?"
+
msgid "What platforms does Superset run on?"
msgstr "¿En qué plataformas funciona Superset?"
@@ -17227,6 +17299,9 @@ msgstr "¡Todo está actualizado!"
msgid "You've been invited to join {organization}"
msgstr "Te han invitado a unirte a {organization}"
+msgid "you@example.com"
+msgstr "you@example.com"
+
msgid "Your account is deactivated and will be permanently deleted soon. Reactivate to restore it exactly as you left it."
msgstr "Tu cuenta está desactivada y se eliminará de forma permanente en breve. Reactivar la cuenta para restaurarla tal y como estaba."
@@ -17251,6 +17326,9 @@ msgstr "Tu código se queda en local por defecto, con control explícito sobre l
msgid "Your download starts automatically. If it didn't, grab it here."
msgstr "La descarga empieza automáticamente. Si no ha empezado, consíguela aquí."
+msgid "Your email (optional)"
+msgstr "Tu correo electrónico (opcional)"
+
msgid "Your GitHub account cannot reach a repository in this environment"
msgstr "Tu cuenta de GitHub no puede acceder a un repositorio de este entorno"
diff --git a/packages/i18n/locales/fr/messages.po b/packages/i18n/locales/fr/messages.po
index 92ed9cb0368..3653396924b 100644
--- a/packages/i18n/locales/fr/messages.po
+++ b/packages/i18n/locales/fr/messages.po
@@ -2029,6 +2029,9 @@ msgstr "Toute personne disposant du lien"
msgid "anything"
msgstr "n'importe quoi"
+msgid "Anything else? (optional)"
+msgstr "Autre chose ? (facultatif)"
+
msgid "AP"
msgstr "AP"
@@ -4189,6 +4192,9 @@ msgstr "Copiez votre historique de navigation et vos identifiants depuis un autr
msgid "Copy your key now — you won't be able to see it again."
msgstr "Copiez votre clé maintenant — vous ne pourrez plus la voir ensuite."
+msgid "Copyright or trademark"
+msgstr "Droit d'auteur ou marque"
+
msgid "Cost"
msgstr "Coût"
@@ -7525,6 +7531,9 @@ msgstr "Inactif · branche poussée"
msgid "If you're enjoying Superset so far, a GitHub star helps other developers discover it."
msgstr "Si Superset vous plaît jusqu'ici, une étoile GitHub aide d'autres développeurs à le découvrir."
+msgid "Illegal content"
+msgstr "Contenu illégal"
+
msgid "Image"
msgstr "Image"
@@ -7548,6 +7557,9 @@ msgstr "Aperçu de l'image {0}. Zoomez avec plus et moins, déplacez-vous avec l
msgid "Images"
msgstr "Images"
+msgid "Impersonates someone"
+msgstr "Usurpation d'identité"
+
msgid "Import"
msgstr "Importer"
@@ -8654,6 +8666,9 @@ msgstr "Faire du style chip la valeur par défaut de TooltipContent"
msgid "Makes the Run button launch this terminal script for matching projects."
msgstr "Fait en sorte que le bouton Exécuter lance ce script de terminal pour les projets correspondants."
+msgid "Malware or phishing"
+msgstr "Logiciel malveillant ou hameçonnage"
+
msgid "Manage"
msgstr "Gérer"
@@ -10911,6 +10926,9 @@ msgstr "Page introuvable"
msgid "Page Not Found"
msgstr "Page introuvable"
+msgid "Page report rate limiting is not configured"
+msgstr "La limitation de débit des signalements de page n'est pas configurée"
+
msgid "Page title"
msgstr "Titre de la page"
@@ -11125,6 +11143,9 @@ msgstr "Choisissez un répertoire parent"
msgid "Pick a project location"
msgstr "Choisissez un emplacement de projet"
+msgid "Pick a reason"
+msgstr "Choisissez un motif"
+
msgid "Pick a sound or add your own. Custom audio supports .mp3, .wav, and .ogg."
msgstr "Choisissez un son ou ajoutez le vôtre. Les sons personnalisés acceptent .mp3, .wav et .ogg."
@@ -12249,9 +12270,21 @@ msgstr "Réponse à {replyingTo}"
msgid "repo"
msgstr "dépôt"
+msgid "Report"
+msgstr "Signaler"
+
msgid "Report Issue"
msgstr "Signaler un problème"
+msgid "Report not found"
+msgstr "Signalement introuvable"
+
+msgid "Report this page"
+msgstr "Signaler cette page"
+
+msgid "Reporting is briefly unavailable. Try again shortly."
+msgstr "Le signalement est momentanément indisponible. Réessayez dans un instant."
+
msgid "Repos"
msgstr "Dépôts"
@@ -13348,6 +13381,9 @@ msgstr "Envoyer le message"
msgid "Send reply"
msgstr "Envoyer la réponse"
+msgid "Send report"
+msgstr "Envoyer le signalement"
+
msgid "Send review"
msgstr "Envoyer la revue"
@@ -13514,6 +13550,9 @@ msgstr "Configuration"
msgid "Setup script"
msgstr "Script de configuration"
+msgid "Sexual content"
+msgstr "Contenu sexuel"
+
msgid "shadcn/ui tooltip recipe"
msgstr "Recette de tooltip shadcn/ui"
@@ -13987,6 +14026,12 @@ msgstr "Certains déclencheurs nécessitent une configuration supplémentaire"
msgid "serverError.page.entryPathHeldByColleague"
msgstr "Quelqu'un d'autre a déjà publié {entryPath} depuis cet espace de travail. Publiez avec un id de page explicite pour ajouter une version à sa page, ou déplacez le fichier."
+msgid "Someone on the Superset team will review this page. We only follow up if we need more from you."
+msgstr "Un membre de l'équipe Superset examinera cette page. Nous ne vous recontacterons que si nous avons besoin de précisions."
+
+msgid "Something else"
+msgstr "Autre chose"
+
msgid "Something went wrong"
msgstr "Une erreur est survenue"
@@ -14035,6 +14080,9 @@ msgstr "Chemin source (pas un import)"
msgid "Sources"
msgstr "Sources"
+msgid "Spam or a scam"
+msgstr "Spam ou arnaque"
+
msgid "Sparse checkout"
msgstr "Sparse checkout"
@@ -14900,6 +14948,9 @@ msgstr "Le nettoyage a expiré après {seconds} s"
msgid "Tell any agent to use the <0>superset0> CLI to spin up workspaces, run tasks, or manage automations."
msgstr "Demandez à n'importe quel agent d'utiliser la CLI <0>superset0> pour lancer des espaces de travail, exécuter des tâches ou gérer des automatisations."
+msgid "Tell us what is wrong with it. Reporting does not remove the page on its own."
+msgstr "Dites-nous ce qui ne va pas. Un signalement ne supprime pas la page à lui seul."
+
msgid "Ten parallel workstreams running, each landing merged work"
msgstr "Dix flux de travail parallèles, chacun produisant du travail fusionné"
@@ -14993,6 +15044,9 @@ msgstr "Zone de texte"
msgid "Thanks for reaching out"
msgstr "Merci de nous avoir écrit"
+msgid "Thanks, we got it"
+msgstr "Merci, c'est bien reçu"
+
msgid "That {plugin} sign-in link expired. Try connecting again."
msgstr "Ce lien de connexion {plugin} a expiré. Réessayez de vous connecter."
@@ -15513,6 +15567,12 @@ msgstr "Cette page n'est pas ici"
msgid "This page no longer exists"
msgstr "Cette page n'existe plus"
+msgid "This page was published by a Superset user. Its contents are unverified."
+msgstr "Cette page a été publiée par un utilisateur de Superset. Son contenu n'est pas vérifié."
+
+msgid "This page was taken down and can no longer be changed"
+msgstr "Cette page a été retirée et ne peut plus être modifiée"
+
msgid "This path exists, but it is not a directory."
msgstr "Ce chemin existe, mais ce n'est pas un répertoire."
@@ -15787,6 +15847,9 @@ msgstr "Trop de personnes le consultent en même temps. Réessayez dans un insta
msgid "Too many prompt submissions. Try again later."
msgstr "Trop de prompts envoyés. Réessayez plus tard."
+msgid "Too many reports. Try again later."
+msgstr "Trop de signalements. Réessayez plus tard."
+
msgid "Too many requests. Please try again later."
msgstr "Trop de requêtes. Veuillez réessayer plus tard."
@@ -16547,6 +16610,9 @@ msgstr "Voir le dépôt Superset sur GitHub"
msgid "View usage"
msgstr "Voir l'utilisation"
+msgid "Violence or harassment"
+msgstr "Violence ou harcèlement"
+
msgid "Visitors"
msgstr "Visiteurs"
@@ -16757,6 +16823,9 @@ msgstr "Bienvenue dans le nouveau Superset"
msgid "What builders say about Superset"
msgstr "Ce que les créateurs disent de Superset"
+msgid "What did you see on the page?"
+msgstr "Qu'avez-vous vu sur la page ?"
+
msgid "What do you want to do?"
msgstr "Que voulez-vous faire ?"
@@ -16775,6 +16844,9 @@ msgstr "Qu'est-ce qu'un espace de travail ?"
msgid "What is Superset Enterprise?"
msgstr "Qu'est-ce que Superset Enterprise ?"
+msgid "What is wrong?"
+msgstr "Quel est le problème ?"
+
msgid "What platforms does Superset run on?"
msgstr "Sur quelles plateformes Superset fonctionne-t-il ?"
@@ -17227,6 +17299,9 @@ msgstr "Vous êtes à jour !"
msgid "You've been invited to join {organization}"
msgstr "Vous avez été invité à rejoindre {organization}"
+msgid "you@example.com"
+msgstr "you@example.com"
+
msgid "Your account is deactivated and will be permanently deleted soon. Reactivate to restore it exactly as you left it."
msgstr "Votre compte est désactivé et sera définitivement supprimé prochainement. Réactivez-le pour le retrouver exactement tel que vous l'avez laissé."
@@ -17251,6 +17326,9 @@ msgstr "Votre code reste local par défaut, avec un contrôle explicite sur les
msgid "Your download starts automatically. If it didn't, grab it here."
msgstr "Votre téléchargement démarre automatiquement. Sinon, récupérez-le ici."
+msgid "Your email (optional)"
+msgstr "Votre e-mail (facultatif)"
+
msgid "Your GitHub account cannot reach a repository in this environment"
msgstr "Votre compte GitHub ne peut pas accéder à un dépôt de cet environnement"
diff --git a/packages/i18n/locales/id/messages.po b/packages/i18n/locales/id/messages.po
index ad0c32bd306..e765da91403 100644
--- a/packages/i18n/locales/id/messages.po
+++ b/packages/i18n/locales/id/messages.po
@@ -2029,6 +2029,9 @@ msgstr "Siapa saja yang memiliki tautan"
msgid "anything"
msgstr "apa saja"
+msgid "Anything else? (optional)"
+msgstr "Ada lagi? (opsional)"
+
msgid "AP"
msgstr "AP"
@@ -4189,6 +4192,9 @@ msgstr "Salin riwayat penjelajahan dan login Anda dari browser lain ke Superset.
msgid "Copy your key now — you won't be able to see it again."
msgstr "Salin kunci Anda sekarang — Anda tidak akan bisa melihatnya lagi."
+msgid "Copyright or trademark"
+msgstr "Hak cipta atau merek dagang"
+
msgid "Cost"
msgstr "Biaya"
@@ -7525,6 +7531,9 @@ msgstr "Idle · branch sudah di-push"
msgid "If you're enjoying Superset so far, a GitHub star helps other developers discover it."
msgstr "Kalau sejauh ini Anda menikmati Superset, satu star GitHub membantu developer lain menemukannya."
+msgid "Illegal content"
+msgstr "Konten ilegal"
+
msgid "Image"
msgstr "Gambar"
@@ -7548,6 +7557,9 @@ msgstr "Pratinjau gambar {0}. Zoom dengan plus dan minus, geser dengan tombol pa
msgid "Images"
msgstr "Gambar"
+msgid "Impersonates someone"
+msgstr "Menyamar sebagai orang lain"
+
msgid "Import"
msgstr "Impor"
@@ -8654,6 +8666,9 @@ msgstr "Jadikan gaya chip sebagai bawaan TooltipContent"
msgid "Makes the Run button launch this terminal script for matching projects."
msgstr "Membuat tombol Run menjalankan skrip terminal ini untuk proyek yang cocok."
+msgid "Malware or phishing"
+msgstr "Malware atau phishing"
+
msgid "Manage"
msgstr "Kelola"
@@ -10911,6 +10926,9 @@ msgstr "Halaman tidak ditemukan"
msgid "Page Not Found"
msgstr "Halaman Tidak Ditemukan"
+msgid "Page report rate limiting is not configured"
+msgstr "Batas laju pelaporan halaman belum dikonfigurasi"
+
msgid "Page title"
msgstr "Judul halaman"
@@ -11125,6 +11143,9 @@ msgstr "Pilih direktori induk"
msgid "Pick a project location"
msgstr "Pilih lokasi proyek"
+msgid "Pick a reason"
+msgstr "Pilih alasan"
+
msgid "Pick a sound or add your own. Custom audio supports .mp3, .wav, and .ogg."
msgstr "Pilih suara atau tambahkan milik Anda sendiri. Audio kustom mendukung .mp3, .wav, dan .ogg."
@@ -12249,9 +12270,21 @@ msgstr "Membalas {replyingTo}"
msgid "repo"
msgstr "repo"
+msgid "Report"
+msgstr "Laporkan"
+
msgid "Report Issue"
msgstr "Laporkan Masalah"
+msgid "Report not found"
+msgstr "Laporan tidak ditemukan"
+
+msgid "Report this page"
+msgstr "Laporkan halaman ini"
+
+msgid "Reporting is briefly unavailable. Try again shortly."
+msgstr "Pelaporan sedang tidak tersedia sesaat. Coba lagi sebentar lagi."
+
msgid "Repos"
msgstr "Repo"
@@ -13348,6 +13381,9 @@ msgstr "Kirim pesan"
msgid "Send reply"
msgstr "Kirim balasan"
+msgid "Send report"
+msgstr "Kirim laporan"
+
msgid "Send review"
msgstr "Kirim review"
@@ -13514,6 +13550,9 @@ msgstr "Setup"
msgid "Setup script"
msgstr "Skrip setup"
+msgid "Sexual content"
+msgstr "Konten seksual"
+
msgid "shadcn/ui tooltip recipe"
msgstr "Resep tooltip shadcn/ui"
@@ -13987,6 +14026,12 @@ msgstr "Sebagian pemicu perlu konfigurasi tambahan"
msgid "serverError.page.entryPathHeldByColleague"
msgstr "Orang lain sudah menerbitkan {entryPath} dari workspace ini. Terbitkan dengan id halaman yang eksplisit untuk menambahkan versi ke halaman mereka, atau pindahkan berkasnya."
+msgid "Someone on the Superset team will review this page. We only follow up if we need more from you."
+msgstr "Seseorang dari tim Superset akan meninjau halaman ini. Kami hanya menghubungi Anda jika perlu informasi tambahan."
+
+msgid "Something else"
+msgstr "Hal lain"
+
msgid "Something went wrong"
msgstr "Terjadi kesalahan"
@@ -14035,6 +14080,9 @@ msgstr "Path sumber (bukan impor)"
msgid "Sources"
msgstr "Sumber"
+msgid "Spam or a scam"
+msgstr "Spam atau penipuan"
+
msgid "Sparse checkout"
msgstr "Sparse checkout"
@@ -14900,6 +14948,9 @@ msgstr "Teardown kehabisan waktu setelah {seconds}d"
msgid "Tell any agent to use the <0>superset0> CLI to spin up workspaces, run tasks, or manage automations."
msgstr "Minta agen mana pun memakai CLI <0>superset0> untuk menjalankan workspace, run tugas, atau mengelola otomatisasi."
+msgid "Tell us what is wrong with it. Reporting does not remove the page on its own."
+msgstr "Beri tahu kami apa yang salah. Melaporkan saja tidak menghapus halaman ini."
+
msgid "Ten parallel workstreams running, each landing merged work"
msgstr "Sepuluh alur kerja paralel berjalan, masing-masing menghasilkan pekerjaan yang digabungkan"
@@ -14993,6 +15044,9 @@ msgstr "Textarea"
msgid "Thanks for reaching out"
msgstr "Terima kasih sudah menghubungi"
+msgid "Thanks, we got it"
+msgstr "Terima kasih, laporan diterima"
+
msgid "That {plugin} sign-in link expired. Try connecting again."
msgstr "Tautan masuk {plugin} itu telah kedaluwarsa. Coba hubungkan lagi."
@@ -15513,6 +15567,12 @@ msgstr "Halaman ini tidak ada di sini"
msgid "This page no longer exists"
msgstr "Halaman ini sudah tidak ada"
+msgid "This page was published by a Superset user. Its contents are unverified."
+msgstr "Halaman ini diterbitkan oleh pengguna Superset. Isinya belum diverifikasi."
+
+msgid "This page was taken down and can no longer be changed"
+msgstr "Halaman ini telah ditarik dan tidak bisa diubah lagi"
+
msgid "This path exists, but it is not a directory."
msgstr "Path ini ada, tapi bukan direktori."
@@ -15787,6 +15847,9 @@ msgstr "Terlalu banyak orang yang melihat sekaligus. Coba lagi sebentar lagi."
msgid "Too many prompt submissions. Try again later."
msgstr "Terlalu banyak prompt yang dikirim. Coba lagi nanti."
+msgid "Too many reports. Try again later."
+msgstr "Terlalu banyak laporan. Coba lagi nanti."
+
msgid "Too many requests. Please try again later."
msgstr "Terlalu banyak permintaan. Silakan coba lagi nanti."
@@ -16547,6 +16610,9 @@ msgstr "Lihat repositori Superset di GitHub"
msgid "View usage"
msgstr "Lihat penggunaan"
+msgid "Violence or harassment"
+msgstr "Kekerasan atau pelecehan"
+
msgid "Visitors"
msgstr "Pengunjung"
@@ -16757,6 +16823,9 @@ msgstr "Selamat datang di Superset baru"
msgid "What builders say about Superset"
msgstr "Apa kata builder tentang Superset"
+msgid "What did you see on the page?"
+msgstr "Apa yang Anda lihat di halaman ini?"
+
msgid "What do you want to do?"
msgstr "Apa yang ingin Anda lakukan?"
@@ -16775,6 +16844,9 @@ msgstr "Apa itu workspace?"
msgid "What is Superset Enterprise?"
msgstr "Apa itu Superset Enterprise?"
+msgid "What is wrong?"
+msgstr "Apa masalahnya?"
+
msgid "What platforms does Superset run on?"
msgstr "Superset berjalan di platform apa saja?"
@@ -17227,6 +17299,9 @@ msgstr "Anda sudah memakai versi terbaru!"
msgid "You've been invited to join {organization}"
msgstr "Anda diundang bergabung ke {organization}"
+msgid "you@example.com"
+msgstr "you@example.com"
+
msgid "Your account is deactivated and will be permanently deleted soon. Reactivate to restore it exactly as you left it."
msgstr "Akun Anda dinonaktifkan dan akan segera dihapus permanen. Aktifkan kembali untuk memulihkannya persis seperti yang Anda tinggalkan."
@@ -17251,6 +17326,9 @@ msgstr "Kode Anda tetap lokal secara bawaan, dengan kendali eksplisit atas layan
msgid "Your download starts automatically. If it didn't, grab it here."
msgstr "Unduhan Anda dimulai otomatis. Jika tidak, ambil di sini."
+msgid "Your email (optional)"
+msgstr "Email Anda (opsional)"
+
msgid "Your GitHub account cannot reach a repository in this environment"
msgstr "Akun GitHub Anda tidak dapat menjangkau repositori di environment ini"
diff --git a/packages/i18n/locales/it/messages.po b/packages/i18n/locales/it/messages.po
index ef0d1e68c54..e9d2caeb1b8 100644
--- a/packages/i18n/locales/it/messages.po
+++ b/packages/i18n/locales/it/messages.po
@@ -2029,6 +2029,9 @@ msgstr "Chiunque abbia il link"
msgid "anything"
msgstr "qualsiasi cosa"
+msgid "Anything else? (optional)"
+msgstr "Altro? (facoltativo)"
+
msgid "AP"
msgstr "AP"
@@ -4189,6 +4192,9 @@ msgstr "Copia in Superset la cronologia di navigazione e gli accessi da un altro
msgid "Copy your key now — you won't be able to see it again."
msgstr "Copia la chiave adesso — non potrai più vederla."
+msgid "Copyright or trademark"
+msgstr "Copyright o marchio"
+
msgid "Cost"
msgstr "Costo"
@@ -7525,6 +7531,9 @@ msgstr "Inattivo · branch pushato"
msgid "If you're enjoying Superset so far, a GitHub star helps other developers discover it."
msgstr "Se Superset ti sta piacendo, una star su GitHub aiuta altri sviluppatori a scoprirlo."
+msgid "Illegal content"
+msgstr "Contenuti illegali"
+
msgid "Image"
msgstr "Immagine"
@@ -7548,6 +7557,9 @@ msgstr "Anteprima dell'immagine di {0}. Zoom con più e meno, sposta con i tasti
msgid "Images"
msgstr "Immagini"
+msgid "Impersonates someone"
+msgstr "Si spaccia per qualcun altro"
+
msgid "Import"
msgstr "Importa"
@@ -8654,6 +8666,9 @@ msgstr "Rendi lo stile chip il predefinito di TooltipContent"
msgid "Makes the Run button launch this terminal script for matching projects."
msgstr "Fa sì che il pulsante Esegui avvii questo script del terminale per i progetti corrispondenti."
+msgid "Malware or phishing"
+msgstr "Malware o phishing"
+
msgid "Manage"
msgstr "Gestisci"
@@ -10911,6 +10926,9 @@ msgstr "Pagina non trovata"
msgid "Page Not Found"
msgstr "Pagina non trovata"
+msgid "Page report rate limiting is not configured"
+msgstr "Il limite di frequenza per le segnalazioni di pagina non è configurato"
+
msgid "Page title"
msgstr "Titolo della pagina"
@@ -11125,6 +11143,9 @@ msgstr "Scegli una directory padre"
msgid "Pick a project location"
msgstr "Scegli una posizione per il progetto"
+msgid "Pick a reason"
+msgstr "Scegli un motivo"
+
msgid "Pick a sound or add your own. Custom audio supports .mp3, .wav, and .ogg."
msgstr "Scegli un suono o aggiungine uno tuo. L'audio personalizzato supporta .mp3, .wav e .ogg."
@@ -12249,9 +12270,21 @@ msgstr "Risposta a {replyingTo}"
msgid "repo"
msgstr "repo"
+msgid "Report"
+msgstr "Segnala"
+
msgid "Report Issue"
msgstr "Segnala un problema"
+msgid "Report not found"
+msgstr "Segnalazione non trovata"
+
+msgid "Report this page"
+msgstr "Segnala questa pagina"
+
+msgid "Reporting is briefly unavailable. Try again shortly."
+msgstr "La segnalazione non è disponibile per un momento. Riprova tra poco."
+
msgid "Repos"
msgstr "Repo"
@@ -13348,6 +13381,9 @@ msgstr "Invia messaggio"
msgid "Send reply"
msgstr "Invia la risposta"
+msgid "Send report"
+msgstr "Invia segnalazione"
+
msgid "Send review"
msgstr "Invia la revisione"
@@ -13514,6 +13550,9 @@ msgstr "Setup"
msgid "Setup script"
msgstr "Script di setup"
+msgid "Sexual content"
+msgstr "Contenuti sessuali"
+
msgid "shadcn/ui tooltip recipe"
msgstr "ricetta tooltip di shadcn/ui"
@@ -13987,6 +14026,12 @@ msgstr "Alcuni trigger richiedono una configurazione aggiuntiva"
msgid "serverError.page.entryPathHeldByColleague"
msgstr "Qualcun altro ha già pubblicato {entryPath} da questo workspace. Pubblica con un id di pagina esplicito per aggiungere una versione alla sua pagina, oppure sposta il file."
+msgid "Someone on the Superset team will review this page. We only follow up if we need more from you."
+msgstr "Qualcuno del team Superset esaminerà questa pagina. Ti contatteremo solo se ci serve altro."
+
+msgid "Something else"
+msgstr "Altro"
+
msgid "Something went wrong"
msgstr "Qualcosa è andato storto"
@@ -14035,6 +14080,9 @@ msgstr "Percorso sorgente (non un import)"
msgid "Sources"
msgstr "Sources"
+msgid "Spam or a scam"
+msgstr "Spam o truffa"
+
msgid "Sparse checkout"
msgstr "Sparse checkout"
@@ -14900,6 +14948,9 @@ msgstr "Teardown scaduto dopo {seconds}s"
msgid "Tell any agent to use the <0>superset0> CLI to spin up workspaces, run tasks, or manage automations."
msgstr "Di' a un qualsiasi agente di usare la CLI <0>superset0> per creare workspace, eseguire task o gestire automazioni."
+msgid "Tell us what is wrong with it. Reporting does not remove the page on its own."
+msgstr "Dicci cosa non va. La segnalazione da sola non rimuove la pagina."
+
msgid "Ten parallel workstreams running, each landing merged work"
msgstr "Dieci flussi di lavoro paralleli, ciascuno con lavoro completato e unito"
@@ -14993,6 +15044,9 @@ msgstr "Textarea"
msgid "Thanks for reaching out"
msgstr "Grazie per averci scritto"
+msgid "Thanks, we got it"
+msgstr "Grazie, l'abbiamo ricevuta"
+
msgid "That {plugin} sign-in link expired. Try connecting again."
msgstr "Quel link di accesso a {plugin} è scaduto. Prova a connetterti di nuovo."
@@ -15513,6 +15567,12 @@ msgstr "Questa pagina non c'è"
msgid "This page no longer exists"
msgstr "Questa pagina non esiste più"
+msgid "This page was published by a Superset user. Its contents are unverified."
+msgstr "Questa pagina è stata pubblicata da un utente di Superset. I contenuti non sono verificati."
+
+msgid "This page was taken down and can no longer be changed"
+msgstr "Questa pagina è stata rimossa e non può più essere modificata"
+
msgid "This path exists, but it is not a directory."
msgstr "Questo percorso esiste, ma non è una directory."
@@ -15787,6 +15847,9 @@ msgstr "Troppe persone lo stanno guardando contemporaneamente. Riprova tra poco.
msgid "Too many prompt submissions. Try again later."
msgstr "Troppi invii di prompt. Riprova più tardi."
+msgid "Too many reports. Try again later."
+msgstr "Troppe segnalazioni. Riprova più tardi."
+
msgid "Too many requests. Please try again later."
msgstr "Troppe richieste. Riprova più tardi."
@@ -16547,6 +16610,9 @@ msgstr "Vedi il repository Superset su GitHub"
msgid "View usage"
msgstr "Vedi utilizzo"
+msgid "Violence or harassment"
+msgstr "Violenza o molestie"
+
msgid "Visitors"
msgstr "Visitatori"
@@ -16757,6 +16823,9 @@ msgstr "Benvenuto nel nuovo Superset"
msgid "What builders say about Superset"
msgstr "Cosa dicono di Superset gli sviluppatori"
+msgid "What did you see on the page?"
+msgstr "Che cosa hai visto sulla pagina?"
+
msgid "What do you want to do?"
msgstr "Cosa vuoi fare?"
@@ -16775,6 +16844,9 @@ msgstr "Cos'è un workspace?"
msgid "What is Superset Enterprise?"
msgstr "Cos'è Superset Enterprise?"
+msgid "What is wrong?"
+msgstr "Qual è il problema?"
+
msgid "What platforms does Superset run on?"
msgstr "Su quali piattaforme gira Superset?"
@@ -17227,6 +17299,9 @@ msgstr "Sei aggiornato!"
msgid "You've been invited to join {organization}"
msgstr "Sei stato invitato a entrare in {organization}"
+msgid "you@example.com"
+msgstr "you@example.com"
+
msgid "Your account is deactivated and will be permanently deleted soon. Reactivate to restore it exactly as you left it."
msgstr "Il tuo account è disattivato e sarà eliminato definitivamente a breve. Riattivalo per ripristinarlo esattamente come l'hai lasciato."
@@ -17251,6 +17326,9 @@ msgstr "Il tuo codice resta locale per impostazione predefinita, con controllo e
msgid "Your download starts automatically. If it didn't, grab it here."
msgstr "Il download parte automaticamente. Se non è partito, scaricalo qui."
+msgid "Your email (optional)"
+msgstr "La tua email (facoltativa)"
+
msgid "Your GitHub account cannot reach a repository in this environment"
msgstr "Il tuo account GitHub non può accedere a un repository di questo ambiente"
diff --git a/packages/i18n/locales/ja/messages.po b/packages/i18n/locales/ja/messages.po
index 844daa9dd38..0506dbbe210 100644
--- a/packages/i18n/locales/ja/messages.po
+++ b/packages/i18n/locales/ja/messages.po
@@ -2029,6 +2029,9 @@ msgstr "リンクを知っている全員"
msgid "anything"
msgstr "何でも"
+msgid "Anything else? (optional)"
+msgstr "他にありますか?(任意)"
+
msgid "AP"
msgstr "AP"
@@ -4189,6 +4192,9 @@ msgstr "別のブラウザから閲覧履歴とログイン情報をSupersetに
msgid "Copy your key now — you won't be able to see it again."
msgstr "キーを今すぐコピーしてください — 後で再表示することはできません。"
+msgid "Copyright or trademark"
+msgstr "著作権または商標"
+
msgid "Cost"
msgstr "コスト"
@@ -7525,6 +7531,9 @@ msgstr "アイドル · ブランチをプッシュ済み"
msgid "If you're enjoying Superset so far, a GitHub star helps other developers discover it."
msgstr "Supersetを気に入っていただけたら、GitHubスターが他の開発者の発見につながります。"
+msgid "Illegal content"
+msgstr "違法なコンテンツ"
+
msgid "Image"
msgstr "画像"
@@ -7548,6 +7557,9 @@ msgstr "{0}の画像プレビュー。プラスとマイナスでズーム、矢
msgid "Images"
msgstr "画像"
+msgid "Impersonates someone"
+msgstr "他人へのなりすまし"
+
msgid "Import"
msgstr "インポート"
@@ -8654,6 +8666,9 @@ msgstr "チップスタイルをTooltipContentのデフォルトにする"
msgid "Makes the Run button launch this terminal script for matching projects."
msgstr "対象プロジェクトで実行ボタンがこのターミナルスクリプトを起動するようにします。"
+msgid "Malware or phishing"
+msgstr "マルウェアまたはフィッシング"
+
msgid "Manage"
msgstr "管理"
@@ -10911,6 +10926,9 @@ msgstr "ページが見つかりません"
msgid "Page Not Found"
msgstr "ページが見つかりません"
+msgid "Page report rate limiting is not configured"
+msgstr "ページ報告のレート制限が設定されていません"
+
msgid "Page title"
msgstr "ページタイトル"
@@ -11125,6 +11143,9 @@ msgstr "親ディレクトリを選択してください"
msgid "Pick a project location"
msgstr "プロジェクトの場所を選択してください"
+msgid "Pick a reason"
+msgstr "理由を選択"
+
msgid "Pick a sound or add your own. Custom audio supports .mp3, .wav, and .ogg."
msgstr "サウンドを選ぶか、独自の音声を追加してください。カスタム音声は.mp3、.wav、.ogg対応です。"
@@ -12249,9 +12270,21 @@ msgstr "{replyingTo} に返信中"
msgid "repo"
msgstr "リポジトリ"
+msgid "Report"
+msgstr "報告"
+
msgid "Report Issue"
msgstr "問題を報告"
+msgid "Report not found"
+msgstr "報告が見つかりません"
+
+msgid "Report this page"
+msgstr "このページを報告"
+
+msgid "Reporting is briefly unavailable. Try again shortly."
+msgstr "報告機能が一時的に利用できません。しばらくしてからお試しください。"
+
msgid "Repos"
msgstr "リポジトリ"
@@ -13348,6 +13381,9 @@ msgstr "メッセージを送信"
msgid "Send reply"
msgstr "返信を送信"
+msgid "Send report"
+msgstr "報告を送信"
+
msgid "Send review"
msgstr "レビューを送信"
@@ -13514,6 +13550,9 @@ msgstr "セットアップ"
msgid "Setup script"
msgstr "セットアップスクリプト"
+msgid "Sexual content"
+msgstr "性的なコンテンツ"
+
msgid "shadcn/ui tooltip recipe"
msgstr "shadcn/uiのtooltipレシピ"
@@ -13987,6 +14026,12 @@ msgstr "一部のトリガーには追加の設定が必要です"
msgid "serverError.page.entryPathHeldByColleague"
msgstr "このワークスペースの {entryPath} は、他の人がすでに公開しています。ページ ID を明示して相手のページにバージョンを追加するか、ファイルを移動してください。"
+msgid "Someone on the Superset team will review this page. We only follow up if we need more from you."
+msgstr "Superset チームがこのページを確認します。追加の情報が必要な場合にのみご連絡します。"
+
+msgid "Something else"
+msgstr "その他"
+
msgid "Something went wrong"
msgstr "問題が発生しました"
@@ -14035,6 +14080,9 @@ msgstr "ソースパス(インポートパスではありません)"
msgid "Sources"
msgstr "Sources"
+msgid "Spam or a scam"
+msgstr "スパムまたは詐欺"
+
msgid "Sparse checkout"
msgstr "スパースチェックアウト"
@@ -14900,6 +14948,9 @@ msgstr "ティアダウンが{seconds}秒でタイムアウトしました"
msgid "Tell any agent to use the <0>superset0> CLI to spin up workspaces, run tasks, or manage automations."
msgstr "任意のエージェントに<0>superset0> CLIを使わせて、ワークスペースの作成、タスクの実行、オートメーションの管理ができます。"
+msgid "Tell us what is wrong with it. Reporting does not remove the page on its own."
+msgstr "どこに問題があるか教えてください。報告しただけでページが削除されることはありません。"
+
msgid "Ten parallel workstreams running, each landing merged work"
msgstr "10本の並列作業がそれぞれ成果をマージします"
@@ -14993,6 +15044,9 @@ msgstr "Textarea"
msgid "Thanks for reaching out"
msgstr "お問い合わせありがとうございます"
+msgid "Thanks, we got it"
+msgstr "ありがとうございます。受け付けました"
+
msgid "That {plugin} sign-in link expired. Try connecting again."
msgstr "{plugin} のサインインリンクの有効期限が切れました。もう一度接続してください。"
@@ -15513,6 +15567,12 @@ msgstr "このページはありません"
msgid "This page no longer exists"
msgstr "このページは存在しません"
+msgid "This page was published by a Superset user. Its contents are unverified."
+msgstr "このページは Superset のユーザーが公開したものです。内容は検証されていません。"
+
+msgid "This page was taken down and can no longer be changed"
+msgstr "このページは公開停止されたため、変更できません"
+
msgid "This path exists, but it is not a directory."
msgstr "このパスは存在しますが、ディレクトリではありません。"
@@ -15787,6 +15847,9 @@ msgstr "同時に閲覧している人が多すぎます。しばらくしてか
msgid "Too many prompt submissions. Try again later."
msgstr "プロンプトの送信が多すぎます。しばらくしてからお試しください。"
+msgid "Too many reports. Try again later."
+msgstr "報告が多すぎます。後でもう一度お試しください。"
+
msgid "Too many requests. Please try again later."
msgstr "リクエストが多すぎます。しばらくしてからお試しください。"
@@ -16547,6 +16610,9 @@ msgstr "GitHubでSupersetのリポジトリを見る"
msgid "View usage"
msgstr "使用量を表示"
+msgid "Violence or harassment"
+msgstr "暴力または嫌がらせ"
+
msgid "Visitors"
msgstr "訪問者"
@@ -16757,6 +16823,9 @@ msgstr "新しいSupersetへようこそ"
msgid "What builders say about Superset"
msgstr "ビルダーが語るSuperset"
+msgid "What did you see on the page?"
+msgstr "ページで何を見ましたか?"
+
msgid "What do you want to do?"
msgstr "何をしますか?"
@@ -16775,6 +16844,9 @@ msgstr "ワークスペースとは?"
msgid "What is Superset Enterprise?"
msgstr "Superset Enterpriseとは何ですか?"
+msgid "What is wrong?"
+msgstr "何が問題ですか?"
+
msgid "What platforms does Superset run on?"
msgstr "Supersetはどのプラットフォームで動きますか?"
@@ -17227,6 +17299,9 @@ msgstr "最新の状態です!"
msgid "You've been invited to join {organization}"
msgstr "{organization}への招待が届いています"
+msgid "you@example.com"
+msgstr "you@example.com"
+
msgid "Your account is deactivated and will be permanently deleted soon. Reactivate to restore it exactly as you left it."
msgstr "アカウントは無効化されており、まもなく完全に削除されます。再有効化すると元の状態に戻ります。"
@@ -17251,6 +17326,9 @@ msgstr "コードは既定でローカルに留まり、連携するサービス
msgid "Your download starts automatically. If it didn't, grab it here."
msgstr "ダウンロードは自動的に開始されます。開始されない場合はこちらから取得してください。"
+msgid "Your email (optional)"
+msgstr "メールアドレス(任意)"
+
msgid "Your GitHub account cannot reach a repository in this environment"
msgstr "あなたの GitHub アカウントはこの環境のリポジトリにアクセスできません"
diff --git a/packages/i18n/locales/ko/messages.po b/packages/i18n/locales/ko/messages.po
index 539ba2d858d..5724b0d13ae 100644
--- a/packages/i18n/locales/ko/messages.po
+++ b/packages/i18n/locales/ko/messages.po
@@ -2029,6 +2029,9 @@ msgstr "링크가 있는 모든 사용자"
msgid "anything"
msgstr "모든 내용"
+msgid "Anything else? (optional)"
+msgstr "그 밖에 알려줄 내용이 있나요? (선택)"
+
msgid "AP"
msgstr "AP"
@@ -4189,6 +4192,9 @@ msgstr "다른 브라우저의 방문 기록과 로그인 정보를 Superset으
msgid "Copy your key now — you won't be able to see it again."
msgstr "지금 키를 복사하세요 — 다시 볼 수 없습니다."
+msgid "Copyright or trademark"
+msgstr "저작권 또는 상표"
+
msgid "Cost"
msgstr "비용"
@@ -7525,6 +7531,9 @@ msgstr "유휴 · 브랜치 푸시됨"
msgid "If you're enjoying Superset so far, a GitHub star helps other developers discover it."
msgstr "지금까지 Superset이 마음에 드셨다면 GitHub 스타가 다른 개발자들이 Superset을 발견하는 데 도움이 됩니다."
+msgid "Illegal content"
+msgstr "불법 콘텐츠"
+
msgid "Image"
msgstr "이미지"
@@ -7548,6 +7557,9 @@ msgstr "{0}의 이미지 미리 보기입니다. 플러스와 마이너스로
msgid "Images"
msgstr "이미지"
+msgid "Impersonates someone"
+msgstr "타인 사칭"
+
msgid "Import"
msgstr "가져오기"
@@ -8654,6 +8666,9 @@ msgstr "칩 스타일을 TooltipContent 기본값으로 만들기"
msgid "Makes the Run button launch this terminal script for matching projects."
msgstr "해당하는 프로젝트에서 실행 버튼이 이 터미널 스크립트를 실행하도록 합니다."
+msgid "Malware or phishing"
+msgstr "악성코드 또는 피싱"
+
msgid "Manage"
msgstr "관리"
@@ -10911,6 +10926,9 @@ msgstr "페이지를 찾을 수 없습니다"
msgid "Page Not Found"
msgstr "페이지를 찾을 수 없음"
+msgid "Page report rate limiting is not configured"
+msgstr "페이지 신고 속도 제한이 설정되지 않았습니다"
+
msgid "Page title"
msgstr "페이지 제목"
@@ -11125,6 +11143,9 @@ msgstr "상위 디렉터리를 선택하세요"
msgid "Pick a project location"
msgstr "프로젝트 위치를 선택하세요"
+msgid "Pick a reason"
+msgstr "사유를 선택하세요"
+
msgid "Pick a sound or add your own. Custom audio supports .mp3, .wav, and .ogg."
msgstr "소리를 고르거나 직접 추가하세요. 사용자 지정 오디오는 .mp3, .wav, .ogg를 지원합니다."
@@ -12249,9 +12270,21 @@ msgstr "{replyingTo}님에게 답글 작성 중"
msgid "repo"
msgstr "리포"
+msgid "Report"
+msgstr "신고"
+
msgid "Report Issue"
msgstr "문제 신고"
+msgid "Report not found"
+msgstr "신고를 찾을 수 없습니다"
+
+msgid "Report this page"
+msgstr "이 페이지 신고"
+
+msgid "Reporting is briefly unavailable. Try again shortly."
+msgstr "신고 기능을 잠시 사용할 수 없습니다. 잠시 후 다시 시도해 주세요."
+
msgid "Repos"
msgstr "리포"
@@ -13348,6 +13381,9 @@ msgstr "메시지 보내기"
msgid "Send reply"
msgstr "답글 보내기"
+msgid "Send report"
+msgstr "신고 보내기"
+
msgid "Send review"
msgstr "리뷰 보내기"
@@ -13514,6 +13550,9 @@ msgstr "설정"
msgid "Setup script"
msgstr "설정 스크립트"
+msgid "Sexual content"
+msgstr "성적인 콘텐츠"
+
msgid "shadcn/ui tooltip recipe"
msgstr "shadcn/ui 툴팁 레시피"
@@ -13987,6 +14026,12 @@ msgstr "일부 트리거에는 추가 설정이 필요합니다"
msgid "serverError.page.entryPathHeldByColleague"
msgstr "다른 사람이 이 워크스페이스의 {entryPath}를 이미 게시했습니다. 페이지 ID를 명시해 그 페이지에 버전을 추가하거나 파일을 옮기세요."
+msgid "Someone on the Superset team will review this page. We only follow up if we need more from you."
+msgstr "Superset 팀이 이 페이지를 검토합니다. 추가 정보가 필요할 때만 연락드립니다."
+
+msgid "Something else"
+msgstr "기타"
+
msgid "Something went wrong"
msgstr "문제가 발생했습니다"
@@ -14035,6 +14080,9 @@ msgstr "소스 경로 (임포트 아님)"
msgid "Sources"
msgstr "출처"
+msgid "Spam or a scam"
+msgstr "스팸 또는 사기"
+
msgid "Sparse checkout"
msgstr "스파스 체크아웃"
@@ -14900,6 +14948,9 @@ msgstr "정리 스크립트가 {seconds}초 후 시간 초과되었습니다"
msgid "Tell any agent to use the <0>superset0> CLI to spin up workspaces, run tasks, or manage automations."
msgstr "어떤 에이전트에게든 <0>superset0> CLI로 워크스페이스를 띄우거나 작업을 실행하거나 자동화를 관리하라고 지시하세요."
+msgid "Tell us what is wrong with it. Reporting does not remove the page on its own."
+msgstr "무엇이 문제인지 알려주세요. 신고만으로 페이지가 삭제되지는 않습니다."
+
msgid "Ten parallel workstreams running, each landing merged work"
msgstr "10개의 병렬 작업 흐름이 각각 병합된 결과를 만듭니다"
@@ -14993,6 +15044,9 @@ msgstr "텍스트 영역"
msgid "Thanks for reaching out"
msgstr "연락해 주셔서 감사합니다"
+msgid "Thanks, we got it"
+msgstr "감사합니다. 접수되었습니다"
+
msgid "That {plugin} sign-in link expired. Try connecting again."
msgstr "해당 {plugin} 로그인 링크가 만료되었습니다. 다시 연결해 보세요."
@@ -15513,6 +15567,12 @@ msgstr "이 페이지는 여기에 없습니다"
msgid "This page no longer exists"
msgstr "이 페이지는 더 이상 존재하지 않습니다"
+msgid "This page was published by a Superset user. Its contents are unverified."
+msgstr "이 페이지는 Superset 사용자가 게시했습니다. 내용은 검증되지 않았습니다."
+
+msgid "This page was taken down and can no longer be changed"
+msgstr "이 페이지는 게시가 중단되어 더 이상 변경할 수 없습니다"
+
msgid "This path exists, but it is not a directory."
msgstr "이 경로는 있지만 디렉터리가 아닙니다."
@@ -15787,6 +15847,9 @@ msgstr "동시에 보는 사람이 너무 많습니다. 잠시 후 다시 시도
msgid "Too many prompt submissions. Try again later."
msgstr "프롬프트 제출이 너무 많습니다. 나중에 다시 시도하세요."
+msgid "Too many reports. Try again later."
+msgstr "신고가 너무 많습니다. 나중에 다시 시도해 주세요."
+
msgid "Too many requests. Please try again later."
msgstr "요청이 너무 많습니다. 잠시 후 다시 시도해 주세요."
@@ -16547,6 +16610,9 @@ msgstr "GitHub에서 Superset 리포지토리 보기"
msgid "View usage"
msgstr "사용량 보기"
+msgid "Violence or harassment"
+msgstr "폭력 또는 괴롭힘"
+
msgid "Visitors"
msgstr "방문자"
@@ -16757,6 +16823,9 @@ msgstr "새로운 Superset에 오신 것을 환영합니다"
msgid "What builders say about Superset"
msgstr "빌더들이 말하는 Superset"
+msgid "What did you see on the page?"
+msgstr "페이지에서 무엇을 보셨나요?"
+
msgid "What do you want to do?"
msgstr "무엇을 하고 싶으신가요?"
@@ -16775,6 +16844,9 @@ msgstr "워크스페이스란 무엇인가요?"
msgid "What is Superset Enterprise?"
msgstr "Superset Enterprise란 무엇인가요?"
+msgid "What is wrong?"
+msgstr "무엇이 문제인가요?"
+
msgid "What platforms does Superset run on?"
msgstr "Superset은 어떤 플랫폼에서 실행되나요?"
@@ -17227,6 +17299,9 @@ msgstr "최신 상태입니다!"
msgid "You've been invited to join {organization}"
msgstr "{organization}에 초대되었습니다"
+msgid "you@example.com"
+msgstr "you@example.com"
+
msgid "Your account is deactivated and will be permanently deleted soon. Reactivate to restore it exactly as you left it."
msgstr "계정이 비활성화되었으며 곧 영구적으로 삭제됩니다. 다시 활성화하면 이전 상태 그대로 복원됩니다."
@@ -17251,6 +17326,9 @@ msgstr "코드는 기본적으로 로컬에 머물고, 연결된 서비스는
msgid "Your download starts automatically. If it didn't, grab it here."
msgstr "다운로드가 자동으로 시작됩니다. 시작되지 않으면 여기서 받으세요."
+msgid "Your email (optional)"
+msgstr "이메일 주소 (선택)"
+
msgid "Your GitHub account cannot reach a repository in this environment"
msgstr "GitHub 계정이 이 환경의 리포지토리에 접근할 수 없습니다"
diff --git a/packages/i18n/locales/nl/messages.po b/packages/i18n/locales/nl/messages.po
index 35a988a7160..e4245181f80 100644
--- a/packages/i18n/locales/nl/messages.po
+++ b/packages/i18n/locales/nl/messages.po
@@ -2029,6 +2029,9 @@ msgstr "Iedereen met de link"
msgid "anything"
msgstr "wat dan ook"
+msgid "Anything else? (optional)"
+msgstr "Nog iets? (optioneel)"
+
msgid "AP"
msgstr "AP"
@@ -4189,6 +4192,9 @@ msgstr "Kopieer je browsegeschiedenis en logins uit een andere browser naar Supe
msgid "Copy your key now — you won't be able to see it again."
msgstr "Kopieer je sleutel nu — je kunt hem later niet meer zien."
+msgid "Copyright or trademark"
+msgstr "Auteursrecht of handelsmerk"
+
msgid "Cost"
msgstr "Kosten"
@@ -7525,6 +7531,9 @@ msgstr "Inactief · branch gepusht"
msgid "If you're enjoying Superset so far, a GitHub star helps other developers discover it."
msgstr "Als Superset je tot nu toe bevalt, helpt een GitHub-ster andere ontwikkelaars het te ontdekken."
+msgid "Illegal content"
+msgstr "Illegale inhoud"
+
msgid "Image"
msgstr "Afbeelding"
@@ -7548,6 +7557,9 @@ msgstr "Voorbeeld van afbeelding {0}. Zoom met plus en min, verschuif met de pij
msgid "Images"
msgstr "Afbeeldingen"
+msgid "Impersonates someone"
+msgstr "Doet zich voor als iemand anders"
+
msgid "Import"
msgstr "Importeren"
@@ -8654,6 +8666,9 @@ msgstr "Maak de chipstijl de standaard voor TooltipContent"
msgid "Makes the Run button launch this terminal script for matching projects."
msgstr "Laat de knop Uitvoeren dit terminalscript starten voor overeenkomende projecten."
+msgid "Malware or phishing"
+msgstr "Malware of phishing"
+
msgid "Manage"
msgstr "Beheren"
@@ -10911,6 +10926,9 @@ msgstr "Pagina niet gevonden"
msgid "Page Not Found"
msgstr "Pagina niet gevonden"
+msgid "Page report rate limiting is not configured"
+msgstr "Rate limiting voor paginarapportages is niet geconfigureerd"
+
msgid "Page title"
msgstr "Paginatitel"
@@ -11125,6 +11143,9 @@ msgstr "Kies een bovenliggende map"
msgid "Pick a project location"
msgstr "Kies een projectlocatie"
+msgid "Pick a reason"
+msgstr "Kies een reden"
+
msgid "Pick a sound or add your own. Custom audio supports .mp3, .wav, and .ogg."
msgstr "Kies een geluid of voeg je eigen toe. Eigen audio ondersteunt .mp3, .wav en .ogg."
@@ -12249,9 +12270,21 @@ msgstr "Antwoord aan {replyingTo}"
msgid "repo"
msgstr "repo"
+msgid "Report"
+msgstr "Melden"
+
msgid "Report Issue"
msgstr "Probleem melden"
+msgid "Report not found"
+msgstr "Melding niet gevonden"
+
+msgid "Report this page"
+msgstr "Deze pagina melden"
+
+msgid "Reporting is briefly unavailable. Try again shortly."
+msgstr "Melden is even niet beschikbaar. Probeer het zo opnieuw."
+
msgid "Repos"
msgstr "Repo's"
@@ -13348,6 +13381,9 @@ msgstr "Bericht versturen"
msgid "Send reply"
msgstr "Antwoord versturen"
+msgid "Send report"
+msgstr "Melding versturen"
+
msgid "Send review"
msgstr "Review versturen"
@@ -13514,6 +13550,9 @@ msgstr "Setup"
msgid "Setup script"
msgstr "Setup-script"
+msgid "Sexual content"
+msgstr "Seksuele inhoud"
+
msgid "shadcn/ui tooltip recipe"
msgstr "shadcn/ui tooltip-recept"
@@ -13987,6 +14026,12 @@ msgstr "Sommige triggers hebben extra configuratie nodig"
msgid "serverError.page.entryPathHeldByColleague"
msgstr "Iemand anders heeft {entryPath} vanuit deze workspace al gepubliceerd. Publiceer met een expliciet pagina-id om een versie aan hun pagina toe te voegen, of verplaats het bestand."
+msgid "Someone on the Superset team will review this page. We only follow up if we need more from you."
+msgstr "Iemand van het Superset-team beoordeelt deze pagina. We nemen alleen contact op als we meer van je nodig hebben."
+
+msgid "Something else"
+msgstr "Iets anders"
+
msgid "Something went wrong"
msgstr "Er is iets misgegaan"
@@ -14035,6 +14080,9 @@ msgstr "Bronpad (geen import)"
msgid "Sources"
msgstr "Bronnen"
+msgid "Spam or a scam"
+msgstr "Spam of oplichting"
+
msgid "Sparse checkout"
msgstr "Sparse checkout"
@@ -14900,6 +14948,9 @@ msgstr "Teardown is na {seconds}s verlopen"
msgid "Tell any agent to use the <0>superset0> CLI to spin up workspaces, run tasks, or manage automations."
msgstr "Vraag elke agent om de <0>superset0>-CLI te gebruiken om werkruimtes op te zetten, taken uit te voeren of automatiseringen te beheren."
+msgid "Tell us what is wrong with it. Reporting does not remove the page on its own."
+msgstr "Vertel ons wat eraan mankeert. Een melding verwijdert de pagina niet vanzelf."
+
msgid "Ten parallel workstreams running, each landing merged work"
msgstr "Tien parallelle werkstromen die elk samengevoegd werk opleveren"
@@ -14993,6 +15044,9 @@ msgstr "Textarea"
msgid "Thanks for reaching out"
msgstr "Bedankt voor je bericht"
+msgid "Thanks, we got it"
+msgstr "Bedankt, we hebben het ontvangen"
+
msgid "That {plugin} sign-in link expired. Try connecting again."
msgstr "Die aanmeldlink voor {plugin} is verlopen. Probeer opnieuw verbinding te maken."
@@ -15513,6 +15567,12 @@ msgstr "Deze pagina staat hier niet"
msgid "This page no longer exists"
msgstr "Deze pagina bestaat niet meer"
+msgid "This page was published by a Superset user. Its contents are unverified."
+msgstr "Deze pagina is gepubliceerd door een Superset-gebruiker. De inhoud is niet geverifieerd."
+
+msgid "This page was taken down and can no longer be changed"
+msgstr "Deze pagina is offline gehaald en kan niet meer worden gewijzigd"
+
msgid "This path exists, but it is not a directory."
msgstr "Dit pad bestaat, maar is geen map."
@@ -15787,6 +15847,9 @@ msgstr "Te veel mensen bekijken het tegelijk. Probeer het zo opnieuw."
msgid "Too many prompt submissions. Try again later."
msgstr "Te veel promptinzendingen. Probeer het later opnieuw."
+msgid "Too many reports. Try again later."
+msgstr "Te veel meldingen. Probeer het later opnieuw."
+
msgid "Too many requests. Please try again later."
msgstr "Te veel verzoeken. Probeer het later opnieuw."
@@ -16547,6 +16610,9 @@ msgstr "Superset-repository bekijken op GitHub"
msgid "View usage"
msgstr "Gebruik bekijken"
+msgid "Violence or harassment"
+msgstr "Geweld of intimidatie"
+
msgid "Visitors"
msgstr "Bezoekers"
@@ -16757,6 +16823,9 @@ msgstr "Welkom bij het nieuwe Superset"
msgid "What builders say about Superset"
msgstr "Wat bouwers over Superset zeggen"
+msgid "What did you see on the page?"
+msgstr "Wat heb je op de pagina gezien?"
+
msgid "What do you want to do?"
msgstr "Wat wil je doen?"
@@ -16775,6 +16844,9 @@ msgstr "Wat is een werkruimte?"
msgid "What is Superset Enterprise?"
msgstr "Wat is Superset Enterprise?"
+msgid "What is wrong?"
+msgstr "Wat is er mis?"
+
msgid "What platforms does Superset run on?"
msgstr "Op welke platforms draait Superset?"
@@ -17227,6 +17299,9 @@ msgstr "Je bent up-to-date!"
msgid "You've been invited to join {organization}"
msgstr "Je bent uitgenodigd voor {organization}"
+msgid "you@example.com"
+msgstr "you@example.com"
+
msgid "Your account is deactivated and will be permanently deleted soon. Reactivate to restore it exactly as you left it."
msgstr "Je account is gedeactiveerd en wordt binnenkort definitief verwijderd. Reactiveer het om alles terug te krijgen zoals je het achterliet."
@@ -17251,6 +17326,9 @@ msgstr "Je code blijft standaard lokaal, met expliciete controle over gekoppelde
msgid "Your download starts automatically. If it didn't, grab it here."
msgstr "Je download start automatisch. Gebeurt dat niet, download dan hier."
+msgid "Your email (optional)"
+msgstr "Je e-mailadres (optioneel)"
+
msgid "Your GitHub account cannot reach a repository in this environment"
msgstr "Je GitHub-account kan een repository van deze omgeving niet bereiken"
diff --git a/packages/i18n/locales/pl/messages.po b/packages/i18n/locales/pl/messages.po
index 495b2bd5f59..c3633b2e04f 100644
--- a/packages/i18n/locales/pl/messages.po
+++ b/packages/i18n/locales/pl/messages.po
@@ -2029,6 +2029,9 @@ msgstr "Każdy, kto ma link"
msgid "anything"
msgstr "cokolwiek"
+msgid "Anything else? (optional)"
+msgstr "Coś jeszcze? (opcjonalnie)"
+
msgid "AP"
msgstr "AP"
@@ -4189,6 +4192,9 @@ msgstr "Skopiuj historię przeglądania i dane logowania z innej przeglądarki d
msgid "Copy your key now — you won't be able to see it again."
msgstr "Skopiuj klucz teraz — nie zobaczysz go ponownie."
+msgid "Copyright or trademark"
+msgstr "Prawa autorskie lub znak towarowy"
+
msgid "Cost"
msgstr "Koszt"
@@ -7525,6 +7531,9 @@ msgstr "Bezczynny · gałąź wypchnięta"
msgid "If you're enjoying Superset so far, a GitHub star helps other developers discover it."
msgstr "Jeśli Superset przypadł Ci do gustu, gwiazdka na GitHub pomoże innym programistom go odkryć."
+msgid "Illegal content"
+msgstr "Nielegalne treści"
+
msgid "Image"
msgstr "Obraz"
@@ -7548,6 +7557,9 @@ msgstr "Podgląd obrazu {0}. Powiększaj plusem i minusem, przesuwaj strzałkami
msgid "Images"
msgstr "Obrazy"
+msgid "Impersonates someone"
+msgstr "Podszywa się pod kogoś"
+
msgid "Import"
msgstr "Importuj"
@@ -8654,6 +8666,9 @@ msgstr "Ustaw styl chipa jako domyślny dla TooltipContent"
msgid "Makes the Run button launch this terminal script for matching projects."
msgstr "Sprawia, że przycisk Uruchom startuje ten skrypt terminala w pasujących projektach."
+msgid "Malware or phishing"
+msgstr "Złośliwe oprogramowanie lub phishing"
+
msgid "Manage"
msgstr "Zarządzaj"
@@ -10911,6 +10926,9 @@ msgstr "Nie znaleziono strony"
msgid "Page Not Found"
msgstr "Nie znaleziono strony"
+msgid "Page report rate limiting is not configured"
+msgstr "Limit zgłoszeń stron nie jest skonfigurowany"
+
msgid "Page title"
msgstr "Tytuł strony"
@@ -11125,6 +11143,9 @@ msgstr "Wybierz katalog nadrzędny"
msgid "Pick a project location"
msgstr "Wybierz lokalizację projektu"
+msgid "Pick a reason"
+msgstr "Wybierz powód"
+
msgid "Pick a sound or add your own. Custom audio supports .mp3, .wav, and .ogg."
msgstr "Wybierz dźwięk albo dodaj własny. Obsługiwane formaty własnych plików: .mp3, .wav i .ogg."
@@ -12249,9 +12270,21 @@ msgstr "Odpowiadasz: {replyingTo}"
msgid "repo"
msgstr "repo"
+msgid "Report"
+msgstr "Zgłoś"
+
msgid "Report Issue"
msgstr "Zgłoś problem"
+msgid "Report not found"
+msgstr "Nie znaleziono zgłoszenia"
+
+msgid "Report this page"
+msgstr "Zgłoś tę stronę"
+
+msgid "Reporting is briefly unavailable. Try again shortly."
+msgstr "Zgłaszanie jest chwilowo niedostępne. Spróbuj ponownie za chwilę."
+
msgid "Repos"
msgstr "Repozytoria"
@@ -13348,6 +13381,9 @@ msgstr "Wyślij wiadomość"
msgid "Send reply"
msgstr "Wyślij odpowiedź"
+msgid "Send report"
+msgstr "Wyślij zgłoszenie"
+
msgid "Send review"
msgstr "Wyślij przegląd"
@@ -13514,6 +13550,9 @@ msgstr "Konfiguracja"
msgid "Setup script"
msgstr "Skrypt konfiguracyjny"
+msgid "Sexual content"
+msgstr "Treści seksualne"
+
msgid "shadcn/ui tooltip recipe"
msgstr "przepis na tooltip z shadcn/ui"
@@ -13987,6 +14026,12 @@ msgstr "Część wyzwalaczy wymaga dodatkowej konfiguracji"
msgid "serverError.page.entryPathHeldByColleague"
msgstr "Ktoś inny opublikował już {entryPath} z tego workspace. Opublikuj z jawnym identyfikatorem strony, aby dodać wersję do jego strony, albo przenieś plik."
+msgid "Someone on the Superset team will review this page. We only follow up if we need more from you."
+msgstr "Ktoś z zespołu Superset sprawdzi tę stronę. Odezwiemy się tylko wtedy, gdy będziemy potrzebować więcej informacji."
+
+msgid "Something else"
+msgstr "Coś innego"
+
msgid "Something went wrong"
msgstr "Coś poszło nie tak"
@@ -14035,6 +14080,9 @@ msgstr "Ścieżka źródłowa (nie import)"
msgid "Sources"
msgstr "Źródła"
+msgid "Spam or a scam"
+msgstr "Spam lub oszustwo"
+
msgid "Sparse checkout"
msgstr "Sparse checkout"
@@ -14900,6 +14948,9 @@ msgstr "Sprzątanie przekroczyło limit {seconds} s"
msgid "Tell any agent to use the <0>superset0> CLI to spin up workspaces, run tasks, or manage automations."
msgstr "Poproś dowolnego agenta, aby użył CLI <0>superset0> do tworzenia obszarów roboczych, uruchamiania zadań lub zarządzania automatyzacjami."
+msgid "Tell us what is wrong with it. Reporting does not remove the page on its own."
+msgstr "Napisz, co jest nie tak. Samo zgłoszenie nie usuwa strony."
+
msgid "Ten parallel workstreams running, each landing merged work"
msgstr "Dziesięć równoległych strumieni pracy, z których każdy dostarcza scalone zmiany"
@@ -14993,6 +15044,9 @@ msgstr "Textarea"
msgid "Thanks for reaching out"
msgstr "Dziękujemy za kontakt"
+msgid "Thanks, we got it"
+msgstr "Dzięki, mamy to"
+
msgid "That {plugin} sign-in link expired. Try connecting again."
msgstr "Ten link logowania do {plugin} wygasł. Spróbuj połączyć się ponownie."
@@ -15513,6 +15567,12 @@ msgstr "Nie ma tu tej strony"
msgid "This page no longer exists"
msgstr "Ta strona już nie istnieje"
+msgid "This page was published by a Superset user. Its contents are unverified."
+msgstr "Tę stronę opublikował użytkownik Superset. Jej treść nie jest zweryfikowana."
+
+msgid "This page was taken down and can no longer be changed"
+msgstr "Ta strona została usunięta i nie można jej już zmieniać"
+
msgid "This path exists, but it is not a directory."
msgstr "Ta ścieżka istnieje, ale nie jest katalogiem."
@@ -15787,6 +15847,9 @@ msgstr "Zbyt wiele osób ogląda go jednocześnie. Spróbuj ponownie za chwilę.
msgid "Too many prompt submissions. Try again later."
msgstr "Zbyt wiele wysłanych promptów. Spróbuj ponownie później."
+msgid "Too many reports. Try again later."
+msgstr "Zbyt wiele zgłoszeń. Spróbuj ponownie później."
+
msgid "Too many requests. Please try again later."
msgstr "Zbyt wiele żądań. Spróbuj ponownie później."
@@ -16547,6 +16610,9 @@ msgstr "Zobacz repozytorium Superset na GitHub"
msgid "View usage"
msgstr "Zobacz zużycie"
+msgid "Violence or harassment"
+msgstr "Przemoc lub nękanie"
+
msgid "Visitors"
msgstr "Odwiedzający"
@@ -16757,6 +16823,9 @@ msgstr "Witaj w nowym Superset"
msgid "What builders say about Superset"
msgstr "Co twórcy mówią o Superset"
+msgid "What did you see on the page?"
+msgstr "Co zobaczyłeś na tej stronie?"
+
msgid "What do you want to do?"
msgstr "Co chcesz zrobić?"
@@ -16775,6 +16844,9 @@ msgstr "Czym jest obszar roboczy?"
msgid "What is Superset Enterprise?"
msgstr "Czym jest Superset Enterprise?"
+msgid "What is wrong?"
+msgstr "Co jest nie tak?"
+
msgid "What platforms does Superset run on?"
msgstr "Na jakich platformach działa Superset?"
@@ -17227,6 +17299,9 @@ msgstr "Wszystko aktualne!"
msgid "You've been invited to join {organization}"
msgstr "Zaproszono Cię do {organization}"
+msgid "you@example.com"
+msgstr "you@example.com"
+
msgid "Your account is deactivated and will be permanently deleted soon. Reactivate to restore it exactly as you left it."
msgstr "Konto jest dezaktywowane i wkrótce zostanie trwale usunięte. Reaktywuj je, aby przywrócić dokładnie taki stan jak przedtem."
@@ -17251,6 +17326,9 @@ msgstr "Twój kod domyślnie zostaje lokalnie, z jawną kontrolą nad podłączo
msgid "Your download starts automatically. If it didn't, grab it here."
msgstr "Pobieranie rozpocznie się automatycznie. Jeśli nie ruszyło, pobierz tutaj."
+msgid "Your email (optional)"
+msgstr "Twój adres e-mail (opcjonalnie)"
+
msgid "Your GitHub account cannot reach a repository in this environment"
msgstr "Twoje konto GitHub nie ma dostępu do repozytorium w tym środowisku"
diff --git a/packages/i18n/locales/pt-BR/messages.po b/packages/i18n/locales/pt-BR/messages.po
index 381df08acba..21e2573cb91 100644
--- a/packages/i18n/locales/pt-BR/messages.po
+++ b/packages/i18n/locales/pt-BR/messages.po
@@ -2029,6 +2029,9 @@ msgstr "Qualquer pessoa com o link"
msgid "anything"
msgstr "qualquer coisa"
+msgid "Anything else? (optional)"
+msgstr "Mais alguma coisa? (opcional)"
+
msgid "AP"
msgstr "AP"
@@ -4189,6 +4192,9 @@ msgstr "Copie seu histórico de navegação e seus logins de outro navegador par
msgid "Copy your key now — you won't be able to see it again."
msgstr "Copie sua chave agora — você não vai poder vê-la de novo."
+msgid "Copyright or trademark"
+msgstr "Direitos autorais ou marca registrada"
+
msgid "Cost"
msgstr "Custo"
@@ -7525,6 +7531,9 @@ msgstr "Ocioso · push da branch feito"
msgid "If you're enjoying Superset so far, a GitHub star helps other developers discover it."
msgstr "Se você está curtindo o Superset até aqui, uma estrela no GitHub ajuda outras pessoas a descobri-lo."
+msgid "Illegal content"
+msgstr "Conteúdo ilegal"
+
msgid "Image"
msgstr "Imagem"
@@ -7548,6 +7557,9 @@ msgstr "Prévia da imagem de {0}. Dê zoom com mais e menos, mova com as setas,
msgid "Images"
msgstr "Imagens"
+msgid "Impersonates someone"
+msgstr "Finge ser outra pessoa"
+
msgid "Import"
msgstr "Importar"
@@ -8654,6 +8666,9 @@ msgstr "Tornar o estilo de chip o padrão do TooltipContent"
msgid "Makes the Run button launch this terminal script for matching projects."
msgstr "Faz o botão Executar lançar este script de terminal nos projetos correspondentes."
+msgid "Malware or phishing"
+msgstr "Malware ou phishing"
+
msgid "Manage"
msgstr "Gerenciar"
@@ -10911,6 +10926,9 @@ msgstr "Página não encontrada"
msgid "Page Not Found"
msgstr "Página não encontrada"
+msgid "Page report rate limiting is not configured"
+msgstr "O limite de taxa de denúncias de página não está configurado"
+
msgid "Page title"
msgstr "Título da página"
@@ -11125,6 +11143,9 @@ msgstr "Escolha um diretório pai"
msgid "Pick a project location"
msgstr "Escolha um local para o projeto"
+msgid "Pick a reason"
+msgstr "Escolha um motivo"
+
msgid "Pick a sound or add your own. Custom audio supports .mp3, .wav, and .ogg."
msgstr "Escolha um som ou adicione o seu. O áudio próprio aceita .mp3, .wav e .ogg."
@@ -12249,9 +12270,21 @@ msgstr "Respondendo a {replyingTo}"
msgid "repo"
msgstr "repo"
+msgid "Report"
+msgstr "Denunciar"
+
msgid "Report Issue"
msgstr "Relatar problema"
+msgid "Report not found"
+msgstr "Denúncia não encontrada"
+
+msgid "Report this page"
+msgstr "Denunciar esta página"
+
+msgid "Reporting is briefly unavailable. Try again shortly."
+msgstr "As denúncias estão indisponíveis por um instante. Tente novamente em breve."
+
msgid "Repos"
msgstr "Repositórios"
@@ -13348,6 +13381,9 @@ msgstr "Enviar mensagem"
msgid "Send reply"
msgstr "Enviar resposta"
+msgid "Send report"
+msgstr "Enviar denúncia"
+
msgid "Send review"
msgstr "Enviar revisão"
@@ -13514,6 +13550,9 @@ msgstr "Setup"
msgid "Setup script"
msgstr "Script de setup"
+msgid "Sexual content"
+msgstr "Conteúdo sexual"
+
msgid "shadcn/ui tooltip recipe"
msgstr "receita de tooltip do shadcn/ui"
@@ -13987,6 +14026,12 @@ msgstr "Alguns gatilhos precisam de configuração adicional"
msgid "serverError.page.entryPathHeldByColleague"
msgstr "Outra pessoa já publicou {entryPath} deste workspace. Publique com um id de página explícito para adicionar uma versão à página dela, ou mova o arquivo."
+msgid "Someone on the Superset team will review this page. We only follow up if we need more from you."
+msgstr "Alguém da equipe Superset vai analisar esta página. Só entraremos em contato se precisarmos de mais informações."
+
+msgid "Something else"
+msgstr "Outra coisa"
+
msgid "Something went wrong"
msgstr "Algo deu errado"
@@ -14035,6 +14080,9 @@ msgstr "Caminho do fonte (não é um import)"
msgid "Sources"
msgstr "Fontes"
+msgid "Spam or a scam"
+msgstr "Spam ou golpe"
+
msgid "Sparse checkout"
msgstr "Sparse checkout"
@@ -14900,6 +14948,9 @@ msgstr "O teardown expirou depois de {seconds}s"
msgid "Tell any agent to use the <0>superset0> CLI to spin up workspaces, run tasks, or manage automations."
msgstr "Peça a qualquer agente para usar a CLI <0>superset0> para criar áreas de trabalho, executar tarefas ou gerenciar automações."
+msgid "Tell us what is wrong with it. Reporting does not remove the page on its own."
+msgstr "Conte o que há de errado. Denunciar não remove a página por si só."
+
msgid "Ten parallel workstreams running, each landing merged work"
msgstr "Dez fluxos de trabalho paralelos, cada um entregando trabalho mesclado"
@@ -14993,6 +15044,9 @@ msgstr "Textarea"
msgid "Thanks for reaching out"
msgstr "Obrigado pelo contato"
+msgid "Thanks, we got it"
+msgstr "Obrigado, recebemos"
+
msgid "That {plugin} sign-in link expired. Try connecting again."
msgstr "Esse link de login do {plugin} expirou. Tente conectar novamente."
@@ -15513,6 +15567,12 @@ msgstr "Esta página não está aqui"
msgid "This page no longer exists"
msgstr "Esta página não existe mais"
+msgid "This page was published by a Superset user. Its contents are unverified."
+msgstr "Esta página foi publicada por um usuário do Superset. O conteúdo não é verificado."
+
+msgid "This page was taken down and can no longer be changed"
+msgstr "Esta página foi removida e não pode mais ser alterada"
+
msgid "This path exists, but it is not a directory."
msgstr "Este caminho existe, mas não é um diretório."
@@ -15787,6 +15847,9 @@ msgstr "Muitas pessoas estão vendo ao mesmo tempo. Tente novamente em instantes
msgid "Too many prompt submissions. Try again later."
msgstr "Muitos envios de prompt. Tente novamente mais tarde."
+msgid "Too many reports. Try again later."
+msgstr "Denúncias em excesso. Tente novamente mais tarde."
+
msgid "Too many requests. Please try again later."
msgstr "Muitas solicitações. Tente novamente mais tarde."
@@ -16547,6 +16610,9 @@ msgstr "Ver o repositório do Superset no GitHub"
msgid "View usage"
msgstr "Ver uso"
+msgid "Violence or harassment"
+msgstr "Violência ou assédio"
+
msgid "Visitors"
msgstr "Visitantes"
@@ -16757,6 +16823,9 @@ msgstr "Boas-vindas ao novo Superset"
msgid "What builders say about Superset"
msgstr "O que quem constrói fala do Superset"
+msgid "What did you see on the page?"
+msgstr "O que você viu na página?"
+
msgid "What do you want to do?"
msgstr "O que você quer fazer?"
@@ -16775,6 +16844,9 @@ msgstr "O que é uma área de trabalho?"
msgid "What is Superset Enterprise?"
msgstr "O que é o Superset Enterprise?"
+msgid "What is wrong?"
+msgstr "Qual é o problema?"
+
msgid "What platforms does Superset run on?"
msgstr "Em quais plataformas o Superset roda?"
@@ -17227,6 +17299,9 @@ msgstr "Tudo em dia!"
msgid "You've been invited to join {organization}"
msgstr "Você foi convidado para entrar em {organization}"
+msgid "you@example.com"
+msgstr "you@example.com"
+
msgid "Your account is deactivated and will be permanently deleted soon. Reactivate to restore it exactly as you left it."
msgstr "Sua conta está desativada e será excluída permanentemente em breve. Reative para restaurá-la exatamente como você deixou."
@@ -17251,6 +17326,9 @@ msgstr "Seu código fica local por padrão, com controle explícito sobre os ser
msgid "Your download starts automatically. If it didn't, grab it here."
msgstr "Seu download começa automaticamente. Se não começou, baixe aqui."
+msgid "Your email (optional)"
+msgstr "Seu e-mail (opcional)"
+
msgid "Your GitHub account cannot reach a repository in this environment"
msgstr "Sua conta do GitHub não consegue acessar um repositório deste ambiente"
diff --git a/packages/i18n/locales/ru/messages.po b/packages/i18n/locales/ru/messages.po
index 3fef4364298..87204abffe1 100644
--- a/packages/i18n/locales/ru/messages.po
+++ b/packages/i18n/locales/ru/messages.po
@@ -2029,6 +2029,9 @@ msgstr "Все, у кого есть ссылка"
msgid "anything"
msgstr "что угодно"
+msgid "Anything else? (optional)"
+msgstr "Что-нибудь ещё? (необязательно)"
+
msgid "AP"
msgstr "AP"
@@ -4189,6 +4192,9 @@ msgstr "Скопируйте историю просмотров и логины
msgid "Copy your key now — you won't be able to see it again."
msgstr "Скопируйте ключ сейчас — увидеть его снова не получится."
+msgid "Copyright or trademark"
+msgstr "Авторские права или товарный знак"
+
msgid "Cost"
msgstr "Стоимость"
@@ -7525,6 +7531,9 @@ msgstr "Простаивает · ветка отправлена"
msgid "If you're enjoying Superset so far, a GitHub star helps other developers discover it."
msgstr "Если Superset вам нравится, звезда на GitHub поможет другим разработчикам его найти."
+msgid "Illegal content"
+msgstr "Незаконный контент"
+
msgid "Image"
msgstr "Изображение"
@@ -7548,6 +7557,9 @@ msgstr "Предпросмотр изображения {0}. Масштаб —
msgid "Images"
msgstr "Изображения"
+msgid "Impersonates someone"
+msgstr "Выдаёт себя за другого"
+
msgid "Import"
msgstr "Импортировать"
@@ -8654,6 +8666,9 @@ msgstr "Сделать стиль чипа значением по умолча
msgid "Makes the Run button launch this terminal script for matching projects."
msgstr "Кнопка «Запустить» будет запускать этот скрипт терминала для подходящих проектов."
+msgid "Malware or phishing"
+msgstr "Вредоносное ПО или фишинг"
+
msgid "Manage"
msgstr "Управлять"
@@ -10911,6 +10926,9 @@ msgstr "Страница не найдена"
msgid "Page Not Found"
msgstr "Страница не найдена"
+msgid "Page report rate limiting is not configured"
+msgstr "Ограничение частоты жалоб на страницы не настроено"
+
msgid "Page title"
msgstr "Заголовок страницы"
@@ -11125,6 +11143,9 @@ msgstr "Выберите родительскую папку"
msgid "Pick a project location"
msgstr "Выберите расположение проекта"
+msgid "Pick a reason"
+msgstr "Выберите причину"
+
msgid "Pick a sound or add your own. Custom audio supports .mp3, .wav, and .ogg."
msgstr "Выберите звук или добавьте свой. Поддерживаются .mp3, .wav и .ogg."
@@ -12249,9 +12270,21 @@ msgstr "Ответ для {replyingTo}"
msgid "repo"
msgstr "репозиторий"
+msgid "Report"
+msgstr "Пожаловаться"
+
msgid "Report Issue"
msgstr "Сообщить о проблеме"
+msgid "Report not found"
+msgstr "Жалоба не найдена"
+
+msgid "Report this page"
+msgstr "Пожаловаться на эту страницу"
+
+msgid "Reporting is briefly unavailable. Try again shortly."
+msgstr "Отправка жалоб временно недоступна. Повторите попытку чуть позже."
+
msgid "Repos"
msgstr "Репозитории"
@@ -13348,6 +13381,9 @@ msgstr "Отправить сообщение"
msgid "Send reply"
msgstr "Отправить ответ"
+msgid "Send report"
+msgstr "Отправить жалобу"
+
msgid "Send review"
msgstr "Отправить ревью"
@@ -13514,6 +13550,9 @@ msgstr "Установка"
msgid "Setup script"
msgstr "Скрипт установки"
+msgid "Sexual content"
+msgstr "Сексуальный контент"
+
msgid "shadcn/ui tooltip recipe"
msgstr "Рецепт tooltip из shadcn/ui"
@@ -13987,6 +14026,12 @@ msgstr "Некоторым триггерам нужна дополнитель
msgid "serverError.page.entryPathHeldByColleague"
msgstr "Кто-то другой уже опубликовал {entryPath} из этого рабочего пространства. Опубликуйте с явным идентификатором страницы, чтобы добавить версию к его странице, или переместите файл."
+msgid "Someone on the Superset team will review this page. We only follow up if we need more from you."
+msgstr "Команда Superset проверит эту страницу. Мы свяжемся с вами, только если понадобится что-то ещё."
+
+msgid "Something else"
+msgstr "Другое"
+
msgid "Something went wrong"
msgstr "Что-то пошло не так"
@@ -14035,6 +14080,9 @@ msgstr "Путь к исходнику (не импорт)"
msgid "Sources"
msgstr "Источники"
+msgid "Spam or a scam"
+msgstr "Спам или мошенничество"
+
msgid "Sparse checkout"
msgstr "Частичная выгрузка"
@@ -14900,6 +14948,9 @@ msgstr "Очистка не уложилась в {seconds} с"
msgid "Tell any agent to use the <0>superset0> CLI to spin up workspaces, run tasks, or manage automations."
msgstr "Попросите любого агента использовать CLI <0>superset0>, чтобы поднимать рабочие области, запускать задачи или управлять автоматизациями."
+msgid "Tell us what is wrong with it. Reporting does not remove the page on its own."
+msgstr "Расскажите, что с ней не так. Сама по себе жалоба страницу не удаляет."
+
msgid "Ten parallel workstreams running, each landing merged work"
msgstr "Десять параллельных рабочих потоков, каждый из которых доводит работу до объединения"
@@ -14993,6 +15044,9 @@ msgstr "Текстовое поле"
msgid "Thanks for reaching out"
msgstr "Спасибо, что написали"
+msgid "Thanks, we got it"
+msgstr "Спасибо, мы получили жалобу"
+
msgid "That {plugin} sign-in link expired. Try connecting again."
msgstr "Срок действия ссылки для входа в {plugin} истёк. Попробуйте подключиться снова."
@@ -15513,6 +15567,12 @@ msgstr "Этой страницы здесь нет"
msgid "This page no longer exists"
msgstr "Этой страницы больше нет"
+msgid "This page was published by a Superset user. Its contents are unverified."
+msgstr "Эту страницу опубликовал пользователь Superset. Её содержимое не проверено."
+
+msgid "This page was taken down and can no longer be changed"
+msgstr "Эта страница снята с публикации и больше не может быть изменена"
+
msgid "This path exists, but it is not a directory."
msgstr "Этот путь существует, но это не папка."
@@ -15787,6 +15847,9 @@ msgstr "Слишком много людей смотрят его одновр
msgid "Too many prompt submissions. Try again later."
msgstr "Слишком много отправленных промптов. Попробуйте позже."
+msgid "Too many reports. Try again later."
+msgstr "Слишком много жалоб. Повторите попытку позже."
+
msgid "Too many requests. Please try again later."
msgstr "Слишком много запросов. Попробуйте позже."
@@ -16547,6 +16610,9 @@ msgstr "Открыть репозиторий Superset на GitHub"
msgid "View usage"
msgstr "Посмотреть использование"
+msgid "Violence or harassment"
+msgstr "Насилие или травля"
+
msgid "Visitors"
msgstr "Посетители"
@@ -16757,6 +16823,9 @@ msgstr "Добро пожаловать в новый Superset"
msgid "What builders say about Superset"
msgstr "Что разработчики говорят о Superset"
+msgid "What did you see on the page?"
+msgstr "Что вы увидели на странице?"
+
msgid "What do you want to do?"
msgstr "Что нужно сделать?"
@@ -16775,6 +16844,9 @@ msgstr "Что такое рабочая область?"
msgid "What is Superset Enterprise?"
msgstr "Что такое Superset Enterprise?"
+msgid "What is wrong?"
+msgstr "Что не так?"
+
msgid "What platforms does Superset run on?"
msgstr "На каких платформах работает Superset?"
@@ -17227,6 +17299,9 @@ msgstr "У вас последняя версия!"
msgid "You've been invited to join {organization}"
msgstr "Вас пригласили в {organization}"
+msgid "you@example.com"
+msgstr "you@example.com"
+
msgid "Your account is deactivated and will be permanently deleted soon. Reactivate to restore it exactly as you left it."
msgstr "Аккаунт деактивирован и скоро будет безвозвратно удалён. Активируйте его снова, чтобы восстановить всё в точности как было."
@@ -17251,6 +17326,9 @@ msgstr "Ваш код по умолчанию остаётся локальны
msgid "Your download starts automatically. If it didn't, grab it here."
msgstr "Загрузка начнётся автоматически. Если этого не произошло, скачайте здесь."
+msgid "Your email (optional)"
+msgstr "Ваш адрес электронной почты (необязательно)"
+
msgid "Your GitHub account cannot reach a repository in this environment"
msgstr "Ваша учётная запись GitHub не может получить доступ к репозиторию этого окружения"
diff --git a/packages/i18n/locales/tr/messages.po b/packages/i18n/locales/tr/messages.po
index c47dfcaaa00..62fba5e21cb 100644
--- a/packages/i18n/locales/tr/messages.po
+++ b/packages/i18n/locales/tr/messages.po
@@ -2029,6 +2029,9 @@ msgstr "Bağlantıya sahip herkes"
msgid "anything"
msgstr "herhangi bir şey"
+msgid "Anything else? (optional)"
+msgstr "Başka bir şey var mı? (isteğe bağlı)"
+
msgid "AP"
msgstr "AP"
@@ -4189,6 +4192,9 @@ msgstr "Tarama geçmişinizi ve oturum bilgilerinizi başka bir tarayıcıdan Su
msgid "Copy your key now — you won't be able to see it again."
msgstr "Anahtarınızı şimdi kopyalayın — bir daha göremezsiniz."
+msgid "Copyright or trademark"
+msgstr "Telif hakkı veya ticari marka"
+
msgid "Cost"
msgstr "Maliyet"
@@ -7525,6 +7531,9 @@ msgstr "Boşta · dal push edildi"
msgid "If you're enjoying Superset so far, a GitHub star helps other developers discover it."
msgstr "Superset'ten şimdiye kadar memnunsanız, bir GitHub yıldızı diğer geliştiricilerin onu keşfetmesine yardımcı olur."
+msgid "Illegal content"
+msgstr "Yasa dışı içerik"
+
msgid "Image"
msgstr "Görsel"
@@ -7548,6 +7557,9 @@ msgstr "{0} görsel önizlemesi. Artı ve eksi ile yakınlaştırın, ok tuşlar
msgid "Images"
msgstr "Görseller"
+msgid "Impersonates someone"
+msgstr "Başkasının kimliğine bürünüyor"
+
msgid "Import"
msgstr "İçe aktar"
@@ -8654,6 +8666,9 @@ msgstr "Çip stilini TooltipContent varsayılanı yap"
msgid "Makes the Run button launch this terminal script for matching projects."
msgstr "Çalıştır düğmesinin, eşleşen projelerde bu terminal betiğini başlatmasını sağlar."
+msgid "Malware or phishing"
+msgstr "Kötü amaçlı yazılım veya kimlik avı"
+
msgid "Manage"
msgstr "Yönet"
@@ -10911,6 +10926,9 @@ msgstr "Sayfa bulunamadı"
msgid "Page Not Found"
msgstr "Sayfa bulunamadı"
+msgid "Page report rate limiting is not configured"
+msgstr "Sayfa bildirimi hız sınırı yapılandırılmamış"
+
msgid "Page title"
msgstr "Sayfa başlığı"
@@ -11125,6 +11143,9 @@ msgstr "Bir üst dizin seçin"
msgid "Pick a project location"
msgstr "Bir proje konumu seçin"
+msgid "Pick a reason"
+msgstr "Bir neden seçin"
+
msgid "Pick a sound or add your own. Custom audio supports .mp3, .wav, and .ogg."
msgstr "Bir ses seçin veya kendinizinkini ekleyin. Özel ses .mp3, .wav ve .ogg destekler."
@@ -12249,9 +12270,21 @@ msgstr "{replyingTo} kullanıcısına yanıt veriliyor"
msgid "repo"
msgstr "depo"
+msgid "Report"
+msgstr "Bildir"
+
msgid "Report Issue"
msgstr "Sorun bildir"
+msgid "Report not found"
+msgstr "Bildirim bulunamadı"
+
+msgid "Report this page"
+msgstr "Bu sayfayı bildir"
+
+msgid "Reporting is briefly unavailable. Try again shortly."
+msgstr "Bildirim geçici olarak kullanılamıyor. Birazdan tekrar deneyin."
+
msgid "Repos"
msgstr "Depolar"
@@ -13348,6 +13381,9 @@ msgstr "Mesaj gönder"
msgid "Send reply"
msgstr "Yanıt gönder"
+msgid "Send report"
+msgstr "Bildirimi gönder"
+
msgid "Send review"
msgstr "İncelemeyi gönder"
@@ -13514,6 +13550,9 @@ msgstr "Kurulum"
msgid "Setup script"
msgstr "Kurulum betiği"
+msgid "Sexual content"
+msgstr "Cinsel içerik"
+
msgid "shadcn/ui tooltip recipe"
msgstr "shadcn/ui tooltip tarifi"
@@ -13987,6 +14026,12 @@ msgstr "Bazı tetikleyiciler ek yapılandırma gerektiriyor"
msgid "serverError.page.entryPathHeldByColleague"
msgstr "Bu çalışma alanından {entryPath} dosyasını başkası zaten yayımlamış. Onun sayfasına sürüm eklemek için açık bir sayfa kimliğiyle yayımla ya da dosyayı taşı."
+msgid "Someone on the Superset team will review this page. We only follow up if we need more from you."
+msgstr "Superset ekibinden biri bu sayfayı inceleyecek. Yalnızca ek bilgiye ihtiyacımız olursa sizinle iletişime geçeriz."
+
+msgid "Something else"
+msgstr "Başka bir şey"
+
msgid "Something went wrong"
msgstr "Bir şeyler ters gitti"
@@ -14035,6 +14080,9 @@ msgstr "Kaynak yolu (içe aktarma değil)"
msgid "Sources"
msgstr "Kaynaklar"
+msgid "Spam or a scam"
+msgstr "Spam veya dolandırıcılık"
+
msgid "Sparse checkout"
msgstr "Seyrek checkout"
@@ -14900,6 +14948,9 @@ msgstr "Kapatma {seconds}sn sonra zaman aşımına uğradı"
msgid "Tell any agent to use the <0>superset0> CLI to spin up workspaces, run tasks, or manage automations."
msgstr "Çalışma alanı açmak, görev çalıştırmak veya otomasyonları yönetmek için herhangi bir ajana <0>superset0> CLI'yi kullanmasını söyleyin."
+msgid "Tell us what is wrong with it. Reporting does not remove the page on its own."
+msgstr "Neyin yanlış olduğunu anlatın. Bildirim tek başına sayfayı kaldırmaz."
+
msgid "Ten parallel workstreams running, each landing merged work"
msgstr "Her biri birleştirilmiş iş üreten on paralel iş akışı"
@@ -14993,6 +15044,9 @@ msgstr "Metin alanı"
msgid "Thanks for reaching out"
msgstr "Bize ulaştığınız için teşekkürler"
+msgid "Thanks, we got it"
+msgstr "Teşekkürler, aldık"
+
msgid "That {plugin} sign-in link expired. Try connecting again."
msgstr "Bu {plugin} oturum açma bağlantısının süresi doldu. Yeniden bağlanmayı deneyin."
@@ -15513,6 +15567,12 @@ msgstr "Bu sayfa burada değil"
msgid "This page no longer exists"
msgstr "Bu sayfa artık mevcut değil"
+msgid "This page was published by a Superset user. Its contents are unverified."
+msgstr "Bu sayfa bir Superset kullanıcısı tarafından yayımlandı. İçeriği doğrulanmamıştır."
+
+msgid "This page was taken down and can no longer be changed"
+msgstr "Bu sayfa yayından kaldırıldı ve artık değiştirilemez"
+
msgid "This path exists, but it is not a directory."
msgstr "Bu yol mevcut, ancak bir dizin değil."
@@ -15787,6 +15847,9 @@ msgstr "Aynı anda çok fazla kişi bakıyor. Kısa süre sonra tekrar deneyin."
msgid "Too many prompt submissions. Try again later."
msgstr "Çok fazla istem gönderimi. Daha sonra yeniden deneyin."
+msgid "Too many reports. Try again later."
+msgstr "Çok fazla bildirim. Daha sonra tekrar deneyin."
+
msgid "Too many requests. Please try again later."
msgstr "Çok fazla istek. Lütfen daha sonra yeniden deneyin."
@@ -16547,6 +16610,9 @@ msgstr "Superset deposunu GitHub'da görüntüle"
msgid "View usage"
msgstr "Kullanımı görüntüle"
+msgid "Violence or harassment"
+msgstr "Şiddet veya taciz"
+
msgid "Visitors"
msgstr "Ziyaretçiler"
@@ -16757,6 +16823,9 @@ msgstr "Yeni Superset'e hoş geldiniz"
msgid "What builders say about Superset"
msgstr "Geliştiriciler Superset hakkında ne diyor"
+msgid "What did you see on the page?"
+msgstr "Sayfada ne gördünüz?"
+
msgid "What do you want to do?"
msgstr "Ne yapmak istiyorsunuz?"
@@ -16775,6 +16844,9 @@ msgstr "Çalışma alanı nedir?"
msgid "What is Superset Enterprise?"
msgstr "Superset Enterprise nedir?"
+msgid "What is wrong?"
+msgstr "Sorun nedir?"
+
msgid "What platforms does Superset run on?"
msgstr "Superset hangi platformlarda çalışıyor?"
@@ -17227,6 +17299,9 @@ msgstr "Her şey güncel!"
msgid "You've been invited to join {organization}"
msgstr "{organization} kuruluşuna katılmaya davet edildiniz"
+msgid "you@example.com"
+msgstr "you@example.com"
+
msgid "Your account is deactivated and will be permanently deleted soon. Reactivate to restore it exactly as you left it."
msgstr "Hesabınız devre dışı bırakıldı ve yakında kalıcı olarak silinecek. Bıraktığınız gibi geri yüklemek için yeniden etkinleştirin."
@@ -17251,6 +17326,9 @@ msgstr "Kodunuz varsayılan olarak yerelde kalır; bağlı hizmetler üzerinde a
msgid "Your download starts automatically. If it didn't, grab it here."
msgstr "İndirme otomatik olarak başlıyor. Başlamadıysa buradan indirin."
+msgid "Your email (optional)"
+msgstr "E-posta adresiniz (isteğe bağlı)"
+
msgid "Your GitHub account cannot reach a repository in this environment"
msgstr "GitHub hesabın bu ortamdaki bir depoya erişemiyor"
diff --git a/packages/i18n/locales/vi/messages.po b/packages/i18n/locales/vi/messages.po
index e3528538b58..b2fcbf7dbd4 100644
--- a/packages/i18n/locales/vi/messages.po
+++ b/packages/i18n/locales/vi/messages.po
@@ -2029,6 +2029,9 @@ msgstr "Bất kỳ ai có liên kết"
msgid "anything"
msgstr "bất kỳ điều gì"
+msgid "Anything else? (optional)"
+msgstr "Còn gì nữa không? (không bắt buộc)"
+
msgid "AP"
msgstr "AP"
@@ -4189,6 +4192,9 @@ msgstr "Sao chép lịch sử duyệt web và thông tin đăng nhập từ trì
msgid "Copy your key now — you won't be able to see it again."
msgstr "Hãy sao chép khóa ngay — bạn sẽ không xem lại được nữa."
+msgid "Copyright or trademark"
+msgstr "Bản quyền hoặc nhãn hiệu"
+
msgid "Cost"
msgstr "Chi phí"
@@ -7525,6 +7531,9 @@ msgstr "Rảnh · đã push nhánh"
msgid "If you're enjoying Superset so far, a GitHub star helps other developers discover it."
msgstr "Nếu đến giờ bạn thấy Superset hữu ích, một star trên GitHub sẽ giúp các lập trình viên khác biết đến nó."
+msgid "Illegal content"
+msgstr "Nội dung bất hợp pháp"
+
msgid "Image"
msgstr "Hình ảnh"
@@ -7548,6 +7557,9 @@ msgstr "Xem trước ảnh của {0}. Thu phóng bằng phím cộng và trừ,
msgid "Images"
msgstr "Hình ảnh"
+msgid "Impersonates someone"
+msgstr "Mạo danh người khác"
+
msgid "Import"
msgstr "Nhập"
@@ -8654,6 +8666,9 @@ msgstr "Đặt kiểu chip làm mặc định cho TooltipContent"
msgid "Makes the Run button launch this terminal script for matching projects."
msgstr "Cho nút Chạy khởi động script terminal này với các dự án phù hợp."
+msgid "Malware or phishing"
+msgstr "Phần mềm độc hại hoặc lừa đảo"
+
msgid "Manage"
msgstr "Quản lý"
@@ -10911,6 +10926,9 @@ msgstr "Không tìm thấy trang"
msgid "Page Not Found"
msgstr "Không tìm thấy trang"
+msgid "Page report rate limiting is not configured"
+msgstr "Chưa cấu hình giới hạn tần suất báo cáo trang"
+
msgid "Page title"
msgstr "Tiêu đề trang"
@@ -11125,6 +11143,9 @@ msgstr "Hãy chọn một thư mục cha"
msgid "Pick a project location"
msgstr "Hãy chọn vị trí dự án"
+msgid "Pick a reason"
+msgstr "Chọn lý do"
+
msgid "Pick a sound or add your own. Custom audio supports .mp3, .wav, and .ogg."
msgstr "Chọn một âm thanh hoặc thêm âm thanh riêng. Âm thanh riêng hỗ trợ .mp3, .wav và .ogg."
@@ -12249,9 +12270,21 @@ msgstr "Đang trả lời {replyingTo}"
msgid "repo"
msgstr "repo"
+msgid "Report"
+msgstr "Báo cáo"
+
msgid "Report Issue"
msgstr "Báo lỗi"
+msgid "Report not found"
+msgstr "Không tìm thấy báo cáo"
+
+msgid "Report this page"
+msgstr "Báo cáo trang này"
+
+msgid "Reporting is briefly unavailable. Try again shortly."
+msgstr "Chức năng báo cáo tạm thời không khả dụng. Vui lòng thử lại sau giây lát."
+
msgid "Repos"
msgstr "Repo"
@@ -13348,6 +13381,9 @@ msgstr "Gửi tin nhắn"
msgid "Send reply"
msgstr "Gửi trả lời"
+msgid "Send report"
+msgstr "Gửi báo cáo"
+
msgid "Send review"
msgstr "Gửi review"
@@ -13514,6 +13550,9 @@ msgstr "Thiết lập"
msgid "Setup script"
msgstr "Script thiết lập"
+msgid "Sexual content"
+msgstr "Nội dung tình dục"
+
msgid "shadcn/ui tooltip recipe"
msgstr "Công thức tooltip của shadcn/ui"
@@ -13987,6 +14026,12 @@ msgstr "Một số trigger cần cấu hình thêm"
msgid "serverError.page.entryPathHeldByColleague"
msgstr "Người khác đã xuất bản {entryPath} từ workspace này. Hãy xuất bản kèm id trang cụ thể để thêm phiên bản vào trang của họ, hoặc di chuyển tệp."
+msgid "Someone on the Superset team will review this page. We only follow up if we need more from you."
+msgstr "Một thành viên của nhóm Superset sẽ xem xét trang này. Chúng tôi chỉ liên hệ lại nếu cần thêm thông tin từ bạn."
+
+msgid "Something else"
+msgstr "Vấn đề khác"
+
msgid "Something went wrong"
msgstr "Đã xảy ra lỗi"
@@ -14035,6 +14080,9 @@ msgstr "Đường dẫn nguồn (không phải import)"
msgid "Sources"
msgstr "Nguồn"
+msgid "Spam or a scam"
+msgstr "Thư rác hoặc lừa đảo"
+
msgid "Sparse checkout"
msgstr "Sparse checkout"
@@ -14900,6 +14948,9 @@ msgstr "Teardown quá thời gian sau {seconds}s"
msgid "Tell any agent to use the <0>superset0> CLI to spin up workspaces, run tasks, or manage automations."
msgstr "Bảo bất kỳ agent nào dùng CLI <0>superset0> để tạo workspace, chạy tác vụ hoặc quản lý tự động hóa."
+msgid "Tell us what is wrong with it. Reporting does not remove the page on its own."
+msgstr "Hãy cho chúng tôi biết vấn đề là gì. Việc báo cáo không tự động gỡ trang này."
+
msgid "Ten parallel workstreams running, each landing merged work"
msgstr "Mười luồng công việc song song, mỗi luồng đều tạo ra công việc được hợp nhất"
@@ -14993,6 +15044,9 @@ msgstr "Textarea"
msgid "Thanks for reaching out"
msgstr "Cảm ơn bạn đã liên hệ"
+msgid "Thanks, we got it"
+msgstr "Cảm ơn, chúng tôi đã nhận được"
+
msgid "That {plugin} sign-in link expired. Try connecting again."
msgstr "Liên kết đăng nhập {plugin} đó đã hết hạn. Hãy thử kết nối lại."
@@ -15513,6 +15567,12 @@ msgstr "Trang này không có ở đây"
msgid "This page no longer exists"
msgstr "Trang này không còn tồn tại"
+msgid "This page was published by a Superset user. Its contents are unverified."
+msgstr "Trang này do một người dùng Superset đăng. Nội dung chưa được xác minh."
+
+msgid "This page was taken down and can no longer be changed"
+msgstr "Trang này đã bị gỡ và không thể chỉnh sửa nữa"
+
msgid "This path exists, but it is not a directory."
msgstr "Đường dẫn này tồn tại nhưng không phải thư mục."
@@ -15787,6 +15847,9 @@ msgstr "Có quá nhiều người đang xem cùng lúc. Vui lòng thử lại sa
msgid "Too many prompt submissions. Try again later."
msgstr "Quá nhiều lượt gửi prompt. Hãy thử lại sau."
+msgid "Too many reports. Try again later."
+msgstr "Quá nhiều báo cáo. Vui lòng thử lại sau."
+
msgid "Too many requests. Please try again later."
msgstr "Quá nhiều yêu cầu. Vui lòng thử lại sau."
@@ -16547,6 +16610,9 @@ msgstr "Xem repository Superset trên GitHub"
msgid "View usage"
msgstr "Xem mức sử dụng"
+msgid "Violence or harassment"
+msgstr "Bạo lực hoặc quấy rối"
+
msgid "Visitors"
msgstr "Khách truy cập"
@@ -16757,6 +16823,9 @@ msgstr "Chào mừng đến với Superset mới"
msgid "What builders say about Superset"
msgstr "Các nhà phát triển nói gì về Superset"
+msgid "What did you see on the page?"
+msgstr "Bạn đã thấy gì trên trang này?"
+
msgid "What do you want to do?"
msgstr "Bạn muốn làm gì?"
@@ -16775,6 +16844,9 @@ msgstr "Workspace là gì?"
msgid "What is Superset Enterprise?"
msgstr "Superset Enterprise là gì?"
+msgid "What is wrong?"
+msgstr "Vấn đề là gì?"
+
msgid "What platforms does Superset run on?"
msgstr "Superset chạy trên những nền tảng nào?"
@@ -17227,6 +17299,9 @@ msgstr "Bạn đang dùng bản mới nhất!"
msgid "You've been invited to join {organization}"
msgstr "Bạn được mời tham gia {organization}"
+msgid "you@example.com"
+msgstr "you@example.com"
+
msgid "Your account is deactivated and will be permanently deleted soon. Reactivate to restore it exactly as you left it."
msgstr "Tài khoản của bạn đã bị vô hiệu hóa và sẽ sớm bị xóa vĩnh viễn. Kích hoạt lại để khôi phục đúng như lúc bạn rời đi."
@@ -17251,6 +17326,9 @@ msgstr "Code của bạn mặc định ở lại cục bộ, với quyền kiể
msgid "Your download starts automatically. If it didn't, grab it here."
msgstr "Quá trình tải xuống sẽ tự động bắt đầu. Nếu không, hãy tải tại đây."
+msgid "Your email (optional)"
+msgstr "Email của bạn (không bắt buộc)"
+
msgid "Your GitHub account cannot reach a repository in this environment"
msgstr "Tài khoản GitHub của bạn không truy cập được một repository trong environment này"
diff --git a/packages/i18n/locales/zh-CN/messages.po b/packages/i18n/locales/zh-CN/messages.po
index c1749b69cdd..fb36fb7f4f1 100644
--- a/packages/i18n/locales/zh-CN/messages.po
+++ b/packages/i18n/locales/zh-CN/messages.po
@@ -2029,6 +2029,9 @@ msgstr "知道链接的任何人"
msgid "anything"
msgstr "任意内容"
+msgid "Anything else? (optional)"
+msgstr "还有别的吗?(选填)"
+
msgid "AP"
msgstr "AP"
@@ -4189,6 +4192,9 @@ msgstr "把其他浏览器的浏览历史和登录信息复制到Superset。原
msgid "Copy your key now — you won't be able to see it again."
msgstr "请立即复制你的密钥,之后将无法再次查看。"
+msgid "Copyright or trademark"
+msgstr "版权或商标"
+
msgid "Cost"
msgstr "费用"
@@ -7525,6 +7531,9 @@ msgstr "空闲 · 分支已推送"
msgid "If you're enjoying Superset so far, a GitHub star helps other developers discover it."
msgstr "如果你觉得Superset还不错,一个GitHub星标能帮助更多开发者发现它。"
+msgid "Illegal content"
+msgstr "违法内容"
+
msgid "Image"
msgstr "图片"
@@ -7548,6 +7557,9 @@ msgstr "{0}的图片预览。用加号和减号缩放,用方向键平移,按
msgid "Images"
msgstr "图片"
+msgid "Impersonates someone"
+msgstr "冒充他人"
+
msgid "Import"
msgstr "导入"
@@ -8654,6 +8666,9 @@ msgstr "把chip样式设为TooltipContent的默认样式"
msgid "Makes the Run button launch this terminal script for matching projects."
msgstr "让匹配项目的“运行”按钮启动此终端脚本。"
+msgid "Malware or phishing"
+msgstr "恶意软件或钓鱼"
+
msgid "Manage"
msgstr "管理"
@@ -10911,6 +10926,9 @@ msgstr "未找到页面"
msgid "Page Not Found"
msgstr "页面未找到"
+msgid "Page report rate limiting is not configured"
+msgstr "未配置页面举报的速率限制"
+
msgid "Page title"
msgstr "页面标题"
@@ -11125,6 +11143,9 @@ msgstr "请选择父目录"
msgid "Pick a project location"
msgstr "请选择项目位置"
+msgid "Pick a reason"
+msgstr "选择原因"
+
msgid "Pick a sound or add your own. Custom audio supports .mp3, .wav, and .ogg."
msgstr "选择一个声音或添加自己的。自定义音频支持.mp3、.wav和.ogg。"
@@ -12249,9 +12270,21 @@ msgstr "正在回复 {replyingTo}"
msgid "repo"
msgstr "仓库"
+msgid "Report"
+msgstr "举报"
+
msgid "Report Issue"
msgstr "报告问题"
+msgid "Report not found"
+msgstr "未找到举报"
+
+msgid "Report this page"
+msgstr "举报此页面"
+
+msgid "Reporting is briefly unavailable. Try again shortly."
+msgstr "举报功能暂时不可用,请稍后再试。"
+
msgid "Repos"
msgstr "仓库"
@@ -13348,6 +13381,9 @@ msgstr "发送消息"
msgid "Send reply"
msgstr "发送回复"
+msgid "Send report"
+msgstr "提交举报"
+
msgid "Send review"
msgstr "发送审查"
@@ -13514,6 +13550,9 @@ msgstr "初始化"
msgid "Setup script"
msgstr "设置脚本"
+msgid "Sexual content"
+msgstr "色情内容"
+
msgid "shadcn/ui tooltip recipe"
msgstr "shadcn/ui的tooltip方案"
@@ -13987,6 +14026,12 @@ msgstr "部分触发器需要额外配置"
msgid "serverError.page.entryPathHeldByColleague"
msgstr "其他人已发布该工作区中的 {entryPath}。使用明确的页面 id 发布以向其页面添加版本,或移动该文件。"
+msgid "Someone on the Superset team will review this page. We only follow up if we need more from you."
+msgstr "Superset 团队会审核此页面。只有在需要你补充信息时我们才会联系你。"
+
+msgid "Something else"
+msgstr "其他问题"
+
msgid "Something went wrong"
msgstr "出了点问题"
@@ -14035,6 +14080,9 @@ msgstr "源码路径(不是导入路径)"
msgid "Sources"
msgstr "来源"
+msgid "Spam or a scam"
+msgstr "垃圾信息或诈骗"
+
msgid "Sparse checkout"
msgstr "稀疏检出"
@@ -14900,6 +14948,9 @@ msgstr "清理脚本在{seconds}秒后超时"
msgid "Tell any agent to use the <0>superset0> CLI to spin up workspaces, run tasks, or manage automations."
msgstr "让任意智能体用<0>superset0> CLI来创建工作区、运行任务或管理自动化。"
+msgid "Tell us what is wrong with it. Reporting does not remove the page on its own."
+msgstr "请告诉我们问题所在。举报本身不会移除该页面。"
+
msgid "Ten parallel workstreams running, each landing merged work"
msgstr "十条并行工作流同时运行,各自交付已合并的成果"
@@ -14993,6 +15044,9 @@ msgstr "多行文本框"
msgid "Thanks for reaching out"
msgstr "感谢联系"
+msgid "Thanks, we got it"
+msgstr "谢谢,我们已收到"
+
msgid "That {plugin} sign-in link expired. Try connecting again."
msgstr "该 {plugin} 登录链接已过期。请重新连接。"
@@ -15513,6 +15567,12 @@ msgstr "找不到这个页面"
msgid "This page no longer exists"
msgstr "这个页面已不存在"
+msgid "This page was published by a Superset user. Its contents are unverified."
+msgstr "此页面由 Superset 用户发布,内容未经核实。"
+
+msgid "This page was taken down and can no longer be changed"
+msgstr "此页面已下架,无法再修改"
+
msgid "This path exists, but it is not a directory."
msgstr "此路径存在,但不是目录。"
@@ -15787,6 +15847,9 @@ msgstr "同时查看的人太多了,请稍后再试。"
msgid "Too many prompt submissions. Try again later."
msgstr "提示词提交次数过多。请稍后重试。"
+msgid "Too many reports. Try again later."
+msgstr "举报次数过多,请稍后再试。"
+
msgid "Too many requests. Please try again later."
msgstr "请求过于频繁。请稍后重试。"
@@ -16547,6 +16610,9 @@ msgstr "在GitHub上查看Superset仓库"
msgid "View usage"
msgstr "查看用量"
+msgid "Violence or harassment"
+msgstr "暴力或骚扰"
+
msgid "Visitors"
msgstr "访客"
@@ -16757,6 +16823,9 @@ msgstr "欢迎使用全新的 Superset"
msgid "What builders say about Superset"
msgstr "开发者怎么评价Superset"
+msgid "What did you see on the page?"
+msgstr "你在页面上看到了什么?"
+
msgid "What do you want to do?"
msgstr "你想做什么?"
@@ -16775,6 +16844,9 @@ msgstr "什么是工作区?"
msgid "What is Superset Enterprise?"
msgstr "什么是Superset Enterprise?"
+msgid "What is wrong?"
+msgstr "哪里有问题?"
+
msgid "What platforms does Superset run on?"
msgstr "Superset支持哪些平台?"
@@ -17227,6 +17299,9 @@ msgstr "已是最新!"
msgid "You've been invited to join {organization}"
msgstr "你受邀加入{organization}"
+msgid "you@example.com"
+msgstr "you@example.com"
+
msgid "Your account is deactivated and will be permanently deleted soon. Reactivate to restore it exactly as you left it."
msgstr "你的账户已停用,并将很快被永久删除。重新激活即可恢复到你离开时的状态。"
@@ -17251,6 +17326,9 @@ msgstr "你的代码默认留在本地,连接哪些服务由你明确决定。
msgid "Your download starts automatically. If it didn't, grab it here."
msgstr "下载将自动开始。如果没有,请点此获取。"
+msgid "Your email (optional)"
+msgstr "你的邮箱(选填)"
+
msgid "Your GitHub account cannot reach a repository in this environment"
msgstr "你的 GitHub 账户无法访问此环境中的某个仓库"
diff --git a/packages/i18n/locales/zh-TW/messages.po b/packages/i18n/locales/zh-TW/messages.po
index 5963baebe95..bc32bed7bfb 100644
--- a/packages/i18n/locales/zh-TW/messages.po
+++ b/packages/i18n/locales/zh-TW/messages.po
@@ -2029,6 +2029,9 @@ msgstr "知道連結的任何人"
msgid "anything"
msgstr "任意內容"
+msgid "Anything else? (optional)"
+msgstr "還有其他嗎?(選填)"
+
msgid "AP"
msgstr "AP"
@@ -4189,6 +4192,9 @@ msgstr "把其他瀏覽器的瀏覽歷史和登入資訊複製到Superset。原
msgid "Copy your key now — you won't be able to see it again."
msgstr "請立即複製你的金鑰,之後將無法再次檢視。"
+msgid "Copyright or trademark"
+msgstr "著作權或商標"
+
msgid "Cost"
msgstr "費用"
@@ -7525,6 +7531,9 @@ msgstr "空閒 · 分支已推送"
msgid "If you're enjoying Superset so far, a GitHub star helps other developers discover it."
msgstr "如果你覺得Superset還不錯,一個GitHub星標能幫助更多開發者發現它。"
+msgid "Illegal content"
+msgstr "違法內容"
+
msgid "Image"
msgstr "圖片"
@@ -7548,6 +7557,9 @@ msgstr "{0}的圖片預覽。用加號和減號縮放,用方向鍵平移,按
msgid "Images"
msgstr "圖片"
+msgid "Impersonates someone"
+msgstr "冒充他人"
+
msgid "Import"
msgstr "匯入"
@@ -8654,6 +8666,9 @@ msgstr "把chip樣式設為TooltipContent的預設樣式"
msgid "Makes the Run button launch this terminal script for matching projects."
msgstr "讓匹配專案的「執行」按鈕啟動此終端指令碼。"
+msgid "Malware or phishing"
+msgstr "惡意軟體或釣魚"
+
msgid "Manage"
msgstr "管理"
@@ -10911,6 +10926,9 @@ msgstr "未找到頁面"
msgid "Page Not Found"
msgstr "頁面未找到"
+msgid "Page report rate limiting is not configured"
+msgstr "未設定頁面檢舉的速率限制"
+
msgid "Page title"
msgstr "頁面標題"
@@ -11125,6 +11143,9 @@ msgstr "請選擇父目錄"
msgid "Pick a project location"
msgstr "請選擇專案位置"
+msgid "Pick a reason"
+msgstr "選擇原因"
+
msgid "Pick a sound or add your own. Custom audio supports .mp3, .wav, and .ogg."
msgstr "選擇一個聲音或新增自己的。自訂音訊支援.mp3、.wav和.ogg。"
@@ -12249,9 +12270,21 @@ msgstr "正在回覆 {replyingTo}"
msgid "repo"
msgstr "儲存庫"
+msgid "Report"
+msgstr "檢舉"
+
msgid "Report Issue"
msgstr "報告問題"
+msgid "Report not found"
+msgstr "找不到檢舉"
+
+msgid "Report this page"
+msgstr "檢舉此頁面"
+
+msgid "Reporting is briefly unavailable. Try again shortly."
+msgstr "檢舉功能暫時無法使用,請稍後再試。"
+
msgid "Repos"
msgstr "儲存庫"
@@ -13348,6 +13381,9 @@ msgstr "傳送訊息"
msgid "Send reply"
msgstr "傳送回覆"
+msgid "Send report"
+msgstr "送出檢舉"
+
msgid "Send review"
msgstr "傳送審查"
@@ -13514,6 +13550,9 @@ msgstr "初始化"
msgid "Setup script"
msgstr "設定指令碼"
+msgid "Sexual content"
+msgstr "色情內容"
+
msgid "shadcn/ui tooltip recipe"
msgstr "shadcn/ui的tooltip方案"
@@ -13987,6 +14026,12 @@ msgstr "部分觸發器需要額外配置"
msgid "serverError.page.entryPathHeldByColleague"
msgstr "其他人已發佈此工作區中的 {entryPath}。使用明確的頁面 id 發佈以為其頁面新增版本,或移動該檔案。"
+msgid "Someone on the Superset team will review this page. We only follow up if we need more from you."
+msgstr "Superset 團隊會審核此頁面。只有在需要你補充資訊時我們才會聯絡你。"
+
+msgid "Something else"
+msgstr "其他問題"
+
msgid "Something went wrong"
msgstr "出了點問題"
@@ -14035,6 +14080,9 @@ msgstr "原始碼路徑(不是匯入路徑)"
msgid "Sources"
msgstr "來源"
+msgid "Spam or a scam"
+msgstr "垃圾訊息或詐騙"
+
msgid "Sparse checkout"
msgstr "稀疏檢出"
@@ -14900,6 +14948,9 @@ msgstr "清理指令碼在{seconds}秒後逾時"
msgid "Tell any agent to use the <0>superset0> CLI to spin up workspaces, run tasks, or manage automations."
msgstr "讓任意代理程式用<0>superset0> CLI來建立工作區、執行任務或管理自動化。"
+msgid "Tell us what is wrong with it. Reporting does not remove the page on its own."
+msgstr "請告訴我們問題所在。檢舉本身不會移除該頁面。"
+
msgid "Ten parallel workstreams running, each landing merged work"
msgstr "十條並行工作流程同時執行,各自交付已合併的成果"
@@ -14993,6 +15044,9 @@ msgstr "多行文字框"
msgid "Thanks for reaching out"
msgstr "感謝聯絡"
+msgid "Thanks, we got it"
+msgstr "謝謝,我們已收到"
+
msgid "That {plugin} sign-in link expired. Try connecting again."
msgstr "該 {plugin} 登入連結已過期。請重新連線。"
@@ -15513,6 +15567,12 @@ msgstr "找不到這個頁面"
msgid "This page no longer exists"
msgstr "這個頁面已不存在"
+msgid "This page was published by a Superset user. Its contents are unverified."
+msgstr "此頁面由 Superset 使用者發布,內容未經查核。"
+
+msgid "This page was taken down and can no longer be changed"
+msgstr "此頁面已下架,無法再修改"
+
msgid "This path exists, but it is not a directory."
msgstr "此路徑存在,但不是目錄。"
@@ -15787,6 +15847,9 @@ msgstr "同時查看的人太多了,請稍後再試。"
msgid "Too many prompt submissions. Try again later."
msgstr "提示詞提交次數過多。請稍後重試。"
+msgid "Too many reports. Try again later."
+msgstr "檢舉次數過多,請稍後再試。"
+
msgid "Too many requests. Please try again later."
msgstr "請求過於頻繁。請稍後重試。"
@@ -16547,6 +16610,9 @@ msgstr "在GitHub上檢視Superset儲存庫"
msgid "View usage"
msgstr "檢視用量"
+msgid "Violence or harassment"
+msgstr "暴力或騷擾"
+
msgid "Visitors"
msgstr "訪客"
@@ -16757,6 +16823,9 @@ msgstr "歡迎使用全新的 Superset"
msgid "What builders say about Superset"
msgstr "開發者怎麼評價Superset"
+msgid "What did you see on the page?"
+msgstr "你在頁面上看到了什麼?"
+
msgid "What do you want to do?"
msgstr "你想做什麼?"
@@ -16775,6 +16844,9 @@ msgstr "什麼是工作區?"
msgid "What is Superset Enterprise?"
msgstr "什麼是Superset Enterprise?"
+msgid "What is wrong?"
+msgstr "哪裡有問題?"
+
msgid "What platforms does Superset run on?"
msgstr "Superset支援哪些平臺?"
@@ -17227,6 +17299,9 @@ msgstr "已是最新!"
msgid "You've been invited to join {organization}"
msgstr "你受邀加入{organization}"
+msgid "you@example.com"
+msgstr "you@example.com"
+
msgid "Your account is deactivated and will be permanently deleted soon. Reactivate to restore it exactly as you left it."
msgstr "你的帳戶已停用,並將很快被永久刪除。重新啟用即可恢復到你離開時的狀態。"
@@ -17251,6 +17326,9 @@ msgstr "你的程式碼預設留在本地,連線哪些服務由你明確決定
msgid "Your download starts automatically. If it didn't, grab it here."
msgstr "下載將自動開始。若未開始,請由此取得。"
+msgid "Your email (optional)"
+msgstr "你的電子郵件(選填)"
+
msgid "Your GitHub account cannot reach a repository in this environment"
msgstr "你的 GitHub 帳戶無法存取此環境中的某個儲存庫"
diff --git a/packages/i18n/src/server-errors.ts b/packages/i18n/src/server-errors.ts
index 04744244e6d..53a30dfe94e 100644
--- a/packages/i18n/src/server-errors.ts
+++ b/packages/i18n/src/server-errors.ts
@@ -568,6 +568,36 @@ export const serverErrorMessages: Record<
message: "Provide either id or slug",
}),
),
+ "serverError.page.reportNotFound": () =>
+ i18n._(
+ msg({
+ message: "Report not found",
+ }),
+ ),
+ "serverError.page.reportRateLimitingIsNot": () =>
+ i18n._(
+ msg({
+ message: "Page report rate limiting is not configured",
+ }),
+ ),
+ "serverError.page.reportingIsBrieflyUnavailable": () =>
+ i18n._(
+ msg({
+ message: "Reporting is briefly unavailable. Try again shortly.",
+ }),
+ ),
+ "serverError.page.thisPageWasTakenDown": () =>
+ i18n._(
+ msg({
+ message: "This page was taken down and can no longer be changed",
+ }),
+ ),
+ "serverError.page.tooManyReportsTryAgainLater": () =>
+ i18n._(
+ msg({
+ message: "Too many reports. Try again later.",
+ }),
+ ),
"serverError.page.thisPageIsBeingPublishedFrom": () =>
i18n._(
msg({
diff --git a/packages/trpc/src/router/page/access.test.ts b/packages/trpc/src/router/page/access.test.ts
index fe3bb4f81e8..062c0f33b7c 100644
--- a/packages/trpc/src/router/page/access.test.ts
+++ b/packages/trpc/src/router/page/access.test.ts
@@ -52,4 +52,19 @@ describe("assertPageWritable", () => {
const row = page({ visibility: "just_me" });
expect(codeOf(() => assertPageWritable(row, OTHER))).toBe("NOT_FOUND");
});
+
+ test("a taken-down page refuses its own creator", () => {
+ const row = page({ takenDownAt: new Date() });
+ expect(codeOf(() => assertPageWritable(row, OWNER))).toBe("FORBIDDEN");
+ });
+
+ test("a taken-down just_me page still answers NOT_FOUND to an outsider", () => {
+ const row = page({ visibility: "just_me", takenDownAt: new Date() });
+ expect(codeOf(() => assertPageWritable(row, OTHER))).toBe("NOT_FOUND");
+ });
+
+ test("a page that was never taken down is unaffected", () => {
+ const row = page({ takenDownAt: null });
+ expect(codeOf(() => assertPageWritable(row, OWNER))).toBeUndefined();
+ });
});
diff --git a/packages/trpc/src/router/page/access.ts b/packages/trpc/src/router/page/access.ts
index 1a550726e9e..ef0d460a76d 100644
--- a/packages/trpc/src/router/page/access.ts
+++ b/packages/trpc/src/router/page/access.ts
@@ -13,6 +13,13 @@ export function assertPageReadable(page: SelectPage, userId: string): void {
export function assertPageWritable(page: SelectPage, userId: string): void {
assertPageReadable(page, userId);
+ if (page.takenDownAt) {
+ throw userError({
+ code: "FORBIDDEN",
+ message: "This page was taken down and can no longer be changed",
+ i18nKey: "serverError.page.thisPageWasTakenDown",
+ });
+ }
if (page.createdByUserId !== userId) {
throw userError({
code: "FORBIDDEN",
diff --git a/packages/trpc/src/router/page/page.ts b/packages/trpc/src/router/page/page.ts
index 0b4e57ebe23..7804b00d6a8 100644
--- a/packages/trpc/src/router/page/page.ts
+++ b/packages/trpc/src/router/page/page.ts
@@ -27,6 +27,7 @@ import {
ilike,
inArray,
isNotNull,
+ isNull,
lt,
notExists,
or,
@@ -44,6 +45,7 @@ import { decodePageCursor, encodePageCursor } from "./cursor";
import { pageUrl } from "./page-url";
import { publishPage } from "./publish";
import { isEntryPathConflict } from "./publish-rules";
+import { pageReportRouter } from "./reports";
import {
clearPageWatchSchema,
createPageSchema,
@@ -383,6 +385,7 @@ async function listPageBatch({
export const pageRouter = {
assets: pageAssetRouter,
+ ...pageReportRouter,
/**
* A page with no versions yet. Assets stage against a page id, so a first
@@ -718,7 +721,7 @@ export const pageRouter = {
? { description: input.description }
: {}),
})
- .where(eq(pages.id, page.id))
+ .where(and(eq(pages.id, page.id), isNull(pages.takenDownAt)))
.returning();
if (!updated) {
@@ -747,7 +750,7 @@ export const pageRouter = {
const [updated] = await db
.update(pages)
.set({ visibility: input.visibility })
- .where(eq(pages.id, page.id))
+ .where(and(eq(pages.id, page.id), isNull(pages.takenDownAt)))
.returning();
if (!updated) {
@@ -934,7 +937,7 @@ export const pageRouter = {
const [updated] = await db
.update(pages)
.set({ sharedVersion: resolved })
- .where(eq(pages.id, page.id))
+ .where(and(eq(pages.id, page.id), isNull(pages.takenDownAt)))
.returning();
if (!updated) {
@@ -1179,6 +1182,7 @@ export const pageRouter = {
.where(eq(pages.slug, input.slug))
.limit(1);
if (!page || page.visibility !== "everyone") return null;
+ if (page.takenDownAt) return null;
const version = servedVersion(
page.sharedVersion,
diff --git a/packages/trpc/src/router/page/preview.test.ts b/packages/trpc/src/router/page/preview.test.ts
index 06cc33e7a6a..fbe6edebb6a 100644
--- a/packages/trpc/src/router/page/preview.test.ts
+++ b/packages/trpc/src/router/page/preview.test.ts
@@ -11,7 +11,7 @@ describe("previewAccess", () => {
test("public pages preview for anyone", async () => {
expect(
await previewAccess(
- { visibility: "everyone", createdByUserId: OWNER },
+ { visibility: "everyone", createdByUserId: OWNER, takenDownAt: null },
undefined,
),
).toBe("readable");
@@ -20,7 +20,7 @@ describe("previewAccess", () => {
test("org pages need a reader before they show anything", async () => {
expect(
await previewAccess(
- { visibility: "org", createdByUserId: OWNER },
+ { visibility: "org", createdByUserId: OWNER, takenDownAt: null },
undefined,
),
).toBe("needs_user");
@@ -29,7 +29,7 @@ describe("previewAccess", () => {
test("org pages preview for a member", async () => {
expect(
await previewAccess(
- { visibility: "org", createdByUserId: OWNER },
+ { visibility: "org", createdByUserId: OWNER, takenDownAt: null },
member(OTHER),
),
).toBe("readable");
@@ -38,16 +38,30 @@ describe("previewAccess", () => {
test("a reader outside the organization sees nothing", async () => {
expect(
await previewAccess(
- { visibility: "org", createdByUserId: OWNER },
+ { visibility: "org", createdByUserId: OWNER, takenDownAt: null },
outsider(OTHER),
),
).toBe("missing");
});
test("just_me pages preview only for their creator", async () => {
- const page = { visibility: "just_me" as const, createdByUserId: OWNER };
+ const page = {
+ visibility: "just_me" as const,
+ createdByUserId: OWNER,
+ takenDownAt: null,
+ };
expect(await previewAccess(page, member(OWNER))).toBe("readable");
expect(await previewAccess(page, member(OTHER))).toBe("missing");
expect(await previewAccess(page, undefined)).toBe("needs_user");
});
+
+ test("a taken-down page stops unfurling, even for its creator", async () => {
+ const page = {
+ visibility: "everyone" as const,
+ createdByUserId: OWNER,
+ takenDownAt: new Date(),
+ };
+ expect(await previewAccess(page, member(OWNER))).toBe("missing");
+ expect(await previewAccess(page, undefined)).toBe("missing");
+ });
});
diff --git a/packages/trpc/src/router/page/preview.ts b/packages/trpc/src/router/page/preview.ts
index 32fc50ed61b..5ab976b5f47 100644
--- a/packages/trpc/src/router/page/preview.ts
+++ b/packages/trpc/src/router/page/preview.ts
@@ -39,9 +39,10 @@ export interface PreviewReader {
}
export async function previewAccess(
- page: Pick,
+ page: Pick,
reader: PreviewReader | undefined,
): Promise {
+ if (page.takenDownAt) return "missing";
if (page.visibility === "everyone") return "readable";
if (!reader) return "needs_user";
if (!(await reader.isMember())) return "missing";
diff --git a/packages/trpc/src/router/page/reports.ts b/packages/trpc/src/router/page/reports.ts
new file mode 100644
index 00000000000..31157a9048b
--- /dev/null
+++ b/packages/trpc/src/router/page/reports.ts
@@ -0,0 +1,289 @@
+import { createHmac } from "node:crypto";
+import { db } from "@superset/db/client";
+import { pageReports, pages, pageVersions } from "@superset/db/schema";
+import type { TRPCRouterRecord } from "@trpc/server";
+import { Ratelimit } from "@upstash/ratelimit";
+import { Redis } from "@upstash/redis";
+import { and, desc, eq, inArray, lt, sql } from "drizzle-orm";
+import { env } from "../../env";
+import { adminProcedure, publicProcedure, userError } from "../../trpc";
+import {
+ listPageReportsSchema,
+ reportPageSchema,
+ reviewPageReportSchema,
+ takedownPageSchema,
+} from "./schema";
+import { writePageManifest } from "./storage";
+
+const reportRateLimit =
+ env.KV_REST_API_URL && env.KV_REST_API_TOKEN
+ ? new Ratelimit({
+ redis: new Redis({
+ url: env.KV_REST_API_URL,
+ token: env.KV_REST_API_TOKEN,
+ }),
+ limiter: Ratelimit.slidingWindow(5, "1 h"),
+ prefix: "ratelimit:page:report",
+ })
+ : null;
+
+function reporterIp(headers: Headers): string {
+ return (
+ headers.get("x-forwarded-for")?.split(",")[0]?.trim() ||
+ headers.get("x-real-ip") ||
+ "unknown"
+ );
+}
+
+function hashReporterIp(ip: string): string {
+ return createHmac("sha256", env.USERCONTENT_TOKEN_SECRET)
+ .update(ip)
+ .digest("hex");
+}
+
+async function latestVersionNumber(pageId: string): Promise {
+ const [row] = await db
+ .select({ version: pageVersions.version })
+ .from(pageVersions)
+ .where(eq(pageVersions.pageId, pageId))
+ .orderBy(desc(pageVersions.version))
+ .limit(1);
+ return row?.version ?? null;
+}
+
+async function enforceReportRateLimit(key: string): Promise {
+ if (!reportRateLimit) {
+ if (env.NODE_ENV === "production") {
+ throw userError({
+ code: "INTERNAL_SERVER_ERROR",
+ message: "Page report rate limiting is not configured",
+ i18nKey: "serverError.page.reportRateLimitingIsNot",
+ });
+ }
+ console.warn(
+ "[page/report] rate limit skipped because KV is not configured",
+ );
+ return;
+ }
+ let success: boolean;
+ try {
+ ({ success } = await reportRateLimit.limit(key));
+ } catch (error) {
+ console.error("[page/report] rate limiter unavailable:", error);
+ throw userError({
+ code: "SERVICE_UNAVAILABLE",
+ message: "Reporting is briefly unavailable. Try again shortly.",
+ i18nKey: "serverError.page.reportingIsBrieflyUnavailable",
+ });
+ }
+ if (!success) {
+ throw userError({
+ code: "TOO_MANY_REQUESTS",
+ message: "Too many reports. Try again later.",
+ i18nKey: "serverError.page.tooManyReportsTryAgainLater",
+ });
+ }
+}
+
+export const pageReportRouter = {
+ report: publicProcedure
+ .input(reportPageSchema)
+ .mutation(async ({ ctx, input }) => {
+ const ipHash = hashReporterIp(reporterIp(ctx.headers));
+ await enforceReportRateLimit(ctx.session?.user.id ?? ipHash);
+
+ const [page] = await db
+ .select({
+ id: pages.id,
+ visibility: pages.visibility,
+ sharedVersion: pages.sharedVersion,
+ takenDownAt: pages.takenDownAt,
+ })
+ .from(pages)
+ .where(eq(pages.slug, input.slug))
+ .limit(1);
+ if (!page || page.visibility !== "everyone" || page.takenDownAt) {
+ throw userError({
+ code: "NOT_FOUND",
+ message: "Page not found",
+ i18nKey: "serverError.page.pageNotFound",
+ });
+ }
+
+ await db.insert(pageReports).values({
+ pageId: page.id,
+ reportedVersion:
+ page.sharedVersion ?? (await latestVersionNumber(page.id)),
+ reason: input.reason,
+ details: input.details,
+ reporterEmail: ctx.session ? null : input.reporterEmail,
+ reportedByUserId: ctx.session?.user.id ?? null,
+ reporterIpHash: ipHash,
+ });
+
+ return { received: true };
+ }),
+
+ listReports: adminProcedure
+ .input(listPageReportsSchema)
+ .query(async ({ input }) => {
+ const cursor = input.cursor ? new Date(input.cursor) : null;
+ const rows = await db
+ .select({
+ id: pageReports.id,
+ pageId: pageReports.pageId,
+ slug: pages.slug,
+ title: pages.title,
+ organizationId: pages.organizationId,
+ visibility: pages.visibility,
+ takenDownAt: pages.takenDownAt,
+ reportedVersion: pageReports.reportedVersion,
+ reason: pageReports.reason,
+ details: pageReports.details,
+ status: pageReports.status,
+ reporterEmail: pageReports.reporterEmail,
+ reporterIpHash: pageReports.reporterIpHash,
+ reportedByUserId: pageReports.reportedByUserId,
+ reviewedAt: pageReports.reviewedAt,
+ reviewNote: pageReports.reviewNote,
+ createdAt: pageReports.createdAt,
+ })
+ .from(pageReports)
+ .innerJoin(pages, eq(pages.id, pageReports.pageId))
+ .where(
+ and(
+ input.status ? eq(pageReports.status, input.status) : undefined,
+ cursor ? lt(pageReports.createdAt, cursor) : undefined,
+ ),
+ )
+ .orderBy(desc(pageReports.createdAt))
+ .limit(input.limit + 1);
+
+ const reports = rows.slice(0, input.limit);
+ return {
+ reports,
+ nextCursor:
+ rows.length > input.limit
+ ? (reports.at(-1)?.createdAt.toISOString() ?? null)
+ : null,
+ };
+ }),
+
+ reviewReport: adminProcedure
+ .input(reviewPageReportSchema)
+ .mutation(async ({ ctx, input }) => {
+ const [updated] = await db
+ .update(pageReports)
+ .set({
+ status: input.status,
+ reviewNote: input.note,
+ reviewedAt: new Date(),
+ reviewedByUserId: ctx.session.user.id,
+ })
+ .where(eq(pageReports.id, input.id))
+ .returning({ id: pageReports.id });
+ if (!updated) {
+ throw userError({
+ code: "NOT_FOUND",
+ message: "Report not found",
+ i18nKey: "serverError.page.reportNotFound",
+ });
+ }
+ return { id: updated.id };
+ }),
+
+ takedown: adminProcedure
+ .input(takedownPageSchema)
+ .mutation(async ({ ctx, input }) => {
+ const takenDownAt = new Date();
+ const taken = await db.transaction(async (tx) => {
+ const [page] = await tx
+ .update(pages)
+ .set({
+ takenDownAt,
+ takenDownByUserId: ctx.session.user.id,
+ takenDownNote: input.note ?? null,
+ })
+ .where(eq(pages.id, input.id))
+ .returning({ id: pages.id });
+ if (!page) {
+ throw userError({
+ code: "NOT_FOUND",
+ message: "Page not found",
+ i18nKey: "serverError.page.pageNotFound",
+ });
+ }
+ const upheld = await tx
+ .update(pageReports)
+ .set({
+ status: "upheld",
+ reviewedAt: takenDownAt,
+ reviewedByUserId: ctx.session.user.id,
+ })
+ .where(
+ and(
+ eq(pageReports.pageId, page.id),
+ eq(pageReports.status, "open"),
+ ),
+ )
+ .returning({ id: pageReports.id });
+ return { pageId: page.id, upheldIds: upheld.map((row) => row.id) };
+ });
+
+ // Deleting the manifest is what actually ends public access, so it runs
+ // after the commit and undoes the commit if it fails. It cannot move
+ // inside the transaction: writePageManifest reads the page on its own
+ // connection, would still see a live page, and would write a fresh
+ // manifest instead of deleting one.
+ try {
+ await writePageManifest(taken.pageId);
+ } catch (error) {
+ await db.transaction(async (tx) => {
+ await tx
+ .update(pages)
+ .set({ takenDownAt: null, takenDownByUserId: null })
+ .where(eq(pages.id, taken.pageId));
+ if (taken.upheldIds.length > 0) {
+ await tx
+ .update(pageReports)
+ .set({ status: "open", reviewedAt: null, reviewedByUserId: null })
+ .where(inArray(pageReports.id, taken.upheldIds));
+ }
+ });
+ throw error;
+ }
+
+ return { id: taken.pageId };
+ }),
+
+ restore: adminProcedure
+ .input(takedownPageSchema)
+ .mutation(async ({ input }) => {
+ const [page] = await db
+ .update(pages)
+ .set({
+ takenDownAt: null,
+ takenDownByUserId: null,
+ takenDownNote: input.note ?? null,
+ })
+ .where(eq(pages.id, input.id))
+ .returning({ id: pages.id });
+ if (!page) {
+ throw userError({
+ code: "NOT_FOUND",
+ message: "Page not found",
+ i18nKey: "serverError.page.pageNotFound",
+ });
+ }
+ await writePageManifest(page.id);
+ return { id: page.id };
+ }),
+
+ reportCounts: adminProcedure.query(async () => {
+ const rows = await db
+ .select({ status: pageReports.status, count: sql`count(*)::int` })
+ .from(pageReports)
+ .groupBy(pageReports.status);
+ return Object.fromEntries(rows.map((row) => [row.status, row.count]));
+ }),
+} satisfies TRPCRouterRecord;
diff --git a/packages/trpc/src/router/page/schema.test.ts b/packages/trpc/src/router/page/schema.test.ts
index d1d017343cf..0605abdfc42 100644
--- a/packages/trpc/src/router/page/schema.test.ts
+++ b/packages/trpc/src/router/page/schema.test.ts
@@ -5,6 +5,8 @@ import {
PAGE_LIST_MAX_IDS,
PAGE_LIST_MAX_LIMIT,
publishPageSchema,
+ reportPageSchema,
+ reviewPageReportSchema,
} from "./schema";
const WORKSPACE = "00000000-0000-4000-8000-000000000001";
@@ -147,3 +149,44 @@ describe("listPagesSchema", () => {
expect(listPagesSchema.safeParse({ authorId: "nope" }).success).toBe(false);
});
});
+
+describe("reportPageSchema", () => {
+ const base = { slug: "sunlit-harbor-42", reason: "malware_or_phishing" };
+
+ test("a slug and a reason are enough — reporting must not need an account", () => {
+ expect(reportPageSchema.safeParse(base).success).toBe(true);
+ });
+
+ test("refuses a reason outside the offered list", () => {
+ expect(
+ reportPageSchema.safeParse({ ...base, reason: "i_dislike_it" }).success,
+ ).toBe(false);
+ });
+
+ test("refuses details longer than the column expects", () => {
+ expect(
+ reportPageSchema.safeParse({ ...base, details: "x".repeat(4001) })
+ .success,
+ ).toBe(false);
+ });
+
+ test("refuses a reporter email that is not an address", () => {
+ expect(
+ reportPageSchema.safeParse({ ...base, reporterEmail: "nope" }).success,
+ ).toBe(false);
+ });
+});
+
+describe("reviewPageReportSchema", () => {
+ const REPORT = "00000000-0000-4000-8000-000000000004";
+
+ test("a review resolves to upheld or dismissed, never back to open", () => {
+ expect(
+ reviewPageReportSchema.safeParse({ id: REPORT, status: "upheld" })
+ .success,
+ ).toBe(true);
+ expect(
+ reviewPageReportSchema.safeParse({ id: REPORT, status: "open" }).success,
+ ).toBe(false);
+ });
+});
diff --git a/packages/trpc/src/router/page/schema.ts b/packages/trpc/src/router/page/schema.ts
index 063cbf76578..31dbeb6f27c 100644
--- a/packages/trpc/src/router/page/schema.ts
+++ b/packages/trpc/src/router/page/schema.ts
@@ -1,3 +1,7 @@
+import {
+ pageReportReasonValues,
+ pageReportStatusValues,
+} from "@superset/db/schema";
import { z } from "zod";
export const OFFERED_VISIBILITIES = ["just_me", "org", "everyone"] as const;
@@ -196,6 +200,30 @@ export const deletePageSchema = z.object({
onlyIfEmpty: z.boolean().optional(),
});
+export const reportPageSchema = z.object({
+ slug: pageFields.slug,
+ reason: z.enum(pageReportReasonValues),
+ details: z.string().max(4000).optional(),
+ reporterEmail: z.string().email().max(320).optional(),
+});
+
+export const listPageReportsSchema = z.object({
+ status: z.enum(pageReportStatusValues).optional(),
+ limit: z.number().int().positive().max(200).default(50),
+ cursor: z.string().datetime().optional(),
+});
+
+export const reviewPageReportSchema = z.object({
+ id: pageFields.id,
+ status: z.enum(["upheld", "dismissed"]),
+ note: z.string().max(2000).optional(),
+});
+
+export const takedownPageSchema = z.object({
+ id: pageFields.id,
+ note: z.string().max(2000).optional(),
+});
+
export const pullPageSchema = pageRefFieldsSchema
.extend({ version: pageFields.version.optional() })
.refine(hasPageRef, PAGE_REF_MESSAGE);
diff --git a/packages/trpc/src/router/page/storage.ts b/packages/trpc/src/router/page/storage.ts
index 7b0532b48fe..a7df5bbc291 100644
--- a/packages/trpc/src/router/page/storage.ts
+++ b/packages/trpc/src/router/page/storage.ts
@@ -39,6 +39,11 @@ export async function writePageManifest(pageId: string): Promise {
.limit(1);
if (!page) return;
+ if (page.takenDownAt) {
+ await thrice(() => deleteObjects([pageManifestKey(pageId)]));
+ return;
+ }
+
const rows = await db
.select({
id: pageVersions.id,
@@ -103,19 +108,25 @@ export async function writePageManifest(pageId: string): Promise {
),
};
- // The manifest is the Worker's authorization source, so its write gets a
- // short retry before the caller's error surfaces; a crash between the
- // database commit and this write is repaired by the next caller (durable
- // reconciliation is a recorded follow-up).
+ await thrice(() =>
+ putObject({
+ key: pageManifestKey(pageId),
+ body: JSON.stringify(manifest),
+ contentType: "application/json",
+ bucket: "private",
+ }),
+ );
+}
+
+// The manifest is the Worker's authorization source, so both writing it and
+// deleting it get a short retry before the caller's error surfaces; a crash
+// between the database commit and the object store is repaired by the next
+// caller (durable reconciliation is a recorded follow-up).
+async function thrice(write: () => Promise): Promise {
let lastError: unknown;
for (let attempt = 0; attempt < 3; attempt += 1) {
try {
- await putObject({
- key: pageManifestKey(pageId),
- body: JSON.stringify(manifest),
- contentType: "application/json",
- bucket: "private",
- });
+ await write();
return;
} catch (error) {
lastError = error;