Skip to content

Commit

Permalink
Rename authz-shared to policy-engine-shared
Browse files Browse the repository at this point in the history
  • Loading branch information
wcalderipe committed Feb 20, 2024
1 parent 8e88fb3 commit c89b13c
Show file tree
Hide file tree
Showing 160 changed files with 139 additions and 134 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/authz_shared_ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: '@narval/authz-shared CI'
name: '@narval/policy-engine-shared CI'

on:
push:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
uses: 8398a7/action-slack@v3
with:
username: GitHub
author_name: '@narval/authz-shared CI failed'
author_name: '@narval/policy-engine-shared CI failed'
status: ${{ job.status }}
fields: message,commit,author
env:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include ./apps/armory/Makefile
include ./apps/policy-engine/Makefile
include ./packages/authz-shared/Makefile
include ./packages/policy-engine-shared/Makefile
include ./packages/transaction-request-intent/Makefile

# For more terminal color codes, head over to https://opensource.com/article/19/9/linux-terminal-colors
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ At the end, you must have a working environment ready to run any application.

- [@app/armory](./apps/armory/README.md)
- [@app/policy-engine](./apps/policy-engine/README.md)
- [@narval/authz-shared](./packages/authz-shared/README.md)
- [@narval/policy-engine-shared](./packages/authz-shared/README.md)
- [@narval/transaction-request-intent](./packages/transaction-request-intent/README.md)

## Docker
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Config } from 'jest'

