@fragus/sam-types 1.1.5 → 1.1.6
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/package.json
CHANGED
|
@@ -16,12 +16,16 @@ export interface IProviderDocument {
|
|
|
16
16
|
// Admin sees the document and its upload date only — no internal staff names.
|
|
17
17
|
export interface IProviderDocumentAdminView extends IProviderDocument {}
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
export interface IProviderDocumentGroup {
|
|
20
|
+
contractProviderGroupId: number
|
|
21
|
+
name: string
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Superadmin also sees the acting support users, the tombstone state, and the sharing groups, sorted by
|
|
25
|
+
// name. `groups` is empty on a provider-owned row.
|
|
21
26
|
export interface IProviderDocumentSuperadminView extends IProviderDocument {
|
|
22
27
|
uploadedByName: string | null
|
|
23
28
|
deletedAt: string | null
|
|
24
29
|
deletedByName: string | null
|
|
25
|
-
|
|
26
|
-
contractProviderGroupName: string | null
|
|
30
|
+
groups: IProviderDocumentGroup[]
|
|
27
31
|
}
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
export type ContractProviderGroupErrors =
|
|
1
|
+
export type ContractProviderGroupErrors =
|
|
2
|
+
| 'CONTRACT_PROVIDER_GROUP_NAME_TAKEN'
|
|
3
|
+
| 'CONTRACT_PROVIDER_GROUP_IN_USE'
|
|
4
|
+
| 'CONTRACT_PROVIDER_GROUP_DOCUMENT_SHARED'
|