@sage-bionetworks/synapse-types 0.0.11 → 0.0.12
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.
|
@@ -19,8 +19,8 @@ export type Submission = {
|
|
|
19
19
|
attachments?: Array<string>;
|
|
20
20
|
/** List of user changes. A user can gain access, renew access or have access revoked. */
|
|
21
21
|
accessorChanges: Array<AccessorChange>;
|
|
22
|
-
/** A research project describes a project at an institution that used a controlled data set for the purposes that are stated in the Intended Data Use Statement. */
|
|
23
|
-
researchProjectSnapshot
|
|
22
|
+
/** A research project describes a project at an institution that used a controlled data set for the purposes that are stated in the Intended Data Use Statement. Absent for submissions that collect no first-class research project fields. */
|
|
23
|
+
researchProjectSnapshot?: ResearchProject;
|
|
24
24
|
/** True if this submission is a renewal submission. */
|
|
25
25
|
isRenewalSubmission: boolean;
|
|
26
26
|
/** Link(s) to publication that used the controlled data. */
|
|
@@ -39,6 +39,8 @@ export type Submission = {
|
|
|
39
39
|
state: SubmissionState;
|
|
40
40
|
/** The reason this submission is rejected, if it's rejected. */
|
|
41
41
|
rejectedReason?: string;
|
|
42
|
+
/** Additional data provided by the submitter, validated against the JSON Schema referenced by the Access Requirement's form template. */
|
|
43
|
+
schemaData?: Record<string, unknown>;
|
|
42
44
|
/** Synapse employs an Optimistic Concurrency Control (OCC) scheme to handle concurrent updates. Since the E-Tag changes every time a request is updated it is used to detect when a client's current representation of a request is out-of-date. */
|
|
43
45
|
etag: string;
|
|
44
46
|
/** The ID of the subject user interested in. This information will be used to help user navigate back to where they were to continue their work. */
|
|
@@ -7,6 +7,7 @@ export declare const ENTITY_VIEW_TYPE_MASK_VIEW = 16;
|
|
|
7
7
|
export declare const ENTITY_VIEW_TYPE_MASK_DOCKER = 32;
|
|
8
8
|
export declare const ENTITY_VIEW_TYPE_MASK_SUBMISSIONVIEW = 64;
|
|
9
9
|
export declare const ENTITY_VIEW_TYPE_MASK_DATASET = 128;
|
|
10
|
+
export declare const ENTITY_VIEW_TYPE_MASK_RECORDSET = 1024;
|
|
10
11
|
export declare const ENTITY_VIEW_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.table.EntityView";
|
|
11
12
|
export type ENTITY_VIEW_CONCRETE_TYPE = typeof ENTITY_VIEW_CONCRETE_TYPE_VALUE;
|
|
12
13
|
export interface EntityView extends View {
|
package/dist/Table/EntityView.js
CHANGED
|
@@ -6,5 +6,6 @@ export const ENTITY_VIEW_TYPE_MASK_VIEW = 0x10;
|
|
|
6
6
|
export const ENTITY_VIEW_TYPE_MASK_DOCKER = 0x20;
|
|
7
7
|
export const ENTITY_VIEW_TYPE_MASK_SUBMISSIONVIEW = 0x40;
|
|
8
8
|
export const ENTITY_VIEW_TYPE_MASK_DATASET = 0x80;
|
|
9
|
+
export const ENTITY_VIEW_TYPE_MASK_RECORDSET = 0x400;
|
|
9
10
|
export const ENTITY_VIEW_CONCRETE_TYPE_VALUE = 'org.sagebionetworks.repo.model.table.EntityView';
|
|
10
11
|
//# sourceMappingURL=EntityView.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntityView.js","sourceRoot":"","sources":["../../src/Table/EntityView.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,0BAA0B,GAAG,IAAI,CAAA;AAC9C,MAAM,CAAC,MAAM,6BAA6B,GAAG,IAAI,CAAA;AACjD,MAAM,CAAC,MAAM,2BAA2B,GAAG,IAAI,CAAA;AAC/C,MAAM,CAAC,MAAM,4BAA4B,GAAG,IAAI,CAAA;AAChD,MAAM,CAAC,MAAM,0BAA0B,GAAG,IAAI,CAAA;AAC9C,MAAM,CAAC,MAAM,4BAA4B,GAAG,IAAI,CAAA;AAChD,MAAM,CAAC,MAAM,oCAAoC,GAAG,IAAI,CAAA;AACxD,MAAM,CAAC,MAAM,6BAA6B,GAAG,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"EntityView.js","sourceRoot":"","sources":["../../src/Table/EntityView.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,0BAA0B,GAAG,IAAI,CAAA;AAC9C,MAAM,CAAC,MAAM,6BAA6B,GAAG,IAAI,CAAA;AACjD,MAAM,CAAC,MAAM,2BAA2B,GAAG,IAAI,CAAA;AAC/C,MAAM,CAAC,MAAM,4BAA4B,GAAG,IAAI,CAAA;AAChD,MAAM,CAAC,MAAM,0BAA0B,GAAG,IAAI,CAAA;AAC9C,MAAM,CAAC,MAAM,4BAA4B,GAAG,IAAI,CAAA;AAChD,MAAM,CAAC,MAAM,oCAAoC,GAAG,IAAI,CAAA;AACxD,MAAM,CAAC,MAAM,6BAA6B,GAAG,IAAI,CAAA;AACjD,MAAM,CAAC,MAAM,+BAA+B,GAAG,KAAK,CAAA;AAEpD,MAAM,CAAC,MAAM,+BAA+B,GAC1C,iDAAiD,CAAA"}
|