napkin-0.5.9
Safe HaskellNone
LanguageHaskell2010

Napkin.Auth.Schema

Synopsis

Documentation

data BigqueryProjectT f #

napkin generated project context. A project context app-name, specfile, db-ursl

Instances

Instances details
Eq BigqueryProject # 
Instance details

Defined in Napkin.Auth.Schema

Read BigqueryProject # 
Instance details

Defined in Napkin.Auth.Schema

Show BigqueryProjectId # 
Instance details

Defined in Napkin.Auth.Schema

Show BigqueryProject # 
Instance details

Defined in Napkin.Auth.Schema

ToJSON BigqueryProject # 
Instance details

Defined in Napkin.Auth.Schema

FromJSON BigqueryProject #

JSON required for displaying the project correlated credentials. google cloud SDK stores credentials as JSON files. This provides a quick way to compare the napkin generated credentilas structure with those of GCloud SDK

Instance details

Defined in Napkin.Auth.Schema

Table BigqueryProjectT # 
Instance details

Defined in Napkin.Auth.Schema

Associated Types

data PrimaryKey BigqueryProjectT column #

Methods

primaryKey :: forall (column :: Type -> Type). BigqueryProjectT column -> PrimaryKey BigqueryProjectT column #

Beamable BigqueryProjectT # 
Instance details

Defined in Napkin.Auth.Schema

Methods

zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). Applicative m => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> BigqueryProjectT f -> BigqueryProjectT g -> m (BigqueryProjectT h) #

tblSkeleton :: TableSkeleton BigqueryProjectT #

HasSqlValueSyntax be String => HasSqlValueSyntax be BigqueryProject # 
Instance details

Defined in Napkin.Auth.Schema

HasDefaultSqlDataType Sqlite BigqueryProject # 
Instance details

Defined in Napkin.Auth.Schema

Generic (BigqueryProjectT f) # 
Instance details

Defined in Napkin.Auth.Schema

Associated Types

type Rep (BigqueryProjectT f) :: Type -> Type #

Beamable (PrimaryKey BigqueryProjectT) # 
Instance details

Defined in Napkin.Auth.Schema

Generic (PrimaryKey BigqueryProjectT f) # 
Instance details

Defined in Napkin.Auth.Schema

Associated Types

type Rep (PrimaryKey BigqueryProjectT f) :: Type -> Type #

data PrimaryKey BigqueryProjectT f # 
Instance details

Defined in Napkin.Auth.Schema

type Rep (BigqueryProjectT f) # 
Instance details

Defined in Napkin.Auth.Schema

type Rep (BigqueryProjectT f) = D1 ('MetaData "BigqueryProjectT" "Napkin.Auth.Schema" "napkin-0.5.9-9RVzJKhltBGIJ4XYUA68gX" 'False) (C1 ('MetaCons "BigqueryProject" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_bigqueryProjectId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f Text)) :*: (S1 ('MetaSel ('Just "_bigqueryProjectSpecFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f Text)) :*: S1 ('MetaSel ('Just "_bigqueryProjectDbUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f Text)))) :*: (S1 ('MetaSel ('Just "_bigqueryProjectAppName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f (Maybe Text))) :*: (S1 ('MetaSel ('Just "_bigqueryProjectOAuthJsonText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f Text)) :*: S1 ('MetaSel ('Just "_bigqueryProjectOAuthCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f UTCTime))))))
type Rep (PrimaryKey BigqueryProjectT f) # 
Instance details

Defined in Napkin.Auth.Schema

type Rep (PrimaryKey BigqueryProjectT f) = D1 ('MetaData "PrimaryKey" "Napkin.Auth.Schema" "napkin-0.5.9-9RVzJKhltBGIJ4XYUA68gX" 'False) (C1 ('MetaCons "BigqueryProjectId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Columnar f Text))))

newtype NapkinOAuthDb f #

define napkin oAuth database

Instances

Instances details
Database Sqlite NapkinOAuthDb # 
Instance details

Defined in Napkin.Auth.Schema

Methods

zipTables :: Applicative m => Proxy Sqlite -> (forall tbl. (IsDatabaseEntity Sqlite tbl, DatabaseEntityRegularRequirements Sqlite tbl) => f tbl -> g tbl -> m (h tbl)) -> NapkinOAuthDb f -> NapkinOAuthDb g -> m (NapkinOAuthDb h) #

Generic (NapkinOAuthDb f) # 
Instance details

Defined in Napkin.Auth.Schema

Associated Types

type Rep (NapkinOAuthDb f) :: Type -> Type #

type Rep (NapkinOAuthDb f) # 
Instance details

Defined in Napkin.Auth.Schema

type Rep (NapkinOAuthDb f) = D1 ('MetaData "NapkinOAuthDb" "Napkin.Auth.Schema" "napkin-0.5.9-9RVzJKhltBGIJ4XYUA68gX" 'True) (C1 ('MetaCons "NapkinOAuthDb" 'PrefixI 'True) (S1 ('MetaSel ('Just "oAuth2Credentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (TableEntity BigqueryProjectT)))))

Orphan instances