/*
 * Copyright (c) 2023-2025 Datalayer, Inc.
 * Distributed under the terms of the Modified BSD License.
 */
export function asRuntimeSnapshot(s) {
    const { uid, updated_at, format_version, ...others } = s;
    return {
        ...others,
        id: uid,
        updatedAt: new Date(updated_at),
        formatVersion: format_version,
    };
}
