@reqquest/ui 1.0.0 → 1.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/dist/api.d.ts CHANGED
@@ -61,7 +61,7 @@ declare class API extends APIBase {
61
61
  title: import("./typed-client/schema.js").Scalars["String"];
62
62
  visibility: import("./typed-client/schema.js").PromptVisibility;
63
63
  __typename: "RequirementPrompt";
64
- }, "id" | "key" | "answered" | "visibility"> | undefined>;
64
+ }, "key" | "id" | "visibility" | "answered"> | undefined>;
65
65
  getApplyNavigation(appRequestId: string): Promise<{
66
66
  prequalPrompts: never[];
67
67
  appRequest: undefined;
@@ -84,7 +84,7 @@ declare class API extends APIBase {
84
84
  title: import("./typed-client/schema.js").Scalars["String"];
85
85
  visibility: import("./typed-client/schema.js").PromptVisibility;
86
86
  __typename: "RequirementPrompt";
87
- }, "id" | "key" | "answered" | "visibility" | "navTitle" | "title">[];
87
+ }, "key" | "id" | "visibility" | "title" | "answered" | "navTitle">[];
88
88
  postqualPrompts: Pick<{
89
89
  actions: import("./typed-client/schema.js").RequirementPromptActions;
90
90
  answered: import("./typed-client/schema.js").Scalars["Boolean"];
@@ -102,7 +102,7 @@ declare class API extends APIBase {
102
102
  title: import("./typed-client/schema.js").Scalars["String"];
103
103
  visibility: import("./typed-client/schema.js").PromptVisibility;
104
104
  __typename: "RequirementPrompt";
105
- }, "id" | "key" | "answered" | "visibility" | "navTitle" | "title">[];
105
+ }, "key" | "id" | "visibility" | "title" | "answered" | "navTitle">[];
106
106
  appRequest: {
107
107
  applications: {
108
108
  requirements: {
@@ -123,17 +123,17 @@ declare class API extends APIBase {
123
123
  title: import("./typed-client/schema.js").Scalars["String"];
124
124
  visibility: import("./typed-client/schema.js").PromptVisibility;
125
125
  __typename: "RequirementPrompt";
126
- }, "id" | "key" | "answered" | "visibility" | "navTitle" | "title">[];
126
+ }, "key" | "id" | "visibility" | "title" | "answered" | "navTitle">[];
127
+ type: import("./typed-client/schema.js").RequirementType;
127
128
  id: import("./typed-client/schema.js").Scalars["ID"];
128
129
  status: import("./typed-client/schema.js").RequirementStatus;
129
130
  statusReason: (import("./typed-client/schema.js").Scalars["String"] | null);
130
- type: import("./typed-client/schema.js").RequirementType;
131
131
  }[];
132
132
  id: import("./typed-client/schema.js").Scalars["ID"];
133
+ title: import("./typed-client/schema.js").Scalars["String"];
133
134
  status: import("./typed-client/schema.js").ApplicationStatus;
134
135
  statusReason: (import("./typed-client/schema.js").Scalars["String"] | null);
135
136
  navTitle: import("./typed-client/schema.js").Scalars["String"];
136
- title: import("./typed-client/schema.js").Scalars["String"];
137
137
  }[];
138
138
  id: import("./typed-client/schema.js").Scalars["ID"];
139
139
  status: import("./typed-client/schema.js").AppRequestStatus;
