@yuki-no/plugin-sdk
Version:
A GitHub Action that tracks changes between repositories. It creates GitHub issues based on commits from a head repository, making it ideal for documentation translation projects.
12 lines (11 loc) • 688 B
TypeScript
export declare const assert: (condition: boolean, message: string) => void;
export declare const excludeFrom: (excludeSource: string[], reference: string[]) => string[];
export declare const chunk: <T>(data: T[], chunkSize: number) => T[][];
export declare const uniqueWith: <V>(value: V[], mapper: (v: V) => unknown) => V[];
export declare const mergeArray: <T>(a: T[], b: T[]) => T[];
export declare const isNotEmpty: <T>(value: T | undefined | null) => value is T;
export declare const unique: <T>(value: T[]) => T[];
export declare const extractHashFromIssue: (issue: {
body?: string;
}) => string | undefined;
export declare const createTempFilePath: (prefix: string) => string;