File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ objects with additional temporal tracking fields.
132132export type Campaign = z . infer < typeof campaignBaseSchema > ;
133133export type CampaignPartial = Partial < Campaign > ;
134134
135- const campaignChecks = ( ctx : z . core . ParsePayload < CampaignPartial > ) : void => {
135+ export const campaignChecks = ( ctx : z . core . ParsePayload < CampaignPartial > ) : void => {
136136 createFirstAliasRefinement ( ) ( ctx ) ;
137137 createCitationsRefinement ( ) ( ctx ) ;
138138} ;
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ objects and strictly follow the STIX 2.1 specification without additional custom
8484export type Group = z . infer < typeof groupBaseSchema > ;
8585export type GroupPartial = Partial < Group > ;
8686
87- const groupChecks = ( ctx : z . core . ParsePayload < GroupPartial > ) : void => {
87+ export const groupChecks = ( ctx : z . core . ParsePayload < GroupPartial > ) : void => {
8888 createFirstAliasRefinement ( ) ( ctx ) ;
8989} ;
9090
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ export const malwareBaseSchema = attackBaseDomainObjectSchema
248248export type Malware = z . infer < typeof malwareBaseSchema > ;
249249export type MalwarePartial = Partial < Malware > ;
250250
251- const malwareChecks = ( ctx : z . core . ParsePayload < MalwarePartial > ) : void => {
251+ export const malwareChecks = ( ctx : z . core . ParsePayload < MalwarePartial > ) : void => {
252252 createFirstAliasRefinement ( ) ( ctx ) ;
253253 createFirstXMitreAliasRefinement ( ) ( ctx ) ;
254254} ;
Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ They are represented as \`attack-pattern\` objects with the same structure as te
404404export type Technique = z . infer < typeof techniqueBaseSchema > ;
405405export type TechniquePartial = Partial < Technique > ;
406406
407- const techniqueChecks = ( ctx : z . core . ParsePayload < TechniquePartial > ) : void => {
407+ export const techniqueChecks = ( ctx : z . core . ParsePayload < TechniquePartial > ) : void => {
408408 createAttackIdInExternalReferencesRefinement ( ) ( ctx ) ;
409409 createEnterpriseOnlyPropertiesRefinement ( ) ( ctx ) ;
410410 createMobileOnlyPropertiesRefinement ( ) ( ctx ) ;
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ export const toolBaseSchema = attackBaseDomainObjectSchema
9292export type Tool = z . infer < typeof toolBaseSchema > ;
9393export type ToolPartial = Partial < Tool > ;
9494
95- const toolChecks = ( ctx : z . core . ParsePayload < ToolPartial > ) : void => {
95+ export const toolChecks = ( ctx : z . core . ParsePayload < ToolPartial > ) : void => {
9696 createFirstXMitreAliasRefinement ( ) ( ctx ) ;
9797 createFirstAliasRefinement ( ) ( ctx ) ;
9898} ;
Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ export const relationshipBaseSchema = attackBaseRelationshipObjectSchema
313313export type Relationship = z . infer < typeof relationshipBaseSchema > ;
314314export type RelationshipPartial = Partial < Relationship > ;
315315
316- const relationshipChecks = ( ctx : z . core . ParsePayload < RelationshipPartial > ) : void => {
316+ export const relationshipChecks = ( ctx : z . core . ParsePayload < RelationshipPartial > ) : void => {
317317 createRelationshipValidationRefinement ( ) ( ctx ) ;
318318
319319 // Check for deprecated pattern (partial-safe: skip if required fields are missing)
You can’t perform that action at this time.
0 commit comments