Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Non-packaged libraries to be under "common" #6538

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ COPY apps/backend/package.json apps/backend/tsconfig.* ./apps/backend/
COPY apps/frontend/package.json apps/frontend/tsconfig.* ./apps/frontend/
COPY libs/hdf-converters/package.json libs/hdf-converters/tsconfig.* ./libs/hdf-converters/
COPY libs/inspecjs/package.json libs/inspecjs/tsconfig.* ./libs/inspecjs/
COPY libs/interfaces/package.json libs/interfaces/tsconfig.json ./libs/interfaces/
COPY libs/common/package.json libs/common/tsconfig.json ./libs/common/
COPY libs/password-complexity/package.json ./libs/password-complexity/

RUN sed -i s^https://registry.yarnpkg.com^$YARNREPO^g yarn.lock
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.lite
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ COPY package.json yarn.lock lerna.json tsconfig.json postcss.config.js ./
COPY apps/frontend/package.json apps/frontend/tsconfig.json ./apps/frontend/
COPY libs/hdf-converters/package.json libs/hdf-converters/tsconfig.* ./libs/hdf-converters/
COPY libs/inspecjs/package.json libs/inspecjs/tsconfig.* ./libs/inspecjs/
COPY libs/interfaces/package.json libs/interfaces/tsconfig.json ./libs/interfaces/
COPY libs/common/package.json libs/common/tsconfig.* ./libs/common/
COPY libs/password-complexity/package.json ./libs/password-complexity/

RUN sed -i s^https://registry.yarnpkg.com^$YARNREPO^g yarn.lock
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"dependencies": {
"@casl/ability": "^6.0.0",
"@heimdall/interfaces": "^2.10.16",
"@heimdall/common": "^2.11.1",
"@heimdall/password-complexity": "^2.6.6",
"@nestjs/cli": "^10.1.14",
"@nestjs/common": "^10.2.1",
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/apikeys/dto/apikey.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IApiKey} from '@heimdall/interfaces';
import {IApiKey} from '@heimdall/common/interfaces';
import {ApiKey} from '../apikey.model';

export class APIKeyDto implements IApiKey {
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/apikeys/dto/create-apikey.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ICreateApiKey} from '@heimdall/interfaces';
import {ICreateApiKey} from '@heimdall/common/interfaces';
import {IsOptional, IsString} from 'class-validator';

export class CreateApiKeyDto implements ICreateApiKey {
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/apikeys/dto/delete-apikey.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IDeleteApiKey} from '@heimdall/interfaces';
import {IDeleteApiKey} from '@heimdall/common/interfaces';
import {IsOptional, IsString} from 'class-validator';

export class DeleteAPIKeyDto implements IDeleteApiKey {
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/apikeys/dto/update-apikey.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IUpdateAPIKey} from '@heimdall/interfaces';
import {IUpdateAPIKey} from '@heimdall/common/interfaces';
import {IsOptional, IsString} from 'class-validator';

export class UpdateAPIKeyDto implements IUpdateAPIKey {
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/authn/jwt.strategy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IUser} from '@heimdall/interfaces';
import {IUser} from '@heimdall/common/interfaces';
import {HttpException, Injectable, UnauthorizedException} from '@nestjs/common';
import {PassportStrategy} from '@nestjs/passport';
import jwt from 'jsonwebtoken';
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/config/dto/startup-settings.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IStartupSettings} from '@heimdall/interfaces';
import {IStartupSettings} from '@heimdall/common/interfaces';

export class StartupSettingsDto implements IStartupSettings {
readonly apiKeysEnabled: boolean;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ICreateEvaluationTag} from '@heimdall/interfaces';
import {ICreateEvaluationTag} from '@heimdall/common/interfaces';
import {IsNotEmpty, IsString} from 'class-validator';

export class CreateEvaluationTagDto implements ICreateEvaluationTag {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IDeleteEvaluationTag} from '@heimdall/interfaces';
import {IDeleteEvaluationTag} from '@heimdall/common/interfaces';
import {IsNotEmpty, IsNumberString, IsString, Min} from 'class-validator';

export class DeleteEvaluationTagDto implements IDeleteEvaluationTag {
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/evaluation-tags/dto/evaluation-tag.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IEvaluationTag} from '@heimdall/interfaces';
import {IEvaluationTag} from '@heimdall/common/interfaces';
import {EvaluationTag} from '../evaluation-tag.model';

