UNPKG

@cloud-copilot/iam-data

Version:
35 lines 1.2 kB
export declare function readDataFile<T>(...pathParts: string[]): Promise<T>; /** * Read the action data for a service * * @param serviceKey the service key to read the action data for * @returns the action data for the service */ export declare function readActionData<T>(serviceKey: string): Promise<T>; /** * Read the condition key data for a service * * @param serviceKey the service key to read the condition key data for * @returns the condition key data */ export declare function readConditionKeys<T>(serviceKey: string): Promise<T>; /** * Read the resource type data for a service * * @param serviceKey the service key to read the resource type data for * @returns the resource type data */ export declare function readResourceTypes<T>(serviceKey: string): Promise<T>; /** * Read the condition patterns data * * @returns the condition patterns data */ export declare function readConditionPatterns(): Promise<Record<string, Record<string, string>>>; /** * Read the unassociated conditions data * * @returns the unassociated conditions data */ export declare function readUnassociatedConditions(): Promise<Record<string, string[]>>; //# sourceMappingURL=data.d.ts.map