synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
970 lines • 28.8 kB
TypeScript
import { Step } from '@/components/SynapseForm/types';
import { FileEntity, ListResponse, StatusEnum } from '@sage-bionetworks/synapse-types';
export declare const mockFormData: {
efficacy: {
cell_line_efficacy: {
name: string;
cell_line: string;
reference: string;
assay_description: string;
outcome_measures: string;
efficacy_measure: string;
efficacy_measure_type: string;
}[];
};
binding: {
cell_line_binding: {
name: string;
cell_line: string;
reference: string;
binding_affinity: string;
assay_description: string;
binding_affinity_constant: string;
}[];
};
measurements: {
is_solution: boolean;
molecular_weight: number;
compound_availability: number;
};
naming: {
data_sharing: boolean;
is_off_label: boolean;
compound_name: string;
first_name: string;
last_name: string;
role_title: string;
institution: string;
email: string;
other_applicants: string;
chemical_name: string;
common_name: string;
iupac_name: string;
CAS_number: string;
drug_class: string;
};
basic: {
molecular_target: string;
moa_description: string;
therapeutic_approach: string;
therapeutic_indication_description: string;
water_soluble: string;
route: string[];
orally_active: string;
};
in_vivo_data: {};
metadata: {
formSchemaVersion: number;
uiSchemaVersion: number;
navSchemaVersion: number;
};
};
export declare const mockFormSchema: {
definitions: {
binding_item: {
type: string;
required: never[];
properties: {
name: {
type: string;
title: string;
};
cell_line: {
type: string;
title: string;
};
assay_description: {
type: string;
title: string;
};
reference: {
type: string;
title: string;
};
binding_affinity: {
type: string;
title: string;
};
binding_affinity_constant: {
type: string;
title: string;
enum: string[];
uniqueItems: boolean;
};
};
};
efficacy_item: {
type: string;
required: never[];
properties: {
name: {
type: string;
title: string;
};
cell_line: {
type: string;
title: string;
};
assay_description: {
type: string;
title: string;
};
outcome_measures: {
type: string;
title: string;
};
reference: {
type: string;
title: string;
};
efficacy_measure: {
type: string;
title: string;
};
efficacy_measure_type: {
type: string;
title: string;
uniqueItems: boolean;
oneOf: {
const: string;
title: string;
}[];
};
};
};
naming: {
type: string;
required: string[];
properties: {
compound_name: {
type: string;
title: string;
};
first_name: {
type: string;
title: string;
};
last_name: {
type: string;
title: string;
};
role_title: {
type: string;
title: string;
};
institution: {
type: string;
title: string;
};
email: {
type: string;
title: string;
format: string;
};
other_applicants: {
type: string;
title: string;
};
data_sharing: {
type: string;
default: boolean;
uniqueItems: boolean;
title: string;
oneOf: {
const: boolean;
title: string;
}[];
};
is_off_label: {
type: string;
default: boolean;
uniqueItems: boolean;
title: string;
oneOf: {
const: boolean;
title: string;
}[];
};
chemical_name: {
type: string;
title: string;
};
common_name: {
type: string;
title: string;
};
iupac_name: {
type: string;
title: string;
};
CAS_number: {
type: string;
title: string;
};
drug_class: {
type: string;
title: string;
};
};
};
measurements: {
type: string;
required: string[];
properties: {
compound_availability: {
title: string;
type: string;
minimum: number;
};
molecular_weight: {
title: string;
type: string;
};
is_solution: {
title: string;
type: string;
default: boolean;
oneOf: {
const: boolean;
title: string;
}[];
};
};
dependencies: {
is_solution: {
oneOf: ({
properties: {
is_solution: {
enum: boolean[];
};
compound_concentration?: undefined;
compound_purity?: undefined;
};
required?: undefined;
} | {
properties: {
is_solution: {
enum: boolean[];
};
compound_concentration: {
title: string;
type: string;
};
compound_purity: {
title: string;
type: string;
};
};
required: never[];
})[];
};
};
};
basic: {
type: string;
required: string[];
properties: {
molecular_target: {
type: string;
title: string;
};
moa_description: {
type: string;
title: string;
};
therapeutic_approach: {
type: string;
uniqueItems: boolean;
title: string;
oneOf: {
const: string;
title: string;
}[];
};
therapeutic_indication_description: {
type: string;
title: string;
};
melting_point: {
type: string;
title: string;
};
freezing_point: {
type: string;
title: string;
};
storage_temperature: {
type: string;
title: string;
};
water_soluble: {
type: string;
uniqueItems: boolean;
title: string;
oneOf: {
const: string;
title: string;
}[];
};
route: {
type: string;
title: string;
items: {
type: string;
oneOf: {
const: string;
title: string;
}[];
};
uniqueItems: boolean;
};
orally_active: {
type: string;
uniqueItems: boolean;
title: string;
oneOf: {
const: string;
title: string;
}[];
};
};
dependencies: {
water_soluble: {
oneOf: ({
properties: {
water_soluble: {
enum: string[];
};
solubility_limitations?: undefined;
};
required: never[];
} | {
properties: {
water_soluble: {
enum: string[];
};
solubility_limitations: {
type: string;
title: string;
};
};
required: string[];
})[];
};
};
};
in_vivo_data_item: {
type: string;
required: string[];
properties: {
name: {
type: string;
title: string;
};
reference: {
type: string;
title: string;
};
species: {
type: string;
title: string;
uniqueItems: boolean;
oneOf: {
const: string;
title: string;
}[];
};
strain: {
type: string;
title: string;
};
outcome_measures: {
type: string;
title: string;
};
assay_description: {
type: string;
title: string;
};
age_range: {
type: string;
title: string;
properties: {
age_range_min: {
title: string;
type: string;
minimum: number;
maximum: number;
};
age_range_max: {
title: string;
type: string;
minimum: number;
maximum: number;
};
};
};
sex: {
type: string;
title: string;
oneOf: {
const: string;
title: string;
}[];
};
ed50: {
type: string;
title: string;
};
dose_range: {
type: string;
title: string;
properties: {
dose_range_min: {
title: string;
type: string;
};
dose_range_max: {
title: string;
type: string;
};
};
};
dose_regimen: {
type: string;
title: string;
oneOf: {
const: string;
title: string;
}[];
};
pretreatment_time: {
type: string;
title: string;
};
route: {
type: string;
title: string;
uniqueItems: boolean;
items: {
type: string;
oneOf: {
const: string;
title: string;
}[];
};
};
drug_formulation: {
type: string;
title: string;
};
adverse_events_description: {
type: string;
title: string;
};
};
dependencies: {
species: {
oneOf: ({
properties: {
species: {
enum: string[];
};
species_other?: undefined;
};
required: never[];
} | {
properties: {
species: {
enum: string[];
};
species_other: {
title: string;
type: string;
};
};
required: string[];
})[];
};
};
};
binding: {
type: string;
properties: {
cell_line_binding: {
type: string;
title: string;
items: {
$ref: string;
};
};
};
};
efficacy: {
type: string;
properties: {
cell_line_efficacy: {
type: string;
title: string;
items: {
$ref: string;
};
};
};
};
};
in_vivo_data: {
type: string;
properties: {
experiments: {
type: string;
items: {
$ref: string;
};
};
};
};
type: string;
properties: {
naming: {
title: string;
$ref: string;
};
measurements: {
title: string;
$ref: string;
};
basic: {
title: string;
$ref: string;
};
binding: {
title: string;
$ref: string;
};
efficacy: {
title: string;
$ref: string;
};
};
};
export declare const mockNavSchema: {
steps: ({
id: string;
order: number;
title: string;
default: string;
child: boolean;
validationRules: {
conditions: {
all: {
fact: string;
operator: string;
path: string;
value: string;
}[];
};
event: {
type: string;
params: {
message: string;
name: string;
property: string;
};
};
"priority:": number;
}[];
static?: undefined;
copy?: undefined;
children?: undefined;
excluded?: undefined;
rules?: undefined;
description?: undefined;
final?: undefined;
} | {
id: string;
order: number;
title: string;
default: string;
child: boolean;
validationRules?: undefined;
static?: undefined;
copy?: undefined;
children?: undefined;
excluded?: undefined;
rules?: undefined;
description?: undefined;
final?: undefined;
} | {
id: string;
order: number;
title: string;
default: string;
static: string;
copy: string;
children: string[];
child?: undefined;
validationRules?: undefined;
excluded?: undefined;
rules?: undefined;
description?: undefined;
final?: undefined;
} | {
id: string;
order: number;
title: string;
child: boolean;
excluded: boolean;
default: string;
rules: never[];
validationRules?: undefined;
static?: undefined;
copy?: undefined;
children?: undefined;
description?: undefined;
final?: undefined;
} | {
id: string;
order: number;
title: string;
default: string;
excluded: boolean;
child: boolean;
validationRules: {
conditions: {
all: {
fact: string;
operator: string;
path: string;
value: {
fact: string;
path: string;
};
}[];
};
event: {
type: string;
params: {
message: string;
name: string;
property: string;
};
};
"priority:": number;
}[];
static?: undefined;
copy?: undefined;
children?: undefined;
rules?: undefined;
description?: undefined;
final?: undefined;
} | {
id: string;
order: number;
title: string;
description: string;
default: null;
final: boolean;
rules: never[];
child?: undefined;
validationRules?: undefined;
static?: undefined;
copy?: undefined;
children?: undefined;
excluded?: undefined;
})[];
};
export declare const mockUiSchema: {
naming: {
compound_name: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
first_name: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
last_name: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
role_title: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
institution: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
email: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
other_applicants: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
data_sharing: {
"ui:help": string;
"ui:description": string;
"ui:widget": string;
"ui:placeholder": string;
};
is_off_label: {
"ui:help": string;
"ui:description": string;
"ui:widget": string;
"ui:placeholder": string;
};
chemical_name: {
"ui:placeholder": string;
"ui:help": string;
};
common_name: {
"ui:placeholder": string;
"ui:help": string;
};
iupac_name: {
"ui:placeholder": string;
"ui:help": string;
};
CAS_number: {
"ui:placeholder": string;
"ui:help": string;
};
drug_class: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
};
measurements: {
compound_availability: {
"ui:placeholder": string;
"ui:help": string;
};
molecular_weight: {
"ui:placeholder": string;
"ui:help": string;
};
is_solution: {
"ui:widget": string;
"ui:help": string;
};
compound_concentration: {
"ui:title": string;
"ui:placeholder": string;
"ui:help": string;
};
compound_purity: {
"ui:widget": string;
"ui:placeholder": string;
};
};
basic: {
"ui:order": string[];
molecular_target: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
moa_description: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
therapeutic_approach: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
"ui:widget": string;
};
therapeutic_indication_description: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
"ui:widget": string;
};
melting_point: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
freezing_point: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
storage_temperature: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
water_soluble: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
"ui:widget": string;
};
solubility_limitations: {
"ui:help": string;
"ui:description": string;
"ui:title": string;
"ui:placeholder": string;
"ui:widget": string;
};
route: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
"ui:widget": string;
};
orally_active: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
"ui:widget": string;
};
};
binding: {
"ui:title": string;
"ui:description": string;
cell_line_binding: {
items: {
name: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
cell_line: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
assay_description: {
"ui:help": string;
"ui:description": string;
"ui:widget": string;
"ui:placeholder": string;
};
reference: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
binding_affinity: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
binding_affinity_constant: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
};
};
};
efficacy: {
"ui:title": string;
"ui:description": string;
cell_line_efficacy: {
items: {
name: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
cell_line: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
assay_description: {
"ui:help": string;
"ui:description": string;
"ui:widget": string;
"ui:placeholder": string;
};
outcome_measures: {
"ui:help": string;
"ui:description": string;
"ui:widget": string;
"ui:placeholder": string;
};
reference: {
"ui:help": string;
"ui:description": string;
"ui:placeholder": string;
};
efficacy_measure: {
"ui:help": string;
"ui:description": string;
"ui:widget": string;
"ui:placeholder": string;
};
efficacy_measure_type: {
"ui:help": string;
"ui:widget": string;
};
};
};
};
};
export declare const mockInvalidScreenData: {
in_vivo_data: {
experiments: {
age_range: {
age_range_min: number;
age_range_max: number;
};
dose_range: {
dose_range_min: number;
dose_range_max: number;
};
drug_formulation: string;
name: string;
reference: string;
strain: string;
ed50: string;
pretreatment_time: string;
outcome_measures: string;
assay_description: string;
adverse_events_description: string;
species: string;
route: string[];
dose_regimen: string;
sex: string;
}[];
};
};
export declare const steps: Step[];
export declare const stepsWithChildren: Step[];
export declare const stepsWithUserData: Step[];
export declare const stepWithCustomValidationRules: Step;
export declare const formListDataInProgress: ListResponse;
export declare const formListDataSubmitted: {
page: {
formDataId: string;
etag: string;
groupId: string;
name: string;
createdBy: string;
createdOn: string;
modifiedOn: string;
dataFileHandleId: string;
submissionStatus: {
submittedOn: string;
state: StatusEnum;
};
}[];
};
export declare const mockFileEntityWithVersion: FileEntity;
//# sourceMappingURL=mock_drug_tool_data.d.ts.map