export class EvaluationTagDto implements IEvaluationTag {
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/evaluations/dto/create-evaluation.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ICreateEvaluation} from '@heimdall/interfaces';
import {ICreateEvaluation} from '@heimdall/common/interfaces';
import {
IsArray,
IsBoolean,
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/evaluations/dto/evaluation.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IEvaluation} from '@heimdall/interfaces';
import {IEvaluation} from '@heimdall/common/interfaces';
import {EvaluationTagDto} from '../../evaluation-tags/dto/evaluation-tag.dto';
import {GroupDto} from '../../groups/dto/group.dto';
import {Group} from '../../groups/group.model';
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/evaluations/dto/update-evaluation.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IUpdateEvaluation} from '@heimdall/interfaces';
import {IUpdateEvaluation} from '@heimdall/common/interfaces';
import {IsBoolean, IsObject, IsOptional, IsString} from 'class-validator';

export class UpdateEvaluationDto implements IUpdateEvaluation {
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/groups/dto/add-user-to-group.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IAddUserToGroup} from '@heimdall/interfaces';
import {IAddUserToGroup} from '@heimdall/common/interfaces';
import {IsNotEmpty, IsString} from 'class-validator';

export class AddUserToGroupDto implements IAddUserToGroup {
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/groups/dto/create-group.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ICreateGroup} from '@heimdall/interfaces';
import {ICreateGroup} from '@heimdall/common/interfaces';
import {IsBoolean, IsNotEmpty, IsOptional, IsString} from 'class-validator';

export class CreateGroupDto implements ICreateGroup {
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/groups/dto/evaluation-group.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IEvaluationGroup} from '@heimdall/interfaces';
import {IEvaluationGroup} from '@heimdall/common/interfaces';
import {IsNotEmpty, IsString} from 'class-validator';

export class EvaluationGroupDto implements IEvaluationGroup {
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/groups/dto/group.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IGroup} from '@heimdall/interfaces';
import {IGroup} from '@heimdall/common/interfaces';
import {GroupUser} from '../../group-users/group-user.model';
import {SlimUserDto} from '../../users/dto/slim-user.dto';
import {Group} from '../group.model';
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/groups/dto/remove-user-from-group.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IRemoveUserFromGroup} from '@heimdall/interfaces';
import {IRemoveUserFromGroup} from '@heimdall/common/interfaces';
import {IsNotEmpty, IsString} from 'class-validator';

export class RemoveUserFromGroupDto implements IRemoveUserFromGroup {
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/groups/dto/update-group-user.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IUpdateGroupUser} from '@heimdall/interfaces';
import {IUpdateGroupUser} from '@heimdall/common/interfaces';
import {IsNotEmpty, IsString} from 'class-validator';

export class UpdateGroupUserRoleDto implements IUpdateGroupUser {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ICreateEvaluation} from '@heimdall/interfaces';
import {ICreateEvaluation} from '@heimdall/common/interfaces';
import {
CallHandler,
ExecutionContext,
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/statistics/dto/statistics.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IStatistics} from '@heimdall/interfaces';
import {IStatistics} from '@heimdall/common/interfaces';

export class StatisticsDTO implements IStatistics {
readonly apiKeyCount: number;
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/users/dto/create-user.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ICreateUser} from '@heimdall/interfaces';
import {ICreateUser} from '@heimdall/common/interfaces';
import {IsEmail, IsIn, IsNotEmpty, IsOptional, IsString} from 'class-validator';

export class CreateUserDto implements ICreateUser {
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/users/dto/delete-user.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IDeleteUser} from '@heimdall/interfaces';
import {IDeleteUser} from '@heimdall/common/interfaces';
import {IsOptional, IsString, MinLength} from 'class-validator';

export class DeleteUserDto implements IDeleteUser {
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/users/dto/slim-user.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ISlimUser} from '@heimdall/interfaces';
import {ISlimUser} from '@heimdall/common/interfaces';
import {IsOptional, IsString} from 'class-validator';
import {User} from '../user.model';

Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/users/dto/update-user.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IUpdateUser} from '@heimdall/interfaces';
import {IUpdateUser} from '@heimdall/common/interfaces';
import {IsBoolean, IsEmail, IsIn, IsOptional, IsString} from 'class-validator';

export class UpdateUserDto implements IUpdateUser {
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/users/dto/user.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IUser} from '@heimdall/interfaces';
import {IUser} from '@heimdall/common/interfaces';
import {User} from '../user.model';