@@ -161,7 +161,7 @@ declare class API extends APIBase {
161
161
  title: import("./typed-client/schema.js").Scalars["String"];
162
162
  visibility: import("./typed-client/schema.js").PromptVisibility;
163
163
  __typename: "RequirementPrompt";
164
- }, "id" | "key" | "visibility" | "configurationRelatedData" | "fetchedData">;
164
+ }, "key" | "id" | "visibility" | "configurationRelatedData" | "fetchedData">;
165
165
  } | {
166
166
  appRequestData: Omit<Record<string, any>, "__name" | "__isUnion" | "__scalar" | "__args">;
167
167
  prompt?: undefined;
@@ -187,7 +187,7 @@ declare class API extends APIBase {
187
187
  __typename: "IndexValue";
188
188
  }, "value" | "label">[];
189
189
  __typename: "IndexCategory";
190
- }, "category" | "categoryLabel" | "appRequestListPriority" | "listFiltersPriority" | "listable" | "values">[];
190
+ }, "values" | "category" | "categoryLabel" | "appRequestListPriority" | "listFiltersPriority" | "listable">[];
191
191
  appRequests: Pick<{
192
192
  actions: Pick<{
193
193
  cancel: import("./typed-client/schema.js").Scalars["Boolean"];
@@ -198,7 +198,7 @@ declare class API extends APIBase {
198
198
  review: import("./typed-client/schema.js").Scalars["Boolean"];
199
199
  submit: import("./typed-client/schema.js").Scalars["Boolean"];
200
200
  __typename: "AppRequestActions";
201
- }, "cancel" | "close" | "reopen" | "return" | "review" | "offer" | "submit">;
201
+ }, "offer" | "cancel" | "close" | "submit" | "reopen" | "return" | "review">;
202
202
  activity: import("./typed-client/schema.js").AppRequestActivity[];
203
203
  applicant: Pick<{
204
204
  fullname: import("./typed-client/schema.js").Scalars["String"];
@@ -228,7 +228,7 @@ declare class API extends APIBase {
228
228
  __typename: "IndexValue";
229
229
  }, "value" | "label">[];
230
230
  __typename: "AppRequestIndexCategory";
231
- }, "category" | "categoryLabel" | "values">[];
231
+ }, "values" | "category" | "categoryLabel">[];
232
232
  period: Pick<{
233
233
  actions: import("./typed-client/schema.js").PeriodActions;
234
234
  archiveDate: (import("./typed-client/schema.js").Scalars["DateTime"] | null);
@@ -242,7 +242,7 @@ declare class API extends APIBase {
242
242
  prompts: import("./typed-client/schema.js").PeriodPrompt[];
243
243
  requirements: import("./typed-client/schema.js").PeriodProgramRequirement[];
244
244
  __typename: "Period";
245
- }, "id" | "name">;
245
+ }, "name" | "id">;
246
246
  prompt: import("./typed-client/schema.js").RequirementPrompt;
247
247
  status: import("./typed-client/schema.js").AppRequestStatus;
248
248
  statusReason: (import("./typed-client/schema.js").Scalars["String"] | null);
@@ -297,7 +297,7 @@ declare class API extends APIBase {
297
297
  prompts: import("./typed-client/schema.js").PeriodPrompt[];
298
298
  requirements: import("./typed-client/schema.js").PeriodProgramRequirement[];
299
299
  __typename: "Period";
300
- }, "id" | "name">;
300
+ }, "name" | "id">;
301
301
  prompt: import("./typed-client/schema.js").RequirementPrompt;
302
302
  status: import("./typed-client/schema.js").AppRequestStatus;
303
303
  statusReason: (import("./typed-client/schema.js").Scalars["String"] | null);
@@ -327,19 +327,19 @@ declare class API extends APIBase {
327
327
  title: import("./typed-client/schema.js").Scalars["String"];
328
328
  visibility: import("./typed-client/schema.js").PromptVisibility;
329
329
  __typename: "RequirementPrompt";
330
- }, "id" | "actions" | "key" | "answered" | "visibility" | "navTitle" | "title">[];
330
+ }, "key" | "id" | "visibility" | "title" | "actions" | "answered" | "navTitle">[];
331
+ type: import("./typed-client/schema.js").RequirementType;
331
332
  id: import("./typed-client/schema.js").Scalars["ID"];
333
+ title: import("./typed-client/schema.js").Scalars["String"];
332
334
  status: import("./typed-client/schema.js").RequirementStatus;
