Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
feat: status-page ip-restriction (#2079)
Maximilian Kaskec141c73f007f
diff --git a/apps/dashboard/src/app/(dashboard)/settings/billing/client.tsx b/apps/dashboard/src/app/(dashboard)/settings/billing/client.tsxindex a96e3e394..cc363bc8b 100644--- a/apps/dashboard/src/app/(dashboard)/settings/billing/client.tsx+++ b/apps/dashboard/src/app/(dashboard)/settings/billing/client.tsx@@ -194,6 +194,14 @@ export function Client() {workspace={workspace}/>) : null}+ {planAddons["ip-restriction"] ? (+ <BillingAddons+ label={planAddons["ip-restriction"].title}+ description={planAddons["ip-restriction"].description}+ addon="ip-restriction"+ workspace={workspace}+ />+ ) : null}{planAddons["white-label"] ? (<BillingAddonslabel={planAddons["white-label"].title}diff --git a/apps/dashboard/src/components/forms/status-page/form-page-access.tsx b/apps/dashboard/src/components/forms/status-page/form-page-access.tsxindex 82694c863..05f940980 100644--- a/apps/dashboard/src/components/forms/status-page/form-page-access.tsx+++ b/apps/dashboard/src/components/forms/status-page/form-page-access.tsx@@ -31,13 +31,18 @@ import {import { Switch } from "@openstatus/ui/components/ui/switch";import { cn } from "@openstatus/ui/lib/utils";import { isTRPCClientError } from "@trpc/client";-import { Key, Lock, LockOpen, ShieldUser } from "lucide-react";+import { Key, Lock, LockOpen, ShieldAlert, ShieldUser } from "lucide-react";import { useTransition } from "react";import { useForm } from "react-hook-form";import { toast } from "sonner";import { z } from "zod";-const accessTypeSchema = z.enum(["public", "password", "email-domain"]);+const accessTypeSchema = z.enum([+ "public",+ "password",+ "email-domain",+ "ip-restriction",+]);const schema = z.object({accessType: accessTypeSchema,@@ -54,6 +59,23 @@ const schema = z.object({z.array(z.string()).optional(),).optional(),+ allowedIpRanges: z+ .preprocess(+ (val: string[] | undefined) =>+ val+ ? String(val)+ .split(",")+ .map((range) => {+ const trimmed = range.trim();+ return trimmed && !trimmed.includes("/")+ ? `${trimmed}/32`+ : trimmed;+ })+ .filter((range) => range.length > 0)+ : [],+ z.array(z.cidrv4()).optional(),+ )+ .optional(),allowIndex: z.boolean().optional(),});@@ -78,6 +100,7 @@ export function FormPageAccess({accessType: "public",password: "",authEmailDomains: [],+ allowedIpRanges: [],},});const watchAccessType = form.watch("accessType");@@ -114,7 +137,8 @@ export function FormPageAccess({<FormCardTitle>Page Access</FormCardTitle><FormCardDescription>Enable protection for your status page. Choose between simple- password or email domain authentication via magic link.+ password, email domain authentication via magic link, or IP+ restriction.</FormCardDescription></FormCardHeader><FormCardContent>@@ -138,6 +162,11 @@ export function FormPageAccess({icon: ShieldUser,label: "Magic Link (Auth)",},+ {+ value: "ip-restriction",+ icon: ShieldAlert,+ label: "IP Restriction",+ },].map((type) => {return (<FormItem@@ -220,6 +249,33 @@ export function FormPageAccess({/></FormCardContent>) : null}+ {watchAccessType === "ip-restriction" ? (+ <FormCardContent className="grid gap-4">+ {locked ? <FormCardContentUpgrade /> : null}+ <FormField+ control={form.control}+ name="allowedIpRanges"+ disabled={locked}+ render={({ field }) => (+ <FormItem>+ <FormLabel>Allowed IP Ranges</FormLabel>+ <FormControl>+ <Input+ placeholder="192.168.1.0/24, 10.0.0.1"+ {...field}+ />+ </FormControl>+ <FormMessage />+ <FormDescription>+ Comma-separated list of IPv4 CIDR ranges (we automatically+ append /32 to single IPs). Single IPs are also accepted+ (e.g. 203.0.113.5).+ </FormDescription>+ </FormItem>+ )}+ />+ </FormCardContent>+ ) : null}<FormCardSeparator /><FormCardContent className="grid gap-4">{allowIndexLocked ? <FormCardContentUpgrade /> : null}diff --git a/apps/dashboard/src/components/forms/status-page/update.tsx b/apps/dashboard/src/components/forms/status-page/update.tsxindex 9ca081afb..5b460a4ac 100644--- a/apps/dashboard/src/components/forms/status-page/update.tsx+++ b/apps/dashboard/src/components/forms/status-page/update.tsx@@ -172,6 +172,7 @@ export function FormStatusPageUpdate() {"email-domain",workspace.limits["email-domain-protection"] === false,],+ ["ip-restriction", workspace.limits["ip-restriction"] === false],])}allowIndexLocked={workspace.limits["no-index"] === false}@@ -179,6 +180,7 @@ export function FormStatusPageUpdate() {accessType: statusPage.accessType,password: statusPage.password ?? undefined,authEmailDomains: statusPage.authEmailDomains ?? [],+ allowedIpRanges: statusPage.allowedIpRanges ?? [],allowIndex: statusPage.allowIndex ?? true,}}onSubmit={async (values) => {@@ -187,6 +189,10 @@ export function FormStatusPageUpdate() {accessType: values.accessType,password: values.password,authEmailDomains: values.authEmailDomains,+ allowedIpRanges:+ values.accessType === "ip-restriction"+ ? values.allowedIpRanges ?? null+ : null,allowIndex: values.allowIndex,});}}diff --git a/apps/dashboard/src/data/plans.ts b/apps/dashboard/src/data/plans.tsindex 39040fa32..2c707ae47 100644--- a/apps/dashboard/src/data/plans.ts+++ b/apps/dashboard/src/data/plans.ts@@ -65,6 +65,10 @@ export const config: Record<value: "email-domain-protection",label: "Magic Link (Auth)",},+ {+ value: "ip-restriction",+ label: "IP Restriction",+ },],},monitors: {diff --git a/apps/docs/src/content/docs/guides/self-hosting-openstatus.mdx b/apps/docs/src/content/docs/guides/self-hosting-openstatus.mdxindex d5fb4eb38..1dc18adc8 100644--- a/apps/docs/src/content/docs/guides/self-hosting-openstatus.mdx+++ b/apps/docs/src/content/docs/guides/self-hosting-openstatus.mdx@@ -27,6 +27,7 @@ openstatus provides a Docker Compose setup that makes self-hosting straightforwaSelf-hosting openstatus currently has these constraints:- It only works with private locations. You have to deploy our probes to the cloud provider of your choice.+- **IP Restriction is not secure outside Vercel.** The IP restriction feature for status pages relies on the `X-Forwarded-For` header, which [Vercel overwrites with the verified client IP](https://vercel.com/docs/headers/request-headers#x-forwarded-for). When self-hosting behind a different reverse proxy, clients can spoof this header to bypass IP restrictions. If you self-host and use IP restriction, ensure your reverse proxy strips and rewrites `X-Forwarded-For` with the real client IP before forwarding to openstatus.## Step-by-step guidediff --git a/apps/docs/src/content/docs/reference/status-page.mdx b/apps/docs/src/content/docs/reference/status-page.mdxindex 4cdabe815..f8d48f9d0 100644--- a/apps/docs/src/content/docs/reference/status-page.mdx+++ b/apps/docs/src/content/docs/reference/status-page.mdx@@ -57,6 +57,22 @@ Enables basic password protection for your status page. If a password is set, usRestricts access to your status page to users with approved email domains. Users receive a magic link via email, which, upon clicking, authenticates them via a session token. This feature is typically available as a paid add-on for specific plans.+### IP Restriction (Network Auth)++**Type:** String (add-on feature)++Restricts access to your status page based on client IPv4 addresses. You provide a comma-separated list of CIDR ranges (e.g., `192.168.1.0/24, 10.0.0.0/8`), and only requests from those networks can view the page. Single IPs without a subnet mask are treated as `/32`.++Visitors from outside the allowed ranges are redirected to a static "Access Restricted" page — there is no login flow since IP-based access cannot be changed by the user.++**Configuration:**+- Set `access_type` to `ip-restriction` in the dashboard or API.+- Provide `allowed_ip_ranges` as a comma-separated list of IPv4 CIDR ranges (we automatically+ append /32 to single IPs).+- IPv6 is not supported++**Note:** This feature is available as a paid add-on for Starter and Pro plans.+### Favicon**Type:** Image file (`.ico`, `.png`, `.svg`)diff --git a/apps/server/src/routes/rpc/services/status-page/__tests__/status-page.test.ts b/apps/server/src/routes/rpc/services/status-page/__tests__/status-page.test.tsindex 68a9b9129..f8f7cd068 100644--- a/apps/server/src/routes/rpc/services/status-page/__tests__/status-page.test.ts+++ b/apps/server/src/routes/rpc/services/status-page/__tests__/status-page.test.ts@@ -55,6 +55,9 @@ beforeAll(async () => {await db.run(sql`UPDATE workspace SET limits = json_set(COALESCE(limits, '{}'), '$."email-domain-protection"', json('true')) WHERE id = 1`,);+ await db.run(+ sql`UPDATE workspace SET limits = json_set(COALESCE(limits, '{}'), '$."ip-restriction"', json('true')) WHERE id = 1`,+ );await db.run(sql`UPDATE workspace SET limits = json_set(COALESCE(limits, '{}'), '$."no-index"', json('true')) WHERE id = 1`,);@@ -323,6 +326,11 @@ afterAll(async () => {await db.delete(page).where(eq(page.slug, `${TEST_PREFIX}-public-pw-slug`));await db.delete(page).where(eq(page.slug, `${TEST_PREFIX}-limit-ws2-slug`));await db.delete(page).where(eq(page.slug, `${TEST_PREFIX}-trim-domain-slug`));+ await db.delete(page).where(eq(page.slug, `${TEST_PREFIX}-ip-create-slug`));+ await db.delete(page).where(eq(page.slug, `${TEST_PREFIX}-ip-bare-slug`));+ await db+ .delete(page)+ .where(eq(page.slug, `${TEST_PREFIX}-ip-limit-ws2-slug`));await db.delete(monitor).where(eq(monitor.name, `${TEST_PREFIX}-monitor`));});@@ -3125,3 +3133,375 @@ describe("StatusPageService — allow_index", () => {}});});++// ==========================================================================+// IP Restriction+// ==========================================================================++describe("StatusPageService — IP restriction create", () => {+ test("creates a page with access_type IP_RESTRICTED + allowed_ip_ranges", async () => {+ const res = await connectRequest(+ "CreateStatusPage",+ {+ title: `${TEST_PREFIX}-ip-create`,+ slug: `${TEST_PREFIX}-ip-create-slug`,+ accessType: "PAGE_ACCESS_TYPE_IP_RESTRICTED",+ allowedIpRanges: "192.168.1.0/24,10.0.0.0/8",+ },+ { "x-openstatus-key": "1" },+ );++ expect(res.status).toBe(200);+ const data = await res.json();+ expect(data.statusPage.accessType).toBe("PAGE_ACCESS_TYPE_IP_RESTRICTED");+ expect(data.statusPage.allowedIpRanges).toBe("192.168.1.0/24,10.0.0.0/8");++ await db.delete(page).where(eq(page.id, Number(data.statusPage.id)));+ });++ test("returns 400 when IP_RESTRICTED without allowed_ip_ranges", async () => {+ const res = await connectRequest(+ "CreateStatusPage",+ {+ title: `${TEST_PREFIX}-ip-no-ranges`,+ slug: `${TEST_PREFIX}-ip-no-ranges-slug`,+ accessType: "PAGE_ACCESS_TYPE_IP_RESTRICTED",+ },+ { "x-openstatus-key": "1" },+ );++ expect(res.status).toBe(400);+ const data = await res.json();+ expect(data.message).toContain("IP range");+ });++ test("returns 400 when IP_RESTRICTED with empty allowed_ip_ranges", async () => {+ const res = await connectRequest(+ "CreateStatusPage",+ {+ title: `${TEST_PREFIX}-ip-empty`,+ slug: `${TEST_PREFIX}-ip-empty-slug`,+ accessType: "PAGE_ACCESS_TYPE_IP_RESTRICTED",+ allowedIpRanges: "",+ },+ { "x-openstatus-key": "1" },+ );++ expect(res.status).toBe(400);+ });++ test("returns 400 when IP_RESTRICTED with invalid CIDR", async () => {+ const res = await connectRequest(+ "CreateStatusPage",+ {+ title: `${TEST_PREFIX}-ip-bad-cidr`,+ slug: `${TEST_PREFIX}-ip-bad-cidr-slug`,+ accessType: "PAGE_ACCESS_TYPE_IP_RESTRICTED",+ allowedIpRanges: "not-a-cidr",+ },+ { "x-openstatus-key": "1" },+ );++ expect(res.status).toBe(400);+ const data = await res.json();+ expect(data.message).toContain("Invalid IPv4 CIDR");+ });++ test("auto-appends /32 to bare IPs", async () => {+ const res = await connectRequest(+ "CreateStatusPage",+ {+ title: `${TEST_PREFIX}-ip-bare`,+ slug: `${TEST_PREFIX}-ip-bare-slug`,+ accessType: "PAGE_ACCESS_TYPE_IP_RESTRICTED",+ allowedIpRanges: "10.0.0.1",+ },+ { "x-openstatus-key": "1" },+ );++ expect(res.status).toBe(200);+ const data = await res.json();+ expect(data.statusPage.allowedIpRanges).toBe("10.0.0.1/32");++ await db.delete(page).where(eq(page.id, Number(data.statusPage.id)));+ });+});++describe("StatusPageService — IP restriction update", () => {+ test("updates access_type to IP_RESTRICTED with allowed_ip_ranges", async () => {+ await db+ .update(page)+ .set({ accessType: "public", password: null, allowedIpRanges: null })+ .where(eq(page.id, testPasswordPageId));++ const res = await connectRequest(+ "UpdateStatusPage",+ {+ id: String(testPasswordPageId),+ accessType: "PAGE_ACCESS_TYPE_IP_RESTRICTED",+ allowedIpRanges: "10.0.0.0/8",+ },+ { "x-openstatus-key": "1" },+ );++ expect(res.status).toBe(200);+ const data = await res.json();+ expect(data.statusPage.accessType).toBe("PAGE_ACCESS_TYPE_IP_RESTRICTED");+ expect(data.statusPage.allowedIpRanges).toBe("10.0.0.0/8");++ // Restore+ await db+ .update(page)+ .set({+ accessType: "password",+ password: "test-secret-123",+ allowedIpRanges: null,+ })+ .where(eq(page.id, testPasswordPageId));+ });++ test("returns 400 when updating to IP_RESTRICTED without allowed_ip_ranges", async () => {+ const res = await connectRequest(+ "UpdateStatusPage",+ {+ id: String(testPasswordPageId),+ accessType: "PAGE_ACCESS_TYPE_IP_RESTRICTED",+ },+ { "x-openstatus-key": "1" },+ );++ expect(res.status).toBe(400);+ });++ test("returns 400 when updating to IP_RESTRICTED with invalid CIDR", async () => {+ const res = await connectRequest(+ "UpdateStatusPage",+ {+ id: String(testPasswordPageId),+ accessType: "PAGE_ACCESS_TYPE_IP_RESTRICTED",+ allowedIpRanges: "192.168.1.0/24,garbage",+ },+ { "x-openstatus-key": "1" },+ );++ expect(res.status).toBe(400);+ const data = await res.json();+ expect(data.message).toContain("Invalid IPv4 CIDR");+ });++ test("switching from IP_RESTRICTED to PUBLIC clears allowed_ip_ranges", async () => {+ await db+ .update(page)+ .set({+ accessType: "ip-restriction",+ allowedIpRanges: "192.168.0.0/16",+ password: null,+ authEmailDomains: null,+ })+ .where(eq(page.id, testPasswordPageId));++ const res = await connectRequest(+ "UpdateStatusPage",+ {+ id: String(testPasswordPageId),+ accessType: "PAGE_ACCESS_TYPE_PUBLIC",+ },+ { "x-openstatus-key": "1" },+ );++ expect(res.status).toBe(200);+ const data = await res.json();+ expect(data.statusPage.accessType).toBe("PAGE_ACCESS_TYPE_PUBLIC");+ expect(data.statusPage.allowedIpRanges ?? "").toBe("");++ // Restore+ await db+ .update(page)+ .set({+ accessType: "password",+ password: "test-secret-123",+ allowedIpRanges: null,+ })+ .where(eq(page.id, testPasswordPageId));+ });++ test("switching to IP_RESTRICTED clears password and auth_email_domains", async () => {+ await db+ .update(page)+ .set({+ accessType: "password",+ password: "old-password",+ authEmailDomains: "old.com",+ allowedIpRanges: null,+ })+ .where(eq(page.id, testPasswordPageId));++ const res = await connectRequest(+ "UpdateStatusPage",+ {+ id: String(testPasswordPageId),+ accessType: "PAGE_ACCESS_TYPE_IP_RESTRICTED",+ allowedIpRanges: "172.16.0.0/12",+ },+ { "x-openstatus-key": "1" },+ );++ expect(res.status).toBe(200);+ const data = await res.json();+ expect(data.statusPage.accessType).toBe("PAGE_ACCESS_TYPE_IP_RESTRICTED");+ expect(data.statusPage.password ?? "").toBe("");+ expect(data.statusPage.authEmailDomains ?? []).toEqual([]);+ expect(data.statusPage.allowedIpRanges).toBe("172.16.0.0/12");++ // Restore+ await db+ .update(page)+ .set({+ accessType: "password",+ password: "test-secret-123",+ authEmailDomains: null,+ allowedIpRanges: null,+ })+ .where(eq(page.id, testPasswordPageId));+ });+});++describe("StatusPageService — IP restriction limit enforcement (workspace 2 / free plan)", () => {+ test("returns 403 when creating with IP_RESTRICTED on free plan", async () => {+ const res = await connectRequest(+ "CreateStatusPage",+ {+ title: `${TEST_PREFIX}-ip-limit-ws2`,+ slug: `${TEST_PREFIX}-ip-limit-ws2-slug`,+ accessType: "PAGE_ACCESS_TYPE_IP_RESTRICTED",+ allowedIpRanges: "10.0.0.0/8",+ },+ { "x-openstatus-key": "2" },+ );++ expect(res.status).toBe(403);+ });++ test("returns 403 when updating to IP_RESTRICTED on free plan", async () => {+ const ws2Page = await db+ .insert(page)+ .values({+ workspaceId: 2,+ title: `${TEST_PREFIX}-ip-limit-update-ws2`,+ slug: `${TEST_PREFIX}-ip-limit-ws2-slug`,+ description: "Free plan page",+ customDomain: "",+ })+ .returning()+ .get();++ const res = await connectRequest(+ "UpdateStatusPage",+ {+ id: String(ws2Page.id),+ accessType: "PAGE_ACCESS_TYPE_IP_RESTRICTED",+ allowedIpRanges: "10.0.0.0/8",+ },+ { "x-openstatus-key": "2" },+ );++ expect(res.status).toBe(403);++ await db.delete(page).where(eq(page.id, ws2Page.id));+ });+});++describe("StatusPageService — IP restriction in read responses", () => {+ test("GetStatusPage returns allowed_ip_ranges", async () => {+ await db+ .update(page)+ .set({+ accessType: "ip-restriction",+ allowedIpRanges: "10.0.0.0/8,172.16.0.0/12",+ password: null,+ })+ .where(eq(page.id, testPasswordPageId));++ const res = await connectRequest(+ "GetStatusPage",+ { id: String(testPasswordPageId) },+ { "x-openstatus-key": "1" },+ );++ expect(res.status).toBe(200);+ const data = await res.json();+ expect(data.statusPage.allowedIpRanges).toBe("10.0.0.0/8,172.16.0.0/12");++ // Restore+ await db+ .update(page)+ .set({+ accessType: "password",+ password: "test-secret-123",+ allowedIpRanges: null,+ })+ .where(eq(page.id, testPasswordPageId));+ });++ test("GetStatusPageContent by slug does NOT return allowed_ip_ranges", async () => {+ await db+ .update(page)+ .set({+ accessType: "public",+ allowedIpRanges: "10.0.0.0/8",+ password: null,+ })+ .where(eq(page.id, testPasswordPageId));++ const res = await connectRequest(+ "GetStatusPageContent",+ { slug: testPasswordPageSlug },+ { "x-openstatus-key": "1" },+ );++ expect(res.status).toBe(200);+ const data = await res.json();+ expect(data.statusPage.allowedIpRanges ?? "").toBe("");++ // Restore+ await db+ .update(page)+ .set({+ accessType: "password",+ password: "test-secret-123",+ allowedIpRanges: null,+ })+ .where(eq(page.id, testPasswordPageId));+ });++ test("GetStatusPageContent by ID returns allowed_ip_ranges", async () => {+ await db+ .update(page)+ .set({+ accessType: "ip-restriction",+ allowedIpRanges: "192.168.0.0/16",+ password: null,+ })+ .where(eq(page.id, testPasswordPageId));++ const res = await connectRequest(+ "GetStatusPageContent",+ { id: String(testPasswordPageId) },+ { "x-openstatus-key": "1" },+ );++ expect(res.status).toBe(200);+ const data = await res.json();+ expect(data.statusPage.allowedIpRanges).toBe("192.168.0.0/16");++ // Restore+ await db+ .update(page)+ .set({+ accessType: "password",+ password: "test-secret-123",+ allowedIpRanges: null,+ })+ .where(eq(page.id, testPasswordPageId));+ });+});diff --git a/apps/server/src/routes/rpc/services/status-page/converters.ts b/apps/server/src/routes/rpc/services/status-page/converters.tsindex 83bd10e8e..7076c238b 100644--- a/apps/server/src/routes/rpc/services/status-page/converters.ts+++ b/apps/server/src/routes/rpc/services/status-page/converters.ts@@ -25,12 +25,13 @@ type DBPage = {customDomain: string;published: boolean | null;forceTheme: "system" | "light" | "dark";- accessType: "public" | "password" | "email-domain" | null;+ accessType: "public" | "password" | "email-domain" | "ip-restriction" | null;homepageUrl: string | null;contactUrl: string | null;icon: string | null;password: string | null;authEmailDomains: string | null;+ allowedIpRanges: string | null;defaultLocale: Locale;locales: Locale[] | null;allowIndex: boolean;@@ -75,7 +76,7 @@ type DBPageSubscriber = {* Convert DB access type string to proto enum.*/export function dbAccessTypeToProto(- accessType: "public" | "password" | "email-domain" | null,+ accessType: "public" | "password" | "email-domain" | "ip-restriction" | null,): PageAccessType {switch (accessType) {case "public":@@ -84,6 +85,8 @@ export function dbAccessTypeToProto(return PageAccessType.PASSWORD_PROTECTED;case "email-domain":return PageAccessType.AUTHENTICATED;+ case "ip-restriction":+ return PageAccessType.IP_RESTRICTED;default:return PageAccessType.PUBLIC;}@@ -94,7 +97,7 @@ export function dbAccessTypeToProto(*/export function protoAccessTypeToDb(accessType: PageAccessType,-): "public" | "password" | "email-domain" {+): "public" | "password" | "email-domain" | "ip-restriction" {switch (accessType) {case PageAccessType.PUBLIC:return "public";@@ -102,6 +105,8 @@ export function protoAccessTypeToDb(return "password";case PageAccessType.AUTHENTICATED:return "email-domain";+ case PageAccessType.IP_RESTRICTED:+ return "ip-restriction";default:return "public";}@@ -227,6 +232,7 @@ export function dbPageToProto(page: DBPage): StatusPage {password: page.password ?? "",authEmailDomains: page.authEmailDomains?.split(",").filter(Boolean) ?? [],allowIndex: page.allowIndex ?? true,+ allowedIpRanges: page.allowedIpRanges ?? "",};}diff --git a/apps/server/src/routes/rpc/services/status-page/index.ts b/apps/server/src/routes/rpc/services/status-page/index.tsindex aa220c72c..6d29d024c 100644--- a/apps/server/src/routes/rpc/services/status-page/index.ts+++ b/apps/server/src/routes/rpc/services/status-page/index.ts@@ -66,6 +66,7 @@ import {import {checkCustomDomainLimit,checkEmailDomainProtectionLimit,+ checkIpRestrictionLimit,checkNoIndexLimit,checkPageComponentLimits,checkPasswordProtectionLimit,@@ -152,6 +153,37 @@ function validateAuthEmailDomains(domains: string[]): string[] {return trimmed;}+/**+ * Validate and normalize allowed IP ranges (comma-separated CIDR notation).+ * Appends /32 to bare IPs. Validates each entry is a valid IPv4 CIDR.+ */+function validateAllowedIpRanges(ranges: string): string[] {+ const entries = ranges+ .split(",")+ .map((s) => s.trim())+ .filter(Boolean);+ if (entries.length === 0) {+ throw new ConnectError(+ "At least one IP range is required for IP restriction",+ Code.InvalidArgument,+ );+ }+ const cidrRegex =+ /^((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)\/(3[0-2]|[12]?\d)$/;+ const normalized: string[] = [];+ for (const entry of entries) {+ const value = entry.includes("/") ? entry : `${entry}/32`;+ if (!cidrRegex.test(value)) {+ throw new ConnectError(+ `Invalid IPv4 CIDR range: "${entry}"`,+ Code.InvalidArgument,+ );+ }+ normalized.push(value);+ }+ return normalized;+}+/*** Helper to get a component by ID with workspace scope.*/@@ -277,6 +309,7 @@ export const statusPageServiceImpl: ServiceImpl<typeof StatusPageService> = {let password: string | null = null;let authEmailDomains: string | null = null;+ let allowedIpRanges: string | null = null;if (hasAccessType) {if (reqAccessType === PageAccessType.PASSWORD_PROTECTED) {@@ -290,6 +323,10 @@ export const statusPageServiceImpl: ServiceImpl<typeof StatusPageService> = {checkEmailDomainProtectionLimit(limits);const validatedDomains = validateAuthEmailDomains(req.authEmailDomains);authEmailDomains = validatedDomains.join(",");+ } else if (reqAccessType === PageAccessType.IP_RESTRICTED) {+ checkIpRestrictionLimit(limits);+ const validated = validateAllowedIpRanges(req.allowedIpRanges ?? "");+ allowedIpRanges = validated.join(",");}}@@ -314,6 +351,7 @@ export const statusPageServiceImpl: ServiceImpl<typeof StatusPageService> = {accessType,password,authEmailDomains,+ allowedIpRanges,homepageUrl: req.homepageUrl ?? null,contactUrl: req.contactUrl ?? null,defaultLocale,@@ -499,15 +537,24 @@ export const statusPageServiceImpl: ServiceImpl<typeof StatusPageService> = {}updateValues.password = trimmedPassword;updateValues.authEmailDomains = null;+ updateValues.allowedIpRanges = null;} else if (reqAccessType === PageAccessType.AUTHENTICATED) {checkEmailDomainProtectionLimit(limits);const validatedDomains = validateAuthEmailDomains(req.authEmailDomains);updateValues.authEmailDomains = validatedDomains.join(",");updateValues.password = null;+ updateValues.allowedIpRanges = null;+ } else if (reqAccessType === PageAccessType.IP_RESTRICTED) {+ checkIpRestrictionLimit(limits);+ const validated = validateAllowedIpRanges(req.allowedIpRanges ?? "");+ updateValues.allowedIpRanges = validated.join(",");+ updateValues.password = null;+ updateValues.authEmailDomains = null;} else {// Switching to PUBLIC or other — clear stale dataupdateValues.password = null;updateValues.authEmailDomains = null;+ updateValues.allowedIpRanges = null;}updateValues.accessType = protoAccessTypeToDb(reqAccessType);}@@ -1199,6 +1246,7 @@ export const statusPageServiceImpl: ServiceImpl<typeof StatusPageService> = {if (isPublicAccess) {statusPage.password = "";statusPage.authEmailDomains = [];+ statusPage.allowedIpRanges = "";}return {diff --git a/apps/server/src/routes/rpc/services/status-page/limits.ts b/apps/server/src/routes/rpc/services/status-page/limits.tsindex a96d0ff17..cbcf97b0b 100644--- a/apps/server/src/routes/rpc/services/status-page/limits.ts+++ b/apps/server/src/routes/rpc/services/status-page/limits.ts@@ -63,6 +63,16 @@ export function checkEmailDomainProtectionLimit(limits: Limits): void {}}+/**+ * Check if IP restriction feature is available on the workspace plan.+ * Throws ConnectError with PermissionDenied if not available.+ */+export function checkIpRestrictionLimit(limits: Limits): void {+ if (!limits["ip-restriction"]) {+ throw new ConnectError("Upgrade for IP restriction", Code.PermissionDenied);+ }+}+/*** Check if no-index feature is available on the workspace plan.* Throws ConnectError with PermissionDenied if not available.diff --git a/apps/server/static/openapi.yaml b/apps/server/static/openapi.yamlindex adcbcb86b..72dae9f78 100644--- a/apps/server/static/openapi.yaml+++ b/apps/server/static/openapi.yaml@@ -2279,6 +2279,12 @@ components:- "null"title: allow_indexdescription: Whether search engines are allowed to index this status page (optional, defaults to true).+ allowedIpRanges:+ type:+ - string+ - "null"+ title: allowed_ip_ranges+ description: Comma-separated IPv4 CIDR ranges (required when access_type is IP_RESTRICTED).title: CreateStatusPageRequestadditionalProperties: falsedescription: CreateStatusPageRequest is the request to create a new status page.@@ -2573,6 +2579,7 @@ components:- PAGE_ACCESS_TYPE_PUBLIC- PAGE_ACCESS_TYPE_PASSWORD_PROTECTED- PAGE_ACCESS_TYPE_AUTHENTICATED+ - PAGE_ACCESS_TYPE_IP_RESTRICTEDdescription: PageAccessType defines who can access the status page.openstatus.status_page.v1.PageComponent:type: object@@ -2815,6 +2822,10 @@ components:type: booleantitle: allow_indexdescription: Whether search engines are allowed to index this status page.+ allowedIpRanges:+ type: string+ title: allowed_ip_ranges+ description: Comma-separated IPv4 CIDR ranges (only set when access_type is IP_RESTRICTED).title: StatusPageadditionalProperties: falsedescription: StatusPage represents a full status page with all details.@@ -3115,6 +3126,12 @@ components:- "null"title: allow_indexdescription: Whether search engines are allowed to index this status page (optional).+ allowedIpRanges:+ type:+ - string+ - "null"+ title: allowed_ip_ranges+ description: Comma-separated IPv4 CIDR ranges (required when access_type is IP_RESTRICTED).title: UpdateStatusPageRequestadditionalProperties: falsedescription: UpdateStatusPageRequest is the request to update a status page.diff --git a/apps/status-page/messages/de.json b/apps/status-page/messages/de.jsonindex 268a62964..eb93e0b56 100644--- a/apps/status-page/messages/de.json+++ b/apps/status-page/messages/de.json@@ -1,14 +1,16 @@{"Y9HHck": "Authentifizieren","1QcGkA": "Geben Sie Ihre E-Mail-Adresse ein, um einen Magic Link für den Zugriff auf die Statusseite zu erhalten. Hinweis: Es werden nur E-Mails von genehmigten Domains akzeptiert.",- "txkW56": "Wird gesendet...","wSZR47": "Absenden",+ "txkW56": "Wird gesendet...","OrFVks": "Überprüfen Sie Ihren Posteingang!","n36zhX": "Greifen Sie auf die Statusseite zu, indem Sie auf den Link in der E-Mail klicken.","qIAQSi": "Geschützte Seite","lbw10C": "Geben Sie das Passwort ein, um auf die Statusseite zuzugreifen.","t262xH": "E-Mail und Weiterleitungs-URL sind erforderlich","DwevKz": "Bei der Anmeldung ist ein unerwarteter Fehler aufgetreten",+ "xOqgA3": "Zugriff eingeschränkt",+ "U2RCyj": "Diese Statusseite ist nur über bestimmte IPv4-Netzwerke erreichbar. Wenden Sie sich an Ihren Netzwerkadministrator, um Zugriff zu erhalten.","Ppx673": "Berichte","JCMXwP": "Wartungen","I7B7SH": "Keine Wartungen gefunden",diff --git a/apps/status-page/messages/en.json b/apps/status-page/messages/en.jsonindex 1b96a3fb9..ccb786d5c 100644--- a/apps/status-page/messages/en.json+++ b/apps/status-page/messages/en.json@@ -1,14 +1,16 @@{"Y9HHck": "Authenticate","1QcGkA": "Enter your email to receive a magic link for accessing the status page. Note: Only emails from approved domains are accepted.",- "txkW56": "Submitting...","wSZR47": "Submit",+ "txkW56": "Submitting...","OrFVks": "Check your inbox!","n36zhX": "Access the status page by clicking the link in the email.","qIAQSi": "Protected Page","lbw10C": "Enter the password to access the status page.","t262xH": "Email and redirectTo are required","DwevKz": "An unexpected error occurred during sign in",+ "xOqgA3": "Access Restricted",+ "U2RCyj": "This status page is only accessible from specific IPv4 networks. Reach out to your network administrator to get access.","Ppx673": "Reports","JCMXwP": "Maintenances","I7B7SH": "No maintenances found",diff --git a/apps/status-page/messages/fr.json b/apps/status-page/messages/fr.jsonindex 0c014d605..09627f407 100644--- a/apps/status-page/messages/fr.json+++ b/apps/status-page/messages/fr.json@@ -1,14 +1,16 @@{"Y9HHck": "S'authentifier","1QcGkA": "Entrez votre email pour recevoir un lien magique d'accès à la page de statut. Remarque : seuls les emails provenant de domaines approuvés sont acceptés.",- "txkW56": "Envoi en cours...","wSZR47": "Envoyer",+ "txkW56": "Envoi en cours...","OrFVks": "Vérifiez votre boîte de réception !","n36zhX": "Accédez à la page de statut en cliquant sur le lien dans l'email.","qIAQSi": "Page protégée","lbw10C": "Entrez le mot de passe pour accéder à la page de statut.","t262xH": "L'email et l'URL de redirection sont requis","DwevKz": "Une erreur inattendue s'est produite lors de la connexion",+ "xOqgA3": "Accès restreint",+ "U2RCyj": "Cette page de statut n'est accessible que depuis des réseaux IPv4 spécifiques. Contactez votre administrateur réseau pour obtenir l'accès.","Ppx673": "Rapports","JCMXwP": "Maintenances","I7B7SH": "Aucune maintenance trouvée",diff --git a/apps/status-page/messages/tr.json b/apps/status-page/messages/tr.jsonindex 78eeb1587..ea89ca777 100644--- a/apps/status-page/messages/tr.json+++ b/apps/status-page/messages/tr.json@@ -1,14 +1,16 @@{"Y9HHck": "Kimlik Doğrula","1QcGkA": "Durum sayfasına erişmek için sihirli bağlantı almak üzere e-posta adresinizi girin. Not: Yalnızca onaylı alan adlarından gelen e-postalar kabul edilir.",- "txkW56": "Gönderiliyor...","wSZR47": "Gönder",+ "txkW56": "Gönderiliyor...","OrFVks": "Gelen kutunuzu kontrol edin!","n36zhX": "E-postadaki bağlantıya tıklayarak durum sayfasına erişin.","qIAQSi": "Korumalı Sayfa","lbw10C": "Durum sayfasına erişmek için şifreyi girin.","t262xH": "E-posta ve yönlendirme adresi gereklidir","DwevKz": "Oturum açma sırasında beklenmeyen bir hata oluştu",+ "xOqgA3": "Erişim Kısıtlı",+ "U2RCyj": "Bu durum sayfasına yalnızca belirli IPv4 ağlarından erişilebilir. Erişim sağlamak için ağ yöneticinizle iletişime geçin.","Ppx673": "Raporlar","JCMXwP": "Bakım Çalışmaları","I7B7SH": "Bakım çalışması bulunamadı",diff --git a/apps/status-page/package.json b/apps/status-page/package.jsonindex 77a1d91af..45e64fec4 100644--- a/apps/status-page/package.json+++ b/apps/status-page/package.json@@ -51,6 +51,7 @@"cmdk": "1.1.1","date-fns": "3.6.0","feed": "4.2.2",+ "ip-cidr": "4.0.2","lucide-react": "0.525.0","next": "16.1.6","next-auth": "5.0.0-beta.29",diff --git a/apps/status-page/src/app/(status-page)/[domain]/[locale]/(auth)/restricted/page.tsx b/apps/status-page/src/app/(status-page)/[domain]/[locale]/(auth)/restricted/page.tsxnew file mode 100644index 000000000..45ad75797--- /dev/null+++ b/apps/status-page/src/app/(status-page)/[domain]/[locale]/(auth)/restricted/page.tsx@@ -0,0 +1,32 @@+"use client";++import { useTRPC } from "@/lib/trpc/client";+import { useQuery } from "@tanstack/react-query";+import { ShieldAlert } from "lucide-react";+import { useExtracted } from "next-intl";+import { notFound, useParams } from "next/navigation";++export default function RestrictedPage() {+ const { domain } = useParams<{ domain: string }>();+ const t = useExtracted();+ const trpc = useTRPC();+ const { data: page } = useQuery(+ trpc.statusPage.get.queryOptions({ slug: domain }),+ );++ if (page && page.accessType !== "ip-restriction") {+ return notFound();+ }++ return (+ <div className="m-auto flex flex-col items-center justify-center gap-4 p-4 text-center">+ <ShieldAlert className="h-12 w-12 text-muted-foreground" />+ <h1 className="font-semibold text-2xl">{t("Access Restricted")}</h1>+ <p className="text-muted-foreground">+ {t(+ "This status page is only accessible from specific IPv4 networks. Reach out to your network administrator to get access.",+ )}+ </p>+ </div>+ );+}diff --git a/apps/status-page/src/proxy.ts b/apps/status-page/src/proxy.tsindex cb71485c0..5c43617d0 100644--- a/apps/status-page/src/proxy.ts+++ b/apps/status-page/src/proxy.ts@@ -1,3 +1,4 @@+import IPCIDR from "ip-cidr";import { NextResponse } from "next/server";import { auth } from "@/lib/auth";@@ -8,6 +9,20 @@ import { getValidSubdomain } from "./lib/domain";import { createProtectedCookieKey } from "./lib/protected";import { resolveRoute } from "./lib/resolve-route";+function isIpAllowed(ip: string, allowedRanges: string[]): boolean {+ // No ranges configured — deny all (defensive: form validation prevents this)+ if (allowedRanges.length === 0) return false;+ return allowedRanges.some((range) => {+ try {+ const cidr = new IPCIDR(range);+ return cidr.contains(ip);+ } catch {+ // Skip malformed ranges rather than crashing the middleware+ return false;+ }+ });+}+export default auth(async (req) => {const url = req.nextUrl.clone();const response = NextResponse.next();@@ -152,6 +167,32 @@ export default auth(async (req) => {}}+ if (_page.accessType === "ip-restriction") {+ // Vercel overwrites x-forwarded-for with the verified client IP — not spoofable.+ // https://vercel.com/docs/headers/request-headers#x-forwarded-for+ const xff = req.headers.get("x-forwarded-for");+ const clientIp = xff?.split(",")[0]?.trim() ?? req.headers.get("x-real-ip");++ const allowed = clientIp && isIpAllowed(clientIp, _page.allowedIpRanges);++ if (!url.pathname.endsWith("/restricted") && !allowed) {+ const { origin } = req.nextUrl;+ const redirectUrl = new URL(+ `${origin}${type === "pathname" ? `/${prefix}` : ""}/restricted`,+ );+ return NextResponse.redirect(redirectUrl);+ }++ // Redirect allowed IPs away from /restricted+ if (url.pathname.endsWith("/restricted") && allowed) {+ const { origin } = req.nextUrl;+ const redirectUrl = new URL(+ `${origin}${type === "pathname" ? `/${prefix}` : ""}`,+ );+ return NextResponse.redirect(redirectUrl);+ }+ }+const proxy = req.headers.get("x-proxy");console.log({ proxy });diff --git a/apps/web/src/content/pages/unrelated/pricing.mdx b/apps/web/src/content/pages/unrelated/pricing.mdxindex b7eb08562..6dbdee4a8 100644--- a/apps/web/src/content/pages/unrelated/pricing.mdx+++ b/apps/web/src/content/pages/unrelated/pricing.mdx@@ -12,7 +12,7 @@ faq:- question: "What does the free plan include?"answer: "The free plan includes one monitor, one status page with three components, and a minimum check interval of 10 minutes. No credit card required."- question: "What are add-ons and how are they billed?"- answer: "Add-ons are workspace-level settings like White Label, Email Authentication, and extra status pages. Once enabled, they apply to your entire workspace. Add-ons are billed monthly regardless of your plan's billing cycle."+ answer: "Add-ons are workspace-level settings like White Label, Email Authentication, IP Restriction, and extra status pages. Once enabled, they apply to your entire workspace. Add-ons are billed monthly regardless of your plan's billing cycle."- question: "Can I upgrade or downgrade my plan?"answer: "Yes. You can upgrade or downgrade at any time from your dashboard. Changes take effect immediately, and billing is prorated."- question: "What currencies do you support?"@@ -38,6 +38,7 @@ faq:| **Audience** | | | || Password Protection | | + | + || Email Authentification | | $100/mo. | $100/mo. |+| IP Restriction | | $100/mo. | $100/mo. || [Monitors](/uptime-monitoring) | | | || Check Interval | 10m | 1m | 30s || Number of monitors | 1 | 20 | 50 |diff --git a/packages/api/src/router/page.ts b/packages/api/src/router/page.tsindex 14875b1e9..a1ea9e5f6 100644--- a/packages/api/src/router/page.ts+++ b/packages/api/src/router/page.ts@@ -113,6 +113,26 @@ export const pageRouter = createTRPCRouter({});}+ if (+ limit["ip-restriction"] === false &&+ opts.input.accessType === "ip-restriction"+ ) {+ throw new TRPCError({+ code: "FORBIDDEN",+ message: "IP restriction is not available for your current plan.",+ });+ }++ if (+ opts.input.accessType === "ip-restriction" &&+ (!opts.input.allowedIpRanges || opts.input.allowedIpRanges.length === 0)+ ) {+ throw new TRPCError({+ code: "BAD_REQUEST",+ message: "At least one IP range is required for IP restriction.",+ });+ }+const newPage = await opts.ctx.db.insert(page).values({@@ -120,6 +140,7 @@ export const pageRouter = createTRPCRouter({configuration: JSON.stringify(configuration),...pageProps,authEmailDomains: pageProps.authEmailDomains?.join(","),+ allowedIpRanges: pageProps.allowedIpRanges?.join(","),}).returning().get();@@ -464,6 +485,17 @@ export const pageRouter = createTRPCRouter({accessType: z.enum(pageAccessTypes),authEmailDomains: z.array(z.string()).nullish(),password: z.string().nullish(),+ allowedIpRanges: z+ .array(+ z+ .string()+ .transform((s) => {+ const trimmed = s.trim();+ return trimmed.includes("/") ? trimmed : `${trimmed}/32`;+ })+ .pipe(z.cidrv4()),+ )+ .nullish(),allowIndex: z.boolean().optional(),}),)@@ -498,6 +530,26 @@ export const pageRouter = createTRPCRouter({});}+ if (+ limit["ip-restriction"] === false &&+ opts.input.accessType === "ip-restriction"+ ) {+ throw new TRPCError({+ code: "FORBIDDEN",+ message: "IP restriction is not available for your current plan.",+ });+ }++ if (+ opts.input.accessType === "ip-restriction" &&+ (!opts.input.allowedIpRanges || opts.input.allowedIpRanges.length === 0)+ ) {+ throw new TRPCError({+ code: "BAD_REQUEST",+ message: "At least one IP range is required for IP restriction.",+ });+ }+if (opts.input.allowIndex === false && limit["no-index"] === false) {throw new TRPCError({code: "FORBIDDEN",@@ -512,6 +564,7 @@ export const pageRouter = createTRPCRouter({accessType: opts.input.accessType,authEmailDomains: opts.input.authEmailDomains?.join(","),password: opts.input.password,+ allowedIpRanges: opts.input.allowedIpRanges?.join(",") ?? null,...(opts.input.allowIndex !== undefined && {allowIndex: opts.input.allowIndex,}),diff --git a/packages/api/src/router/stripe/utils.ts b/packages/api/src/router/stripe/utils.tsindex 5e36b5fc9..6880ec6a9 100644--- a/packages/api/src/router/stripe/utils.ts+++ b/packages/api/src/router/stripe/utils.ts@@ -96,6 +96,17 @@ export const FEATURES = [},},},+ {+ feature: "ip-restriction",+ price: {+ monthly: {+ priceIds: {+ test: "price_1TMpxlBXJcTfzsyJ1woQtafW",+ production: "price_1TMq0GBXJcTfzsyJrIVx9KPL",+ },+ },+ },+ },{feature: "white-label",price: {diff --git a/packages/db/drizzle/0063_whole_gressill.sql b/packages/db/drizzle/0063_whole_gressill.sqlnew file mode 100644index 000000000..174df0259--- /dev/null+++ b/packages/db/drizzle/0063_whole_gressill.sql@@ -0,0 +1 @@+ALTER TABLE `page` ADD `allowed_ip_ranges` text;\ No newline at end of filediff --git a/packages/db/drizzle/meta/0063_snapshot.json b/packages/db/drizzle/meta/0063_snapshot.jsonnew file mode 100644index 000000000..0645b01f2--- /dev/null+++ b/packages/db/drizzle/meta/0063_snapshot.json@@ -0,0 +1,3496 @@+{+ "version": "6",+ "dialect": "sqlite",+ "id": "8b1e0af0-9240-49e0-b8ea-a2e687bfa6a3",+ "prevId": "7b651d25-5bc8-4d03-9eef-135d5327bdd3",+ "tables": {+ "workspace": {+ "name": "workspace",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "slug": {+ "name": "slug",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "stripe_id": {+ "name": "stripe_id",+ "type": "text(256)",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "subscription_id": {+ "name": "subscription_id",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "plan": {+ "name": "plan",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "ends_at": {+ "name": "ends_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "paid_until": {+ "name": "paid_until",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "limits": {+ "name": "limits",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "'{}'"+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "dsn": {+ "name": "dsn",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ }+ },+ "indexes": {+ "workspace_slug_unique": {+ "name": "workspace_slug_unique",+ "columns": [+ "slug"+ ],+ "isUnique": true+ },+ "workspace_stripe_id_unique": {+ "name": "workspace_stripe_id_unique",+ "columns": [+ "stripe_id"+ ],+ "isUnique": true+ },+ "workspace_id_dsn_unique": {+ "name": "workspace_id_dsn_unique",+ "columns": [+ "id",+ "dsn"+ ],+ "isUnique": true+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "account": {+ "name": "account",+ "columns": {+ "user_id": {+ "name": "user_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "type": {+ "name": "type",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "provider": {+ "name": "provider",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "provider_account_id": {+ "name": "provider_account_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "refresh_token": {+ "name": "refresh_token",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "access_token": {+ "name": "access_token",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "expires_at": {+ "name": "expires_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "token_type": {+ "name": "token_type",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "scope": {+ "name": "scope",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "id_token": {+ "name": "id_token",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "session_state": {+ "name": "session_state",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ }+ },+ "indexes": {},+ "foreignKeys": {+ "account_user_id_user_id_fk": {+ "name": "account_user_id_user_id_fk",+ "tableFrom": "account",+ "tableTo": "user",+ "columnsFrom": [+ "user_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {+ "account_provider_provider_account_id_pk": {+ "columns": [+ "provider",+ "provider_account_id"+ ],+ "name": "account_provider_provider_account_id_pk"+ }+ },+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "session": {+ "name": "session",+ "columns": {+ "session_token": {+ "name": "session_token",+ "type": "text",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "user_id": {+ "name": "user_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "expires": {+ "name": "expires",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ }+ },+ "indexes": {},+ "foreignKeys": {+ "session_user_id_user_id_fk": {+ "name": "session_user_id_user_id_fk",+ "tableFrom": "session",+ "tableTo": "user",+ "columnsFrom": [+ "user_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "user": {+ "name": "user",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "tenant_id": {+ "name": "tenant_id",+ "type": "text(256)",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "first_name": {+ "name": "first_name",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "''"+ },+ "last_name": {+ "name": "last_name",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "''"+ },+ "photo_url": {+ "name": "photo_url",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "''"+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "email": {+ "name": "email",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "''"+ },+ "emailVerified": {+ "name": "emailVerified",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "deleted_at": {+ "name": "deleted_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ }+ },+ "indexes": {+ "user_tenant_id_unique": {+ "name": "user_tenant_id_unique",+ "columns": [+ "tenant_id"+ ],+ "isUnique": true+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "users_to_workspaces": {+ "name": "users_to_workspaces",+ "columns": {+ "user_id": {+ "name": "user_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "role": {+ "name": "role",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "'member'"+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "users_to_workspaces_user_id_user_id_fk": {+ "name": "users_to_workspaces_user_id_user_id_fk",+ "tableFrom": "users_to_workspaces",+ "tableTo": "user",+ "columnsFrom": [+ "user_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "no action",+ "onUpdate": "no action"+ },+ "users_to_workspaces_workspace_id_workspace_id_fk": {+ "name": "users_to_workspaces_workspace_id_workspace_id_fk",+ "tableFrom": "users_to_workspaces",+ "tableTo": "workspace",+ "columnsFrom": [+ "workspace_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "no action",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {+ "users_to_workspaces_user_id_workspace_id_pk": {+ "columns": [+ "user_id",+ "workspace_id"+ ],+ "name": "users_to_workspaces_user_id_workspace_id_pk"+ }+ },+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "verification_token": {+ "name": "verification_token",+ "columns": {+ "identifier": {+ "name": "identifier",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "token": {+ "name": "token",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "expires": {+ "name": "expires",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ }+ },+ "indexes": {},+ "foreignKeys": {},+ "compositePrimaryKeys": {+ "verification_token_identifier_token_pk": {+ "columns": [+ "identifier",+ "token"+ ],+ "name": "verification_token_identifier_token_pk"+ }+ },+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "status_report": {+ "name": "status_report",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "status": {+ "name": "status",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "title": {+ "name": "title",+ "type": "text(256)",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "page_id": {+ "name": "page_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "status_report_workspace_id_workspace_id_fk": {+ "name": "status_report_workspace_id_workspace_id_fk",+ "tableFrom": "status_report",+ "tableTo": "workspace",+ "columnsFrom": [+ "workspace_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "no action",+ "onUpdate": "no action"+ },+ "status_report_page_id_page_id_fk": {+ "name": "status_report_page_id_page_id_fk",+ "tableFrom": "status_report",+ "tableTo": "page",+ "columnsFrom": [+ "page_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "status_report_update": {+ "name": "status_report_update",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "status": {+ "name": "status",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "date": {+ "name": "date",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "message": {+ "name": "message",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "status_report_id": {+ "name": "status_report_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "status_report_update_status_report_id_status_report_id_fk": {+ "name": "status_report_update_status_report_id_status_report_id_fk",+ "tableFrom": "status_report_update",+ "tableTo": "status_report",+ "columnsFrom": [+ "status_report_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "integration": {+ "name": "integration",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "name": {+ "name": "name",+ "type": "text(256)",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "credential": {+ "name": "credential",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "external_id": {+ "name": "external_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "data": {+ "name": "data",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ }+ },+ "indexes": {},+ "foreignKeys": {+ "integration_workspace_id_workspace_id_fk": {+ "name": "integration_workspace_id_workspace_id_fk",+ "tableFrom": "integration",+ "tableTo": "workspace",+ "columnsFrom": [+ "workspace_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "no action",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "page": {+ "name": "page",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "title": {+ "name": "title",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "description": {+ "name": "description",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "icon": {+ "name": "icon",+ "type": "text(256)",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "''"+ },+ "slug": {+ "name": "slug",+ "type": "text(256)",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "custom_domain": {+ "name": "custom_domain",+ "type": "text(256)",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "published": {+ "name": "published",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": false+ },+ "force_theme": {+ "name": "force_theme",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "'system'"+ },+ "password": {+ "name": "password",+ "type": "text(256)",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "password_protected": {+ "name": "password_protected",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": false+ },+ "access_type": {+ "name": "access_type",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "'public'"+ },+ "auth_email_domains": {+ "name": "auth_email_domains",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "allowed_ip_ranges": {+ "name": "allowed_ip_ranges",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "homepage_url": {+ "name": "homepage_url",+ "type": "text(256)",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "contact_url": {+ "name": "contact_url",+ "type": "text(256)",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "default_locale": {+ "name": "default_locale",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "'en'"+ },+ "locales": {+ "name": "locales",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "legacy_page": {+ "name": "legacy_page",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": true+ },+ "configuration": {+ "name": "configuration",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "allow_index": {+ "name": "allow_index",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": true+ },+ "show_monitor_values": {+ "name": "show_monitor_values",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": true+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {+ "page_slug_unique": {+ "name": "page_slug_unique",+ "columns": [+ "slug"+ ],+ "isUnique": true+ }+ },+ "foreignKeys": {+ "page_workspace_id_workspace_id_fk": {+ "name": "page_workspace_id_workspace_id_fk",+ "tableFrom": "page",+ "tableTo": "workspace",+ "columnsFrom": [+ "workspace_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "monitor": {+ "name": "monitor",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "job_type": {+ "name": "job_type",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "'http'"+ },+ "periodicity": {+ "name": "periodicity",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "'other'"+ },+ "status": {+ "name": "status",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "'active'"+ },+ "active": {+ "name": "active",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": false+ },+ "regions": {+ "name": "regions",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "''"+ },+ "url": {+ "name": "url",+ "type": "text(2048)",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "name": {+ "name": "name",+ "type": "text(256)",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "''"+ },+ "external_name": {+ "name": "external_name",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "description": {+ "name": "description",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "''"+ },+ "headers": {+ "name": "headers",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "''"+ },+ "body": {+ "name": "body",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "''"+ },+ "method": {+ "name": "method",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "'GET'"+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "timeout": {+ "name": "timeout",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": 45000+ },+ "degraded_after": {+ "name": "degraded_after",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "assertions": {+ "name": "assertions",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "otel_endpoint": {+ "name": "otel_endpoint",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "otel_headers": {+ "name": "otel_headers",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "public": {+ "name": "public",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": false+ },+ "retry": {+ "name": "retry",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": 3+ },+ "follow_redirects": {+ "name": "follow_redirects",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": true+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "deleted_at": {+ "name": "deleted_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ }+ },+ "indexes": {},+ "foreignKeys": {+ "monitor_workspace_id_workspace_id_fk": {+ "name": "monitor_workspace_id_workspace_id_fk",+ "tableFrom": "monitor",+ "tableTo": "workspace",+ "columnsFrom": [+ "workspace_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "no action",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "page_subscriber": {+ "name": "page_subscriber",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "email": {+ "name": "email",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "page_id": {+ "name": "page_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "channel_type": {+ "name": "channel_type",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "'email'"+ },+ "webhook_url": {+ "name": "webhook_url",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "channel_config": {+ "name": "channel_config",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "token": {+ "name": "token",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "accepted_at": {+ "name": "accepted_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "expires_at": {+ "name": "expires_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "unsubscribed_at": {+ "name": "unsubscribed_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {+ "idx_page_subscriber_email_page_active": {+ "name": "idx_page_subscriber_email_page_active",+ "columns": [+ "LOWER(\"email\")",+ "page_id"+ ],+ "isUnique": true,+ "where": "\"page_subscriber\".\"unsubscribed_at\" IS NULL AND \"page_subscriber\".\"channel_type\" = 'email'"+ },+ "idx_page_subscriber_webhook_page_active": {+ "name": "idx_page_subscriber_webhook_page_active",+ "columns": [+ "webhook_url",+ "page_id"+ ],+ "isUnique": true,+ "where": "\"page_subscriber\".\"unsubscribed_at\" IS NULL AND \"page_subscriber\".\"channel_type\" = 'webhook'"+ }+ },+ "foreignKeys": {+ "page_subscriber_page_id_page_id_fk": {+ "name": "page_subscriber_page_id_page_id_fk",+ "tableFrom": "page_subscriber",+ "tableTo": "page",+ "columnsFrom": [+ "page_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {+ "page_subscriber_channel_check": {+ "name": "page_subscriber_channel_check",+ "value": "(\"page_subscriber\".\"channel_type\" = 'email' AND \"page_subscriber\".\"email\" IS NOT NULL AND \"page_subscriber\".\"webhook_url\" IS NULL) OR (\"page_subscriber\".\"channel_type\" = 'webhook' AND \"page_subscriber\".\"webhook_url\" IS NOT NULL AND \"page_subscriber\".\"email\" IS NULL)"+ }+ }+ },+ "page_subscriber_to_page_component": {+ "name": "page_subscriber_to_page_component",+ "columns": {+ "page_subscriber_id": {+ "name": "page_subscriber_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "page_component_id": {+ "name": "page_component_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "page_subscriber_to_page_component_page_subscriber_id_page_subscriber_id_fk": {+ "name": "page_subscriber_to_page_component_page_subscriber_id_page_subscriber_id_fk",+ "tableFrom": "page_subscriber_to_page_component",+ "tableTo": "page_subscriber",+ "columnsFrom": [+ "page_subscriber_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "page_subscriber_to_page_component_page_component_id_page_component_id_fk": {+ "name": "page_subscriber_to_page_component_page_component_id_page_component_id_fk",+ "tableFrom": "page_subscriber_to_page_component",+ "tableTo": "page_component",+ "columnsFrom": [+ "page_component_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {+ "page_subscriber_to_page_component_page_subscriber_id_page_component_id_pk": {+ "columns": [+ "page_subscriber_id",+ "page_component_id"+ ],+ "name": "page_subscriber_to_page_component_page_subscriber_id_page_component_id_pk"+ }+ },+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "notification": {+ "name": "notification",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "provider": {+ "name": "provider",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "data": {+ "name": "data",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "'{}'"+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "notification_workspace_id_workspace_id_fk": {+ "name": "notification_workspace_id_workspace_id_fk",+ "tableFrom": "notification",+ "tableTo": "workspace",+ "columnsFrom": [+ "workspace_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "no action",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "notification_trigger": {+ "name": "notification_trigger",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "monitor_id": {+ "name": "monitor_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "notification_id": {+ "name": "notification_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "cron_timestamp": {+ "name": "cron_timestamp",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ }+ },+ "indexes": {+ "notification_id_monitor_id_crontimestampe": {+ "name": "notification_id_monitor_id_crontimestampe",+ "columns": [+ "notification_id",+ "monitor_id",+ "cron_timestamp"+ ],+ "isUnique": true+ }+ },+ "foreignKeys": {+ "notification_trigger_monitor_id_monitor_id_fk": {+ "name": "notification_trigger_monitor_id_monitor_id_fk",+ "tableFrom": "notification_trigger",+ "tableTo": "monitor",+ "columnsFrom": [+ "monitor_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "notification_trigger_notification_id_notification_id_fk": {+ "name": "notification_trigger_notification_id_notification_id_fk",+ "tableFrom": "notification_trigger",+ "tableTo": "notification",+ "columnsFrom": [+ "notification_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "notifications_to_monitors": {+ "name": "notifications_to_monitors",+ "columns": {+ "monitor_id": {+ "name": "monitor_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "notification_id": {+ "name": "notification_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "notifications_to_monitors_monitor_id_monitor_id_fk": {+ "name": "notifications_to_monitors_monitor_id_monitor_id_fk",+ "tableFrom": "notifications_to_monitors",+ "tableTo": "monitor",+ "columnsFrom": [+ "monitor_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "notifications_to_monitors_notification_id_notification_id_fk": {+ "name": "notifications_to_monitors_notification_id_notification_id_fk",+ "tableFrom": "notifications_to_monitors",+ "tableTo": "notification",+ "columnsFrom": [+ "notification_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {+ "notifications_to_monitors_monitor_id_notification_id_pk": {+ "columns": [+ "monitor_id",+ "notification_id"+ ],+ "name": "notifications_to_monitors_monitor_id_notification_id_pk"+ }+ },+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "monitor_status": {+ "name": "monitor_status",+ "columns": {+ "monitor_id": {+ "name": "monitor_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "region": {+ "name": "region",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "''"+ },+ "status": {+ "name": "status",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "'active'"+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {+ "monitor_status_idx": {+ "name": "monitor_status_idx",+ "columns": [+ "monitor_id",+ "region"+ ],+ "isUnique": false+ }+ },+ "foreignKeys": {+ "monitor_status_monitor_id_monitor_id_fk": {+ "name": "monitor_status_monitor_id_monitor_id_fk",+ "tableFrom": "monitor_status",+ "tableTo": "monitor",+ "columnsFrom": [+ "monitor_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {+ "monitor_status_monitor_id_region_pk": {+ "columns": [+ "monitor_id",+ "region"+ ],+ "name": "monitor_status_monitor_id_region_pk"+ }+ },+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "invitation": {+ "name": "invitation",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "email": {+ "name": "email",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "role": {+ "name": "role",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "'member'"+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "token": {+ "name": "token",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "expires_at": {+ "name": "expires_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "accepted_at": {+ "name": "accepted_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ }+ },+ "indexes": {},+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "incident": {+ "name": "incident",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "title": {+ "name": "title",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "''"+ },+ "summary": {+ "name": "summary",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "''"+ },+ "status": {+ "name": "status",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "'triage'"+ },+ "monitor_id": {+ "name": "monitor_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "started_at": {+ "name": "started_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "acknowledged_at": {+ "name": "acknowledged_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "acknowledged_by": {+ "name": "acknowledged_by",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "resolved_at": {+ "name": "resolved_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "resolved_by": {+ "name": "resolved_by",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "incident_screenshot_url": {+ "name": "incident_screenshot_url",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "recovery_screenshot_url": {+ "name": "recovery_screenshot_url",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "auto_resolved": {+ "name": "auto_resolved",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {+ "incident_monitor_id_started_at_unique": {+ "name": "incident_monitor_id_started_at_unique",+ "columns": [+ "monitor_id",+ "started_at"+ ],+ "isUnique": true+ }+ },+ "foreignKeys": {+ "incident_monitor_id_monitor_id_fk": {+ "name": "incident_monitor_id_monitor_id_fk",+ "tableFrom": "incident",+ "tableTo": "monitor",+ "columnsFrom": [+ "monitor_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set default",+ "onUpdate": "no action"+ },+ "incident_workspace_id_workspace_id_fk": {+ "name": "incident_workspace_id_workspace_id_fk",+ "tableFrom": "incident",+ "tableTo": "workspace",+ "columnsFrom": [+ "workspace_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "no action",+ "onUpdate": "no action"+ },+ "incident_acknowledged_by_user_id_fk": {+ "name": "incident_acknowledged_by_user_id_fk",+ "tableFrom": "incident",+ "tableTo": "user",+ "columnsFrom": [+ "acknowledged_by"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "no action",+ "onUpdate": "no action"+ },+ "incident_resolved_by_user_id_fk": {+ "name": "incident_resolved_by_user_id_fk",+ "tableFrom": "incident",+ "tableTo": "user",+ "columnsFrom": [+ "resolved_by"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "no action",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "monitor_tag": {+ "name": "monitor_tag",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "color": {+ "name": "color",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "monitor_tag_workspace_id_workspace_id_fk": {+ "name": "monitor_tag_workspace_id_workspace_id_fk",+ "tableFrom": "monitor_tag",+ "tableTo": "workspace",+ "columnsFrom": [+ "workspace_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "monitor_tag_to_monitor": {+ "name": "monitor_tag_to_monitor",+ "columns": {+ "monitor_id": {+ "name": "monitor_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "monitor_tag_id": {+ "name": "monitor_tag_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "monitor_tag_to_monitor_monitor_id_monitor_id_fk": {+ "name": "monitor_tag_to_monitor_monitor_id_monitor_id_fk",+ "tableFrom": "monitor_tag_to_monitor",+ "tableTo": "monitor",+ "columnsFrom": [+ "monitor_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "monitor_tag_to_monitor_monitor_tag_id_monitor_tag_id_fk": {+ "name": "monitor_tag_to_monitor_monitor_tag_id_monitor_tag_id_fk",+ "tableFrom": "monitor_tag_to_monitor",+ "tableTo": "monitor_tag",+ "columnsFrom": [+ "monitor_tag_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {+ "monitor_tag_to_monitor_monitor_id_monitor_tag_id_pk": {+ "columns": [+ "monitor_id",+ "monitor_tag_id"+ ],+ "name": "monitor_tag_to_monitor_monitor_id_monitor_tag_id_pk"+ }+ },+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "application": {+ "name": "application",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "dsn": {+ "name": "dsn",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {+ "application_dsn_unique": {+ "name": "application_dsn_unique",+ "columns": [+ "dsn"+ ],+ "isUnique": true+ }+ },+ "foreignKeys": {+ "application_workspace_id_workspace_id_fk": {+ "name": "application_workspace_id_workspace_id_fk",+ "tableFrom": "application",+ "tableTo": "workspace",+ "columnsFrom": [+ "workspace_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "no action",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "maintenance": {+ "name": "maintenance",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "title": {+ "name": "title",+ "type": "text(256)",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "message": {+ "name": "message",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "from": {+ "name": "from",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "to": {+ "name": "to",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "page_id": {+ "name": "page_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "maintenance_workspace_id_workspace_id_fk": {+ "name": "maintenance_workspace_id_workspace_id_fk",+ "tableFrom": "maintenance",+ "tableTo": "workspace",+ "columnsFrom": [+ "workspace_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "no action",+ "onUpdate": "no action"+ },+ "maintenance_page_id_page_id_fk": {+ "name": "maintenance_page_id_page_id_fk",+ "tableFrom": "maintenance",+ "tableTo": "page",+ "columnsFrom": [+ "page_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "check": {+ "name": "check",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": true+ },+ "regions": {+ "name": "regions",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "''"+ },+ "url": {+ "name": "url",+ "type": "text(4096)",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "headers": {+ "name": "headers",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "''"+ },+ "body": {+ "name": "body",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "''"+ },+ "method": {+ "name": "method",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "'GET'"+ },+ "count_requests": {+ "name": "count_requests",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": 1+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "check_workspace_id_workspace_id_fk": {+ "name": "check_workspace_id_workspace_id_fk",+ "tableFrom": "check",+ "tableTo": "workspace",+ "columnsFrom": [+ "workspace_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "no action",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "monitor_run": {+ "name": "monitor_run",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "monitor_id": {+ "name": "monitor_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "runned_at": {+ "name": "runned_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "monitor_run_workspace_id_workspace_id_fk": {+ "name": "monitor_run_workspace_id_workspace_id_fk",+ "tableFrom": "monitor_run",+ "tableTo": "workspace",+ "columnsFrom": [+ "workspace_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "no action",+ "onUpdate": "no action"+ },+ "monitor_run_monitor_id_monitor_id_fk": {+ "name": "monitor_run_monitor_id_monitor_id_fk",+ "tableFrom": "monitor_run",+ "tableTo": "monitor",+ "columnsFrom": [+ "monitor_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "no action",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "private_location": {+ "name": "private_location",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "token": {+ "name": "token",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "last_seen_at": {+ "name": "last_seen_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "private_location_workspace_id_workspace_id_fk": {+ "name": "private_location_workspace_id_workspace_id_fk",+ "tableFrom": "private_location",+ "tableTo": "workspace",+ "columnsFrom": [+ "workspace_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "no action",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "private_location_to_monitor": {+ "name": "private_location_to_monitor",+ "columns": {+ "private_location_id": {+ "name": "private_location_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "monitor_id": {+ "name": "monitor_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "deleted_at": {+ "name": "deleted_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ }+ },+ "indexes": {},+ "foreignKeys": {+ "private_location_to_monitor_private_location_id_private_location_id_fk": {+ "name": "private_location_to_monitor_private_location_id_private_location_id_fk",+ "tableFrom": "private_location_to_monitor",+ "tableTo": "private_location",+ "columnsFrom": [+ "private_location_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "private_location_to_monitor_monitor_id_monitor_id_fk": {+ "name": "private_location_to_monitor_monitor_id_monitor_id_fk",+ "tableFrom": "private_location_to_monitor",+ "tableTo": "monitor",+ "columnsFrom": [+ "monitor_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "monitor_group": {+ "name": "monitor_group",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "page_id": {+ "name": "page_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "monitor_group_workspace_id_workspace_id_fk": {+ "name": "monitor_group_workspace_id_workspace_id_fk",+ "tableFrom": "monitor_group",+ "tableTo": "workspace",+ "columnsFrom": [+ "workspace_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "monitor_group_page_id_page_id_fk": {+ "name": "monitor_group_page_id_page_id_fk",+ "tableFrom": "monitor_group",+ "tableTo": "page",+ "columnsFrom": [+ "page_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "viewer": {+ "name": "viewer",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "email": {+ "name": "email",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "emailVerified": {+ "name": "emailVerified",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "image": {+ "name": "image",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {+ "viewer_email_unique": {+ "name": "viewer_email_unique",+ "columns": [+ "email"+ ],+ "isUnique": true+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "viewer_accounts": {+ "name": "viewer_accounts",+ "columns": {+ "user_id": {+ "name": "user_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "type": {+ "name": "type",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "provider": {+ "name": "provider",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "providerAccountId": {+ "name": "providerAccountId",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "refresh_token": {+ "name": "refresh_token",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "access_token": {+ "name": "access_token",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "expires_at": {+ "name": "expires_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "token_type": {+ "name": "token_type",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "scope": {+ "name": "scope",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "id_token": {+ "name": "id_token",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "session_state": {+ "name": "session_state",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ }+ },+ "indexes": {},+ "foreignKeys": {+ "viewer_accounts_user_id_viewer_id_fk": {+ "name": "viewer_accounts_user_id_viewer_id_fk",+ "tableFrom": "viewer_accounts",+ "tableTo": "viewer",+ "columnsFrom": [+ "user_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {+ "viewer_accounts_provider_providerAccountId_pk": {+ "columns": [+ "provider",+ "providerAccountId"+ ],+ "name": "viewer_accounts_provider_providerAccountId_pk"+ }+ },+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "viewer_session": {+ "name": "viewer_session",+ "columns": {+ "session_token": {+ "name": "session_token",+ "type": "text",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "user_id": {+ "name": "user_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "expires": {+ "name": "expires",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ }+ },+ "indexes": {},+ "foreignKeys": {+ "viewer_session_user_id_viewer_id_fk": {+ "name": "viewer_session_user_id_viewer_id_fk",+ "tableFrom": "viewer_session",+ "tableTo": "viewer",+ "columnsFrom": [+ "user_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "api_key": {+ "name": "api_key",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": true+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "description": {+ "name": "description",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "prefix": {+ "name": "prefix",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "hashed_token": {+ "name": "hashed_token",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "created_by_id": {+ "name": "created_by_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "expires_at": {+ "name": "expires_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "last_used_at": {+ "name": "last_used_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ }+ },+ "indexes": {+ "api_key_prefix_unique": {+ "name": "api_key_prefix_unique",+ "columns": [+ "prefix"+ ],+ "isUnique": true+ },+ "api_key_hashed_token_unique": {+ "name": "api_key_hashed_token_unique",+ "columns": [+ "hashed_token"+ ],+ "isUnique": true+ },+ "api_key_prefix_idx": {+ "name": "api_key_prefix_idx",+ "columns": [+ "prefix"+ ],+ "isUnique": false+ }+ },+ "foreignKeys": {+ "api_key_workspace_id_workspace_id_fk": {+ "name": "api_key_workspace_id_workspace_id_fk",+ "tableFrom": "api_key",+ "tableTo": "workspace",+ "columnsFrom": [+ "workspace_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "api_key_created_by_id_user_id_fk": {+ "name": "api_key_created_by_id_user_id_fk",+ "tableFrom": "api_key",+ "tableTo": "user",+ "columnsFrom": [+ "created_by_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "maintenance_to_page_component": {+ "name": "maintenance_to_page_component",+ "columns": {+ "maintenance_id": {+ "name": "maintenance_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "page_component_id": {+ "name": "page_component_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "maintenance_to_page_component_maintenance_id_maintenance_id_fk": {+ "name": "maintenance_to_page_component_maintenance_id_maintenance_id_fk",+ "tableFrom": "maintenance_to_page_component",+ "tableTo": "maintenance",+ "columnsFrom": [+ "maintenance_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "maintenance_to_page_component_page_component_id_page_component_id_fk": {+ "name": "maintenance_to_page_component_page_component_id_page_component_id_fk",+ "tableFrom": "maintenance_to_page_component",+ "tableTo": "page_component",+ "columnsFrom": [+ "page_component_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {+ "maintenance_to_page_component_maintenance_id_page_component_id_pk": {+ "columns": [+ "maintenance_id",+ "page_component_id"+ ],+ "name": "maintenance_to_page_component_maintenance_id_page_component_id_pk"+ }+ },+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "page_component": {+ "name": "page_component",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "page_id": {+ "name": "page_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "type": {+ "name": "type",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "'monitor'"+ },+ "monitor_id": {+ "name": "monitor_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "description": {+ "name": "description",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "order": {+ "name": "order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": 0+ },+ "group_id": {+ "name": "group_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "group_order": {+ "name": "group_order",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": 0+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {+ "page_component_page_id_monitor_id_unique": {+ "name": "page_component_page_id_monitor_id_unique",+ "columns": [+ "page_id",+ "monitor_id"+ ],+ "isUnique": true+ }+ },+ "foreignKeys": {+ "page_component_workspace_id_workspace_id_fk": {+ "name": "page_component_workspace_id_workspace_id_fk",+ "tableFrom": "page_component",+ "tableTo": "workspace",+ "columnsFrom": [+ "workspace_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "page_component_page_id_page_id_fk": {+ "name": "page_component_page_id_page_id_fk",+ "tableFrom": "page_component",+ "tableTo": "page",+ "columnsFrom": [+ "page_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "page_component_monitor_id_monitor_id_fk": {+ "name": "page_component_monitor_id_monitor_id_fk",+ "tableFrom": "page_component",+ "tableTo": "monitor",+ "columnsFrom": [+ "monitor_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "page_component_group_id_page_component_groups_id_fk": {+ "name": "page_component_group_id_page_component_groups_id_fk",+ "tableFrom": "page_component",+ "tableTo": "page_component_groups",+ "columnsFrom": [+ "group_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "set null",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {+ "page_component_type_check": {+ "name": "page_component_type_check",+ "value": "\"page_component\".\"type\" = 'monitor' AND \"page_component\".\"monitor_id\" IS NOT NULL OR \"page_component\".\"type\" = 'static' AND \"page_component\".\"monitor_id\" IS NULL"+ }+ }+ },+ "status_report_to_page_component": {+ "name": "status_report_to_page_component",+ "columns": {+ "status_report_id": {+ "name": "status_report_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "page_component_id": {+ "name": "page_component_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "status_report_to_page_component_status_report_id_status_report_id_fk": {+ "name": "status_report_to_page_component_status_report_id_status_report_id_fk",+ "tableFrom": "status_report_to_page_component",+ "tableTo": "status_report",+ "columnsFrom": [+ "status_report_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "status_report_to_page_component_page_component_id_page_component_id_fk": {+ "name": "status_report_to_page_component_page_component_id_page_component_id_fk",+ "tableFrom": "status_report_to_page_component",+ "tableTo": "page_component",+ "columnsFrom": [+ "page_component_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {+ "status_report_to_page_component_status_report_id_page_component_id_pk": {+ "columns": [+ "status_report_id",+ "page_component_id"+ ],+ "name": "status_report_to_page_component_status_report_id_page_component_id_pk"+ }+ },+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "page_component_groups": {+ "name": "page_component_groups",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "page_id": {+ "name": "page_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "default_open": {+ "name": "default_open",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "page_component_groups_workspace_id_workspace_id_fk": {+ "name": "page_component_groups_workspace_id_workspace_id_fk",+ "tableFrom": "page_component_groups",+ "tableTo": "workspace",+ "columnsFrom": [+ "workspace_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "page_component_groups_page_id_page_id_fk": {+ "name": "page_component_groups_page_id_page_id_fk",+ "tableFrom": "page_component_groups",+ "tableTo": "page",+ "columnsFrom": [+ "page_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "feedback": {+ "name": "feedback",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "user_id": {+ "name": "user_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "source": {+ "name": "source",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "message": {+ "name": "message",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "type": {+ "name": "type",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "blocker": {+ "name": "blocker",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "path": {+ "name": "path",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "metadata": {+ "name": "metadata",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": "(strftime('%s', 'now'))"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "feedback_workspace_id_workspace_id_fk": {+ "name": "feedback_workspace_id_workspace_id_fk",+ "tableFrom": "feedback",+ "tableTo": "workspace",+ "columnsFrom": [+ "workspace_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "feedback_user_id_user_id_fk": {+ "name": "feedback_user_id_user_id_fk",+ "tableFrom": "feedback",+ "tableTo": "user",+ "columnsFrom": [+ "user_id"+ ],+ "columnsTo": [+ "id"+ ],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ }+ },+ "views": {},+ "enums": {},+ "_meta": {+ "schemas": {},+ "tables": {},+ "columns": {}+ },+ "internal": {+ "indexes": {+ "idx_page_subscriber_email_page_active": {+ "columns": {+ "LOWER(\"email\")": {+ "isExpression": true+ }+ }+ }+ }+ }+}\ No newline at end of filediff --git a/packages/db/drizzle/meta/_journal.json b/packages/db/drizzle/meta/_journal.jsonindex b1f6ea56e..fc3ccdf5b 100644--- a/packages/db/drizzle/meta/_journal.json+++ b/packages/db/drizzle/meta/_journal.json@@ -442,6 +442,13 @@"when": 1776022204283,"tag": "0062_clever_quasar","breakpoints": true+ },+ {+ "idx": 63,+ "version": "6",+ "when": 1776337124190,+ "tag": "0063_whole_gressill",+ "breakpoints": true}]}\ No newline at end of filediff --git a/packages/db/src/schema/pages/constants.ts b/packages/db/src/schema/pages/constants.tsindex 5f20f1edc..c1ebdb334 100644--- a/packages/db/src/schema/pages/constants.ts+++ b/packages/db/src/schema/pages/constants.ts@@ -17,4 +17,9 @@ export const subdomainSafeList = ["cli",];-export const pageAccessTypes = ["public", "password", "email-domain"] as const;+export const pageAccessTypes = [+ "public",+ "password",+ "email-domain",+ "ip-restriction",+] as const;diff --git a/packages/db/src/schema/pages/page.ts b/packages/db/src/schema/pages/page.tsindex a7955118c..0c8a0d2fc 100644--- a/packages/db/src/schema/pages/page.ts+++ b/packages/db/src/schema/pages/page.ts@@ -36,6 +36,7 @@ export const page = sqliteTable("page", {),accessType: text("access_type", { enum: pageAccessTypes }).default("public"),authEmailDomains: text("auth_email_domains", { mode: "text" }), // TODO: change to json+ allowedIpRanges: text("allowed_ip_ranges", { mode: "text" }),// links and urlshomepageUrl: text("homepage_url", { length: 256 }),diff --git a/packages/db/src/schema/pages/validation.ts b/packages/db/src/schema/pages/validation.tsindex a88a2e3c3..ab307e763 100644--- a/packages/db/src/schema/pages/validation.ts+++ b/packages/db/src/schema/pages/validation.ts@@ -50,6 +50,17 @@ export const insertPageSchema = createInsertSchema(page, {.optional().prefault([]),authEmailDomains: z.array(z.string()).nullish(),+ allowedIpRanges: z+ .array(+ z+ .string()+ .transform((s) => {+ const trimmed = s.trim();+ return trimmed.includes("/") ? trimmed : `${trimmed}/32`;+ })+ .pipe(z.cidrv4()),+ )+ .nullish(),defaultLocale: z.enum(locales).optional().prefault("en"),locales: z.array(z.enum(locales)).nullable().optional(),})@@ -84,6 +95,7 @@ export const selectPageSchema = createSelectSchema(page).extend({configuration: pageConfigurationSchema.nullish().prefault({}),accessType: z.enum(pageAccessTypes).prefault("public"),authEmailDomains: stringToArray.prefault([]),+ allowedIpRanges: stringToArray.prefault([]),defaultLocale: z.enum(locales).prefault("en"),locales: z.array(z.enum(locales)).nullable().prefault(null),});diff --git a/packages/db/src/schema/plan/config.ts b/packages/db/src/schema/plan/config.tsindex 9fe06b2a9..a103fce40 100644--- a/packages/db/src/schema/plan/config.ts+++ b/packages/db/src/schema/plan/config.ts@@ -48,6 +48,7 @@ export const allPlans: Record<WorkspacePlan, PlanConfig> = {i18n: false,"password-protection": false,"email-domain-protection": false,+ "ip-restriction": false,"white-label": false,"no-index": false,notifications: true,@@ -84,6 +85,16 @@ export const allPlans: Record<WorkspacePlan, PlanConfig> = {INR: 10_000,},},+ "ip-restriction": {+ title: "IP Restriction",+ description:+ "Restrict status page access to specific IPv4 CIDR ranges.",+ price: {+ USD: 100,+ EUR: 100,+ INR: 10_000,+ },+ },"white-label": {title: "White Label",description:@@ -124,6 +135,7 @@ export const allPlans: Record<WorkspacePlan, PlanConfig> = {i18n: true,"password-protection": true,"email-domain-protection": false,+ "ip-restriction": false,"white-label": false,"no-index": true,notifications: true,@@ -160,6 +172,16 @@ export const allPlans: Record<WorkspacePlan, PlanConfig> = {INR: 10_000,},},+ "ip-restriction": {+ title: "IP Restriction",+ description:+ "Restrict status page access to specific IPv4 CIDR ranges.",+ price: {+ USD: 100,+ EUR: 100,+ INR: 10_000,+ },+ },"white-label": {title: "White Label",description:@@ -200,6 +222,7 @@ export const allPlans: Record<WorkspacePlan, PlanConfig> = {i18n: true,"password-protection": true,"email-domain-protection": false,+ "ip-restriction": false,"white-label": false,"no-index": true,notifications: true,diff --git a/packages/db/src/schema/plan/schema.ts b/packages/db/src/schema/plan/schema.tsindex 8fe38a0f2..1447b464a 100644--- a/packages/db/src/schema/plan/schema.ts+++ b/packages/db/src/schema/plan/schema.ts@@ -35,6 +35,7 @@ export const limitsSchema = z.object({i18n: z.boolean().prefault(false),"password-protection": z.boolean().prefault(false),"email-domain-protection": z.boolean().prefault(false), // add-on but required in limits+ "ip-restriction": z.boolean().prefault(false), // add-on but required in limits"white-label": z.boolean().prefault(false),"no-index": z.boolean().prefault(false),/**@@ -86,6 +87,7 @@ export type IntervalPrice = z.infer<typeof intervalPriceSchema>;export const addons = ["email-domain-protection",+ "ip-restriction","white-label","status-pages",] as const satisfies Partial<keyof Limits>[];diff --git a/packages/proto/api/openstatus/status_page/v1/service.proto b/packages/proto/api/openstatus/status_page/v1/service.protoindex 24123c5a5..fb1ca4147 100644--- a/packages/proto/api/openstatus/status_page/v1/service.proto+++ b/packages/proto/api/openstatus/status_page/v1/service.proto@@ -148,6 +148,9 @@ message CreateStatusPageRequest {// Whether search engines are allowed to index this status page (optional, defaults to true).optional bool allow_index = 14;++ // Comma-separated IPv4 CIDR ranges (required when access_type is IP_RESTRICTED).+ optional string allowed_ip_ranges = 15;}// CreateStatusPageResponse is the response after creating a status page.@@ -245,6 +248,9 @@ message UpdateStatusPageRequest {// Whether search engines are allowed to index this status page (optional).optional bool allow_index = 15;++ // Comma-separated IPv4 CIDR ranges (required when access_type is IP_RESTRICTED).+ optional string allowed_ip_ranges = 16;}// UpdateStatusPageResponse is the response after updating a status page.diff --git a/packages/proto/api/openstatus/status_page/v1/status_page.proto b/packages/proto/api/openstatus/status_page/v1/status_page.protoindex d7b950242..116609e30 100644--- a/packages/proto/api/openstatus/status_page/v1/status_page.proto+++ b/packages/proto/api/openstatus/status_page/v1/status_page.proto@@ -12,6 +12,7 @@ enum PageAccessType {PAGE_ACCESS_TYPE_PUBLIC = 1;PAGE_ACCESS_TYPE_PASSWORD_PROTECTED = 2;PAGE_ACCESS_TYPE_AUTHENTICATED = 3;+ PAGE_ACCESS_TYPE_IP_RESTRICTED = 4;}// PageTheme defines the visual theme of the status page.@@ -105,6 +106,9 @@ message StatusPage {// Whether search engines are allowed to index this status page.bool allow_index = 18;++ // Comma-separated IPv4 CIDR ranges (only set when access_type is IP_RESTRICTED).+ string allowed_ip_ranges = 19;}// StatusPageSummary represents metadata for a status page (used in list responses).diff --git a/packages/proto/gen/openapi.yaml b/packages/proto/gen/openapi.yamlindex adcbcb86b..72dae9f78 100644--- a/packages/proto/gen/openapi.yaml+++ b/packages/proto/gen/openapi.yaml@@ -2279,6 +2279,12 @@ components:- "null"title: allow_indexdescription: Whether search engines are allowed to index this status page (optional, defaults to true).+ allowedIpRanges:+ type:+ - string+ - "null"+ title: allowed_ip_ranges+ description: Comma-separated IPv4 CIDR ranges (required when access_type is IP_RESTRICTED).title: CreateStatusPageRequestadditionalProperties: falsedescription: CreateStatusPageRequest is the request to create a new status page.@@ -2573,6 +2579,7 @@ components:- PAGE_ACCESS_TYPE_PUBLIC- PAGE_ACCESS_TYPE_PASSWORD_PROTECTED- PAGE_ACCESS_TYPE_AUTHENTICATED+ - PAGE_ACCESS_TYPE_IP_RESTRICTEDdescription: PageAccessType defines who can access the status page.openstatus.status_page.v1.PageComponent:type: object@@ -2815,6 +2822,10 @@ components:type: booleantitle: allow_indexdescription: Whether search engines are allowed to index this status page.+ allowedIpRanges:+ type: string+ title: allowed_ip_ranges+ description: Comma-separated IPv4 CIDR ranges (only set when access_type is IP_RESTRICTED).title: StatusPageadditionalProperties: falsedescription: StatusPage represents a full status page with all details.@@ -3115,6 +3126,12 @@ components:- "null"title: allow_indexdescription: Whether search engines are allowed to index this status page (optional).+ allowedIpRanges:+ type:+ - string+ - "null"+ title: allowed_ip_ranges+ description: Comma-separated IPv4 CIDR ranges (required when access_type is IP_RESTRICTED).title: UpdateStatusPageRequestadditionalProperties: falsedescription: UpdateStatusPageRequest is the request to update a status page.diff --git a/packages/proto/gen/ts/openstatus/status_page/v1/service_pb.ts b/packages/proto/gen/ts/openstatus/status_page/v1/service_pb.tsindex 1248fa526..492eaa018 100644--- a/packages/proto/gen/ts/openstatus/status_page/v1/service_pb.ts+++ b/packages/proto/gen/ts/openstatus/status_page/v1/service_pb.ts@@ -22,7 +22,7 @@ import type { Message } from "@bufbuild/protobuf";* Describes the file openstatus/status_page/v1/service.proto.*/export const file_openstatus_status_page_v1_service: GenFile = /*@__PURE__*/- fileDesc("CidvcGVuc3RhdHVzL3N0YXR1c19wYWdlL3YxL3NlcnZpY2UucHJvdG8SGW9wZW5zdGF0dXMuc3RhdHVzX3BhZ2UudjEitAYKF0NyZWF0ZVN0YXR1c1BhZ2VSZXF1ZXN0EjAKBXRpdGxlGAEgASgJQiG6RxQ6EhIQQWNtZSBDb3JwIFN0YXR1c7pIB3IFEAEYgAISIgoLZGVzY3JpcHRpb24YAiABKAlCCLpIBXIDGIAISACIAQESSQoEc2x1ZxgDIAEoCUI7ukcSOhASDm15LXN0YXR1cy1wYWdlukgjciEQARiAAjIaXlthLXowLTldKyg/Oi1bYS16MC05XSspKiQSOQoMaG9tZXBhZ2VfdXJsGAQgASgJQh66Rxs6GRIXaHR0cHM6Ly93d3cuZXhhbXBsZS5jb21IAYgBARIYCgtjb250YWN0X3VybBgFIAEoCUgCiAEBEj4KDmRlZmF1bHRfbG9jYWxlGAYgASgOMi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wZW5zdGF0dXNocS9vcGVuc3RhdHVzL3BhY2thZ2VzL3Byb3RvL29wZW5zdGF0dXMvc3RhdHVzX3BhZ2UvdjE7c3RhdHVzcGFnZXYxYgZwcm90bzM", [file_buf_validate_validate, file_gnostic_openapi_v3_annotations, file_openstatus_maintenance_v1_maintenance, file_openstatus_status_page_v1_page_component, file_openstatus_status_page_v1_page_subscriber, file_openstatus_status_page_v1_status_page, file_openstatus_status_report_v1_status_report]);+ fileDesc("CidvcGVuc3RhdHVzL3N0YXR1c19wYWdlL3YxL3NlcnZpY2UucHJvdG8SGW9wZW5zdGF0dXMuc3RhdHVzX3BhZ2UudjEi6gYKF0NyZWF0ZVN0YXR1c1BhZ2VSZXF1ZXN0EjAKBXRpdGxlGAEgASgJQiG6RxQ6EhIQQWNtZSBDb3JwIFN0YXR1c7pIB3IFEAEYgAISIgoLZGVzY3JpcHRpb24YAiABKAlCCLpIBXIDGIAISACIAQESSQoEc2x1ZxgDIAEoCUI7ukcSOhASDm15LXN0YXR1cy1wYWdlukgjciEQARiAAjIaXlthLXowLTldKyg/Oi1bYS16MC05XSspKiQSOQoMaG9tZXBhZ2VfdXJsGAQgASgJQh66Rxs6GRIXaHR0cHM6Ly93d3cuZXhhbXBsZS5jb21IAYgBARIYCgtjb250YWN0X3VybBgFIAEoCUgCiAEBEj4KDmRlZmF1bHRfbG9jYWxlGAYgASgOMiEub3BlbnN0YXR1cy5zdGF0dXNfcGFnZS52MS5Mb2NhbGVIA4gBARIyCgdsb2NhbGVzGAcgAygOMiEub3BlbnN0YXR1cy5zdGF0dXNfcGFnZS52MS5Mb2NhbGUSGwoEaWNvbhgIIAEoCUIIukgFcgMYgAhIBIgBARIkCg1jdXN0b21fZG9tYWluGAkgASgJQgi6SAVyAxiAAkgFiAEBEjgKBXRoZW1lGAogASgOMiQub3BlbnN0YXR1cy5zdGF0dXNfcGFnZS52MS5QYWdlVGhlbWVIBogBARJDCgthY2Nlc3NfdHlwZRgLIAEoDjIpLm9wZW5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gYWN0aXZlIHN0YXR1cyByZXBvcnRzLCBhbmQgc2NoZWR1bGVkIG1haW50ZW5hbmNlcy4gU3VwcG9ydHMgdHdvIGFjY2VzcyBwYXRoczogYnkgSUQgKHJlcXVpcmVzIGF1dGhlbnRpY2F0aW9uLCB3b3Jrc3BhY2Utc2NvcGVkKSBvciBieSBzbHVnIChwdWJsaWMgYWNjZXNzLCByZXF1aXJlcyB0aGUgcGFnZSB0byBiZSBwdWJsaXNoZWQgd2l0aCBhY2Nlc3NfdHlwZT1QVUJMSUMpLhKqAwoQR2V0T3ZlcmFsbFN0YXR1cxIyLm9wZW5zdGF0dXMuc3RhdHVzX3BhZ2UudjEuR2V0T3ZlcmFsbFN0YXR1c1JlcXVlc3QaMy5vcGVuc3RhdHVzLnN0YXR1c19wYWdlLnYxLkdldE92ZXJhbGxTdGF0dXNSZXNwb25zZSKsApACAbpHpQIaogJSZXR1cm5zIHRoZSBvdmVyYWxsIHN0YXR1cyBvZiBhIHN0YXR1cyBwYWdlIGFsb25nIHdpdGggaW5kaXZpZHVhbCBjb21wb25lbnQgc3RhdHVzZXMuIFRoZSBvdmVyYWxsIHN0YXR1cyBpcyBjb21wdXRlZCBmcm9tIGFjdGl2ZSBzdGF0dXMgcmVwb3J0cyBhbmQgbWFpbnRlbmFuY2VzIHdpdGggdGhlIGZvbGxvd2luZyBwcmlvcml0eTogZGVncmFkZWQgKGZyb20gYWN0aXZlIHN0YXR1cyByZXBvcnRzKSA+IG1haW50ZW5hbmNlIChmcm9tIGFjdGl2ZSBtYWludGVuYW5jZSB3aW5kb3dzKSA+IG9wZXJhdGlvbmFsLkJaWlhnaXRodWIuY29tL29wZW5zdGF0dXNocS9vcGVuc3RhdHVzL3BhY2thZ2VzL3Byb3RvL29wZW5zdGF0dXMvc3RhdHVzX3BhZ2UvdjE7c3RhdHVzcGFnZXYxYgZwcm90bzM", [file_buf_validate_validate, file_gnostic_openapi_v3_annotations, file_openstatus_maintenance_v1_maintenance, file_openstatus_status_page_v1_page_component, file_openstatus_status_page_v1_page_subscriber, file_openstatus_status_page_v1_status_page, file_openstatus_status_report_v1_status_report]);/*** CreateStatusPageRequest is the request to create a new status page.@@ -127,6 +127,13 @@ export type CreateStatusPageRequest = Message<"openstatus.status_page.v1.CreateS* @generated from field: optional bool allow_index = 14;*/allowIndex?: boolean;++ /**+ * Comma-separated IPv4 CIDR ranges (required when access_type is IP_RESTRICTED).+ *+ * @generated from field: optional string allowed_ip_ranges = 15;+ */+ allowedIpRanges?: string;};/**@@ -365,6 +372,13 @@ export type UpdateStatusPageRequest = Message<"openstatus.status_page.v1.UpdateS* @generated from field: optional bool allow_index = 15;*/allowIndex?: boolean;++ /**+ * Comma-separated IPv4 CIDR ranges (required when access_type is IP_RESTRICTED).+ *+ * @generated from field: optional string allowed_ip_ranges = 16;+ */+ allowedIpRanges?: string;};/**diff --git a/packages/proto/gen/ts/openstatus/status_page/v1/status_page_pb.ts b/packages/proto/gen/ts/openstatus/status_page/v1/status_page_pb.tsindex 60eccc111..097fbfea9 100644--- a/packages/proto/gen/ts/openstatus/status_page/v1/status_page_pb.ts+++ b/packages/proto/gen/ts/openstatus/status_page/v1/status_page_pb.ts@@ -11,7 +11,7 @@ import type { Message } from "@bufbuild/protobuf";* Describes the file openstatus/status_page/v1/status_page.proto.*/export const file_openstatus_status_page_v1_status_page: GenFile = /*@__PURE__*/- fileDesc("CitvcGVuc3RhdHVzL3N0YXR1c19wYWdlL3YxL3N0YXR1c19wYWdlLnByb3RvEhlvcGVuc3RhdHVzLnN0YXR1c19wYWdlLnYxIuMECgpTdGF0dXNQYWdlEgoKAmlkGAEgASgJEg0KBXRpdGxlGAIgASgJEhMKC2Rlc2NyaXB0aW9uGAMgASgJEh4KBHNsdWcYBCABKAlCELpHDToLEglhY21lLWNvcnASMAoNY3VzdG9tX2RvbWFpbhgFIAEoCUIZukcWOhQSEnN0YXR1cy5leGFtcGxlLmNvbRIRCglwdWJsaXNoZWQYBiABKAgSPgoLYWNjZXNzX3R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ZUEVfSVBfUkVTVFJJQ1RFRBAEKmkKCVBhZ2VUaGVtZRIaChZQQUdFX1RIRU1FX1VOU1BFQ0lGSUVEEAASFQoRUEFHRV9USEVNRV9TWVNURU0QARIUChBQQUdFX1RIRU1FX0xJR0hUEAISEwoPUEFHRV9USEVNRV9EQVJLEAMqTQoGTG9jYWxlEhYKEkxPQ0FMRV9VTlNQRUNJRklFRBAAEg0KCUxPQ0FMRV9FThABEg0KCUxPQ0FMRV9GUhACEg0KCUxPQ0FMRV9ERRADKuwBCg1PdmVyYWxsU3RhdHVzEh4KGk9WRVJBTExfU1RBVFVTX1VOU1BFQ0lGSUVEEAASHgoaT1ZFUkFMTF9TVEFUVVNfT1BFUkFUSU9OQUwQARIbChdPVkVSQUxMX1NUQVRVU19ERUdSQURFRBACEiEKHU9WRVJBTExfU1RBVFVTX1BBUlRJQUxfT1VUQUdFEAMSHwobT1ZFUkFMTF9TVEFUVVNfTUFKT1JfT1VUQUdFEAQSHgoaT1ZFUkFMTF9TVEFUVVNfTUFJTlRFTkFOQ0UQBRIaChZPVkVSQUxMX1NUQVRVU19VTktOT1dOEAZCWlpYZ2l0aHViLmNvbS9vcGVuc3RhdHVzaHEvb3BlbnN0YXR1cy9wYWNrYWdlcy9wcm90by9vcGVuc3RhdHVzL3N0YXR1c19wYWdlL3YxO3N0YXR1c3BhZ2V2MWIGcHJvdG8z", [file_gnostic_openapi_v3_annotations]);/*** StatusPage represents a full status page with all details.@@ -144,6 +144,13 @@ export type StatusPage = Message<"openstatus.status_page.v1.StatusPage"> & {* @generated from field: bool allow_index = 18;*/allowIndex: boolean;++ /**+ * Comma-separated IPv4 CIDR ranges (only set when access_type is IP_RESTRICTED).+ *+ * @generated from field: string allowed_ip_ranges = 19;+ */+ allowedIpRanges: string;};/**@@ -241,6 +248,11 @@ export enum PageAccessType {* @generated from enum value: PAGE_ACCESS_TYPE_AUTHENTICATED = 3;*/AUTHENTICATED = 3,++ /**+ * @generated from enum value: PAGE_ACCESS_TYPE_IP_RESTRICTED = 4;+ */+ IP_RESTRICTED = 4,}/**diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 03badff41..6993856a3 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -696,6 +696,9 @@ importers:feed:specifier: 4.2.2version: 4.2.2+ ip-cidr:+ specifier: 4.0.2+ version: 4.0.2lucide-react:specifier: 0.525.0version: 0.525.0([email protected])@@ -1162,7 +1165,7 @@ importers:version: 2.6.2drizzle-orm:specifier: 0.44.4- version: 0.44.4(@libsql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])+ version: 0.44.4(@libsql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])effect:specifier: 3.19.12version: 3.19.12@@ -1181,7 +1184,7 @@ importers:version: link:../../packages/tsconfig'@types/bun':specifier: latest- version: 1.3.11+ version: 1.3.12typescript:specifier: 5.9.3version: 5.9.3@@ -1379,10 +1382,10 @@ importers:version: 3.0.3drizzle-orm:specifier: 0.44.4- version: 0.44.4(@libsql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])+ version: 0.44.4(@libsql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])drizzle-zod:specifier: 0.8.3- version: 0.8.3([email protected](@libsql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])+ version: 0.8.3([email protected](@libsql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])zod:specifier: 4.1.13version: 4.1.13@@ -2014,7 +2017,7 @@ importers:devDependencies:'@types/bun':specifier: latest- version: 1.3.11+ version: 1.3.12packages/subscriptions:dependencies:@@ -2036,7 +2039,7 @@ importers:version: link:../tsconfig'@types/bun':specifier: latest- version: 1.3.11+ version: 1.3.12typescript:specifier: 5.9.3version: 5.9.3@@ -7242,8 +7245,8 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-SQFof9H+LXeWNz8wDe7oN5zu7ket0qwMu5vZubW4GCJ8Kkeh6nBWUz87+KTz/G3Kqsrp0j/W253XJb3KMEeg3w==}- '@types/[email protected]':- resolution: {integrity: sha512-5vPne5QvtpjGpsGYXiFyycfpDF2ECyPcTSsFBMa0fraoxiQyMJ3SmuQIGhzPg2WJuWxVBoxWJ2kClYTcw/4fAg==}+ '@types/[email protected]':+ resolution: {integrity: sha512-DBv81elK+/VSwXHDlnH3Qduw+KxkTIWi7TXkAeh24zpi5l0B2kUg9Ga3tb4nJaPcOFswflgi/yAvMVBPrxMB+A==}'@types/[email protected]':resolution: {integrity: sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==}@@ -7779,7 +7782,7 @@ packages:resolution: {integrity: sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==}engines: {node: '>=10.0.0'}- deprecated: Security vulnerability fixed in 5.2.0, please upgrade+ deprecated: Security vulnerability fixed in 5.2.1, please upgraderesolution: {integrity: sha512-JtTezzbAibu8G0R9op9zb3vcWZd9JF6M0xOYGPn0fNCd7wOpRB1mU2mH9T8gaBGbAAyIIVgB2G7xG0GP98zMAQ==}@@ -7853,8 +7856,8 @@ packages:peerDependencies:'@types/react': ^19- resolution: {integrity: sha512-1KGPpoxQWl9f6wcZh57LvrPIInQMn2TQ7jsgxqpRzg+l0QPOFvJVH7HmvHo/AiPgwXy+/Thf6Ov3EdVn1vOabg==}+ resolution: {integrity: sha512-HqOLj5PoFajAQciOMRiIZGNoKxDJSr6qigAttOX40vJuSp6DN/CxWp9s3C1Xwm4oH7ybueITwiaOcWXoYVoRkA==}resolution: {integrity: sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==}@@ -9346,6 +9349,14 @@ packages:resolution: {integrity: sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==}engines: {node: '>= 12'}+ resolution: {integrity: sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==}+ engines: {node: '>= 12'}++ resolution: {integrity: sha512-KifhLKBjdS/hB3TD4UUOalVp1BpzPFvRpgJvXcP0Ya98tuSQTUQ71iI7EW7CKddkBJTYB3GfTWl5eJwpLOXj2A==}+ engines: {node: '>=16.14.0'}+resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==}engines: {node: '>= 0.10'}@@ -9563,6 +9574,9 @@ packages:resolution: {integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==}hasBin: true+ resolution: {integrity: sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==}+resolution: {integrity: sha512-z6JOK5gRO7aMybVq/y/MlIpKh8JIi68FBKMUtKkK2KH/wMSRlCxQ682d08LB9fYXplyY/UXG8P4XXTScmdjApg==}engines: {node: ^20.19.0 || ^22.13.0 || >=24.0.0}@@ -11397,6 +11411,9 @@ packages:resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==}+ resolution: {integrity: sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==}+resolution: {integrity: sha512-WjlahMgHmCJpqzU8bIBy4qtsZdU9lRlcZE3Lvyej6t4tuOuv1vk57OW3MBrj6hXBFx/nNoC9MPMTcr5YA7NQbg==}engines: {node: '>=6'}@@ -18037,9 +18054,9 @@ snapshots:'@types/[email protected]': {}- '@types/[email protected]':+ '@types/[email protected]':dependencies:- bun-types: 1.3.11+ bun-types: 1.3.12'@types/[email protected]': {}@@ -18815,7 +18832,7 @@ snapshots:'@types/node': 24.0.8'@types/react': 19.2.2dependencies:'@types/node': 24.0.8@@ -19361,16 +19378,16 @@ snapshots:transitivePeerDependencies:- supports-color- [email protected](@libsql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]):+ [email protected](@libsql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]):optionalDependencies:'@libsql/client': 0.15.15'@opentelemetry/api': 1.9.0'@types/pg': 8.15.6- bun-types: 1.3.11+ bun-types: 1.3.12- [email protected]([email protected](@libsql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected]):+ [email protected]([email protected](@libsql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected]):dependencies:- drizzle-orm: 0.44.4(@libsql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])+ drizzle-orm: 0.44.4(@libsql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])zod: 4.1.13@@ -20521,6 +20538,15 @@ snapshots:+ dependencies:+ jsbn: 1.1.0+ sprintf-js: 1.1.3++ dependencies:+ ip-address: 9.0.5+@@ -20684,6 +20710,8 @@ snapshots:dependencies:argparse: 2.0.1+ [email protected]: {}+[email protected](@noble/[email protected]):dependencies:'@asamuzakjp/css-color': 5.1.1@@ -23256,6 +23284,8 @@ snapshots:+ [email protected]: {}+dependencies:type-fest: 0.7.1