Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
ce19762
feat: add devcontainer configuration for universal environment
softmarshmallow Jan 29, 2026
0fa251f
Merge branch 'main' of https://github.com/gridaco/grida into canary
softmarshmallow Feb 1, 2026
34408a6
feat: add platform working group documentation
softmarshmallow Feb 1, 2026
c0085d3
Merge branch 'main' of https://github.com/gridaco/grida into canary
softmarshmallow Feb 1, 2026
20d3930
Merge branch 'main' of https://github.com/gridaco/grida into canary
softmarshmallow Feb 1, 2026
b6e7b51
Merge branch 'main' of https://github.com/gridaco/grida into canary
softmarshmallow Feb 1, 2026
9f37e28
Add schema conventions for API surface and internal organization in A…
softmarshmallow Feb 3, 2026
3bd70e6
db type override fileoverview and guidelines
softmarshmallow Feb 3, 2026
77cc6b7
Enhance CI workflow for database tests by ensuring signing key file e…
softmarshmallow Feb 3, 2026
fca1222
pin ver
softmarshmallow Feb 3, 2026
f4d80b3
add proxy.ts description
softmarshmallow Feb 3, 2026
0a14068
chore
softmarshmallow Feb 3, 2026
93cb30e
Update .env.example with new environment variables and add service-ro…
softmarshmallow Feb 3, 2026
30c92f3
Implement project domain management functions in Vercel client, inclu…
softmarshmallow Feb 3, 2026
4074bdf
Add domain navigation and icon support in layout and resource type co…
softmarshmallow Feb 3, 2026
f47a0ec
Refactor CopyToClipboardInput component to use InputGroup for improve…
softmarshmallow Feb 3, 2026
3bc031b
Add domain management UI components for project settings, including n…
softmarshmallow Feb 3, 2026
cd1b7fc
Add custom domain management functionality, including database schema…
softmarshmallow Feb 3, 2026
8f6f6ab
md oxc
softmarshmallow Feb 3, 2026
a53838d
Enhance domain management functionality by introducing new API routes…
softmarshmallow Feb 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .devcontainer/universal/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "universal",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/devcontainers/features/node:1": {},
"ghcr.io/devcontainers/features/rust:1": {},
"ghcr.io/devcontainers/features/git:1": {}
}
}
2 changes: 1 addition & 1 deletion .github/workflows/database-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
- uses: supabase/setup-cli@v1
with:
version: latest
version: 2.72.7
- run: printf '[]' > supabase/signing_keys.json && supabase gen signing-key --append --yes
- run: supabase db start
- run: supabase test db
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,7 @@
],
"editor.formatOnSave": true,
"editor.defaultFormatter": "oxc.oxc-vscode",
"[markdown]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
},
}
79 changes: 78 additions & 1 deletion database/database-generated.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3540,7 +3540,7 @@ export type Database = {
analyze: {
Args: {
p_campaign_id: string
p_interval?: unknown
p_interval?: string
p_names?: string[]
p_time_from?: string
p_time_to?: string
Expand Down Expand Up @@ -3654,6 +3654,69 @@ export type Database = {
}
grida_www: {
Tables: {
domain: {
Row: {
canonical: boolean
created_at: string
hostname: string
id: string
kind: string | null
last_checked_at: string | null
last_error: string | null
last_error_code: string | null
last_verified_at: string | null
status: string
updated_at: string
vercel: Json | null
www_id: string
}
Insert: {
canonical?: boolean
created_at?: string
hostname: string
id?: string
kind?: string | null
last_checked_at?: string | null
last_error?: string | null
last_error_code?: string | null
last_verified_at?: string | null
status?: string
updated_at?: string
vercel?: Json | null
www_id: string
}
Update: {
canonical?: boolean
created_at?: string
hostname?: string
id?: string
kind?: string | null
last_checked_at?: string | null
last_error?: string | null
last_error_code?: string | null
last_verified_at?: string | null
status?: string
updated_at?: string
vercel?: Json | null
www_id?: string
}
Relationships: [
{
foreignKeyName: "domain_www_id_fkey"
columns: ["www_id"]
isOneToOne: false
referencedRelation: "www"
referencedColumns: ["id"]
},
{
foreignKeyName: "domain_www_id_fkey"
columns: ["www_id"]
isOneToOne: false
referencedRelation: "www_public"
referencedColumns: ["id"]
},
]
}
layout: {
Row: {
base_path: string | null
Expand Down Expand Up @@ -4562,6 +4625,20 @@ export type Database = {
}
Returns: undefined
}
www_get_canonical_hostname: {
Args: { p_www_name: string }
Returns: {
canonical_hostname: string
}[]
}
www_resolve_hostname: {
Args: { p_hostname: string }
Returns: {
canonical_hostname: string
www_id: string
www_name: string
}[]
}
}
Enums: {
doctype:
Expand Down
26 changes: 25 additions & 1 deletion database/database.types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
/**
* @fileoverview
* Manual type overrides for the Supabase database schema.
*
* ## Role
* Supabase CLI generates `database-generated.types.ts`, but those types are not always strong enough
* or may not reflect application-level guarantees. Common cases:
* - **Views**: view columns are often typed as optional/nullable too broadly by the generator.
* - **`jsonb` with enforced schema**: when the DB enforces a JSON shape (via constraints/triggers),
* we may want a stronger, explicit TypeScript type.
*
* This file provides a **manually managed override layer** (via `MergeDeep`) to make development
* safer and more ergonomic with trusted, strong types.
*
* ## Modification policy (important)
* - **Prefer not to edit this file**. If the generated types are correct, keep them as-is.
* - **Only add/adjust overrides when you are 100% certain** the runtime data matches the override.
* These overrides are **blindly trusted** by TypeScript and can hide real runtime/DB mismatches.
* - **Best for known generator limitations** (especially **Views**) or well-defined, enforced JSON
* shapes. When possible, prefer improving the DB/schema and re-generating types instead.
*/
// https://supabase.com/docs/reference/javascript/typescript-support#helper-types-for-tables-and-joins
import { MergeDeep } from "type-fest";
import { Database as DatabaseGenerated } from "./database-generated.types";
import {
Database as DatabaseGenerated,
type Json,
} from "./database-generated.types";
export { type Json } from "./database-generated.types";

type SystemSchema_Favicon = {
Expand Down
11 changes: 11 additions & 0 deletions docs/wg/platform/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Platform (WG)
---

# Platform (WG)

Working group documents for Grida platform and infrastructure topics.

## Documents

- [Multi-tenant Custom Domains on Vercel](./multi-tenant-custom-domain-vercel)
Loading
Loading