Skip to content

Commit 48bf450

Browse files
authored
Merge pull request #3648 from wikimedia/event-platform-client
Event logging client for (Modern) Event Platform
2 parents dfe6905 + 62a9eb3 commit 48bf450

File tree

15 files changed

+1043
-67
lines changed

15 files changed

+1043
-67
lines changed

WMF Framework/Dictionary+JSON.swift

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="16119" systemVersion="19G73" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
3+
<entity name="EPCPost" representedClassName="EPCPost" syncable="YES">
4+
<attribute name="body" attributeType="Transformable" valueTransformerName=""/>
5+
<attribute name="failed" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
6+
<attribute name="posted" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
7+
<attribute name="recorded" attributeType="Date" usesScalarValueType="NO"/>
8+
<attribute name="url" attributeType="URI"/>
9+
<attribute name="userAgent" attributeType="String"/>
10+
<fetchIndex name="byRecordedIndex">
11+
<fetchIndexElement property="recorded" type="Binary" order="ascending"/>
12+
</fetchIndex>
13+
</entity>
14+
<entity name="WMFKeyValue" representedClassName="WMFKeyValue" syncable="YES">
15+
<attribute name="date" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
16+
<attribute name="group" optional="YES" attributeType="String"/>
17+
<attribute name="key" attributeType="String"/>
18+
<attribute name="value" attributeType="Transformable" valueTransformerName=""/>
19+
<fetchIndex name="byKeyIndex">
20+
<fetchIndexElement property="key" type="Binary" order="ascending"/>
21+
</fetchIndex>
22+
</entity>
23+
<elements>
24+
<element name="EPCPost" positionX="-54" positionY="18" width="128" height="133"/>
25+
<element name="WMFKeyValue" positionX="-36" positionY="63" width="128" height="103"/>
26+
</elements>
27+
</model>
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="14135" systemVersion="17E202" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
2+
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="16119" systemVersion="19G73" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
33
<entity name="WMFEventRecord" representedClassName="WMFEventRecord" syncable="YES">
4-
<attribute name="event" attributeType="Transformable" syncable="YES"/>
5-
<attribute name="failed" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES" syncable="YES"/>
6-
<attribute name="postAttempts" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
7-
<attribute name="posted" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
8-
<attribute name="recorded" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
9-
<attribute name="userAgent" optional="YES" attributeType="String" syncable="YES"/>
4+
<attribute name="event" attributeType="Transformable" valueTransformerName=""/>
5+
<attribute name="failed" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
6+
<attribute name="postAttempts" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
7+
<attribute name="posted" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
8+
<attribute name="recorded" attributeType="Date" usesScalarValueType="NO"/>
9+
<attribute name="userAgent" optional="YES" attributeType="String"/>
1010
<fetchIndex name="byRecordedIndex">
1111
<fetchIndexElement property="recorded" type="Binary" order="ascending"/>
1212
</fetchIndex>
1313
</entity>
1414
<entity name="WMFKeyValue" representedClassName="WMFKeyValue" syncable="YES">
15-
<attribute name="date" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
16-
<attribute name="group" optional="YES" attributeType="String" syncable="YES"/>
17-
<attribute name="key" attributeType="String" syncable="YES"/>
18-
<attribute name="value" optional="YES" attributeType="Transformable" syncable="YES"/>
15+
<attribute name="date" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
16+
<attribute name="group" optional="YES" attributeType="String"/>
17+
<attribute name="key" attributeType="String"/>
18+
<attribute name="value" optional="YES" attributeType="Transformable" valueTransformerName=""/>
1919
<fetchIndex name="byKeyIndex">
2020
<fetchIndexElement property="key" type="Binary" order="ascending"/>
2121
</fetchIndex>
2222
</entity>
2323
<elements>
24-
<element name="WMFEventRecord" positionX="-63" positionY="-18" width="128" height="135"/>
25-
<element name="WMFKeyValue" positionX="-45" positionY="36" width="128" height="105"/>
24+
<element name="WMFEventRecord" positionX="-63" positionY="-18" width="128" height="133"/>
25+
<element name="WMFKeyValue" positionX="-45" positionY="36" width="128" height="103"/>
2626
</elements>
2727
</model>

0 commit comments

Comments
 (0)