UNPKG

@hankei6km/reposition

Version:

`reposition` is a command line tool to send a repository list to Notion database.

9 lines (8 loc) 514 B
import type { CreatePageParameters, UpdatePageParameters } from '@notionhq/client/build/src/api-endpoints.js'; import type { Client } from './client.js'; import type { RepoItem } from './repo.js'; export declare function pageParams(repo: RepoItem): { cover: CreatePageParameters['cover'] & UpdatePageParameters['cover']; properties: CreatePageParameters['properties'] & UpdatePageParameters['properties']; }; export declare function send(client: Client, databaseId: string, repo: RepoItem): Promise<void>;