Skip to content

[backend] improve schema and domain methods (#4903)

Codecov / codecov/patch succeeded Jan 15, 2024 in 0s

59.58% of diff hit (target 66.28%)

View this Pull Request on Codecov

59.58% of diff hit (target 66.28%)

Annotations

Check warning on line 299 in opencti-platform/opencti-graphql/src/domain/stixCoreObject.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

opencti-platform/opencti-graphql/src/domain/stixCoreObject.js#L265-L299

Added lines #L265 - L299 were not covered by tests

Check warning on line 101 in opencti-platform/opencti-graphql/src/initialization.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

opencti-platform/opencti-graphql/src/initialization.js#L98-L101

Added lines #L98 - L101 were not covered by tests

Check warning on line 22 in opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard-converter.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard-converter.ts#L4-L22

Added lines #L4 - L22 were not covered by tests

Check warning on line 16 in opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard-domain.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard-domain.ts#L10-L16

Added lines #L10 - L16 were not covered by tests

Check warning on line 19 in opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard-domain.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard-domain.ts#L18-L19

Added lines #L18 - L19 were not covered by tests

Check warning on line 48 in opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard-domain.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard-domain.ts#L21-L48

Added lines #L21 - L48 were not covered by tests

Check warning on line 58 in opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard-domain.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard-domain.ts#L50-L58

Added lines #L50 - L58 were not covered by tests

Check warning on line 67 in opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard-domain.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard-domain.ts#L60-L67

Added lines #L60 - L67 were not covered by tests

Check warning on line 9 in opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard-resolvers.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard-resolvers.ts#L9

Added line #L9 was not covered by tests

Check warning on line 12 in opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard-resolvers.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard-resolvers.ts#L12

Added line #L12 was not covered by tests

Check warning on line 15 in opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard-resolvers.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard-resolvers.ts#L15

Added line #L15 was not covered by tests

Check warning on line 28 in opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

opencti-platform/opencti-graphql/src/modules/publicDashboard/publicDashboard.ts#L28

Added line #L28 was not covered by tests