const config: Config = {
displayName: 'apps/armory',
displayName: 'armory',
moduleFileExtensions: ['ts', 'js', 'html'],
preset: '../../jest.preset.js',
setupFiles: ['<rootDir>/jest.setup.ts'],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Decision, Signature, TransactionRequest } from '@narval/authz-shared'
import { Decision, Signature, TransactionRequest } from '@narval/policy-engine-shared'
import { AuthorizationRequestStatus } from '@prisma/client/armory'
import { z } from 'zod'
import { Fixture } from 'zod-fixture'
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/__test__/fixture/feed.fixture.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Feed, HistoricalTransfer } from '@narval/authz-shared'
import { Feed, HistoricalTransfer } from '@narval/policy-engine-shared'
import { times } from 'lodash/fp'
import { z } from 'zod'
import { Fixture } from 'zod-fixture'
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/__test__/fixture/price.fixture.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AssetType, Namespace, Prices } from '@narval/authz-shared'
import { AssetType, Namespace, Prices } from '@narval/policy-engine-shared'
import { sample } from 'lodash'
import { times } from 'lodash/fp'
import { z } from 'zod'
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/__test__/fixture/shared.fixture.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { faker } from '@faker-js/faker'
import { Address, getAddress } from '@narval/authz-shared'
import { Address, getAddress } from '@narval/policy-engine-shared'
import { sample } from 'lodash/fp'
import { Generator } from 'zod-fixture'
import { CHAINS } from '../../armory.constant'
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/armory.constant.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AssetId } from '@narval/authz-shared'
import { AssetId } from '@narval/policy-engine-shared'
import { BackoffOptions } from 'bull'
import { Chain } from './shared/core/lib/chains.lib'
import { FiatId } from './shared/core/type/price.type'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Feed, HistoricalTransfer, Prices } from '@narval/authz-shared'
import { Feed, HistoricalTransfer, Prices } from '@narval/policy-engine-shared'
import { Test, TestingModule } from '@nestjs/testing'
import { MockProxy, mock, mockDeep } from 'jest-mock-extended'
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Alg } from '@narval/authz-shared'
import { Alg } from '@narval/policy-engine-shared'
import { ConfigModule } from '@nestjs/config'
import { Test, TestingModule } from '@nestjs/testing'
import { MockProxy, mock } from 'jest-mock-extended'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Alg, Prices } from '@narval/authz-shared'
import { Alg, Prices } from '@narval/policy-engine-shared'
import { ConfigModule } from '@nestjs/config'
import { Test, TestingModule } from '@nestjs/testing'
import { MockProxy, mock } from 'jest-mock-extended'
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/data-feed/core/service/feed.service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Feed } from '@narval/authz-shared'
import { Feed } from '@narval/policy-engine-shared'
import { HttpStatus, Injectable } from '@nestjs/common'
import { Prisma } from '@prisma/client/armory'
import { v4 as uuid } from 'uuid'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Alg, Feed, HistoricalTransfer, Signature, hashRequest } from '@narval/authz-shared'
import { Alg, Feed, HistoricalTransfer, Signature, hashRequest } from '@narval/policy-engine-shared'
import { Injectable } from '@nestjs/common'
import { ConfigService } from '@nestjs/config'
import { mapValues, omit } from 'lodash/fp'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action, Alg, AssetId, Feed, Signature, hashRequest } from '@narval/authz-shared'
import { Action, Alg, AssetId, Feed, Signature, hashRequest } from '@narval/policy-engine-shared'
import { InputType, Intents, safeDecode } from '@narval/transaction-request-intent'
import { Injectable } from '@nestjs/common'
import { ConfigService } from '@nestjs/config'
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/data-feed/core/type/data-feed.type.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Feed, Signature } from '@narval/authz-shared'
import { Feed, Signature } from '@narval/policy-engine-shared'
// TODO (@wcalderipe, 06/02/24): Move the AuthorizationRequest type to shared
import { AuthorizationRequest } from '../../../orchestration/core/type/domain.type'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action, Alg } from '@narval/authz-shared'
import { Action, Alg } from '@narval/policy-engine-shared'
import { getQueueToken } from '@nestjs/bull'
import { HttpStatus, INestApplication } from '@nestjs/common'
import { ConfigModule } from '@nestjs/config'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action, Decision, EvaluationResponse, getAccountId } from '@narval/authz-shared'
import { Action, Decision, EvaluationResponse, getAccountId } from '@narval/policy-engine-shared'
import { Intents, TransferNative } from '@narval/transaction-request-intent'
import { Test, TestingModule } from '@nestjs/testing'
import { MockProxy, mock } from 'jest-mock-extended'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Alg, Decision, EvaluationResponse, Feed, Prices, hashRequest } from '@narval/authz-shared'
import { Alg, Decision, EvaluationResponse, Feed, Prices, hashRequest } from '@narval/policy-engine-shared'
import { Test } from '@nestjs/testing'
import { MockProxy, mock } from 'jest-mock-extended'
import { PrivateKeyAccount, generatePrivateKey, privateKeyToAccount } from 'viem/accounts'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action, Decision } from '@narval/authz-shared'
import { Action, Decision } from '@narval/policy-engine-shared'
import { Intent, Intents } from '@narval/transaction-request-intent'
import { Injectable, Logger } from '@nestjs/common'
import { SetOptional } from 'type-fest'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Decision, EvaluationRequest, EvaluationResponse, hashRequest } from '@narval/authz-shared'
import { Decision, EvaluationRequest, EvaluationResponse, hashRequest } from '@narval/policy-engine-shared'
import { Injectable, Logger } from '@nestjs/common'
import { zip } from 'lodash/fp'
import { ClusterNotFoundException } from '../../core/exception/cluster-not-found.exception'
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/orchestration/core/type/domain.type.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action, Signature, TransactionRequest } from '@narval/authz-shared'
import { Action, Signature, TransactionRequest } from '@narval/policy-engine-shared'
import { OverrideProperties, SetOptional } from 'type-fest'

