"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getResourceId = void 0;
const getResourceId = (url) => {
    // Use regex to match the last part of the URL after the final slash
    const match = url.match(/\/([^/]+)$/);
    // Return the matched ID or null if no match is found
    return match === null ? null : match[1];
};
exports.getResourceId = getResourceId;
//# sourceMappingURL=getResourceId.js.map