-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/dev' into SIMSBIOHUB-632
- Loading branch information
Showing
69 changed files
with
2,034 additions
and
1,020 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import { z } from 'zod'; | ||
|
||
/** | ||
* Method Technique Model. | ||
* | ||
* @description Data model for `method_technique`. | ||
*/ | ||
export const MethodTechniqueModel = z.object({ | ||
method_technique_id: z.number(), | ||
survey_id: z.number(), | ||
name: z.string(), | ||
description: z.string().nullable(), | ||
distance_threshold: z.number().nullable(), | ||
method_lookup_id: z.number(), | ||
create_date: z.string(), | ||
create_user: z.number(), | ||
update_date: z.string().nullable(), | ||
update_user: z.number().nullable(), | ||
revision_count: z.number() | ||
}); | ||
|
||
export type MethodTechniqueModel = z.infer<typeof MethodTechniqueModel>; | ||
|
||
/** | ||
* Method Technique Record. | ||
* | ||
* @description Data record for `method_technique`. | ||
*/ | ||
export const MethodTechniqueRecord = MethodTechniqueModel.omit({ | ||
create_date: true, | ||
create_user: true, | ||
update_date: true, | ||
update_user: true, | ||
revision_count: true | ||
}); | ||
|
||
export type MethodTechniqueRecord = z.infer<typeof MethodTechniqueRecord>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { z } from 'zod'; | ||
|
||
/** | ||
* Survey Block Model. | ||
* | ||
* @description Data model for `survey_block`. | ||
*/ | ||
export const SurveyBlockModel = z.object({ | ||
survey_block_id: z.number(), | ||
survey_id: z.number(), | ||
name: z.string().nullable(), | ||
description: z.string().nullable(), | ||
geometry: z.null(), | ||
geography: z.string(), | ||
geojson: z.any(), | ||
create_date: z.string(), | ||
create_user: z.number(), | ||
update_date: z.string().nullable(), | ||
update_user: z.number().nullable(), | ||
revision_count: z.number() | ||
}); | ||
|
||
export type SurveyBlockModel = z.infer<typeof SurveyBlockModel>; | ||
|
||
/** | ||
* Survey Block Record. | ||
* | ||
* @description Data record for `survey_block`. | ||
*/ | ||
export const SurveyBlockRecord = SurveyBlockModel.omit({ | ||
create_date: true, | ||
create_user: true, | ||
update_date: true, | ||
update_user: true, | ||
revision_count: true | ||
}); | ||
|
||
export type SurveyBlockRecord = z.infer<typeof SurveyBlockRecord>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import { z } from 'zod'; | ||
|
||
/** | ||
* Survey Sample Block Model. | ||
* | ||
* @description Data model for `survey_sample_block`. | ||
*/ | ||
export const SurveySampleBlockModel = z.object({ | ||
survey_sample_block_id: z.number(), | ||
survey_sample_site_id: z.number(), | ||
survey_block_id: z.number(), | ||
create_date: z.string(), | ||
create_user: z.number(), | ||
update_date: z.string().nullable(), | ||
update_user: z.number().nullable(), | ||
revision_count: z.number() | ||
}); | ||
|
||
export type SurveySampleBlockModel = z.infer<typeof SurveySampleBlockModel>; | ||
|
||
/** | ||
* Survey Sample Block Record. | ||
* | ||
* @description Data record for `survey_sample_block`. | ||
*/ | ||
export const SurveySampleBlockRecord = SurveySampleBlockModel.omit({ | ||
create_date: true, | ||
create_user: true, | ||
update_date: true, | ||
update_user: true, | ||
revision_count: true | ||
}); | ||
|
||
export type SurveySampleBlockRecord = z.infer<typeof SurveySampleBlockRecord>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { z } from 'zod'; | ||
|
||
/** | ||
* Survey Sample Method Model. | ||
* | ||
* @description Data model for `survey_sample_method`. | ||
*/ | ||
export const SurveySampleMethodModel = z.object({ | ||
survey_sample_method_id: z.number(), | ||
survey_sample_site_id: z.number(), | ||
description: z.string().nullable(), | ||
method_response_metric_id: z.number(), | ||
method_technique_id: z.number(), | ||
create_date: z.string(), | ||
create_user: z.number(), | ||
update_date: z.string().nullable(), | ||
update_user: z.number().nullable(), | ||
revision_count: z.number() | ||
}); | ||
|
||
export type SurveySampleMethodModel = z.infer<typeof SurveySampleMethodModel>; | ||
|
||
/** | ||
* Survey Sample Method Record. | ||
* | ||
* @description Data record for `survey_sample_method`. | ||
*/ | ||
export const SurveySampleMethodRecord = SurveySampleMethodModel.omit({ | ||
create_date: true, | ||
create_user: true, | ||
update_date: true, | ||
update_user: true, | ||
revision_count: true | ||
}); | ||
|
||
export type SurveySampleMethodRecord = z.infer<typeof SurveySampleMethodRecord>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import { z } from 'zod'; | ||
|
||
/** | ||
* Survey Sample Period Model. | ||
* | ||
* @description Data model for `survey_sample_period`. | ||
*/ | ||
export const SurveySamplePeriodModel = z.object({ | ||
survey_sample_period_id: z.number(), | ||
survey_sample_method_id: z.number(), | ||
start_date: z.string().nullable(), | ||
end_date: z.string().nullable(), | ||
start_time: z.string().nullable(), | ||
end_time: z.string().nullable(), | ||
create_date: z.string(), | ||
create_user: z.number(), | ||
update_date: z.string().nullable(), | ||
update_user: z.number().nullable(), | ||
revision_count: z.number() | ||
}); | ||
|
||
export type SurveySamplePeriodModel = z.infer<typeof SurveySamplePeriodModel>; | ||
|
||
/** | ||
* Survey Sample Period Record. | ||
* | ||
* @description Data record for `survey_sample_period`. | ||
*/ | ||
export const SurveySamplePeriodRecord = SurveySamplePeriodModel.omit({ | ||
create_date: true, | ||
create_user: true, | ||
update_date: true, | ||
update_user: true, | ||
revision_count: true | ||
}); | ||
|
||
export type SurveySamplePeriodRecord = z.infer<typeof SurveySamplePeriodRecord>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { z } from 'zod'; | ||
|
||
/** | ||
* Survey Sample Site Model. | ||
* | ||
* @description Data model for `survey_sample_site`. | ||
*/ | ||
export const SurveySampleSiteModel = z.object({ | ||
survey_sample_site_id: z.number(), | ||
survey_id: z.number(), | ||
name: z.string(), | ||
description: z.string().nullable(), | ||
geometry: z.null(), | ||
geography: z.string(), | ||
geojson: z.any(), | ||
create_date: z.string(), | ||
create_user: z.number(), | ||
update_date: z.string().nullable(), | ||
update_user: z.number().nullable(), | ||
revision_count: z.number() | ||
}); | ||
|
||
export type SurveySampleSiteModel = z.infer<typeof SurveySampleSiteModel>; | ||
|
||
/** | ||
* Survey Sample Site Record. | ||
* | ||
* @description Data record for `survey_sample_site`. | ||
*/ | ||
export const SurveySampleSiteRecord = SurveySampleSiteModel.omit({ | ||
create_date: true, | ||
create_user: true, | ||
update_date: true, | ||
update_user: true, | ||
revision_count: true | ||
}); | ||
|
||
export type SurveySampleSiteRecord = z.infer<typeof SurveySampleSiteRecord>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import { z } from 'zod'; | ||
|
||
/** | ||
* Survey Sample Stratum Model. | ||
* | ||
* @description Data model for `survey_sample_stratum`. | ||
*/ | ||
export const SurveySampleStratumModel = z.object({ | ||
survey_sample_stratum_id: z.number(), | ||
survey_sample_site_id: z.number(), | ||
survey_stratum_id: z.number(), | ||
create_date: z.string(), | ||
create_user: z.number(), | ||
update_date: z.string().nullable(), | ||
update_user: z.number().nullable(), | ||
revision_count: z.number() | ||
}); | ||
|
||
export type SurveySampleStratumModel = z.infer<typeof SurveySampleStratumModel>; | ||
|
||
/** | ||
* Survey Sample Stratum Record. | ||
* | ||
* @description Data record for `survey_sample_stratum`. | ||
*/ | ||
export const SurveySampleStratumRecord = SurveySampleStratumModel.omit({ | ||
create_date: true, | ||
create_user: true, | ||
update_date: true, | ||
update_user: true, | ||
revision_count: true | ||
}); | ||
|
||
export type SurveySampleStratumRecord = z.infer<typeof SurveySampleStratumRecord>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { z } from 'zod'; | ||
|
||
/** | ||
* Survey Stratum Model. | ||
* | ||
* @description Data model for `survey_stratum`. | ||
*/ | ||
export const SurveyStratumModel = z.object({ | ||
survey_stratum_id: z.number(), | ||
survey_id: z.number(), | ||
name: z.string(), | ||
description: z.string(), | ||
create_date: z.string(), | ||
create_user: z.number(), | ||
update_date: z.string().nullable(), | ||
update_user: z.number().nullable(), | ||
revision_count: z.number() | ||
}); | ||
|
||
export type SurveyStratumModel = z.infer<typeof SurveyStratumModel>; | ||
|
||
/** | ||
* Survey Stratum Record. | ||
* | ||
* @description Data record for `survey_stratum`. | ||
*/ | ||
export const SurveyStratumRecord = SurveyStratumModel.omit({ | ||
create_date: true, | ||
create_user: true, | ||
update_date: true, | ||
update_user: true, | ||
revision_count: true | ||
}); | ||
|
||
export type SurveyStratumRecord = z.infer<typeof SurveyStratumRecord>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.