export enum AuthorizationRequestStatus {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EvaluationRequest, EvaluationResponse } from '@narval/authz-shared'
import { EvaluationRequest, EvaluationResponse } from '@narval/policy-engine-shared'
import { HttpService } from '@nestjs/axios'
import { HttpStatus, Injectable, Logger } from '@nestjs/common'
import { catchError, lastValueFrom, map, tap } from 'rxjs'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action } from '@narval/authz-shared'
import { Action } from '@narval/policy-engine-shared'
import { ApiExtraModels, ApiProperty, getSchemaPath } from '@nestjs/swagger'
import { Type } from 'class-transformer'
import { IsDefined, ValidateNested } from 'class-validator'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action } from '@narval/authz-shared'
import { Action } from '@narval/policy-engine-shared'
import { ApiExtraModels, ApiProperty, getSchemaPath } from '@nestjs/swagger'
import { Type } from 'class-transformer'
import { IsDefined, IsString, ValidateNested } from 'class-validator'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action } from '@narval/authz-shared'
import { Action } from '@narval/policy-engine-shared'
import { ApiProperty } from '@nestjs/swagger'
import { IsDefined, IsIn, IsString } from 'class-validator'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action } from '@narval/authz-shared'
import { Action } from '@narval/policy-engine-shared'
import { ApiProperty } from '@nestjs/swagger'
import { IsDefined, IsIn, IsString, ValidateNested } from 'class-validator'
import { TransactionRequestDto } from '../../../http/rest/dto/transaction-request.dto'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Alg } from '@narval/authz-shared'
import { Alg } from '@narval/policy-engine-shared'
import { ApiProperty } from '@nestjs/swagger'
import { IsDefined, IsIn, IsOptional, IsString } from 'class-validator'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Address, Hex, IsHexString } from '@narval/authz-shared'
import { Address, Hex, IsHexString } from '@narval/policy-engine-shared'
import { ApiPropertyOptional } from '@nestjs/swagger'
import { Transform, Type } from 'class-transformer'
import {
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/orchestration/http/rest/util.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Signature } from '@narval/authz-shared'
import { Signature } from '@narval/policy-engine-shared'
import { plainToInstance } from 'class-transformer'
import { CreateApproval, CreateAuthorizationRequest } from '../../core/type/domain.type'
import { AuthorizationRequestDto } from '../../http/rest/dto/authorization-request.dto'
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/orchestration/orchestration.constant.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action } from '@narval/authz-shared'
import { Action } from '@narval/policy-engine-shared'
import { ZodType } from 'zod'
import { SupportedAction } from './core/type/domain.type'
import { createSignMessageSchema, readSignMessageSchema } from './persistence/schema/sign-message.schema'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action } from '@narval/authz-shared'
import { Action } from '@narval/policy-engine-shared'
import { AuthorizationRequestStatus } from '@prisma/client/armory'
import { decodeAuthorizationRequest } from '../../../../persistence/decode/authorization-request.decode'
import { DecodeAuthorizationRequestException } from '../../../../persistence/exception/decode-authorization-request.exception'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action } from '@narval/authz-shared'
import { Action } from '@narval/policy-engine-shared'
import { EvaluationLog } from '@prisma/client/armory'
import { SetOptional } from 'type-fest'
import { ZodIssueCode, ZodSchema, z } from 'zod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action, Alg, Signature } from '@narval/authz-shared'
import { Action, Alg, Signature } from '@narval/policy-engine-shared'
import { ConfigModule } from '@nestjs/config'
import { Test, TestingModule } from '@nestjs/testing'
import { AuthorizationRequestStatus, Organization } from '@prisma/client/armory'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action } from '@narval/authz-shared'
import { Action } from '@narval/policy-engine-shared'
import { z } from 'zod'

