Knowtation web client
    Preparing search index...

    Function sourceLabel

    • How far reading a URL source has got, for people; null once the dataset is ready.

      Parameters

      • d: Pick<
            {
                access: string;
                created_at: string;
                default_version?: number
                | null;
                error?: string | null;
                id: string;
                latest_version?: number | null;
                name: string;
                owner?: string | null;
                progress?: { bytes: number; stage: string; total?: number | null } | null;
                public: boolean;
                resource_count: number;
                status: string;
            },
            "status",
        > & Partial<
            Pick<
                {
                    access: string;
                    created_at: string;
                    default_version?: number
                    | null;
                    error?: string | null;
                    id: string;
                    latest_version?: number | null;
                    name: string;
                    owner?: string | null;
                    progress?: { bytes: number; stage: string; total?: number | null } | null;
                    public: boolean;
                    resource_count: number;
                    status: string;
                },
                "error"
                | "progress",
            >,
        >

      Returns string | null