333
335
  statusReason: (import("./typed-client/schema.js").Scalars["String"] | null);
334
- title: import("./typed-client/schema.js").Scalars["String"];
335
336
  reachable: import("./typed-client/schema.js").Scalars["Boolean"];
336
- type: import("./typed-client/schema.js").RequirementType;
337
337
  }[];
338
338
  id: import("./typed-client/schema.js").Scalars["ID"];
339
+ title: import("./typed-client/schema.js").Scalars["String"];
339
340
  status: import("./typed-client/schema.js").ApplicationStatus;
340
341
  statusReason: (import("./typed-client/schema.js").Scalars["String"] | null);
341
342
  navTitle: import("./typed-client/schema.js").Scalars["String"];
342
- title: import("./typed-client/schema.js").Scalars["String"];
343
343
  }[];
344
344
  data: Omit<Record<string, any>, "__name" | "__isUnion" | "__scalar" | "__args">;
345
345
  id: import("./typed-client/schema.js").Scalars["ID"];
@@ -349,12 +349,8 @@ declare class API extends APIBase {
349
349
  createdAt: DateTime<true> | DateTime<false>;
350
350
  data: import("./typed-client/index.js").FieldsSelection<Record<string, any> | null, true>;
351
351
  id: import("./typed-client/schema.js").Scalars["ID"];
352
- description: (import("./typed-client/schema.js").Scalars["String"] | null);
353
352
  action: import("./typed-client/schema.js").Scalars["String"];
354
- impersonatedBy: import("./typed-client/index.js").FieldsSelection<import("./typed-client/schema.js").AccessUser | null, {
355
- login: true;
356
- fullname: true;
357
- }>;
353
+ description: (import("./typed-client/schema.js").Scalars["String"] | null);
358
354
  user: Pick<{
359
355
  fullname: import("./typed-client/schema.js").Scalars["String"];
360
356
  groups: import("./typed-client/schema.js").Scalars["String"][];
@@ -364,6 +360,10 @@ declare class API extends APIBase {
364
360
  roles: import("./typed-client/schema.js").AccessRole;
365
361
  __typename: "AccessUser";
366
362
  }, "login" | "fullname">;
363
+ impersonatedBy: import("./typed-client/index.js").FieldsSelection<import("./typed-client/schema.js").AccessUser | null, {
364
+ login: true;
365
+ fullname: true;
366
+ }>;
367
367
  }[] | undefined>;
368
368
  getPromptData(appRequestId: string, promptId: string): Promise<Pick<{
369
369
  actions: import("./typed-client/schema.js").RequirementPromptActions;
@@ -396,7 +396,7 @@ declare class API extends APIBase {
396
396
  prompts: import("./typed-client/schema.js").PeriodPrompt[];
397
397
  requirements: import("./typed-client/schema.js").PeriodProgramRequirement[];
398
398
  __typename: "Period";
399
- }, "id" | "name" | "openDate" | "closeDate" | "archiveDate">[]>;
399
+ }, "name" | "id" | "openDate" | "closeDate" | "archiveDate">[]>;
400
400
  getPeriodConfigurations(periodId: string): Promise<{
401
401
  period: undefined;
402
402
  programs: never[];
@@ -447,7 +447,7 @@ declare class API extends APIBase {
447
447
  }, "key" | "title" | "description" | "prompts" | "configuration" | "enabled">[];
448
448
  title: import("./typed-client/schema.js").Scalars["String"];
449
449
  __typename: "PeriodProgram";
450
- }, "key" | "requirements" | "title" | "enabled">[];
450
+ }, "key" | "title" | "requirements" | "enabled">[];
451
451
  period: Pick<{
452
452
  actions: import("./typed-client/schema.js").PeriodActions;
453
453
  archiveDate: (import("./typed-client/schema.js").Scalars["DateTime"] | null);
@@ -503,11 +503,11 @@ declare class API extends APIBase {
503
503
  }, "key" | "title" | "description" | "prompts" | "configuration" | "enabled">[];
504
504
  title: import("./typed-client/schema.js").Scalars["String"];
505
505
  __typename: "PeriodProgram";
506
- }, "key" | "requirements" | "title" | "enabled">[];
506
+ }, "key" | "title" | "requirements" | "enabled">[];
507
507
  prompts: import("./typed-client/schema.js").PeriodPrompt[];