export const readSignMessageSchema = z.object({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action } from '@narval/authz-shared'
import { Action } from '@narval/policy-engine-shared'
import { z } from 'zod'
import {
createTransactionRequestSchema,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Alg } from '@narval/authz-shared'
import { Alg } from '@narval/policy-engine-shared'
import { z } from 'zod'

export const algSchema = z.nativeEnum(Alg)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action, Alg, Signature } from '@narval/authz-shared'
import { Action, Alg, Signature } from '@narval/policy-engine-shared'
import { HttpModule } from '@nestjs/axios'
import { BullModule, getQueueToken } from '@nestjs/bull'
import { ConfigModule } from '@nestjs/config'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action, Alg, Signature } from '@narval/authz-shared'
import { Action, Alg, Signature } from '@narval/policy-engine-shared'
import { BullModule, getQueueToken } from '@nestjs/bull'
import { ConfigModule } from '@nestjs/config'
import { Test, TestingModule } from '@nestjs/testing'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AssetType, getAddress, getAssetId, toAssetId } from '@narval/authz-shared'
import { AssetType, getAddress, getAssetId, toAssetId } from '@narval/policy-engine-shared'
import { Test, TestingModule } from '@nestjs/testing'
import { mock } from 'jest-mock-extended'
import { ASSET_ID_MAINNET_USDC, ETHEREUM, FIAT_ID_USD, POLYGON } from '../../../../../armory.constant'
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/price/core/service/price.service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AssetId } from '@narval/authz-shared'
import { AssetId } from '@narval/policy-engine-shared'
import { HttpStatus, Injectable, Logger } from '@nestjs/common'
import { compact } from 'lodash/fp'
import { FiatId, Prices } from '../../../shared/core/type/price.type'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AssetId, getAssetId, isCoin, parseAsset } from '@narval/authz-shared'
import { AssetId, getAssetId, isCoin, parseAsset } from '@narval/policy-engine-shared'
import { Injectable } from '@nestjs/common'
import { findChain, safeGetChain } from '../../../shared/core/lib/chains.lib'
import { FiatId } from '../../../shared/core/type/price.type'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Generates an CAIP Asset ID to coin ID index using CoinGecko API to make price
* queries faster and easier.
*/
import { AssetId, AssetType, getAddress, isAddress, toAssetId } from '@narval/authz-shared'
import { AssetId, AssetType, getAddress, isAddress, toAssetId } from '@narval/policy-engine-shared'
import { HttpService } from '@nestjs/axios'
import { Logger } from '@nestjs/common'
import File from 'fs'
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/shared/core/lib/chains.lib.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AssetId } from '@narval/authz-shared'
import { AssetId } from '@narval/policy-engine-shared'
import { HttpStatus } from '@nestjs/common'
import { CHAINS } from '../../../armory.constant'
import { ApplicationException } from '../../../shared/exception/application.exception'
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/shared/core/type/price.type.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AssetId } from '@narval/authz-shared'
import { AssetId } from '@narval/policy-engine-shared'

export type FiatId = `fiat:${string}`

Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/shared/module/persistence/seed.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ORGANIZATION } from '@narval/policy-engine-shared/lib/dev.fixture'
import { Logger } from '@nestjs/common'
import { NestFactory } from '@nestjs/core'
import { Organization, PrismaClient } from '@prisma/client/armory'
import { ORGANIZATION } from 'packages/authz-shared/src/lib/dev.fixture'
import { ArmoryModule } from '../../../armory.module'
import { SeederService } from './service/seeder.service'

Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/shared/schema/address.schema.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isAddress } from '@narval/authz-shared'
import { isAddress } from '@narval/policy-engine-shared'
import { z } from 'zod'

