From 6144ec50ca296cc745ddde12edf9d2aa2726f596 Mon Sep 17 00:00:00 2001 From: ivanauth Date: Fri, 23 Jan 2026 16:38:10 -0500 Subject: [PATCH 1/3] fix: use native Swagger UI dark mode support (#440) --- app/globals.css | 275 +---------------------------------------- components/swagger.tsx | 27 ++++ package.json | 2 +- pnpm-lock.yaml | 33 +++-- 4 files changed, 49 insertions(+), 288 deletions(-) diff --git a/app/globals.css b/app/globals.css index da1927b1..bcc71ec8 100644 --- a/app/globals.css +++ b/app/globals.css @@ -94,278 +94,13 @@ body { display: none; } -/* Base Swagger UI styling */ -.swagger-ui { - background-color: transparent; - font-family: inherit; -} - -/* ============================================ - Dark mode styling for Swagger UI - Fixes issue #440: dark mode text was unreadable - Light mode uses Swagger UI defaults (works fine) - ============================================ */ - -/* Dark mode text colors - excluding links (handled separately) */ -html.dark .swagger-ui .opblock-summary-path, -html.dark .swagger-ui .opblock-summary-path span, -html.dark .swagger-ui .opblock-tag, -html.dark .swagger-ui .opblock-tag small, -html.dark .swagger-ui .info .title, -html.dark .swagger-ui .info .title small, -html.dark .swagger-ui .info .title small pre, -html.dark .swagger-ui .info li, -html.dark .swagger-ui .info p, -html.dark .swagger-ui .info table, -html.dark .swagger-ui .info h1, -html.dark .swagger-ui .info h2, -html.dark .swagger-ui .info h3, -html.dark .swagger-ui .info h4, -html.dark .swagger-ui .info h5, -html.dark .swagger-ui .tab li, -html.dark .swagger-ui .model-title, -html.dark .swagger-ui .model .property.primitive, -html.dark .swagger-ui .responses-inner h4, -html.dark .swagger-ui .responses-inner h5, -html.dark .swagger-ui .response-col_status, -html.dark .swagger-ui .response-col_links, -html.dark .swagger-ui .opblock .opblock-summary-description, -html.dark .swagger-ui .opblock-description-wrapper p, -html.dark .swagger-ui .opblock-external-docs-wrapper, -html.dark .swagger-ui .opblock-title_normal, -html.dark .swagger-ui .parameter__name, -html.dark .swagger-ui .parameter__type, -html.dark .swagger-ui .parameter__deprecated, -html.dark .swagger-ui .parameter__in, -html.dark .swagger-ui .response-col_description__inner p, -html.dark .swagger-ui .response-col_description__inner span, -html.dark .swagger-ui .prop-type, -html.dark .swagger-ui .prop-format, -html.dark .swagger-ui table thead tr th, -html.dark .swagger-ui table thead tr td, -html.dark .swagger-ui table tbody tr th, -html.dark .swagger-ui table tbody tr td, -html.dark .swagger-ui .renderedMarkdown p, -html.dark .swagger-ui .renderedMarkdown li, -html.dark .swagger-ui .renderedMarkdown code, -html.dark .swagger-ui .markdown p, -html.dark .swagger-ui .markdown li, -html.dark .swagger-ui .markdown code { - color: var(--color-primary-200); -} - -/* Dark mode links - green for visibility */ -html.dark .swagger-ui a { - color: #6ee7b7; -} - -/* Dark mode code blocks */ -html.dark .swagger-ui .highlight-code, -html.dark .swagger-ui .microlight { - background-color: var(--color-primary-800) !important; -} - -html.dark .swagger-ui pre.microlight { - background-color: var(--color-primary-800) !important; - color: var(--color-primary-200) !important; -} - -html.dark .swagger-ui pre.microlight code { - color: var(--color-primary-200) !important; -} - -/* Dark mode operation blocks - GET */ -html.dark .swagger-ui .opblock.opblock-get { - background: rgba(97, 175, 254, 0.15); - border-color: #61affe; -} - -html.dark .swagger-ui .opblock.opblock-get .opblock-summary { - border-color: #61affe; -} - -/* Dark mode operation blocks - POST */ -html.dark .swagger-ui .opblock.opblock-post { - background: rgba(73, 204, 144, 0.15); - border-color: #49cc90; -} - -html.dark .swagger-ui .opblock.opblock-post .opblock-summary { - border-color: #49cc90; -} - -/* Dark mode operation blocks - PUT */ -html.dark .swagger-ui .opblock.opblock-put { - background: rgba(252, 161, 48, 0.15); - border-color: #fca130; -} - -html.dark .swagger-ui .opblock.opblock-put .opblock-summary { - border-color: #fca130; -} - -/* Dark mode operation blocks - DELETE */ -html.dark .swagger-ui .opblock.opblock-delete { - background: rgba(249, 62, 62, 0.15); - border-color: #f93e3e; -} - -html.dark .swagger-ui .opblock.opblock-delete .opblock-summary { - border-color: #f93e3e; -} - -/* Dark mode operation blocks - PATCH */ -html.dark .swagger-ui .opblock.opblock-patch { - background: rgba(80, 227, 194, 0.15); - border-color: #50e3c2; -} - -html.dark .swagger-ui .opblock.opblock-patch .opblock-summary { - border-color: #50e3c2; -} - -/* Dark mode expanded operation block body */ -html.dark .swagger-ui .opblock-body pre.microlight { - background-color: #1a1a1a !important; - border: 1px solid var(--color-primary-700); -} - -/* Dark mode response section */ -html.dark .swagger-ui .responses-wrapper, -html.dark .swagger-ui .response { - background-color: transparent; -} - -html.dark .swagger-ui .response-col_description__inner { - background-color: transparent; -} - -/* Dark mode models section */ -html.dark .swagger-ui .models { - border-color: var(--color-primary-700); -} - -html.dark .swagger-ui .model-container { - background-color: #1a1a1a; - border-color: var(--color-primary-700); -} - -html.dark .swagger-ui .model-box { - background-color: var(--color-primary-800) !important; +/* Prevent Swagger UI's dark-mode from overriding the page background */ +html.dark-mode { + background: rgb(var(--nextra-bg)); } -html.dark .swagger-ui .model { - color: var(--color-primary-200); -} - -/* Dark mode tables */ -html.dark .swagger-ui table { - background-color: transparent; -} - -html.dark .swagger-ui table thead tr th, -html.dark .swagger-ui table thead tr td { - border-bottom-color: var(--color-primary-700); -} - -html.dark .swagger-ui table tbody tr td { - border-bottom-color: #333; -} - -/* Dark mode buttons and interactive elements */ -html.dark .swagger-ui .btn { - background-color: var(--color-primary-700); - color: var(--color-primary-200); - border-color: var(--color-primary-600); -} - -html.dark .swagger-ui .btn:hover { - background-color: var(--color-primary-600); -} - -/* Dark mode tab styling */ -html.dark .swagger-ui .tab li { - background-color: transparent; - border-color: var(--color-primary-700); -} - -html.dark .swagger-ui .tab li.active { - background-color: var(--color-primary-800); -} - -/* Dark mode parameters table */ -html.dark .swagger-ui .parameters-col_description { - color: var(--color-primary-400); -} - -html.dark .swagger-ui .parameter__name.required::after { - color: #f87171; -} - -/* Dark mode copy button - target the SVG inside */ -html.dark .swagger-ui .copy-to-clipboard { - background-color: var(--color-primary-700); -} - -html.dark .swagger-ui .copy-to-clipboard svg { - fill: var(--color-primary-200); -} - -/* Dark mode expand/collapse icons */ -html.dark .swagger-ui .expand-operation svg, -html.dark .swagger-ui .expand-methods svg { - fill: var(--color-primary-400); -} - -/* Dark mode arrow icons */ -html.dark .swagger-ui .arrow { - fill: var(--color-primary-400); -} - -/* Dark mode loading spinner */ -html.dark .swagger-ui .loading-container .loading::after { - border-color: var(--color-primary-700); - border-top-color: var(--color-primary-200); -} - -/* Dark mode section borders */ -html.dark .swagger-ui section.models.is-open { - border-color: var(--color-primary-700); -} - -html.dark .swagger-ui .opblock-tag-section { - border-bottom-color: var(--color-primary-700); -} - -/* Dark mode section headers (Parameters, Request body, Responses) */ -html.dark .swagger-ui .opblock-section-header { - background-color: var(--color-primary-800); - border-bottom-color: var(--color-primary-700); -} - -html.dark .swagger-ui .opblock-section-header h4, -html.dark .swagger-ui .opblock-section-header label { - color: var(--color-primary-200); -} - -/* Dark mode Example Value / Model tabs */ -html.dark .swagger-ui .tab li button, -html.dark .swagger-ui .tab li button.tablinks { - color: var(--color-primary-300); +/* Base Swagger UI styling - keep transparent background for integration */ +.swagger-ui { background-color: transparent; } -html.dark .swagger-ui .tab li button.tablinks.active, -html.dark .swagger-ui .tab li button:focus { - color: var(--color-primary-100); -} - -/* Dark mode model/schema display */ -html.dark .swagger-ui .model-toggle::after { - background-color: var(--color-primary-400); -} - -html.dark .swagger-ui .model span, -html.dark .swagger-ui .model-title__text { - color: var(--color-primary-200); -} diff --git a/components/swagger.tsx b/components/swagger.tsx index 5b3cde0d..8d0b7590 100644 --- a/components/swagger.tsx +++ b/components/swagger.tsx @@ -1,6 +1,7 @@ "use client"; import dynamic from "next/dynamic"; +import { useEffect } from "react"; import type { SwaggerUIProps } from "swagger-ui-react"; const SwaggerUI = dynamic( @@ -13,7 +14,33 @@ const SwaggerUI = dynamic( import "swagger-ui-react/swagger-ui.css"; +// Sync Nextra's "dark" class with Swagger UI's "dark-mode" class +function useSyncDarkMode() { + useEffect(() => { + const html = document.documentElement; + + const syncDarkMode = () => { + html.classList.toggle("dark-mode", html.classList.contains("dark")); + }; + + syncDarkMode(); + + const observer = new MutationObserver(() => { + syncDarkMode(); + }); + + observer.observe(html, { attributes: true, attributeFilter: ["class"] }); + + return () => { + observer.disconnect(); + html.classList.remove("dark-mode"); + }; + }, []); +} + export function Swagger() { + useSyncDarkMode(); + return ( =16.8.0 <20' react-dom: '>=16.8.0 <20' @@ -4239,11 +4243,6 @@ packages: url-parse@1.5.10: resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} - use-sync-external-store@1.5.0: - resolution: {integrity: sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 - use-sync-external-store@1.6.0: resolution: {integrity: sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==} peerDependencies: @@ -7628,6 +7627,10 @@ snapshots: dependencies: argparse: 2.0.1 + js-yaml@4.1.1: + dependencies: + argparse: 2.0.1 + jsesc@0.5.0: {} jsesc@2.5.2: {} @@ -8744,7 +8747,7 @@ snapshots: dependencies: '@types/use-sync-external-store': 0.0.6 react: 19.2.3 - use-sync-external-store: 1.5.0(react@19.2.3) + use-sync-external-store: 1.6.0(react@19.2.3) optionalDependencies: '@types/react': 19.1.6 redux: 5.0.1 @@ -9224,7 +9227,7 @@ snapshots: '@swaggerexpert/cookie': 2.0.2 deepmerge: 4.3.1 fast-json-patch: 3.1.1 - js-yaml: 4.1.0 + js-yaml: 4.1.1 neotraverse: 0.6.18 node-abort-controller: 3.1.1 node-fetch-commonjs: 3.3.2 @@ -9235,7 +9238,7 @@ snapshots: transitivePeerDependencies: - debug - swagger-ui-react@5.30.2(@types/react@19.1.6)(react-dom@19.2.3(react@19.2.3))(react@19.2.3): + swagger-ui-react@5.31.0(@types/react@19.1.6)(react-dom@19.2.3(react@19.2.3))(react@19.2.3): dependencies: '@babel/runtime-corejs3': 7.27.4 '@scarf/scarf': 1.4.0 @@ -9248,7 +9251,7 @@ snapshots: ieee754: 1.2.1 immutable: 3.8.2 js-file-download: 0.4.12 - js-yaml: 4.1.0 + js-yaml: 4.1.1 lodash: 4.17.21 prop-types: 15.8.1 randexp: 0.5.3 @@ -9497,10 +9500,6 @@ snapshots: querystringify: 2.2.0 requires-port: 1.0.0 - use-sync-external-store@1.5.0(react@19.2.3): - dependencies: - react: 19.2.3 - use-sync-external-store@1.6.0(react@19.2.3): dependencies: react: 19.2.3 From 30e49b71cef6abe36b0e0848274e43848325134e Mon Sep 17 00:00:00 2001 From: ivanauth Date: Thu, 29 Jan 2026 10:34:42 -0500 Subject: [PATCH 2/3] fix: remove trailing newline in globals.css Fix Prettier formatting issue that was causing the lint check to fail. Co-Authored-By: Claude Opus 4.5 --- app/globals.css | 1 - 1 file changed, 1 deletion(-) diff --git a/app/globals.css b/app/globals.css index bcc71ec8..75256b1f 100644 --- a/app/globals.css +++ b/app/globals.css @@ -103,4 +103,3 @@ html.dark-mode { .swagger-ui { background-color: transparent; } - From 5bda57f7d3567543ea77f69f269ab7eca2a7a652 Mon Sep 17 00:00:00 2001 From: ivanauth Date: Thu, 29 Jan 2026 10:37:54 -0500 Subject: [PATCH 3/3] style: fix oxfmt formatting in installing-zed page Co-Authored-By: Claude Opus 4.5 --- .../getting-started/installing-zed/page.mdx | 149 +++++------------- 1 file changed, 39 insertions(+), 110 deletions(-) diff --git a/app/spicedb/getting-started/installing-zed/page.mdx b/app/spicedb/getting-started/installing-zed/page.mdx index df4abc96..83b0a0ee 100644 --- a/app/spicedb/getting-started/installing-zed/page.mdx +++ b/app/spicedb/getting-started/installing-zed/page.mdx @@ -1,4 +1,4 @@ -import { Callout } from 'nextra/components' +import { Callout } from "nextra/components"; # Installing Zed @@ -123,7 +123,6 @@ You can find more commands for tasks such as testing, linting in the repository' [CONTRIBUTING.md]: https://github.com/authzed/zed/blob/main/CONTRIBUTING.md - ## Reference: `zed` A command-line client for managing SpiceDB clusters. @@ -161,17 +160,16 @@ zed permission check --explain document:firstdoc writer user:emilia ### Children commands -- [zed backup](#reference-zed-backup) - Create, restore, and inspect permissions system backups -- [zed context](#reference-zed-context) - Manage configurations for connecting to SpiceDB deployments -- [zed import](#reference-zed-import) - Imports schema and relationships from a file or url -- [zed mcp](#reference-zed-mcp) - MCP (Model Context Protocol) server commands -- [zed permission](#reference-zed-permission) - Query the permissions in a permissions system -- [zed relationship](#reference-zed-relationship) - Query and mutate the relationships in a permissions system -- [zed schema](#reference-zed-schema) - Manage schema for a permissions system -- [zed use](#reference-zed-use) - Alias for `zed context use` -- [zed validate](#reference-zed-validate) - Validates the given validation file (.yaml, .zaml) or schema file (.zed) -- [zed version](#reference-zed-version) - Display zed and SpiceDB version information - +- [zed backup](#reference-zed-backup) - Create, restore, and inspect permissions system backups +- [zed context](#reference-zed-context) - Manage configurations for connecting to SpiceDB deployments +- [zed import](#reference-zed-import) - Imports schema and relationships from a file or url +- [zed mcp](#reference-zed-mcp) - MCP (Model Context Protocol) server commands +- [zed permission](#reference-zed-permission) - Query the permissions in a permissions system +- [zed relationship](#reference-zed-relationship) - Query and mutate the relationships in a permissions system +- [zed schema](#reference-zed-schema) - Manage schema for a permissions system +- [zed use](#reference-zed-use) - Alias for `zed context use` +- [zed validate](#reference-zed-validate) - Validates the given validation file (.yaml, .zaml) or schema file (.zed) +- [zed version](#reference-zed-version) - Display zed and SpiceDB version information ## Reference: `zed backup` @@ -210,13 +208,12 @@ zed backup [flags] ### Children commands -- [zed backup create](#reference-zed-backup-create) - Backup a permission system to a file -- [zed backup parse-relationships](#reference-zed-backup-parse-relationships) - Extract the relationships from a backup file -- [zed backup parse-revision](#reference-zed-backup-parse-revision) - Extract the revision from a backup file -- [zed backup parse-schema](#reference-zed-backup-parse-schema) - Extract the schema from a backup file -- [zed backup redact](#reference-zed-backup-redact) - Redact a backup file to remove sensitive information -- [zed backup restore](#reference-zed-backup-restore) - Restore a permission system from a file - +- [zed backup create](#reference-zed-backup-create) - Backup a permission system to a file +- [zed backup parse-relationships](#reference-zed-backup-parse-relationships) - Extract the relationships from a backup file +- [zed backup parse-revision](#reference-zed-backup-parse-revision) - Extract the revision from a backup file +- [zed backup parse-schema](#reference-zed-backup-parse-schema) - Extract the schema from a backup file +- [zed backup redact](#reference-zed-backup-redact) - Redact a backup file to remove sensitive information +- [zed backup restore](#reference-zed-backup-restore) - Restore a permission system from a file ## Reference: `zed backup create` @@ -253,8 +250,6 @@ zed backup create [flags] --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed backup parse-relationships` Extract the relationships from a backup file @@ -289,8 +284,6 @@ zed backup parse-relationships [flags] --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed backup parse-revision` Extract the revision from a backup file @@ -318,8 +311,6 @@ zed backup parse-revision --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed backup parse-schema` Extract the schema from a backup file @@ -354,8 +345,6 @@ zed backup parse-schema [flags] --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed backup redact` Redact a backup file to remove sensitive information @@ -392,8 +381,6 @@ zed backup redact [flags] --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed backup restore` Restore a permission system from a file @@ -433,8 +420,6 @@ zed backup restore [flags] --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed context` Manage configurations for connecting to SpiceDB deployments @@ -460,11 +445,10 @@ Manage configurations for connecting to SpiceDB deployments ### Children commands -- [zed context list](#reference-zed-context-list) - Lists all available contexts -- [zed context remove](#reference-zed-context-remove) - Removes a context by name -- [zed context set](#reference-zed-context-set) - Creates or overwrite a context -- [zed context use](#reference-zed-context-use) - Sets a context as the current context - +- [zed context list](#reference-zed-context-list) - Lists all available contexts +- [zed context remove](#reference-zed-context-remove) - Removes a context by name +- [zed context set](#reference-zed-context-set) - Creates or overwrite a context +- [zed context use](#reference-zed-context-use) - Sets a context as the current context ## Reference: `zed context list` @@ -499,8 +483,6 @@ zed context list [flags] --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed context remove` Removes a context by name @@ -528,8 +510,6 @@ zed context remove --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed context set` Creates or overwrite a context @@ -557,8 +537,6 @@ zed context set --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed context use` Sets a context as the current context @@ -586,8 +564,6 @@ zed context use --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed import` Imports schema and relationships from a file or url @@ -658,8 +634,6 @@ zed import [flags] --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed mcp` MCP (Model Context Protocol) server commands. @@ -689,8 +663,7 @@ To use with Claude Code, run `zed mcp experimental-run` to start the SpiceDB Dev ### Children commands -- [zed mcp experimental-run](#reference-zed-mcp-experimental-run) - Run the Experimental MCP server - +- [zed mcp experimental-run](#reference-zed-mcp-experimental-run) - Run the Experimental MCP server ## Reference: `zed mcp experimental-run` @@ -725,8 +698,6 @@ zed mcp experimental-run [flags] --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed permission` Query the permissions in a permissions system @@ -752,12 +723,11 @@ Query the permissions in a permissions system ### Children commands -- [zed permission bulk](#reference-zed-permission-bulk) - Check permissions in bulk exist for resource-permission-subject triplets -- [zed permission check](#reference-zed-permission-check) - Check if a subject has permission on a resource -- [zed permission expand](#reference-zed-permission-expand) - Expand the structure of a permission -- [zed permission lookup-resources](#reference-zed-permission-lookup-resources) - Enumerates the resources of a given type for which a subject has permission -- [zed permission lookup-subjects](#reference-zed-permission-lookup-subjects) - Enumerates the subjects of a given type for which the subject has permission on the resource - +- [zed permission bulk](#reference-zed-permission-bulk) - Check permissions in bulk exist for resource-permission-subject triplets +- [zed permission check](#reference-zed-permission-check) - Check if a subject has permission on a resource +- [zed permission expand](#reference-zed-permission-expand) - Expand the structure of a permission +- [zed permission lookup-resources](#reference-zed-permission-lookup-resources) - Enumerates the resources of a given type for which a subject has permission +- [zed permission lookup-subjects](#reference-zed-permission-lookup-subjects) - Enumerates the subjects of a given type for which the subject has permission on the resource ## Reference: `zed permission bulk` @@ -799,8 +769,6 @@ zed permission bulk [flags] --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed permission expand` Expand the structure of a permission @@ -882,8 +848,6 @@ zed permission expand [flags] --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed permission lookup-resources` Enumerates the resources of a given type for which a subject has permission @@ -926,8 +890,6 @@ zed permission lookup-resources [flags] --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed permission lookup-subjects` Enumerates the subjects of a given type for which the subject has permission on the resource @@ -967,8 +929,6 @@ zed permission lookup-subjects [flags] zed preview schema compile schema.zed 1> compiled.zed Write to a file: zed preview schema compile root.zed --out compiled.zed - + ``` ### Options @@ -1015,8 +975,6 @@ zed preview schema compile [flags] --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed relationship` Query and mutate the relationships in a permissions system @@ -1042,13 +1000,12 @@ Query and mutate the relationships in a permissions system ### Children commands -- [zed relationship bulk-delete](#reference-zed-relationship-bulk-delete) - Deletes relationships matching the provided pattern en masse -- [zed relationship create](#reference-zed-relationship-create) - Create a relationship for a subject -- [zed relationship delete](#reference-zed-relationship-delete) - Deletes a relationship -- [zed relationship read](#reference-zed-relationship-read) - Enumerates relationships matching the provided pattern -- [zed relationship touch](#reference-zed-relationship-touch) - Idempotently updates a relationship for a subject -- [zed relationship watch](#reference-zed-relationship-watch) - Watches the stream of relationship updates and schema updates from the server - +- [zed relationship bulk-delete](#reference-zed-relationship-bulk-delete) - Deletes relationships matching the provided pattern en masse +- [zed relationship create](#reference-zed-relationship-create) - Create a relationship for a subject +- [zed relationship delete](#reference-zed-relationship-delete) - Deletes a relationship +- [zed relationship read](#reference-zed-relationship-read) - Enumerates relationships matching the provided pattern +- [zed relationship touch](#reference-zed-relationship-touch) - Idempotently updates a relationship for a subject +- [zed relationship watch](#reference-zed-relationship-watch) - Watches the stream of relationship updates and schema updates from the server ## Reference: `zed relationship bulk-delete` @@ -1085,8 +1042,6 @@ zed relationship bulk-delete < --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed relationship touch` Idempotently updates a relationship for a subject @@ -1265,8 +1214,6 @@ zed relationship touch [flags] --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed schema diff` Diff two schema files @@ -1410,8 +1352,6 @@ zed schema diff --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed schema read` Read the schema of a permissions system @@ -1445,8 +1385,6 @@ zed schema read [flags] --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed schema write` Write a schema file (.zed or stdin) to the current permissions system @@ -1492,8 +1430,6 @@ zed schema write [flags] --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed use` Alias for `zed context use` @@ -1521,8 +1457,6 @@ zed use --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed validate` Validates the given validation file (.yaml, .zaml) or schema file (.zed) @@ -1581,8 +1515,6 @@ zed validate [flags] --token string token used to authenticate to SpiceDB ``` - - ## Reference: `zed version` Display zed and SpiceDB version information @@ -1616,6 +1548,3 @@ zed version [flags] --skip-version-check if true, no version check is performed against the server --token string token used to authenticate to SpiceDB ``` - - -