napkin-0.5.14
Safe HaskellSafe-Inferred
LanguageGHC2021

Napkin.Auth.Schema

Synopsis

Documentation

data BigqueryProjectT f #

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

Instances

Instances details
Show BigqueryProject # 
Instance details

Defined in Napkin.Auth.Schema

Show BigqueryProjectId # 
Instance details

Defined in Napkin.Auth.Schema

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 #

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 #

Eq BigqueryProject # 
Instance details

Defined in Napkin.Auth.Schema

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.14-JrXUGmKUOt9J0meJSj0Kh4" '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 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.14-JrXUGmKUOt9J0meJSj0Kh4" '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.14-JrXUGmKUOt9J0meJSj0Kh4" 'True) (C1 ('MetaCons "NapkinOAuthDb" 'PrefixI 'True) (S1 ('MetaSel ('Just "oAuth2Credentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (TableEntity BigqueryProjectT)))))

Orphan instances