/**
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/shared/schema/caip.schema.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AssetType, Namespace, isAccountId, isAssetId } from '@narval/authz-shared'
import { AssetType, Namespace, isAccountId, isAssetId } from '@narval/policy-engine-shared'
import { z } from 'zod'

const nonCollectableAssetIdSchema = z.custom<`${Namespace}:${number}/${AssetType}:${string}`>((value) => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AccountClassification, Action, OrganizationEntity, Signature } from '@narval/authz-shared'
import { AccountClassification, Action, OrganizationEntity, Signature } from '@narval/policy-engine-shared'
import { HttpStatus, INestApplication } from '@nestjs/common'
import { ConfigModule } from '@nestjs/config'
import { Test, TestingModule } from '@nestjs/testing'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action, Alg, CredentialEntity, OrganizationEntity, Signature } from '@narval/authz-shared'
import { Action, Alg, CredentialEntity, OrganizationEntity, Signature } from '@narval/policy-engine-shared'
import { HttpStatus, INestApplication } from '@nestjs/common'
import { ConfigModule } from '@nestjs/config'
import { Test, TestingModule } from '@nestjs/testing'
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/store/entity/__test__/e2e/entity.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
UserWalletEntity,
WalletEntity,
WalletGroupEntity
} from '@narval/authz-shared'
} from '@narval/policy-engine-shared'
import { HttpStatus, INestApplication } from '@nestjs/common'
import { ConfigModule } from '@nestjs/config'
import { Test, TestingModule } from '@nestjs/testing'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action, Alg, CredentialEntity, OrganizationEntity, Signature, UserRole } from '@narval/authz-shared'
import { Action, Alg, CredentialEntity, OrganizationEntity, Signature, UserRole } from '@narval/policy-engine-shared'
import { HttpStatus, INestApplication } from '@nestjs/common'
import { ConfigModule } from '@nestjs/config'
import { Test, TestingModule } from '@nestjs/testing'
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/store/entity/__test__/e2e/token.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action, OrganizationEntity, Signature, TokenEntity } from '@narval/authz-shared'
import { Action, OrganizationEntity, Signature, TokenEntity } from '@narval/policy-engine-shared'
import { HttpStatus, INestApplication } from '@nestjs/common'
import { ConfigModule } from '@nestjs/config'
import { Test, TestingModule } from '@nestjs/testing'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action, Signature, UserRole } from '@narval/authz-shared'
import { Action, Signature, UserRole } from '@narval/policy-engine-shared'
import { HttpStatus, INestApplication } from '@nestjs/common'
import { ConfigModule } from '@nestjs/config'
import { Test, TestingModule } from '@nestjs/testing'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
UserEntity,
UserRole,
WalletEntity
} from '@narval/authz-shared'
} from '@narval/policy-engine-shared'
import { HttpStatus, INestApplication } from '@nestjs/common'
import { ConfigModule } from '@nestjs/config'
import { Test, TestingModule } from '@nestjs/testing'
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/store/entity/__test__/e2e/user.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Action, Alg, CredentialEntity, Signature, UserEntity, UserRole } from '@narval/authz-shared'
import { Action, Alg, CredentialEntity, Signature, UserEntity, UserRole } from '@narval/policy-engine-shared'
import { HttpStatus, INestApplication } from '@nestjs/common'
import { ConfigModule } from '@nestjs/config'
import { Test, TestingModule } from '@nestjs/testing'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AccountType, Action, OrganizationEntity, Signature, WalletEntity } from '@narval/authz-shared'
import { AccountType, Action, OrganizationEntity, Signature, WalletEntity } from '@narval/policy-engine-shared'
import { HttpStatus, INestApplication } from '@nestjs/common'
import { ConfigModule } from '@nestjs/config'
import { Test, TestingModule } from '@nestjs/testing'
Expand Down
2 changes: 1 addition & 1 deletion apps/armory/src/store/entity/__test__/e2e/wallet.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AccountType, Action, OrganizationEntity, Signature } from '@narval/authz-shared'
import { AccountType, Action, OrganizationEntity, Signature } from '@narval/policy-engine-shared'
import { HttpStatus, INestApplication } from '@nestjs/common'
import { ConfigModule } from '@nestjs/config'
import { Test, TestingModule } from '@nestjs/testing'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AddressBookAccountEntity, CreateAddressBookAccountRequest } from '@narval/authz-shared'
import { AddressBookAccountEntity, CreateAddressBookAccountRequest } from '@narval/policy-engine-shared'
import { Injectable } from '@nestjs/common'
import { AddressBookRepository } from '../../persistence/repository/address-book.repository'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CreateCredentialRequest, CredentialEntity } from '@narval/authz-shared'
import { CreateCredentialRequest, CredentialEntity } from '@narval/policy-engine-shared'
import { Injectable } from '@nestjs/common'
import { CredentialRepository } from '../../persistence/repository/credential.repository'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Entities } from '@narval/authz-shared'
import { Entities } from '@narval/policy-engine-shared'
import { Injectable } from '@nestjs/common'
import { AddressBookRepository } from '../../persistence/repository/address-book.repository'
import { CredentialRepository } from '../../persistence/repository/credential.repository'
Expand Down
Loading

0 comments on commit c89b13c

Please sign in to comment.