UNPKG

@udus/notion-renderer

Version:
12 lines 984 B
import { Client } from "@notionhq/client"; import type { RelationPropertyItemObject } from "../../../../types/notion/property/relation.js"; import type { Overwrite } from "../../../../types/utils.js"; import type { PropertyItemObjectResponse, PropertyItemPropertyItemListResponse, RelationPropertyItemObjectResponse } from "@notionhq/client/build/src/api-endpoints.js"; export declare const convertResponseToRelationPropertyItem: (property: RelationPropertyItemObjectResponse, client: Client) => RelationPropertyItemObject; export declare const convertListResponseToRelationPropertyItem: (list: Overwrite<PropertyItemPropertyItemListResponse, { property_item: Extract<PropertyItemPropertyItemListResponse["property_item"], { type: "relation"; }>; }>, client: Client) => Promise<RelationPropertyItemObject>; export declare const isRelationTypeObject: (obj: PropertyItemObjectResponse) => obj is RelationPropertyItemObjectResponse; //# sourceMappingURL=relation.d.ts.map