export class UserDto implements IUser {
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@aws-sdk/client-s3": "^3.425.0",
"@aws-sdk/client-sts": "^3.427.0",
"@e965/xlsx": "^0.20.0",
"@heimdall/interfaces": "^2.10.16",
"@heimdall/common": "^2.11.1",
"@mdi/font": "^7.0.96",
"@mdi/js": "^7.0.96",
"@types/chroma-js": "^2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/components/cards/EvaluationInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ import {
SourcedContextualizedEvaluation,
SourcedContextualizedProfile
} from '@/store/report_intake';
import {IEvaluation} from '@heimdall/interfaces';
import {IEvaluation} from '@heimdall/common/interfaces';
import {ContextualizedEvaluation} from 'inspecjs';
import * as _ from 'lodash';
import Vue from 'vue';
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/components/global/TopbarDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ import IconLinkItem from '@/components/global/sidebaritems/IconLinkItem.vue';
import UserModal from '@/components/global/UserModal.vue';
import ServerMixin from '@/mixins/ServerMixin';
import {ServerModule} from '@/store/server';
import {IUser} from '@heimdall/interfaces';
import {IUser} from '@heimdall/common/interfaces';
import Component, {mixins} from 'vue-class-component';

@Component({
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/components/global/UserModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ import InputDialog from '@/components/generic/InputDialog.vue';
import UserValidatorMixin from '@/mixins/UserValidatorMixin';
import {ServerModule} from '@/store/server';
import {SnackbarModule} from '@/store/snackbar';
import {IApiKey, IUpdateUser, IUser} from '@heimdall/interfaces';
import {IApiKey, IUpdateUser, IUser} from '@heimdall/common/interfaces';
import axios from 'axios';
import Vue from 'vue';
import Component from 'vue-class-component';
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/components/global/admin/Statistics.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</template>

<script lang="ts">
import {IStatistics} from '@heimdall/interfaces';
import {IStatistics} from '@heimdall/common/interfaces';
import axios from 'axios';
import Vue from 'vue';
import {Component} from 'vue-property-decorator';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ import RegistrationModal from '@/components/global/RegistrationModal.vue';
import IconLinkItem from '@/components/global/sidebaritems/IconLinkItem.vue';
import UserModal from '@/components/global/UserModal.vue';
import {SnackbarModule} from '@/store/snackbar';
import {IUser} from '@heimdall/interfaces';
import {IUser} from '@heimdall/common/interfaces';
import axios from 'axios';
import Vue from 'vue';
import Component from 'vue-class-component';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ import ActionDialog from '@/components/generic/ActionDialog.vue';
import Users from '@/components/global/groups/Users.vue';
import CopyButton from '@/components/generic/CopyButton.vue';
import {SnackbarModule} from '@/store/snackbar';
import {IApiKey, IGroup} from '@heimdall/interfaces';
import {IApiKey, IGroup} from '@heimdall/common/interfaces';
import axios from 'axios';
import Vue from 'vue';
import Component from 'vue-class-component';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ import GroupUsers from '@/components/global/groups/GroupUsers.vue';
import Users from '@/components/global/groups/Users.vue';
import {GroupsModule} from '@/store/groups';
import {SnackbarModule} from '@/store/snackbar';
import {IGroup, ISlimUser} from '@heimdall/interfaces';
import {IGroup, ISlimUser} from '@heimdall/common/interfaces';
import Vue from 'vue';
import Component from 'vue-class-component';
import {Prop} from 'vue-property-decorator';
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/components/global/groups/GroupModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ import {
IRemoveUserFromGroup,
ISlimUser,
IUpdateGroupUser
} from '@heimdall/interfaces';
} from '@heimdall/common/interfaces';
import axios, {AxiosResponse} from 'axios';
import * as _ from 'lodash';
import Vue from 'vue';
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/components/global/groups/GroupRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</template>

<script lang="ts">
import {IEvaluation} from '@heimdall/interfaces';
import {IEvaluation} from '@heimdall/common/interfaces';
import Component, {mixins} from 'vue-class-component';
import {Prop} from 'vue-property-decorator';
import EvaluationMixin from '../../../mixins/EvaluationMixin';
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/components/global/groups/GroupUsers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<script lang="ts">
import Users from '@/components/global/groups/Users.vue';
import {ISlimUser} from '@heimdall/interfaces';
import {ISlimUser} from '@heimdall/common/interfaces';
import Vue from 'vue';
import Component from 'vue-class-component';
import {Prop, VModel} from 'vue-property-decorator';
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/components/global/groups/Users.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

<script lang="ts">
import ActionDialog from '@/components/generic/ActionDialog.vue';
import {ISlimUser} from '@heimdall/interfaces';
import {ISlimUser} from '@heimdall/common/interfaces';
import Component from 'vue-class-component';
import {Emit, Prop, VModel} from 'vue-property-decorator';
import {ServerModule} from '@/store/server';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import {InspecDataModule} from '@/store/data_store';
import {EvaluationModule} from '@/store/evaluations';
import {EvaluationFile, ProfileFile} from '@/store/report_intake';
import {SnackbarModule} from '@/store/snackbar';
import {ICreateEvaluation, IEvaluation} from '@heimdall/interfaces';
import {ICreateEvaluation, IEvaluation} from '@heimdall/common/interfaces';
import axios from 'axios';
import * as _ from 'lodash';
import Component, {mixins} from 'vue-class-component';
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/components/global/tags/TagRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
import ActionDialog from '@/components/generic/ActionDialog.vue';
import {EvaluationModule} from '@/store/evaluations';
import {SnackbarModule} from '@/store/snackbar';
import {IEvaluation, IEvaluationTag} from '@heimdall/interfaces';
import {IEvaluation, IEvaluationTag} from '@heimdall/common/interfaces';
import Vue from 'vue';
import Component from 'vue-class-component';
import {Prop} from 'vue-property-decorator';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ import {FileID} from '@/store/report_intake';
import {SnackbarModule} from '@/store/snackbar';
import {EvaluationModule} from '@/store/evaluations';
import {SpinnerModule} from '@/store/spinner';
import {IEvalPaginationParams, IEvaluation} from '@heimdall/interfaces';
import {IEvalPaginationParams, IEvaluation} from '@heimdall/common/interfaces';
import {Prop, Watch} from 'vue-property-decorator';
import Component, {mixins} from 'vue-class-component';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ import {EvaluationModule} from '@/store/evaluations';
import {GroupsModule} from '@/store/groups';
import {SnackbarModule} from '@/store/snackbar';
import {IVuetifyItems} from '@/utilities/helper_util';
import {IEvaluation, IEvaluationGroup} from '@heimdall/interfaces';
import {IEvaluation, IEvaluationGroup} from '@heimdall/common/interfaces';
import axios from 'axios';
import Component, {mixins} from 'vue-class-component';
import {Prop} from 'vue-property-decorator';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ import {
IEvalPaginationParams,
IEvaluation,
IEvaluationTag
} from '@heimdall/interfaces';
} from '@heimdall/common/interfaces';
import {Prop} from 'vue-property-decorator';
import Component, {mixins} from 'vue-class-component';
import {FilteredDataModule} from '../../../store/data_filters';
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/mixins/EvaluationMixin.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {GroupsModule} from '@/store/groups';
import {IGroup} from '@heimdall/interfaces';
import {IGroup} from '@heimdall/common/interfaces';
import {intersectionBy} from 'lodash';
import {Component, Vue} from 'vue-property-decorator';
import {IVuetifyItems} from '../utilities/helper_util';
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/store/evaluations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
IEvaluation,
IEvaluationResponse,
IEvaluationTag
} from '@heimdall/interfaces';
} from '@heimdall/common/interfaces';
import axios from 'axios';
import * as _ from 'lodash';
import {
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/store/groups.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Store from '@/store/store';
import {IGroup} from '@heimdall/interfaces';
import {IGroup} from '@heimdall/common/interfaces';
import axios, {AxiosResponse} from 'axios';
import {
Action,
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/store/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
IStartupSettings,
IUpdateUser,
IUser
} from '@heimdall/interfaces';
} from '@heimdall/common/interfaces';
import axios from 'axios';
import Vue from 'vue';
import {
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/views/Compare.vue
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ import {
get_eval_start_time
} from '@/utilities/delta_util';
import Base from '@/views/Base.vue';
import {IEvaluation} from '@heimdall/interfaces';
import {IEvaluation} from '@heimdall/common/interfaces';
import {ControlStatus} from 'inspecjs';
import * as _ from 'lodash';
import Vue from 'vue';
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/views/Results.vue
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ import {
import {SearchModule} from '@/store/search';
import {ServerModule} from '@/store/server';
import Base from '@/views/Base.vue';
import {IEvaluation} from '@heimdall/interfaces';
import {IEvaluation} from '@heimdall/common/interfaces';
import {Severity} from 'inspecjs';
import {capitalize} from 'lodash';
import Component, {mixins} from 'vue-class-component';
Expand Down
4 changes: 4 additions & 0 deletions heimdall2.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
"name": "InspecJS",
"path": "libs/inspecjs"
},
{
"name": "Common",
"path": "libs/common"
},
{
"name": "Heimdall",
"path": "."
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions libs/common/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './interfaces';
File renamed without changes.
Loading
Loading