import { PbPageBlock } from "../../../../types"; export type CreatePageBlockInput = Pick; export type UpdatePageBlockInput = Pick & CreatePageBlockInput; export interface BlockGatewayInterface { list(): Promise; getById(id: string): Promise; create(pageBlock: CreatePageBlockInput): Promise; update(pageBlock: UpdatePageBlockInput): Promise; delete(id: string): Promise; }