UNPKG

@translated/lara

Version:

Official Lara SDK for JavaScript and Node.js

20 lines (19 loc) 607 B
import type { LaraClient } from "./net/lara"; export interface Styleguide { id: string; name: string; content?: string; ownerId: string; createdAt: Date; updatedAt: Date; isPersonal: boolean; } export declare class Styleguides { private readonly client; constructor(client: LaraClient); list(): Promise<Styleguide[]>; get(id: string): Promise<Styleguide | null>; create(name: string, content: string): Promise<Styleguide>; update(id: string, name: string | undefined, content?: string): Promise<Styleguide>; delete(id: string): Promise<Styleguide>; }