@squarecloud/blob
Version:
Official Square Cloud Blob SDK for NodeJS
16 lines (14 loc) • 328 B
text/typescript
/**
* Parses the object URL to extract id, userId, prefix, name, hash and extension.
*
* @param url - The object URL to parse.
*/
declare function parseObjectUrl(url: string): {
userId: string;
prefix: string;
name: string;
hash: string;
extension: string;
id: string;
};
export { parseObjectUrl };