gogol-apps-activity 0.1.1 → 0.2.0
raw patch · 5 files changed
+15/−4 lines, 5 filesdep ~gogol-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: gogol-core
API changes (from Hackage documentation)
+ Network.Google.AppsActivity: uIsMe :: Lens' User (Maybe Bool)
+ Network.Google.AppsActivity.Types: uIsMe :: Lens' User (Maybe Bool)
Files
- README.md +1/−1
- gen/Network/Google/AppsActivity.hs +1/−0
- gen/Network/Google/AppsActivity/Types.hs +1/−0
- gen/Network/Google/AppsActivity/Types/Product.hs +10/−1
- gogol-apps-activity.cabal +2/−2
README.md view
@@ -8,7 +8,7 @@ ## Version -`0.1.1`+`0.2.0` ## Description
gen/Network/Google/AppsActivity.hs view
@@ -90,6 +90,7 @@ , uPhoto , uIsDeleted , uName+ , uIsMe , uPermissionId -- ** EventAdditionalEventTypesItem
gen/Network/Google/AppsActivity/Types.hs view
@@ -78,6 +78,7 @@ , uPhoto , uIsDeleted , uName+ , uIsMe , uPermissionId -- * EventAdditionalEventTypesItem
gen/Network/Google/AppsActivity/Types/Product.hs view
@@ -358,6 +358,7 @@ { _uPhoto :: !(Maybe Photo) , _uIsDeleted :: !(Maybe Bool) , _uName :: !(Maybe Text)+ , _uIsMe :: !(Maybe Bool) , _uPermissionId :: !(Maybe Text) } deriving (Eq,Show,Data,Typeable,Generic) @@ -371,6 +372,8 @@ -- -- * 'uName' --+-- * 'uIsMe'+-- -- * 'uPermissionId' user :: User@@ -379,6 +382,7 @@ { _uPhoto = Nothing , _uIsDeleted = Nothing , _uName = Nothing+ , _uIsMe = Nothing , _uPermissionId = Nothing } @@ -397,6 +401,10 @@ uName :: Lens' User (Maybe Text) uName = lens _uName (\ s a -> s{_uName = a}) +-- | Whether the user is the authenticated user.+uIsMe :: Lens' User (Maybe Bool)+uIsMe = lens _uIsMe (\ s a -> s{_uIsMe = a})+ -- | The permission ID associated with this user. Equivalent to the Drive -- API\'s permission ID for this user, returned as part of the Drive -- Permissions resource.@@ -412,6 +420,7 @@ User' <$> (o .:? "photo") <*> (o .:? "isDeleted") <*> (o .:? "name")+ <*> (o .:? "isMe") <*> (o .:? "permissionId")) instance ToJSON User where@@ -420,7 +429,7 @@ (catMaybes [("photo" .=) <$> _uPhoto, ("isDeleted" .=) <$> _uIsDeleted,- ("name" .=) <$> _uName,+ ("name" .=) <$> _uName, ("isMe" .=) <$> _uIsMe, ("permissionId" .=) <$> _uPermissionId]) -- | An Activity resource is a combined view of multiple events. An activity
gogol-apps-activity.cabal view
@@ -1,5 +1,5 @@ name: gogol-apps-activity-version: 0.1.1+version: 0.2.0 synopsis: Google Apps Activity SDK. homepage: https://github.com/brendanhay/gogol bug-reports: https://github.com/brendanhay/gogol/issues@@ -42,5 +42,5 @@ , Network.Google.AppsActivity.Types.Sum build-depends:- gogol-core == 0.1.1.*+ gogol-core == 0.2.0.* , base >= 4.7 && < 5