508
508
  requirements: import("./typed-client/schema.js").PeriodProgramRequirement[];
509
509
  __typename: "Period";
510
- }, "programs" | "id" | "name" | "openDate" | "closeDate" | "archiveDate" | "code">;
510
+ }, "code" | "name" | "id" | "programs" | "openDate" | "closeDate" | "archiveDate">;
511
511
  }>;
512
512
  getRoleList(): Promise<Pick<{
513
513
  actions: Pick<{
@@ -522,7 +522,7 @@ declare class API extends APIBase {
522
522
  name: import("./typed-client/schema.js").Scalars["String"];
523
523
  scope: (import("./typed-client/schema.js").Scalars["String"] | null);
524
524
  __typename: "AccessRole";
525
- }, "id" | "name" | "actions" | "description" | "groups">[]>;
525
+ }, "groups" | "name" | "id" | "description" | "actions">[]>;
526
526
  getRoleDetails(roleId: string): Promise<Pick<{
527
527
  actions: Pick<{
528
528
  delete: import("./typed-client/schema.js").Scalars["Boolean"];
@@ -553,7 +553,7 @@ declare class API extends APIBase {
553
553
  label: import("./typed-client/schema.js").Scalars["String"];
554
554
  tag: import("./typed-client/schema.js").Scalars["String"];
555
555
  __typename: "AccessGrantTag";
556
- }, "category" | "categoryLabel" | "label" | "tag">[];
556
+ }, "label" | "tag" | "category" | "categoryLabel">[];
557
557
  __typename: "AccessRoleGrant";
558
558
  }, "id" | "actions" | "allow" | "controls" | "subjectType" | "tags">[];
559
559
  groups: import("./typed-client/schema.js").Scalars["String"][];
@@ -561,7 +561,7 @@ declare class API extends APIBase {
561
561
  name: import("./typed-client/schema.js").Scalars["String"];
562
562
  scope: (import("./typed-client/schema.js").Scalars["String"] | null);
563
563
  __typename: "AccessRole";
564
- }, "id" | "name" | "actions" | "description" | "groups" | "grants"> | undefined>;
564
+ }, "groups" | "name" | "id" | "description" | "actions" | "grants"> | undefined>;
565
565
  getAuthorizationInfo(): Promise<Pick<{
566
566
  controls: Pick<{
567
567
  description: import("./typed-client/schema.js").Scalars["String"];
@@ -581,7 +581,7 @@ declare class API extends APIBase {
581
581
  __typename: "AccessTag";
582
582
  }, "value" | "label">[];
583
583
  __typename: "AccessTagCategory";
584
- }, "description" | "category" | "label" | "listable" | "tags">[];
584
+ }, "label" | "description" | "category" | "listable" | "tags">[];
585
585
  title: import("./typed-client/schema.js").Scalars["String"];
586
586
  __typename: "AccessSubjectType";
587
587
  }, "name" | "title" | "description" | "controls" | "tags">[]>;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './api.js';
2
2
  export * from './components/index.js';
3
+ export * from './registry.js';
3
4
  export * from './typed-client/index.js';
4
5
  export * from './util.js';
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './api.js';
2
2
  export * from './components/index.js';
3
+ export * from './registry.js';
3
4
  export * from './typed-client/index.js';
4
5
  export * from './util.js';
@@ -1 +0,0 @@
1
- "use strict";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reqquest/ui",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.ts",