11<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2- <model type =" com.apple.IDECoreDataModeler.DataModel" documentVersion =" 1.0" lastSavedToolsVersion =" 23605 " systemVersion =" 24D70" minimumToolsVersion =" Automatic" sourceLanguage =" Swift" usedWithSwiftData =" YES" userDefinedModelVersionIdentifier =" " >
2+ <model type =" com.apple.IDECoreDataModeler.DataModel" documentVersion =" 1.0" lastSavedToolsVersion =" 23788 " systemVersion =" 24D70" minimumToolsVersion =" Automatic" sourceLanguage =" Swift" usedWithCloudKit = " YES " usedWithSwiftData =" YES" userDefinedModelVersionIdentifier =" " >
33 <entity name =" BatteryDataPoint" representedClassName =" BatteryDataPoint" syncable =" YES" codeGenerationType =" class" >
44 <attribute name =" deviceId" optional =" YES" attributeType =" String" />
55 <attribute name =" id" optional =" YES" attributeType =" UUID" usesScalarValueType =" NO" />
88 </entity >
99 <entity name =" Device" representedClassName =" Device" syncable =" YES" codeGenerationType =" class" >
1010 <attribute name =" alwaysOnDisplay" optional =" YES" attributeType =" Boolean" usesScalarValueType =" YES" />
11- <attribute name =" blefsVersion" attributeType =" String" />
12- <attribute name =" bleUUID" attributeType =" String" />
11+ <attribute name =" blefsVersion" attributeType =" String" defaultValueString = " " />
12+ <attribute name =" bleUUID" attributeType =" String" defaultValueString = " " />
1313 <attribute name =" brightLevel" attributeType =" Integer 16" defaultValueString =" 1" usesScalarValueType =" YES" />
1414 <attribute name =" chimesOption" attributeType =" Integer 16" defaultValueString =" 0" usesScalarValueType =" YES" />
1515 <attribute name =" clockType" attributeType =" Integer 16" defaultValueString =" 0" usesScalarValueType =" YES" />
16- <attribute name =" firmware" attributeType =" String" />
17- <attribute name =" hardwareRevision" attributeType =" String" />
18- <attribute name =" manufacturer" attributeType =" String" />
19- <attribute name =" modelNumber" attributeType =" String" />
16+ <attribute name =" firmware" attributeType =" String" defaultValueString = " " />
17+ <attribute name =" hardwareRevision" attributeType =" String" defaultValueString = " " />
18+ <attribute name =" manufacturer" attributeType =" String" defaultValueString = " " />
19+ <attribute name =" modelNumber" attributeType =" String" defaultValueString = " " />
2020 <attribute name =" name" optional =" YES" attributeType =" String" />
2121 <attribute name =" notificationStatus" attributeType =" Integer 16" defaultValueString =" 0" usesScalarValueType =" YES" />
2222 <attribute name =" screenTimeout" attributeType =" Integer 32" defaultValueString =" 15000" usesScalarValueType =" YES" />
23- <attribute name =" serial" attributeType =" String" />
23+ <attribute name =" serial" attributeType =" String" defaultValueString = " " />
2424 <attribute name =" settingsVersion" attributeType =" Integer 32" defaultValueString =" 4" usesScalarValueType =" YES" />
2525 <attribute name =" shakeWakeThreshold" attributeType =" Integer 16" defaultValueString =" 150" usesScalarValueType =" YES" />
26- <attribute name =" softwareRevision" attributeType =" String" />
26+ <attribute name =" softwareRevision" attributeType =" String" defaultValueString = " " />
2727 <attribute name =" stepsGoal" attributeType =" Integer 32" defaultValueString =" 10000" usesScalarValueType =" YES" />
28- <attribute name =" uuid" attributeType =" String" />
28+ <attribute name =" uuid" attributeType =" String" defaultValueString = " " />
2929 <attribute name =" watchface" attributeType =" Integer 16" defaultValueString =" 0" usesScalarValueType =" YES" />
3030 <attribute name =" weatherFormat" attributeType =" Integer 16" defaultValueString =" 0" usesScalarValueType =" YES" />
3131 <relationship name =" pineTimeStyle" optional =" YES" maxCount =" 1" deletionRule =" Nullify" destinationEntity =" PineTimeStyleWatchface" inverseName =" device" inverseEntity =" PineTimeStyleWatchface" />
3434 <entity name =" HeartDataPoint" representedClassName =" HeartDataPoint" syncable =" YES" codeGenerationType =" class" >
3535 <attribute name =" deviceId" optional =" YES" attributeType =" String" />
3636 <attribute name =" id" optional =" YES" attributeType =" UUID" usesScalarValueType =" NO" />
37- <attribute name =" timestamp" attributeType =" Date" usesScalarValueType =" NO" />
37+ <attribute name =" timestamp" optional = " YES " attributeType =" Date" usesScalarValueType =" NO" />
3838 <attribute name =" value" attributeType =" Double" defaultValueString =" 0" usesScalarValueType =" YES" />
3939 <relationship name =" exercise" optional =" YES" maxCount =" 1" deletionRule =" Nullify" destinationEntity =" UserExercise" inverseName =" heartPoints" inverseEntity =" UserExercise" />
4040 </entity >
5353 </entity >
5454 <entity name =" SleepDataPoint" representedClassName =" SleepDataPoint" syncable =" YES" codeGenerationType =" class" >
5555 <attribute name =" deviceId" optional =" YES" attributeType =" String" />
56- <attribute name =" id" attributeType =" UUID" usesScalarValueType =" NO" />
56+ <attribute name =" id" optional = " YES " attributeType =" UUID" usesScalarValueType =" NO" />
5757 <attribute name =" minutes" optional =" YES" attributeType =" Integer 32" defaultValueString =" 0" usesScalarValueType =" YES" />
58- <attribute name =" timestamp" attributeType =" Date" usesScalarValueType =" NO" />
58+ <attribute name =" timestamp" optional = " YES " attributeType =" Date" usesScalarValueType =" NO" />
5959 </entity >
6060 <entity name =" StepCounts" representedClassName =" StepCounts" syncable =" YES" codeGenerationType =" class" >
6161 <attribute name =" deviceId" optional =" YES" attributeType =" String" />
6666 <entity name =" UserExercise" representedClassName =" UserExercise" syncable =" YES" codeGenerationType =" class" >
6767 <attribute name =" caloriesBurned" optional =" YES" attributeType =" Integer 32" defaultValueString =" 0.0" usesScalarValueType =" YES" />
6868 <attribute name =" deviceId" optional =" YES" attributeType =" String" />
69- <attribute name =" endDate" attributeType =" Date" usesScalarValueType =" NO" />
70- <attribute name =" exerciseId" attributeType =" String" />
69+ <attribute name =" endDate" optional = " YES " attributeType =" Date" usesScalarValueType =" NO" />
70+ <attribute name =" exerciseId" optional = " YES " attributeType =" String" />
7171 <attribute name =" id" optional =" YES" attributeType =" UUID" usesScalarValueType =" NO" />
72- <attribute name =" startDate" attributeType =" Date" usesScalarValueType =" NO" />
72+ <attribute name =" startDate" optional = " YES " attributeType =" Date" usesScalarValueType =" NO" />
7373 <attribute name =" steps" optional =" YES" attributeType =" Integer 32" defaultValueString =" 0" usesScalarValueType =" YES" />
7474 <relationship name =" heartPoints" optional =" YES" toMany =" YES" deletionRule =" Nullify" destinationEntity =" HeartDataPoint" inverseName =" exercise" inverseEntity =" HeartDataPoint" />
7575 </entity >
76- </model >
76+ </model >
0 commit comments