jamespot-user-api 1.0.82 → 1.0.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README-internal.md +41 -0
- package/README.md +7 -33
- package/documentation/assets/highlight.css +13 -6
- package/documentation/assets/search.js +1 -1
- package/documentation/classes/AdminStoreApi.html +1 -1
- package/documentation/classes/JApplicationApi.html +8 -8
- package/documentation/classes/JArticleApi.html +1 -1
- package/documentation/classes/JAssetReservation.html +1 -1
- package/documentation/classes/JAudienceApi.html +1 -1
- package/documentation/classes/JBaseApi.html +1 -1
- package/documentation/classes/JBookmarkApi.html +1 -1
- package/documentation/classes/JCommunityApi.html +1 -1
- package/documentation/classes/JConceptApi.html +1 -1
- package/documentation/classes/JDiapazoneApi.html +1 -1
- package/documentation/classes/JFileApi.html +1 -1
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGroupApi.html +2 -2
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JLicenseApi.html +18 -0
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JSearchApi.html +6 -6
- package/documentation/classes/JShareApi.html +1 -1
- package/documentation/classes/JUserApi.html +5 -5
- package/documentation/classes/JWedocApi.html +1 -1
- package/documentation/classes/JamespotUserApi.html +1 -1
- package/documentation/classes/Network.html +1 -1
- package/documentation/classes/WindowBrowser.html +1 -1
- package/documentation/classes/WindowMock.html +2 -2
- package/documentation/enums/StudioApplicationStatus.html +1 -1
- package/documentation/index.html +5 -70
- package/documentation/interfaces/ApiError.html +1 -1
- package/documentation/interfaces/ApiWrapper.html +1 -1
- package/documentation/interfaces/BaseAutocomplete.html +1 -1
- package/documentation/interfaces/BaseMessage.html +1 -1
- package/documentation/interfaces/Category.html +1 -1
- package/documentation/interfaces/CreateGroup.html +1 -1
- package/documentation/interfaces/FileBankProps.html +1 -1
- package/documentation/interfaces/FolderProps.html +1 -1
- package/documentation/interfaces/ListFilterSpec.html +1 -1
- package/documentation/interfaces/OF.html +1 -1
- package/documentation/interfaces/PagingResults.html +1 -1
- package/documentation/interfaces/Result.html +1 -1
- package/documentation/interfaces/RootFolderProps.html +1 -1
- package/documentation/interfaces/SearchCategoryModel.html +1 -1
- package/documentation/interfaces/SearchConfig.html +1 -1
- package/documentation/interfaces/SearchFacetModel.html +1 -1
- package/documentation/interfaces/SearchFacetValueModel.html +1 -1
- package/documentation/interfaces/SearchQuery.html +1 -1
- package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
- package/documentation/interfaces/SearchQueryOption.html +1 -1
- package/documentation/interfaces/SearchQueryResult.html +1 -1
- package/documentation/interfaces/SearchQuerySortModel.html +1 -1
- package/documentation/interfaces/SearchResultCatProps.html +1 -1
- package/documentation/interfaces/SearchResultProps.html +1 -1
- package/documentation/interfaces/SpotProps.html +1 -1
- package/documentation/interfaces/Taxonomy.html +1 -1
- package/documentation/interfaces/TaxonomyCreate.html +1 -1
- package/documentation/interfaces/WindowInterface.html +1 -1
- package/documentation/modules.html +1 -1
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/application.d.ts +2 -2
- package/lib/src/apis/article.d.ts +5 -4
- package/lib/src/apis/assetReservation.d.ts +7 -7
- package/lib/src/apis/bookmark.d.ts +2 -2
- package/lib/src/apis/filebank.d.ts +2 -2
- package/lib/src/apis/group.d.ts +2 -2
- package/lib/src/apis/index.d.ts +1 -0
- package/lib/src/apis/jamespotUserApi.d.ts +4 -2
- package/lib/src/apis/jland.d.ts +14 -1
- package/lib/src/apis/licenses.d.ts +44 -0
- package/lib/src/apis/user.d.ts +4 -18
- package/lib/src/types/application.d.ts +2 -1
- package/lib/src/types/asei.d.ts +11 -10
- package/lib/src/types/assetReservation.d.ts +3 -3
- package/lib/src/types/model.d.ts +4 -1
- package/lib/src/types/user.d.ts +23 -12
- package/lib/src/types/utils.d.ts +7 -5
- package/lib/src/util/network.d.ts +1 -0
- package/lib/src/window/index.d.ts +0 -2
- package/package.json +2 -2
- package/documentation/classes/WindowJestFetch.html +0 -1
- package/documentation/classes/WindowMobile.html +0 -1
- package/documentation/interfaces/UserModel.html +0 -1
- package/lib/src/window/WindowMobile.d.ts +0 -9
package/lib/src/apis/jland.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { JBaseApi } from './base';
|
|
2
|
-
import { ApiWrapper } from '../types';
|
|
2
|
+
import { ApiWrapper, jArticleList, PagingResults } from '../types';
|
|
3
|
+
import { JLicense } from './licenses';
|
|
3
4
|
export declare type JLandLog = {
|
|
4
5
|
idLog: number;
|
|
5
6
|
slug: string;
|
|
@@ -11,6 +12,17 @@ export declare type JLandStat = {
|
|
|
11
12
|
mail: string;
|
|
12
13
|
cnt: string;
|
|
13
14
|
};
|
|
15
|
+
export declare type JLandMapFlavor = string;
|
|
16
|
+
export declare type JLandMapKind = string;
|
|
17
|
+
export declare type JLandMap = jArticleList & {
|
|
18
|
+
jlandMapFlavor: JLandMapFlavor;
|
|
19
|
+
jlandMapKind: JLandMapKind;
|
|
20
|
+
waMapUrl?: string;
|
|
21
|
+
limit?: number;
|
|
22
|
+
_extend: {
|
|
23
|
+
licenses: Array<JLicense>;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
14
26
|
export declare class JLandApi extends JBaseApi {
|
|
15
27
|
getLogs({ dateEnd, idLogMax, }: {
|
|
16
28
|
dateEnd?: string;
|
|
@@ -21,4 +33,5 @@ export declare class JLandApi extends JBaseApi {
|
|
|
21
33
|
dateStart?: string;
|
|
22
34
|
dateEnd?: string;
|
|
23
35
|
}): Promise<ApiWrapper<Array<JLandStat>>>;
|
|
36
|
+
getAllMapsAsAdmin(format?: string): Promise<ApiWrapper<PagingResults<JLandMap>>>;
|
|
24
37
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { JBaseApi } from './base';
|
|
2
|
+
import { ApiWrapper } from '../types';
|
|
3
|
+
export declare type JLicense = {
|
|
4
|
+
id: number;
|
|
5
|
+
kind: string;
|
|
6
|
+
dateCreation: string;
|
|
7
|
+
idFeature: number;
|
|
8
|
+
uri: string;
|
|
9
|
+
contentId: number;
|
|
10
|
+
contentType: string;
|
|
11
|
+
status: number;
|
|
12
|
+
};
|
|
13
|
+
export declare type JLicenseAvailable = {
|
|
14
|
+
[key: string]: number;
|
|
15
|
+
};
|
|
16
|
+
export declare class JLicenseApi extends JBaseApi {
|
|
17
|
+
/**
|
|
18
|
+
* Retireve the list of liceses assigned to content of a given type
|
|
19
|
+
*
|
|
20
|
+
* @param type type of content for which we want to retrieve the licenses
|
|
21
|
+
* @returns The list of liceses assigned to content of the provided type
|
|
22
|
+
*/
|
|
23
|
+
getLicensesAssigned(type: string): Promise<ApiWrapper<Array<JLicense>>>;
|
|
24
|
+
/**
|
|
25
|
+
* Retrieves the number of licenses of a given type available. License type is
|
|
26
|
+
* different from the content type to which it can be assigned to.
|
|
27
|
+
*
|
|
28
|
+
* @param kind The kind of license for which we want to know the availability
|
|
29
|
+
* @returns A paromise resolving to an object containing the kind of license as keys and number of available ones as values
|
|
30
|
+
*/
|
|
31
|
+
countLicenseNotAssigned(type: string): Promise<ApiWrapper<JLicenseAvailable>>;
|
|
32
|
+
/**
|
|
33
|
+
* Assigns a license to the content with the provided uri (if any is available)
|
|
34
|
+
* @param uri URI of the object to which a license must be assigned
|
|
35
|
+
* @returns
|
|
36
|
+
*/
|
|
37
|
+
assignLicense(uri: string): Promise<ApiWrapper<boolean>>;
|
|
38
|
+
/**
|
|
39
|
+
* Unassigns the licese linked to the content with the provided uri
|
|
40
|
+
* @param uri URI of the object to which a license must be unassigned
|
|
41
|
+
* @returns
|
|
42
|
+
*/
|
|
43
|
+
unassignLicense(uri: string): Promise<ApiWrapper<boolean>>;
|
|
44
|
+
}
|
package/lib/src/apis/user.d.ts
CHANGED
|
@@ -1,35 +1,21 @@
|
|
|
1
1
|
import { JBaseApi } from './base';
|
|
2
|
-
import { ApiWrapper,
|
|
3
|
-
export declare type User = Little & {
|
|
4
|
-
id: string;
|
|
5
|
-
uri: string;
|
|
6
|
-
shortUri: string;
|
|
7
|
-
title: string;
|
|
8
|
-
name: string;
|
|
9
|
-
mainType: string;
|
|
10
|
-
type: string;
|
|
11
|
-
label: string;
|
|
12
|
-
cssClass: string;
|
|
13
|
-
cssColor: string;
|
|
14
|
-
class: string;
|
|
15
|
-
Pseudo: string;
|
|
16
|
-
};
|
|
2
|
+
import { ApiWrapper, jObjectLittle, jUserAutocomplete } from '../types';
|
|
17
3
|
export declare class JUserApi extends JBaseApi {
|
|
18
4
|
/**
|
|
19
5
|
* autocomplete return a list users
|
|
20
6
|
* @param query <string>
|
|
21
7
|
*/
|
|
22
|
-
autocomplete(query: string): Promise<
|
|
8
|
+
autocomplete(query: string): Promise<jUserAutocomplete[]>;
|
|
23
9
|
/**
|
|
24
10
|
* Get a user
|
|
25
11
|
* @param uri uri
|
|
26
12
|
* @param format little by default. If another format is provided, the generic types should be defined
|
|
27
13
|
*/
|
|
28
|
-
get<T extends
|
|
14
|
+
get<T extends jObjectLittle = jObjectLittle>(uri: string, format?: string): Promise<ApiWrapper<T>>;
|
|
29
15
|
/**
|
|
30
16
|
* signIn function returns a Promise of users.
|
|
31
17
|
* @param mail Mail or username
|
|
32
18
|
* @param pwd Password to be validated
|
|
33
19
|
*/
|
|
34
|
-
signIn(mail: string, pwd: string): Promise<ApiWrapper<
|
|
20
|
+
signIn(mail: string, pwd: string): Promise<ApiWrapper<jUserAutocomplete, string[]>>;
|
|
35
21
|
}
|
package/lib/src/types/asei.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jUserLittle } from './user';
|
|
2
|
+
import { jObjectLittle, Rights } from './utils';
|
|
2
3
|
export declare type AseiTicketStatus = 'created' | 'validated' | 'handled';
|
|
3
|
-
export declare type AseiTicket =
|
|
4
|
+
export declare type AseiTicket = jObjectLittle & {
|
|
4
5
|
_right: Rights;
|
|
5
|
-
_user:
|
|
6
|
-
aseiClearanceTicketValidator:
|
|
7
|
-
aseiClearanceTicketHandler:
|
|
8
|
-
aseiClearanceTicketApplicationManagers:
|
|
9
|
-
aseiClearanceTicketInstitution:
|
|
6
|
+
_user: jUserLittle;
|
|
7
|
+
aseiClearanceTicketValidator: jObjectLittle[];
|
|
8
|
+
aseiClearanceTicketHandler: jObjectLittle[];
|
|
9
|
+
aseiClearanceTicketApplicationManagers: jObjectLittle[];
|
|
10
|
+
aseiClearanceTicketInstitution: jObjectLittle[];
|
|
10
11
|
processContext: null;
|
|
11
12
|
aseiClearanceTicketNatureOfDemand: string;
|
|
12
13
|
aseiClearanceTicketInternetAccess: string;
|
|
@@ -51,10 +52,10 @@ export declare type AseiTicket = Little & {
|
|
|
51
52
|
aseiClearanceTicketPosition: string;
|
|
52
53
|
aseiClearanceTicketStatus: AseiTicketStatus;
|
|
53
54
|
};
|
|
54
|
-
export declare type AseiInstitution =
|
|
55
|
+
export declare type AseiInstitution = jObjectLittle & {
|
|
55
56
|
_right: Rights;
|
|
56
|
-
_user:
|
|
57
|
-
aseiInstitutionValidator:
|
|
57
|
+
_user: jUserLittle;
|
|
58
|
+
aseiInstitutionValidator: jObjectLittle[];
|
|
58
59
|
processContext: null;
|
|
59
60
|
};
|
|
60
61
|
export declare type AseiGroups = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jArticleList } from './utils';
|
|
2
2
|
export declare type AssetReservationConfiguration = {
|
|
3
3
|
description: string;
|
|
4
4
|
right: {
|
|
@@ -10,7 +10,7 @@ export declare type AssetReservationConfiguration = {
|
|
|
10
10
|
bookingClosingTime: string;
|
|
11
11
|
lastBookingSchedule: string;
|
|
12
12
|
};
|
|
13
|
-
export declare type BookableAssetList =
|
|
13
|
+
export declare type BookableAssetList = jArticleList & {
|
|
14
14
|
_isColorDark: boolean;
|
|
15
15
|
assetPlannerBackgroundColor: string;
|
|
16
16
|
};
|
|
@@ -23,7 +23,7 @@ export declare type BookableAssetView = BookableAssetList & {
|
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
export declare type ReservationList =
|
|
26
|
+
export declare type ReservationList = jArticleList & {
|
|
27
27
|
dateStart: string;
|
|
28
28
|
dateEnd: string;
|
|
29
29
|
reservationCancelled: boolean;
|
package/lib/src/types/model.d.ts
CHANGED
|
@@ -35,6 +35,9 @@ export declare type WidgetUrl = {
|
|
|
35
35
|
export declare type WidgetRefUser = {
|
|
36
36
|
type: 'refUser';
|
|
37
37
|
};
|
|
38
|
+
export declare type WidgetTransient = {
|
|
39
|
+
type: 'transient';
|
|
40
|
+
};
|
|
38
41
|
export declare type WidgetRadio = {
|
|
39
42
|
type: 'radio';
|
|
40
43
|
options: Record<string, string>;
|
|
@@ -65,7 +68,7 @@ export declare type WidgetUri = {
|
|
|
65
68
|
type: string;
|
|
66
69
|
};
|
|
67
70
|
};
|
|
68
|
-
export declare type Widget = WidgetText | WidgetTextarea | WidgetNumber | WidgetDate | WidgetDatetime | WidgetSelect | WidgetEmail | WidgetUrl | WidgetRefUser | WidgetRadio | WidgetCheckbox | WidgetOrientedlinks | WidgetTaxonomy | WidgetUri;
|
|
71
|
+
export declare type Widget = WidgetText | WidgetTextarea | WidgetNumber | WidgetDate | WidgetDatetime | WidgetSelect | WidgetEmail | WidgetUrl | WidgetRefUser | WidgetRadio | WidgetCheckbox | WidgetOrientedlinks | WidgetTaxonomy | WidgetUri | WidgetTransient;
|
|
69
72
|
export declare type FieldConfiguration<T extends string = string> = {
|
|
70
73
|
label: string;
|
|
71
74
|
description?: string;
|
package/lib/src/types/user.d.ts
CHANGED
|
@@ -1,14 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { jObjectLittle } from './utils';
|
|
2
|
+
export declare const UserLevel: {
|
|
3
|
+
readonly ADMIN: 9;
|
|
4
|
+
readonly USER: 5;
|
|
5
|
+
readonly EXTERNAL: 3;
|
|
6
|
+
readonly GUEST: 0;
|
|
7
|
+
};
|
|
8
|
+
export declare type jUserAutocomplete = {
|
|
9
|
+
id: string;
|
|
5
10
|
uri: string;
|
|
11
|
+
shortUri: string;
|
|
12
|
+
title: string;
|
|
13
|
+
name: string;
|
|
6
14
|
mainType: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
type: string;
|
|
16
|
+
label: string;
|
|
17
|
+
cssClass: string;
|
|
18
|
+
cssColor: string;
|
|
19
|
+
class: string;
|
|
20
|
+
Pseudo: string;
|
|
21
|
+
};
|
|
22
|
+
export declare type jUserLittle = jObjectLittle & {
|
|
23
|
+
level: typeof UserLevel[keyof typeof UserLevel];
|
|
24
|
+
};
|
|
25
|
+
export declare type jUserList = jUserLittle & {};
|
package/lib/src/types/utils.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { jUserLittle } from './user';
|
|
1
2
|
export interface ApiWrapper<T, U = string[]> {
|
|
2
3
|
o: string;
|
|
3
4
|
f: string;
|
|
@@ -9,12 +10,12 @@ export interface ApiWrapper<T, U = string[]> {
|
|
|
9
10
|
export interface PagingResults<T> {
|
|
10
11
|
cnt: number;
|
|
11
12
|
data: Array<T>;
|
|
12
|
-
facets: Array<{}>;
|
|
13
|
+
facets: null | Array<{}>;
|
|
13
14
|
idQuery?: number;
|
|
14
15
|
limit: number;
|
|
15
16
|
page: number;
|
|
16
17
|
}
|
|
17
|
-
export declare type ApiPagingResults<T> = ApiWrapper<PagingResults<T
|
|
18
|
+
export declare type ApiPagingResults<T, U = string[]> = ApiWrapper<PagingResults<T>, U>;
|
|
18
19
|
export interface ApiError<U = string> {
|
|
19
20
|
error: number;
|
|
20
21
|
messages: U[];
|
|
@@ -35,7 +36,7 @@ export declare type Rights = {
|
|
|
35
36
|
comment: boolean;
|
|
36
37
|
member: boolean;
|
|
37
38
|
};
|
|
38
|
-
export declare type
|
|
39
|
+
export declare type jObjectLittle = {
|
|
39
40
|
id: number;
|
|
40
41
|
mainType: string;
|
|
41
42
|
type: string;
|
|
@@ -45,9 +46,10 @@ export declare type Little = {
|
|
|
45
46
|
dateCreation: string;
|
|
46
47
|
dateModified: string;
|
|
47
48
|
};
|
|
48
|
-
export declare type
|
|
49
|
+
export declare type jArticleLittle = jObjectLittle & {};
|
|
50
|
+
export declare type jArticleList = jObjectLittle & {
|
|
49
51
|
description?: string;
|
|
50
|
-
_user:
|
|
52
|
+
_user: jUserLittle;
|
|
51
53
|
_right: Rights;
|
|
52
54
|
};
|
|
53
55
|
export declare type Order = {
|
|
@@ -14,6 +14,7 @@ export declare class Network {
|
|
|
14
14
|
static _formatPostOptions(body: object): RequestInit;
|
|
15
15
|
static _formatQueryOptions(options: Record<string, string | boolean | number>): string;
|
|
16
16
|
getUrl(o: string, f: string): Promise<string>;
|
|
17
|
+
getHostname(): Promise<string>;
|
|
17
18
|
fetch({ o, f, ...body }: OF, signal?: AbortSignal | null): FetchReturnType;
|
|
18
19
|
post<T, U = string[]>(body: OF, signal?: AbortSignal): Promise<ApiWrapper<T, U>>;
|
|
19
20
|
postFile(body: FormData): Promise<FileResponse>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-user-api",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.89",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "npx webpack --env NODE_ENV=production",
|
|
6
6
|
"build-dev-vm": "npx webpack --env NODE_ENV=development --env NODE_BUILD=VM",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"doc": "npx typedoc",
|
|
17
17
|
"testFetch": "jest -c ./jest.fetch.config.ts",
|
|
18
18
|
"testMock": "jest -c ./jest.mock.config.ts",
|
|
19
|
-
"test": "npm run
|
|
19
|
+
"test": "npm run testMock",
|
|
20
20
|
"testJenkinsDev": "jest -c ./jest.fetch.jenkinsdev.config.ts",
|
|
21
21
|
"prepare": "husky install"
|
|
22
22
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>WindowJestFetch | jamespot-user-api</title><meta name="description" content="Documentation for jamespot-user-api"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">jamespot-user-api</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">jamespot-user-api</a></li><li><a href="WindowJestFetch.html">WindowJestFetch</a></li></ul><h1>Class WindowJestFetch</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">WindowJestFetch</span></li></ul></section><section class="tsd-panel"><h3>Implements</h3><ul class="tsd-hierarchy"><li><a href="../interfaces/WindowInterface.html" class="tsd-signature-type" data-tsd-kind="Interface">WindowInterface</a></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="WindowJestFetch.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class"><a href="WindowJestFetch.html#cookie" class="tsd-kind-icon">cookie</a></li></ul></section><section class="tsd-index-section "><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class"><a href="WindowJestFetch.html#fetch" class="tsd-kind-icon">fetch</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="WindowJestFetch.html#getBackendUrl" class="tsd-kind-icon">get<wbr/>Backend<wbr/>Url</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">constructor<a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">new <wbr/>Window<wbr/>Jest<wbr/>Fetch<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="WindowJestFetch.html" class="tsd-signature-type" data-tsd-kind="Class">WindowJestFetch</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="WindowJestFetch.html" class="tsd-signature-type" data-tsd-kind="Class">WindowJestFetch</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="cookie" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagOptional">Optional</span> cookie<a href="#cookie" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">cookie<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/window/WindowJestFetch.ts#L7">window/WindowJestFetch.ts:7</a></li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group "><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="fetch" class="tsd-anchor"></a><h3 class="tsd-anchor-link">fetch<a href="#fetch" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">fetch<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, init<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">RequestInit</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules.html#FetchReturnType" class="tsd-signature-type" data-tsd-kind="Type alias">FetchReturnType</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/WindowInterface.html">WindowInterface</a>.<a href="../interfaces/WindowInterface.html#fetch">fetch</a></p><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/window/WindowJestFetch.ts#L13">window/WindowJestFetch.ts:13</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>url: <span class="tsd-signature-type">string</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> init: <span class="tsd-signature-type">RequestInit</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="../modules.html#FetchReturnType" class="tsd-signature-type" data-tsd-kind="Type alias">FetchReturnType</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getBackendUrl" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Backend<wbr/>Url<a href="#getBackendUrl" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Backend<wbr/>Url<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/WindowInterface.html">WindowInterface</a>.<a href="../interfaces/WindowInterface.html#getBackendUrl">getBackendUrl</a></p><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/window/WindowJestFetch.ts#L9">window/WindowJestFetch.ts:9</a></li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class"><a href="WindowJestFetch.html" class="tsd-kind-icon">Window<wbr/>Jest<wbr/>Fetch</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="WindowJestFetch.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="WindowJestFetch.html#cookie" class="tsd-kind-icon">cookie</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="WindowJestFetch.html#fetch" class="tsd-kind-icon">fetch</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="WindowJestFetch.html#getBackendUrl" class="tsd-kind-icon">get<wbr/>Backend<wbr/>Url</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>WindowMobile | jamespot-user-api</title><meta name="description" content="Documentation for jamespot-user-api"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">jamespot-user-api</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">jamespot-user-api</a></li><li><a href="WindowMobile.html">WindowMobile</a></li></ul><h1>Class WindowMobile</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">WindowMobile</span></li></ul></section><section class="tsd-panel"><h3>Implements</h3><ul class="tsd-hierarchy"><li><a href="../interfaces/WindowInterface.html" class="tsd-signature-type" data-tsd-kind="Interface">WindowInterface</a></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="WindowMobile.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section tsd-is-private tsd-is-private-protected"><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="WindowMobile.html#backendUrl" class="tsd-kind-icon">backend<wbr/>Url</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="WindowMobile.html#token" class="tsd-kind-icon">token</a></li></ul></section><section class="tsd-index-section "><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class"><a href="WindowMobile.html#fetch" class="tsd-kind-icon">fetch</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="WindowMobile.html#getBackendUrl" class="tsd-kind-icon">get<wbr/>Backend<wbr/>Url</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="WindowMobile.html#setToken" class="tsd-kind-icon">set<wbr/>Token</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">constructor<a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">new <wbr/>Window<wbr/>Mobile<span class="tsd-signature-symbol">(</span>backUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="WindowMobile.html" class="tsd-signature-type" data-tsd-kind="Class">WindowMobile</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/window/WindowMobile.ts#L8">window/WindowMobile.ts:8</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>backUrl: <span class="tsd-signature-type">string</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="WindowMobile.html" class="tsd-signature-type" data-tsd-kind="Class">WindowMobile</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group tsd-is-private tsd-is-private-protected"><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="backendUrl" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagPrivate">Private</span> <span class="tsd-flag ts-flagReadonly">Readonly</span> backend<wbr/>Url<a href="#backendUrl" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">backend<wbr/>Url<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/window/WindowMobile.ts#L6">window/WindowMobile.ts:6</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="token" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagPrivate">Private</span> token<a href="#token" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">token<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/window/WindowMobile.ts#L5">window/WindowMobile.ts:5</a></li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group "><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="fetch" class="tsd-anchor"></a><h3 class="tsd-anchor-link">fetch<a href="#fetch" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">fetch<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, __namedParameters<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">RequestInit</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules.html#FetchReturnType" class="tsd-signature-type" data-tsd-kind="Type alias">FetchReturnType</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/WindowInterface.html">WindowInterface</a>.<a href="../interfaces/WindowInterface.html#fetch">fetch</a></p><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/window/WindowMobile.ts#L20">window/WindowMobile.ts:20</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>url: <span class="tsd-signature-type">string</span></h5></li><li><h5>__namedParameters: <span class="tsd-signature-type">RequestInit</span><span class="tsd-signature-symbol"> = {}</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="../modules.html#FetchReturnType" class="tsd-signature-type" data-tsd-kind="Type alias">FetchReturnType</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getBackendUrl" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Backend<wbr/>Url<a href="#getBackendUrl" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Backend<wbr/>Url<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/WindowInterface.html">WindowInterface</a>.<a href="../interfaces/WindowInterface.html#getBackendUrl">getBackendUrl</a></p><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/window/WindowMobile.ts#L12">window/WindowMobile.ts:12</a></li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setToken" class="tsd-anchor"></a><h3 class="tsd-anchor-link">set<wbr/>Token<a href="#setToken" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>Token<span class="tsd-signature-symbol">(</span>token<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/window/WindowMobile.ts#L16">window/WindowMobile.ts:16</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>token: <span class="tsd-signature-type">string</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class"><a href="WindowMobile.html" class="tsd-kind-icon">Window<wbr/>Mobile</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="WindowMobile.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="WindowMobile.html#backendUrl" class="tsd-kind-icon">backend<wbr/>Url</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="WindowMobile.html#token" class="tsd-kind-icon">token</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="WindowMobile.html#fetch" class="tsd-kind-icon">fetch</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="WindowMobile.html#getBackendUrl" class="tsd-kind-icon">get<wbr/>Backend<wbr/>Url</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="WindowMobile.html#setToken" class="tsd-kind-icon">set<wbr/>Token</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>UserModel | jamespot-user-api</title><meta name="description" content="Documentation for jamespot-user-api"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">jamespot-user-api</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">jamespot-user-api</a></li><li><a href="UserModel.html">UserModel</a></li></ul><h1>Interface UserModel</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">UserModel</span></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#_cssClass" class="tsd-kind-icon">_css<wbr/>Class</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#_cssColor" class="tsd-kind-icon">_css<wbr/>Color</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#company" class="tsd-kind-icon">company</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#firstname" class="tsd-kind-icon">firstname</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#id" class="tsd-kind-icon">id</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#lastname" class="tsd-kind-icon">lastname</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#mail" class="tsd-kind-icon">mail</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#mainType" class="tsd-kind-icon">main<wbr/>Type</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#title" class="tsd-kind-icon">title</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#type" class="tsd-kind-icon">type</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#uri" class="tsd-kind-icon">uri</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#url" class="tsd-kind-icon">url</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="_cssClass" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_css<wbr/>Class<a href="#_cssClass" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">_css<wbr/>Class<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/types/user.ts#L8">types/user.ts:8</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="_cssColor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_css<wbr/>Color<a href="#_cssColor" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">_css<wbr/>Color<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/types/user.ts#L7">types/user.ts:7</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="company" class="tsd-anchor"></a><h3 class="tsd-anchor-link">company<a href="#company" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">company<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/types/user.ts#L12">types/user.ts:12</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="firstname" class="tsd-anchor"></a><h3 class="tsd-anchor-link">firstname<a href="#firstname" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">firstname<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/types/user.ts#L10">types/user.ts:10</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="id" class="tsd-anchor"></a><h3 class="tsd-anchor-link">id<a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/types/user.ts#L2">types/user.ts:2</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="lastname" class="tsd-anchor"></a><h3 class="tsd-anchor-link">lastname<a href="#lastname" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">lastname<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/types/user.ts#L11">types/user.ts:11</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="mail" class="tsd-anchor"></a><h3 class="tsd-anchor-link">mail<a href="#mail" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">mail<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/types/user.ts#L13">types/user.ts:13</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="mainType" class="tsd-anchor"></a><h3 class="tsd-anchor-link">main<wbr/>Type<a href="#mainType" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">main<wbr/>Type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/types/user.ts#L6">types/user.ts:6</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="title" class="tsd-anchor"></a><h3 class="tsd-anchor-link">title<a href="#title" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">title<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/types/user.ts#L3">types/user.ts:3</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="type" class="tsd-anchor"></a><h3 class="tsd-anchor-link">type<a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/types/user.ts#L4">types/user.ts:4</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="uri" class="tsd-anchor"></a><h3 class="tsd-anchor-link">uri<a href="#uri" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">uri<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/types/user.ts#L5">types/user.ts:5</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="url" class="tsd-anchor"></a><h3 class="tsd-anchor-link">url<a href="#url" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">url<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/8f763e8/src/types/user.ts#L9">types/user.ts:9</a></li></ul></aside></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-interface"><a href="UserModel.html" class="tsd-kind-icon">User<wbr/>Model</a><ul><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#_cssClass" class="tsd-kind-icon">_css<wbr/>Class</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#_cssColor" class="tsd-kind-icon">_css<wbr/>Color</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#company" class="tsd-kind-icon">company</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#firstname" class="tsd-kind-icon">firstname</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#id" class="tsd-kind-icon">id</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#lastname" class="tsd-kind-icon">lastname</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#mail" class="tsd-kind-icon">mail</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#mainType" class="tsd-kind-icon">main<wbr/>Type</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#title" class="tsd-kind-icon">title</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#type" class="tsd-kind-icon">type</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#uri" class="tsd-kind-icon">uri</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#url" class="tsd-kind-icon">url</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FetchReturnType, WindowInterface } from './Window';
|
|
2
|
-
export declare class WindowMobile implements WindowInterface {
|
|
3
|
-
private token;
|
|
4
|
-
private readonly backendUrl;
|
|
5
|
-
constructor(backUrl: string);
|
|
6
|
-
getBackendUrl(): Promise<string>;
|
|
7
|
-
setToken(token: string): void;
|
|
8
|
-
fetch(url: string, { headers, ...init }?: RequestInit): FetchReturnType;
|
|
9
|
-
}
|