Skip to content

Commit

Permalink
define context user (#153)
Browse files Browse the repository at this point in the history
* define context user

* 2.10.3
  • Loading branch information
kbarbounakis authored Jun 9, 2023
1 parent cab676f commit 95f706c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
16 changes: 16 additions & 0 deletions data.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,21 @@ export type Types =
| 'AbsoluteURI'
| 'RelativeURI';

export declare interface ContextUserBase {

name?: string;

authenticationType?: string;

authenticationToken?: string;

authenticationProviderKey?: any;

authenticationScope?: any;

[k: string]: unknown;
}

export interface DataAssociationMappingBase {
associationType?: 'association' | 'junction';
associationAdapter?: string;
Expand Down Expand Up @@ -361,6 +376,7 @@ export interface DataAdapterBase {
export interface DataContextBase {
db?: DataAdapterBase;
application?: ApplicationBase;
user?: ContextUserBase;

model(name:any): DataModelBase;
getConfiguration(): ConfigurationBase;
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@themost/common",
"version": "2.10.2",
"version": "2.10.3",
"description": "MOST Web Framework Codename Blueshift - Common Module",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 95f706c

Please sign in to comment.