Module "frontend-packages/cookie-consent-web-client/src/tcf/createModel"
Functions
createTcfModel
- createTcfModel(__namedParameters: { tcf: Tcf; tcfMeta: TcfMetadata; tcfString: string }): { gvl: GVL; metadata: TcfMetadata; model: TCModel; original: Tcf }
-
Parameters
-
__namedParameters: { tcf: Tcf; tcfMeta: TcfMetadata; tcfString: string }
Returns { gvl: GVL; metadata: TcfMetadata; model: TCModel; original: Tcf }
-
gvl: GVL
-
-
model: TCModel
-
original: Tcf
Restore e.g. a history entry to a valid
GVL
andTCModel
instance. Returnsundefined
if no TCF vendor-list.json object is given.