Type Alias ModelPropsToSnapshotCreationData<MP>

ModelPropsToSnapshotCreationData: Flatten<
    {
        [k in keyof MP]?: ModelPropFromSnapshot<MP[k]> extends infer R
            ? R
            : never
    } & {
        [k in {
            [K in keyof MP]: IsNeverType<
                MP[K]["$fromSnapshotOverride"],
                MP[K]["$isRequired"] & K,
                IsOptionalValue<MP[K]["$fromSnapshotOverride"], never, K>,
            >
        }[keyof MP]]: ModelPropFromSnapshot<MP[k]> extends infer R ? R : never
    },
>

Type Parameters