jamespot-user-api 1.0.136 → 1.0.137
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/documentation/assets/search.js +1 -1
- package/documentation/classes/AdminLicenseApi.html +11 -11
- package/documentation/classes/AdminStoreApi.html +1 -1
- package/documentation/classes/AdminUtilsApi.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/JDiapazoneApi.html +1 -1
- package/documentation/classes/JFaqApi.html +1 -1
- package/documentation/classes/JFileApi.html +5 -5
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGroupApi.html +9 -9
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JObjectApi.html +1 -1
- package/documentation/classes/JSearchApi.html +6 -6
- package/documentation/classes/JShareApi.html +1 -1
- package/documentation/classes/JTaxonomyApi.html +2 -2
- package/documentation/classes/JUserApi.html +4 -4
- package/documentation/classes/JWedocApi.html +1 -1
- package/documentation/classes/JamespotUserApi.html +1 -1
- package/documentation/classes/Network.html +1 -1
- package/documentation/classes/TVDisplayApi.html +1 -1
- package/documentation/classes/WindowBrowser.html +1 -1
- package/documentation/enums/StudioApplicationStatus.html +1 -1
- package/documentation/index.html +1 -1
- package/documentation/interfaces/AccessRightObject.html +1 -1
- package/documentation/interfaces/AdminLicenseUser.html +1 -1
- package/documentation/interfaces/ApiDefaultWrapper.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/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/ObjectListProps.html +1 -1
- package/documentation/interfaces/PagingResults.html +1 -1
- package/documentation/interfaces/RootFolderProps.html +1 -1
- package/documentation/interfaces/SearchCategoryModel.html +1 -1
- package/documentation/interfaces/SearchCategoryValue.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/SearchResultPropsApp.html +1 -1
- package/documentation/interfaces/SearchResultPropsObject.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 +11 -11
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/util/file.d.ts +1 -0
- package/lib/src/util/images.d.ts +2 -3
- package/package.json +1 -1
package/lib/src/util/file.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare function getExtensionFromName(name: string): fileExtensionTypes;
|
|
|
13
13
|
* If this doesn't match any extension. Return application/octet-stream to get neutral file display
|
|
14
14
|
*/
|
|
15
15
|
export declare const getMimetypeFromName: (name: string) => string;
|
|
16
|
+
export declare const objectTimestamp: (date: string | null) => string | undefined;
|
|
16
17
|
/**
|
|
17
18
|
* Resolve file path. If undefined show file avatar
|
|
18
19
|
*/
|
package/lib/src/util/images.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ type Format = {
|
|
|
21
21
|
* @see JRCImgProps
|
|
22
22
|
*/
|
|
23
23
|
type Timestamp = {
|
|
24
|
-
timestamp?: string | number;
|
|
24
|
+
timestamp?: string | number | undefined;
|
|
25
25
|
};
|
|
26
26
|
type Args = Timestamp & {
|
|
27
27
|
iconColor?: 'white';
|
|
@@ -29,7 +29,7 @@ type Args = Timestamp & {
|
|
|
29
29
|
/**
|
|
30
30
|
* @see JRCImgProps
|
|
31
31
|
*/
|
|
32
|
-
export type ImgUrlProps = {
|
|
32
|
+
export type ImgUrlProps = Timestamp & {
|
|
33
33
|
url?: string;
|
|
34
34
|
fallbackUrl?: string;
|
|
35
35
|
size?: string;
|
|
@@ -42,7 +42,6 @@ export type ImgUrlProps = {
|
|
|
42
42
|
type?: string;
|
|
43
43
|
format?: string;
|
|
44
44
|
iconColor?: 'white';
|
|
45
|
-
timestamp?: string | number;
|
|
46
45
|
};
|
|
47
46
|
export declare function getFrom(arg: Pick<ImgUrlProps, 'from'>): string;
|
|
48
47
|
export declare function getTimestamp(arg: Timestamp): string;
|