/**
 * Removes properties from an entity.
 *
 * @example
 * ```ts
 * const { ops } = await removeEntityProperties({
 *   id: entityId,
 *   properties: [propertyId1, propertyId2],
 * });
 * ```
 *
 * @param id - The id of the entity.
 * @param properties - The property IDs to remove.
 * @returns The operation to unset the properties.
 */
export const removeEntityProperties = async ({ id, properties }) => {
    const op = {
        type: 'UNSET_PROPERTIES',
        entity: id,
        properties,
    };
    return { id, ops: [op] };
};
//# sourceMappingURL=remove-entity-properties.js.map