mirror of
https://github.com/hanzoai/docs.git
synced 2026-08-05 04:12:57 +00:00
fix(openapi): drop the duplicate imports the rescue introduced
Deploy Bootnode Docs / deploy (push) Failing after 15s
Deploy Zen Docs / deploy (push) Failing after 25s
Release / Release (push) Failing after 26s
Deploy Base Docs / deploy (push) Failing after 36s
Deploy Insights Docs / deploy (push) Failing after 33s
Deploy GUI Docs / deploy (push) Failing after 36s
Deploy Dev Docs / deploy (push) Failing after 41s
Deploy Cloud Landing Page / deploy (push) Failing after 1m14s
Deploy Bot Docs / deploy (push) Failing after 1m14s
Deploy Bootnode Docs / deploy (push) Failing after 15s
Deploy Zen Docs / deploy (push) Failing after 25s
Release / Release (push) Failing after 26s
Deploy Base Docs / deploy (push) Failing after 36s
Deploy Insights Docs / deploy (push) Failing after 33s
Deploy GUI Docs / deploy (push) Failing after 36s
Deploy Dev Docs / deploy (push) Failing after 41s
Deploy Cloud Landing Page / deploy (push) Failing after 1m14s
Deploy Bot Docs / deploy (push) Failing after 1m14s
Correcting this branch's own conflict resolution, not upstream work. Origin
already imported `compile`, `ExampleRequestItem` and `RequestTabsRenderContext`
— relatively, further down the file — so taking the rescued commit's absolute
`@/ui/...` forms declared each name twice and tsdown refused to parse:
[PARSE_ERROR] Identifier `ExampleRequestItem` has already been declared
The rescued commit fixed real missing imports on ITS lineage; on this one they
were already there. Keeping origin's relative form.
Co-authored-by: Hanzo Dev <dev@hanzo.ai>
This commit is contained in:
@@ -4,9 +4,6 @@ import type { Awaitable, MethodInformation, RenderContext } from '@/types';
|
||||
import { parseSecurities, type NoReference } from '@/utils/schema';
|
||||
import { pickSchema } from '@/utils/schema/pick';
|
||||
import { encodeInternalRef } from '@/utils/schema/ref';
|
||||
import { compile } from '@fumari/json-schema-ts';
|
||||
import type { ExampleRequestItem } from '@/ui/operation/get-example-requests';
|
||||
import type { RequestTabsRenderContext } from '@/ui/operation/request-tabs';
|
||||
import type { DereferencedDocument } from '@/utils/document/dereference';
|
||||
import { defaultAdapters, MediaAdapter } from '@/requests/media/adapter';
|
||||
import type { FC, HTMLAttributes, ReactNode } from 'react';
|
||||
|
||||
Reference in New Issue
Block a user