@epam/ai-dial-shared 0.32.0-rc.2 → 0.32.0-rc.3

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.md CHANGED
@@ -1,3 +1,3 @@
1
1
  # DIAL Shared
2
2
 
3
- Dial Shared is a library for using shared types and functionality across different DIAL libraries and apps.
3
+ DIAL Shared is a library for using shared types and functionality across different DIAL libraries and apps.
package/index.esm.js CHANGED
@@ -67,17 +67,17 @@ var UploadStatus;
67
67
  UploadStatus["FAILED"] = "FAILED";
68
68
  UploadStatus["ALL_LOADED"] = "ALL_LOADED";
69
69
  })(UploadStatus || (UploadStatus = {}));
70
+ var SharePermission;
71
+ (function (SharePermission) {
72
+ SharePermission["READ"] = "READ";
73
+ SharePermission["WRITE"] = "WRITE";
74
+ })(SharePermission || (SharePermission = {}));
70
75
  var PublishActions;
71
76
  (function (PublishActions) {
72
77
  PublishActions["ADD"] = "ADD";
73
78
  PublishActions["DELETE"] = "DELETE";
74
79
  PublishActions["ADD_IF_ABSENT"] = "ADD_IF_ABSENT";
75
80
  })(PublishActions || (PublishActions = {}));
76
- var SharePermission;
77
- (function (SharePermission) {
78
- SharePermission["READ"] = "READ";
79
- SharePermission["WRITE"] = "WRITE";
80
- })(SharePermission || (SharePermission = {}));
81
81
  var FeatureType;
82
82
  (function (FeatureType) {
83
83
  FeatureType["Chat"] = "chat";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@epam/ai-dial-shared",
3
3
  "description": "Shared elements that support developing DIAL",
4
4
  "homepage": "https://epam-rail.com",
5
- "version": "0.32.0-rc.2",
5
+ "version": "0.32.0-rc.3",
6
6
  "dependencies": {},
7
7
  "type": "module",
8
8
  "bugs": {
@@ -67,12 +67,17 @@ export interface EntityDates {
67
67
  createdAt?: number;
68
68
  updatedAt?: number;
69
69
  }
70
+ export declare enum SharePermission {
71
+ READ = "READ",
72
+ WRITE = "WRITE"
73
+ }
70
74
  export interface Entity extends EntityDates {
71
75
  id: string;
72
76
  name: string;
73
77
  folderId: string;
74
78
  status?: UploadStatus;
75
79
  author?: string;
80
+ permissions?: SharePermission[];
76
81
  }
77
82
  export declare enum PublishActions {
78
83
  ADD = "ADD",
@@ -85,10 +90,6 @@ export interface EntityPublicationInfo {
85
90
  version?: string;
86
91
  versionGroup?: string;
87
92
  }
88
- export declare enum SharePermission {
89
- READ = "READ",
90
- WRITE = "WRITE"
91
- }
92
93
  export declare enum FeatureType {
93
94
  Chat = "chat",
94
95
  Prompt = "prompt",
@@ -101,7 +102,6 @@ export interface ShareInterface {
101
102
  isPublished?: boolean;
102
103
  publishedWithMe?: boolean;
103
104
  publicationInfo?: EntityPublicationInfo;
104
- permissions?: SharePermission[];
105
105
  }
106
106
  export interface ShareEntity extends Entity, ShareInterface {
107
107
  }
@@ -29,8 +29,8 @@ export declare enum Feature {
29
29
  ReportAnIssue = "report-an-issue",// Display report issue modal
30
30
  HideUserSettings = "hide-user-settings",// Hide user settings
31
31
  CustomLogo = "custom-logo",// Enable setting for custom logo feature
32
- CustomApplications = "custom-applications",// custom applications
33
- CodeApps = "code-apps",// Enable Code apps
32
+ CustomApplications = "custom-applications",// Enable creating of applications ('Add app' button/menu)
33
+ CodeApps = "code-apps",// Enable creating of Code apps (into the 'Add app' menu)
34
34
  Marketplace = "marketplace",// Enable Marketplace
35
35
  MarketplaceTableView = "marketplace-table-view"
36
36
  }