@agravity/public 9.4.0 → 10.0.1
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/.openapi-generator/FILES +4 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +97 -142
- package/api/api.ts +3 -0
- package/api/publicAIOperations.pub.agravity.ts +160 -0
- package/api/publicAssetManagement.pub.agravity.ts +67 -236
- package/api/publicAssetOperations.pub.agravity.ts +139 -380
- package/api/publicAssetPublishing.pub.agravity.ts +37 -132
- package/api/publicAssetRelationManagement.pub.agravity.ts +57 -192
- package/api/publicAssetVersioning.pub.agravity.ts +82 -249
- package/api/publicAuthenticationManagement.pub.agravity.ts +23 -106
- package/api/publicCollectionManagement.pub.agravity.ts +116 -321
- package/api/publicCollectionSecureUpload.pub.agravity.ts +29 -114
- package/api/publicCollectionTypeManagement.pub.agravity.ts +33 -136
- package/api/publicConfigurationManagement.pub.agravity.ts +11 -76
- package/api/publicDownloadFormatManagement.pub.agravity.ts +22 -101
- package/api/publicEndpoints.pub.agravity.ts +18 -89
- package/api/publicGeneralManagement.pub.agravity.ts +41 -146
- package/api/publicHelperTools.pub.agravity.ts +43 -174
- package/api/publicPortalManagement.pub.agravity.ts +74 -227
- package/api/publicPublishing.pub.agravity.ts +13 -84
- package/api/publicSavedSearch.pub.agravity.ts +13 -84
- package/api/publicSearchManagement.pub.agravity.ts +58 -203
- package/api/publicSharingManagement.pub.agravity.ts +50 -155
- package/api/publicSignalRConnectionManagement.pub.agravity.ts +11 -78
- package/api/publicStaticDefinedListManagement.pub.agravity.ts +37 -140
- package/api/publicTranslationManagement.pub.agravity.ts +48 -147
- package/api/publicWebAppData.pub.agravity.ts +26 -107
- package/api/publicWorkspaceManagement.pub.agravity.ts +24 -109
- package/api.base.service.ts +78 -0
- package/configuration.ts +33 -17
- package/index.ts +1 -0
- package/model/asset.pub.agravity.ts +6 -6
- package/model/assetBlob.pub.agravity.ts +15 -15
- package/model/assetIconRule.pub.agravity.ts +1 -1
- package/model/collTypeItem.pub.agravity.ts +1 -1
- package/model/collection.pub.agravity.ts +6 -6
- package/model/collectionType.pub.agravity.ts +6 -6
- package/model/collectionUDL.pub.agravity.ts +1 -1
- package/model/downloadFormat.pub.agravity.ts +1 -1
- package/model/downloadZipRequest.pub.agravity.ts +6 -6
- package/model/downloadZipStatus.pub.agravity.ts +6 -6
- package/model/entityIdName.pub.agravity.ts +1 -1
- package/model/groupAllAppData.pub.agravity.ts +1 -1
- package/model/permissionEntity.pub.agravity.ts +5 -5
- package/model/portalAuthentication.pub.agravity.ts +7 -7
- package/model/portalTheme.pub.agravity.ts +1 -1
- package/model/publishedAsset.pub.agravity.ts +1 -1
- package/model/savedSearch.pub.agravity.ts +1 -1
- package/model/staticDefinedList.pub.agravity.ts +1 -1
- package/model/whereParam.pub.agravity.ts +17 -17
- package/model/workspace.pub.agravity.ts +1 -1
- package/package.json +5 -4
- package/provide-api.ts +15 -0
- package/tsconfig.json +2 -0
|
@@ -13,7 +13,7 @@ export interface SavedSearch {
|
|
|
13
13
|
entity_type?: string | null;
|
|
14
14
|
searchstring?: string | null;
|
|
15
15
|
external?: boolean | null;
|
|
16
|
-
translations?: { [key: string]: { [key: string]:
|
|
16
|
+
translations?: { [key: string]: { [key: string]: any } } | null;
|
|
17
17
|
name?: string | null;
|
|
18
18
|
description?: string | null;
|
|
19
19
|
add_properties?: { [key: string]: any } | null;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
export interface StaticDefinedList {
|
|
12
12
|
id?: string | null;
|
|
13
13
|
entity_type?: string | null;
|
|
14
|
-
translations?: { [key: string]: { [key: string]:
|
|
14
|
+
translations?: { [key: string]: { [key: string]: any } } | null;
|
|
15
15
|
values?: Array<string> | null;
|
|
16
16
|
name?: string | null;
|
|
17
17
|
description?: string | null;
|
|
@@ -16,23 +16,23 @@ export interface WhereParam {
|
|
|
16
16
|
valueType?: WhereParam.ValueTypeEnum;
|
|
17
17
|
}
|
|
18
18
|
export namespace WhereParam {
|
|
19
|
-
export type OperatorEnum = 'Equals' | 'NotEquals' | 'GreaterThan' | 'LessThan' | 'GreaterThanOrEqual' | 'LessThanOrEqual' | 'Contains' | 'StartsWith' | 'ArrayContains' | 'ArrayContainsPartial';
|
|
20
19
|
export const OperatorEnum = {
|
|
21
|
-
Equals: 'Equals'
|
|
22
|
-
NotEquals: 'NotEquals'
|
|
23
|
-
GreaterThan: 'GreaterThan'
|
|
24
|
-
LessThan: 'LessThan'
|
|
25
|
-
GreaterThanOrEqual: 'GreaterThanOrEqual'
|
|
26
|
-
LessThanOrEqual: 'LessThanOrEqual'
|
|
27
|
-
Contains: 'Contains'
|
|
28
|
-
StartsWith: 'StartsWith'
|
|
29
|
-
ArrayContains: 'ArrayContains'
|
|
30
|
-
ArrayContainsPartial: 'ArrayContainsPartial'
|
|
31
|
-
};
|
|
32
|
-
export type
|
|
20
|
+
Equals: 'Equals',
|
|
21
|
+
NotEquals: 'NotEquals',
|
|
22
|
+
GreaterThan: 'GreaterThan',
|
|
23
|
+
LessThan: 'LessThan',
|
|
24
|
+
GreaterThanOrEqual: 'GreaterThanOrEqual',
|
|
25
|
+
LessThanOrEqual: 'LessThanOrEqual',
|
|
26
|
+
Contains: 'Contains',
|
|
27
|
+
StartsWith: 'StartsWith',
|
|
28
|
+
ArrayContains: 'ArrayContains',
|
|
29
|
+
ArrayContainsPartial: 'ArrayContainsPartial'
|
|
30
|
+
} as const;
|
|
31
|
+
export type OperatorEnum = (typeof OperatorEnum)[keyof typeof OperatorEnum];
|
|
33
32
|
export const ValueTypeEnum = {
|
|
34
|
-
String: 'String'
|
|
35
|
-
Bool: 'Bool'
|
|
36
|
-
Number: 'Number'
|
|
37
|
-
};
|
|
33
|
+
String: 'String',
|
|
34
|
+
Bool: 'Bool',
|
|
35
|
+
Number: 'Number'
|
|
36
|
+
} as const;
|
|
37
|
+
export type ValueTypeEnum = (typeof ValueTypeEnum)[keyof typeof ValueTypeEnum];
|
|
38
38
|
}
|
|
@@ -15,7 +15,7 @@ export interface Workspace {
|
|
|
15
15
|
entity_type?: string | null;
|
|
16
16
|
name?: string | null;
|
|
17
17
|
collection_types?: Array<CollectionType> | null;
|
|
18
|
-
translations?: { [key: string]: { [key: string]:
|
|
18
|
+
translations?: { [key: string]: { [key: string]: any } } | null;
|
|
19
19
|
order?: number | null;
|
|
20
20
|
permissions?: Array<PermissionEntity> | null;
|
|
21
21
|
description?: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agravity/public",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.1",
|
|
4
4
|
"description": "The Agravity GlobalDAM API which allowes API key authenticated access the Agravity GlobalDAM Backend",
|
|
5
5
|
"author": "Philipp Losbichler",
|
|
6
6
|
"repository": {
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"license": "MIT License",
|
|
21
21
|
"scripts": {
|
|
22
|
+
"prepare": "npm run build",
|
|
22
23
|
"build": "ng-packagr -p ng-package.json"
|
|
23
24
|
},
|
|
24
25
|
"peerDependencies": {
|
|
@@ -31,11 +32,11 @@
|
|
|
31
32
|
"@angular/compiler-cli": "^19.0.0",
|
|
32
33
|
"@angular/core": "^19.0.0",
|
|
33
34
|
"@angular/platform-browser": "^19.0.0",
|
|
34
|
-
"ng-packagr": "^
|
|
35
|
+
"ng-packagr": "^19.0.0",
|
|
35
36
|
"reflect-metadata": "^0.1.3",
|
|
36
37
|
"rxjs": "^7.4.0",
|
|
37
|
-
"typescript": ">=5.
|
|
38
|
-
"zone.js": "^0.
|
|
38
|
+
"typescript": ">=5.5.0 <5.7.0",
|
|
39
|
+
"zone.js": "^0.15.0"
|
|
39
40
|
},
|
|
40
41
|
"publishConfig": {
|
|
41
42
|
"access": "public",
|
package/provide-api.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EnvironmentProviders, makeEnvironmentProviders } from '@angular/core';
|
|
2
|
+
import { AgravityPublicConfiguration, AgravityPublicConfigurationParameters } from './configuration';
|
|
3
|
+
import { BASE_PATH } from './variables';
|
|
4
|
+
|
|
5
|
+
// Returns the service class providers, to be used in the [ApplicationConfig](https://angular.dev/api/core/ApplicationConfig).
|
|
6
|
+
export function provideApi(configOrBasePath: string | AgravityPublicConfigurationParameters): EnvironmentProviders {
|
|
7
|
+
return makeEnvironmentProviders([
|
|
8
|
+
typeof configOrBasePath === 'string'
|
|
9
|
+
? { provide: BASE_PATH, useValue: configOrBasePath }
|
|
10
|
+
: {
|
|
11
|
+
provide: AgravityPublicConfiguration,
|
|
12
|
+
useValue: new AgravityPublicConfiguration({ ...configOrBasePath })
|
|
13
|
+
}
|
|
14
|
+
]);
|
|
15
|
+
}
|