@dxs-ts/eveli-ide 0.0.258 → 0.0.260

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.
@@ -102,7 +102,7 @@ export declare namespace TaskApi {
102
102
  description?: string;
103
103
  priority?: TaskPriority;
104
104
  additionalInfo?: string;
105
- features?: string[];
105
+ features?: TaskFeatureType[];
106
106
  keyWords?: string[];
107
107
  taskLinks?: TaskLink[];
108
108
  statusCode?: number;
@@ -112,6 +112,7 @@ export declare namespace TaskApi {
112
112
  comments: Comment[];
113
113
  questionnaireId?: string | undefined;
114
114
  }
115
+ type TaskFeatureType = 'feedback';
115
116
  type TaskPriorityStatistics = {
116
117
  count: number;
117
118
  priority: TaskApi.TaskPriority;
@@ -1,4 +1,4 @@
1
- import { m as et } from "./index-DQZJJ8K4.js";
1
+ import { m as et } from "./index-BEUzlCnn.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,40 +1,40 @@
1
1
  import { IamApi } from '../api-iam';
2
2
  import { default as React } from 'react';
3
3
  declare const EveliPermissionMapping: {
4
- NAV_TO_WRENCH: IamApi.UserPermission[];
5
- NAV_TO_STENCIL: IamApi.UserPermission[];
6
- NAV_TO_TASKS: IamApi.UserPermission[];
7
- NAV_TO_DIALOB: IamApi.UserPermission[];
8
- NAV_TO_RELEASES: IamApi.UserPermission[];
9
- NAV_TO_TASK_GROUP: IamApi.UserPermission[];
10
- NAV_TO_TASKS_FEEDBACK: IamApi.UserPermission[];
11
- NAV_TO_TASKS_DASHBOARD: IamApi.UserPermission[];
12
- NAV_TO_TASKS_MONITORING: IamApi.UserPermission[];
13
- NAV_TO_TASKS_QUEUES: IamApi.UserPermission[];
14
- NAV_TO_STENCIL_ARTICLES: IamApi.UserPermission[];
15
- NAV_TO_STENCIL_SERVICES: IamApi.UserPermission[];
16
- NAV_TO_STENCIL_LINKS: IamApi.UserPermission[];
17
- NAV_TO_STENCIL_LOCALES: IamApi.UserPermission[];
18
- NAV_TO_STENCIL_TEMPLATES: IamApi.UserPermission[];
19
- NAV_TO_STENCIL_MIGRATIONS: IamApi.UserPermission[];
20
- NAV_TO_STENCIL_RELEASES: IamApi.UserPermission[];
21
- NAV_TO_WRENCH_FLOWS: IamApi.UserPermission[];
22
- NAV_TO_WRENCH_DECISIONS: IamApi.UserPermission[];
23
- NAV_TO_WRENCH_SERVICES: IamApi.UserPermission[];
24
- NAV_TO_WRENCH_MIGRATIONS: IamApi.UserPermission[];
25
- NAV_TO_WRENCH_DEBUG: IamApi.UserPermission[];
26
- NAV_TO_WRENCH_COMPARE: IamApi.UserPermission[];
27
- NAV_TO_WRENCH_RELEASES: IamApi.UserPermission[];
28
- CREATE_TASK: IamApi.UserPermission[];
29
- CREATE_STENCIL_ASSET: IamApi.UserPermission[];
30
- CREATE_WRENCH_ASSET: IamApi.UserPermission[];
31
- CREATE_EVELI_PUBLICATION: IamApi.UserPermission[];
32
- EXPORT_EVELI_PUBLICATION: IamApi.UserPermission[];
33
- EDIT_WRENCH_ASSET: IamApi.UserPermission[];
34
- EDIT_STENCIL_ASSET: IamApi.UserPermission[];
35
- DELETE_TASK: IamApi.UserPermission[];
36
- DELETE_STENCIL_ASSET: IamApi.UserPermission[];
37
- NAV_TO_TABLES_V2: IamApi.UserPermission[];
4
+ NAV_TO_WRENCH: (input: IamApi.UserPermission) => boolean;
5
+ NAV_TO_STENCIL: (input: IamApi.UserPermission) => boolean;
6
+ NAV_TO_TASKS: (input: IamApi.UserPermission) => boolean;
7
+ NAV_TO_DIALOB: (input: IamApi.UserPermission) => boolean;
8
+ NAV_TO_RELEASES: (input: IamApi.UserPermission) => boolean;
9
+ NAV_TO_TASK_GROUP: (input: IamApi.UserPermission) => boolean;
10
+ NAV_TO_TASKS_FEEDBACK: (input: IamApi.UserPermission) => boolean;
11
+ NAV_TO_TASKS_DASHBOARD: (input: IamApi.UserPermission) => boolean;
12
+ NAV_TO_TASKS_MONITORING: (input: IamApi.UserPermission) => boolean;
13
+ NAV_TO_TASKS_QUEUES: (input: IamApi.UserPermission) => boolean;
14
+ NAV_TO_STENCIL_ARTICLES: (input: IamApi.UserPermission) => boolean;
15
+ NAV_TO_STENCIL_SERVICES: (input: IamApi.UserPermission) => boolean;
16
+ NAV_TO_STENCIL_LINKS: (input: IamApi.UserPermission) => boolean;
17
+ NAV_TO_STENCIL_LOCALES: (input: IamApi.UserPermission) => boolean;
18
+ NAV_TO_STENCIL_TEMPLATES: (input: IamApi.UserPermission) => boolean;
19
+ NAV_TO_STENCIL_MIGRATIONS: (input: IamApi.UserPermission) => boolean;
20
+ NAV_TO_STENCIL_RELEASES: (input: IamApi.UserPermission) => boolean;
21
+ NAV_TO_WRENCH_FLOWS: (input: IamApi.UserPermission) => boolean;
22
+ NAV_TO_WRENCH_DECISIONS: (input: IamApi.UserPermission) => boolean;
23
+ NAV_TO_WRENCH_SERVICES: (input: IamApi.UserPermission) => boolean;
24
+ NAV_TO_WRENCH_MIGRATIONS: (input: IamApi.UserPermission) => boolean;
25
+ NAV_TO_WRENCH_DEBUG: (input: IamApi.UserPermission) => boolean;
26
+ NAV_TO_WRENCH_COMPARE: (input: IamApi.UserPermission) => boolean;
27
+ NAV_TO_WRENCH_RELEASES: (input: IamApi.UserPermission) => boolean;
28
+ CREATE_TASK: (input: IamApi.UserPermission) => boolean;
29
+ CREATE_STENCIL_ASSET: (input: IamApi.UserPermission) => boolean;
30
+ CREATE_WRENCH_ASSET: (input: IamApi.UserPermission) => boolean;
31
+ CREATE_EVELI_PUBLICATION: (input: IamApi.UserPermission) => boolean;
32
+ EXPORT_EVELI_PUBLICATION: (input: IamApi.UserPermission) => boolean;
33
+ EDIT_WRENCH_ASSET: (input: IamApi.UserPermission) => boolean;
34
+ EDIT_STENCIL_ASSET: (input: IamApi.UserPermission) => boolean;
35
+ DELETE_TASK: (input: IamApi.UserPermission) => boolean;
36
+ DELETE_STENCIL_ASSET: (input: IamApi.UserPermission) => boolean;
37
+ NAV_TO_TABLES_V2: (input: IamApi.UserPermission) => boolean;
38
38
  };
39
39
  export type EveliPermissionType = keyof typeof EveliPermissionMapping;
40
40
  export declare const EveliPermissions: React.FC<{
@@ -0,0 +1,11 @@
1
+ import { TaskApi } from '../api-task';
2
+ import { default as React } from 'react';
3
+ declare const EveliTaskFeatureMapping: {
4
+ TASK_FEEDBACK: (input: TaskApi.TaskFeatureType) => boolean;
5
+ };
6
+ export type EveliTaskFeatureType = keyof typeof EveliTaskFeatureMapping;
7
+ export declare const EveliTaskFeature: React.FC<{
8
+ children: React.ReactNode;
9
+ id: EveliTaskFeatureType;
10
+ }>;
11
+ export {};
@@ -0,0 +1,14 @@
1
+ import { TaskApi } from '../api-task';
2
+ import { default as React } from 'react';
3
+ export interface EveliTaskFeatureContextType {
4
+ features: TaskApi.TaskFeatureType[];
5
+ }
6
+ export declare const EveliTaskFeatureContext: React.Context<EveliTaskFeatureContextType>;
7
+ export interface EveliTaskFeatureProviderProps {
8
+ children: React.ReactNode;
9
+ options: {
10
+ features?: TaskApi.TaskFeatureType[];
11
+ } | undefined | null;
12
+ }
13
+ export declare const EveliTaskFeatureProvider: React.FC<EveliTaskFeatureProviderProps>;
14
+ export declare function useTaskFeatures(): EveliTaskFeatureContextType;
@@ -0,0 +1,2 @@
1
+ export * from './EveliTaskFeature';
2
+ export * from './EveliTaskFeatureProvider';
@@ -1,4 +1,4 @@
1
- import { m as f } from "./index-DQZJJ8K4.js";
1
+ import { m as f } from "./index-BEUzlCnn.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as l } from "./index-DQZJJ8K4.js";
1
+ import { m as l } from "./index-BEUzlCnn.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as s } from "./index-DQZJJ8K4.js";
1
+ import { m as s } from "./index-BEUzlCnn.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as lt } from "./index-DQZJJ8K4.js";
1
+ import { m as lt } from "./index-BEUzlCnn.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)