diff --git a/packages/api-headless-cms/src/crud/contentEntry/adstractions/IDeleteEntry.ts b/packages/api-headless-cms/src/crud/contentEntry/abstractions/IDeleteEntry.ts similarity index 100% rename from packages/api-headless-cms/src/crud/contentEntry/adstractions/IDeleteEntry.ts rename to packages/api-headless-cms/src/crud/contentEntry/abstractions/IDeleteEntry.ts diff --git a/packages/api-headless-cms/src/crud/contentEntry/adstractions/IDeleteEntryOperation.ts b/packages/api-headless-cms/src/crud/contentEntry/abstractions/IDeleteEntryOperation.ts similarity index 100% rename from packages/api-headless-cms/src/crud/contentEntry/adstractions/IDeleteEntryOperation.ts rename to packages/api-headless-cms/src/crud/contentEntry/abstractions/IDeleteEntryOperation.ts diff --git a/packages/api-headless-cms/src/crud/contentEntry/adstractions/IGetEntriesByIds.ts b/packages/api-headless-cms/src/crud/contentEntry/abstractions/IGetEntriesByIds.ts similarity index 100% rename from packages/api-headless-cms/src/crud/contentEntry/adstractions/IGetEntriesByIds.ts rename to packages/api-headless-cms/src/crud/contentEntry/abstractions/IGetEntriesByIds.ts diff --git a/packages/api-headless-cms/src/crud/contentEntry/adstractions/IGetEntry.ts b/packages/api-headless-cms/src/crud/contentEntry/abstractions/IGetEntry.ts similarity index 100% rename from packages/api-headless-cms/src/crud/contentEntry/adstractions/IGetEntry.ts rename to packages/api-headless-cms/src/crud/contentEntry/abstractions/IGetEntry.ts diff --git a/packages/api-headless-cms/src/crud/contentEntry/adstractions/IGetLatestEntriesByIds.ts b/packages/api-headless-cms/src/crud/contentEntry/abstractions/IGetLatestEntriesByIds.ts similarity index 100% rename from packages/api-headless-cms/src/crud/contentEntry/adstractions/IGetLatestEntriesByIds.ts rename to packages/api-headless-cms/src/crud/contentEntry/abstractions/IGetLatestEntriesByIds.ts diff --git a/packages/api-headless-cms/src/crud/contentEntry/adstractions/IGetLatestRevisionByEntryId.ts b/packages/api-headless-cms/src/crud/contentEntry/abstractions/IGetLatestRevisionByEntryId.ts similarity index 100% rename from packages/api-headless-cms/src/crud/contentEntry/adstractions/IGetLatestRevisionByEntryId.ts rename to packages/api-headless-cms/src/crud/contentEntry/abstractions/IGetLatestRevisionByEntryId.ts diff --git a/packages/api-headless-cms/src/crud/contentEntry/adstractions/IGetPreviousRevisionByEntryId.ts b/packages/api-headless-cms/src/crud/contentEntry/abstractions/IGetPreviousRevisionByEntryId.ts similarity index 100% rename from packages/api-headless-cms/src/crud/contentEntry/adstractions/IGetPreviousRevisionByEntryId.ts rename to packages/api-headless-cms/src/crud/contentEntry/abstractions/IGetPreviousRevisionByEntryId.ts diff --git a/packages/api-headless-cms/src/crud/contentEntry/adstractions/IGetPublishedEntriesByIds.ts b/packages/api-headless-cms/src/crud/contentEntry/abstractions/IGetPublishedEntriesByIds.ts similarity index 100% rename from packages/api-headless-cms/src/crud/contentEntry/adstractions/IGetPublishedEntriesByIds.ts rename to packages/api-headless-cms/src/crud/contentEntry/abstractions/IGetPublishedEntriesByIds.ts diff --git a/packages/api-headless-cms/src/crud/contentEntry/adstractions/IGetPublishedRevisionByEntryId.ts b/packages/api-headless-cms/src/crud/contentEntry/abstractions/IGetPublishedRevisionByEntryId.ts similarity index 100% rename from packages/api-headless-cms/src/crud/contentEntry/adstractions/IGetPublishedRevisionByEntryId.ts rename to packages/api-headless-cms/src/crud/contentEntry/abstractions/IGetPublishedRevisionByEntryId.ts diff --git a/packages/api-headless-cms/src/crud/contentEntry/adstractions/IGetRevisionById.ts b/packages/api-headless-cms/src/crud/contentEntry/abstractions/IGetRevisionById.ts similarity index 100% rename from packages/api-headless-cms/src/crud/contentEntry/adstractions/IGetRevisionById.ts rename to packages/api-headless-cms/src/crud/contentEntry/abstractions/IGetRevisionById.ts diff --git a/packages/api-headless-cms/src/crud/contentEntry/adstractions/IGetRevisionsByEntryId.ts b/packages/api-headless-cms/src/crud/contentEntry/abstractions/IGetRevisionsByEntryId.ts similarity index 100% rename from packages/api-headless-cms/src/crud/contentEntry/adstractions/IGetRevisionsByEntryId.ts rename to packages/api-headless-cms/src/crud/contentEntry/abstractions/IGetRevisionsByEntryId.ts diff --git a/packages/api-headless-cms/src/crud/contentEntry/adstractions/IListEntries.ts b/packages/api-headless-cms/src/crud/contentEntry/abstractions/IListEntries.ts similarity index 100% rename from packages/api-headless-cms/src/crud/contentEntry/adstractions/IListEntries.ts rename to packages/api-headless-cms/src/crud/contentEntry/abstractions/IListEntries.ts diff --git a/packages/api-headless-cms/src/crud/contentEntry/adstractions/IListEntriesOperation.ts b/packages/api-headless-cms/src/crud/contentEntry/abstractions/IListEntriesOperation.ts similarity index 100% rename from packages/api-headless-cms/src/crud/contentEntry/adstractions/IListEntriesOperation.ts rename to packages/api-headless-cms/src/crud/contentEntry/abstractions/IListEntriesOperation.ts diff --git a/packages/api-headless-cms/src/crud/contentEntry/adstractions/IMoveEntryToBinOperation.ts b/packages/api-headless-cms/src/crud/contentEntry/abstractions/IMoveEntryToBinOperation.ts similarity index 100% rename from packages/api-headless-cms/src/crud/contentEntry/adstractions/IMoveEntryToBinOperation.ts rename to packages/api-headless-cms/src/crud/contentEntry/abstractions/IMoveEntryToBinOperation.ts diff --git a/packages/api-headless-cms/src/crud/contentEntry/adstractions/index.ts b/packages/api-headless-cms/src/crud/contentEntry/abstractions/index.ts similarity index 100% rename from packages/api-headless-cms/src/crud/contentEntry/adstractions/index.ts rename to packages/api-headless-cms/src/crud/contentEntry/abstractions/index.ts diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/DeleteEntry.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/DeleteEntry.ts index 116b97cedb9..9ff995ba402 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/DeleteEntry.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/DeleteEntry.ts @@ -4,7 +4,7 @@ import { IDeleteEntry, IDeleteEntryOperation, IGetLatestRevisionByEntryId -} from "../../adstractions"; +} from "../../abstractions"; import { CmsDeleteEntryOptions, CmsEntry, CmsModel } from "~/types"; import { TransformEntryDelete } from "./TransformEntryDelete"; diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/DeleteEntryOperation.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/DeleteEntryOperation.ts index 06ae4ea5e22..37af06509c2 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/DeleteEntryOperation.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/DeleteEntryOperation.ts @@ -1,4 +1,4 @@ -import { IDeleteEntryOperation } from "../../adstractions"; +import { IDeleteEntryOperation } from "../../abstractions"; import { CmsEntryStorageOperations, CmsEntryStorageOperationsDeleteParams, diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/DeleteEntryOperationWithEvents.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/DeleteEntryOperationWithEvents.ts index 413d6a48ff5..89501227e58 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/DeleteEntryOperationWithEvents.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/DeleteEntryOperationWithEvents.ts @@ -1,5 +1,5 @@ import WebinyError from "@webiny/error"; -import { IDeleteEntryOperation } from "../../adstractions"; +import { IDeleteEntryOperation } from "../../abstractions"; import { CmsEntryStorageOperationsDeleteParams, CmsModel } from "~/types"; import { DeleteEntryUseCasesTopics } from "./index"; diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/DeleteEntrySecure.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/DeleteEntrySecure.ts index 1443856b89f..ed7e6d652e1 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/DeleteEntrySecure.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/DeleteEntrySecure.ts @@ -1,4 +1,4 @@ -import { IDeleteEntry } from "~/crud/contentEntry/adstractions"; +import { IDeleteEntry } from "~/crud/contentEntry/abstractions"; import { AccessControl } from "~/crud/AccessControl/AccessControl"; import { CmsDeleteEntryOptions, CmsModel } from "~/types"; diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/MoveEntryToBin.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/MoveEntryToBin.ts index 34ad79a5cb7..46381690546 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/MoveEntryToBin.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/MoveEntryToBin.ts @@ -3,7 +3,7 @@ import { IDeleteEntry, IGetLatestRevisionByEntryId, IMoveEntryToBinOperation -} from "~/crud/contentEntry/adstractions"; +} from "~/crud/contentEntry/abstractions"; import { TransformEntryMoveToBin } from "./TransformEntryMoveToBin"; import { CmsModel } from "~/types"; diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/MoveEntryToBinOperation.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/MoveEntryToBinOperation.ts index 9c05135d27a..8420bb49905 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/MoveEntryToBinOperation.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/MoveEntryToBinOperation.ts @@ -1,4 +1,4 @@ -import { IMoveEntryToBinOperation } from "~/crud/contentEntry/adstractions"; +import { IMoveEntryToBinOperation } from "~/crud/contentEntry/abstractions"; import { CmsEntryStorageOperations, CmsEntryStorageOperationsMoveToBinParams, diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/MoveEntryToBinOperationWithEvents.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/MoveEntryToBinOperationWithEvents.ts index fd630a8c8ce..1d0e120cd04 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/MoveEntryToBinOperationWithEvents.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/MoveEntryToBinOperationWithEvents.ts @@ -1,5 +1,5 @@ import WebinyError from "@webiny/error"; -import { IMoveEntryToBinOperation } from "../../adstractions"; +import { IMoveEntryToBinOperation } from "../../abstractions"; import { CmsEntryStorageOperationsMoveToBinParams, CmsModel } from "~/types"; import { DeleteEntryUseCasesTopics } from "./index"; diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/index.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/index.ts index 996e9a2b459..365aefcdbf2 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/index.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/DeleteEntry/index.ts @@ -17,7 +17,7 @@ import { } from "~/types"; import { AccessControl } from "~/crud/AccessControl/AccessControl"; import { SecurityIdentity } from "@webiny/api-security/types"; -import { IGetLatestRevisionByEntryId } from "~/crud/contentEntry/adstractions"; +import { IGetLatestRevisionByEntryId } from "~/crud/contentEntry/abstractions"; export interface DeleteEntryUseCasesTopics { onEntryBeforeDelete: Topic; diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetEntriesByIds/GetEntriesByIds.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetEntriesByIds/GetEntriesByIds.ts index 27dc499baac..d2a6e081588 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetEntriesByIds/GetEntriesByIds.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetEntriesByIds/GetEntriesByIds.ts @@ -1,4 +1,4 @@ -import { IGetEntriesByIds } from "../../adstractions"; +import { IGetEntriesByIds } from "../../abstractions"; import { CmsEntryStorageOperations, CmsEntryStorageOperationsGetByIdsParams, diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetEntriesByIds/GetEntriesByIdsNotDeleted.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetEntriesByIds/GetEntriesByIdsNotDeleted.ts index ad6e1f9e52c..40b5781ad56 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetEntriesByIds/GetEntriesByIdsNotDeleted.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetEntriesByIds/GetEntriesByIdsNotDeleted.ts @@ -1,4 +1,4 @@ -import { IGetEntriesByIds } from "../../adstractions"; +import { IGetEntriesByIds } from "../../abstractions"; import { CmsEntryStorageOperationsGetByIdsParams, CmsModel } from "~/types"; export class GetEntriesByIdsNotDeleted implements IGetEntriesByIds { diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetEntriesByIds/GetEntriesByIdsSecure.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetEntriesByIds/GetEntriesByIdsSecure.ts index 1bcb5b7c6ff..9ba2e6a3a6d 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetEntriesByIds/GetEntriesByIdsSecure.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetEntriesByIds/GetEntriesByIdsSecure.ts @@ -1,6 +1,6 @@ import { AccessControl } from "~/crud/AccessControl/AccessControl"; import { filterAsync } from "~/utils/filterAsync"; -import { IGetEntriesByIds } from "../../adstractions"; +import { IGetEntriesByIds } from "../../abstractions"; import { CmsEntryStorageOperationsGetByIdsParams, CmsModel } from "~/types"; export class GetEntriesByIdsSecure implements IGetEntriesByIds { diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestEntriesByIds/GetLatestEntriesByIds.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestEntriesByIds/GetLatestEntriesByIds.ts index 4cfdf119992..19dd4a4699f 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestEntriesByIds/GetLatestEntriesByIds.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestEntriesByIds/GetLatestEntriesByIds.ts @@ -1,4 +1,4 @@ -import { IGetLatestEntriesByIds } from "../../adstractions"; +import { IGetLatestEntriesByIds } from "../../abstractions"; import { CmsEntryStorageOperations, CmsEntryStorageOperationsGetLatestByIdsParams, diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestEntriesByIds/GetLatestEntriesByIdsNotDeleted.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestEntriesByIds/GetLatestEntriesByIdsNotDeleted.ts index 22c790100db..b3932741492 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestEntriesByIds/GetLatestEntriesByIdsNotDeleted.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestEntriesByIds/GetLatestEntriesByIdsNotDeleted.ts @@ -1,4 +1,4 @@ -import { IGetLatestEntriesByIds } from "../../adstractions"; +import { IGetLatestEntriesByIds } from "../../abstractions"; import { CmsEntryStorageOperationsGetLatestByIdsParams, CmsModel } from "~/types"; export class GetLatestEntriesByIdsNotDeleted implements IGetLatestEntriesByIds { diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestEntriesByIds/GetLatestEntriesByIdsSecure.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestEntriesByIds/GetLatestEntriesByIdsSecure.ts index e1d6d1ca833..06c3242c57a 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestEntriesByIds/GetLatestEntriesByIdsSecure.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestEntriesByIds/GetLatestEntriesByIdsSecure.ts @@ -1,6 +1,6 @@ import { AccessControl } from "~/crud/AccessControl/AccessControl"; import { filterAsync } from "~/utils/filterAsync"; -import { IGetLatestEntriesByIds } from "../../adstractions"; +import { IGetLatestEntriesByIds } from "../../abstractions"; import { CmsEntryStorageOperationsGetLatestByIdsParams, CmsModel } from "~/types"; export class GetLatestEntriesByIdsSecure implements IGetLatestEntriesByIds { diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestRevisionByEntryId/GetLatestRevisionByEntryId.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestRevisionByEntryId/GetLatestRevisionByEntryId.ts index 5cfde72d8ae..3bcc4cd528b 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestRevisionByEntryId/GetLatestRevisionByEntryId.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestRevisionByEntryId/GetLatestRevisionByEntryId.ts @@ -1,4 +1,4 @@ -import { IGetLatestRevisionByEntryId } from "../../adstractions"; +import { IGetLatestRevisionByEntryId } from "../../abstractions"; import { CmsEntryStorageOperations, CmsEntryStorageOperationsGetLatestRevisionParams, diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestRevisionByEntryId/GetLatestRevisionByEntryIdNotDeleted.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestRevisionByEntryId/GetLatestRevisionByEntryIdNotDeleted.ts index 9b3c3c939f1..159b0df902f 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestRevisionByEntryId/GetLatestRevisionByEntryIdNotDeleted.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetLatestRevisionByEntryId/GetLatestRevisionByEntryIdNotDeleted.ts @@ -1,4 +1,4 @@ -import { IGetLatestRevisionByEntryId } from "../../adstractions"; +import { IGetLatestRevisionByEntryId } from "../../abstractions"; import { CmsEntryStorageOperationsGetLatestRevisionParams, CmsModel } from "~/types"; export class GetLatestRevisionByEntryIdNotDeleted implements IGetLatestRevisionByEntryId { diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPreviousRevisionByEntryId/GetPreviousRevisionByEntryId.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPreviousRevisionByEntryId/GetPreviousRevisionByEntryId.ts index 055af5fadb3..07b133e613b 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPreviousRevisionByEntryId/GetPreviousRevisionByEntryId.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPreviousRevisionByEntryId/GetPreviousRevisionByEntryId.ts @@ -1,4 +1,4 @@ -import { IGetPreviousRevisionByEntryId } from "../../adstractions"; +import { IGetPreviousRevisionByEntryId } from "../../abstractions"; import { CmsEntryStorageOperations, CmsEntryStorageOperationsGetPreviousRevisionParams, diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPreviousRevisionByEntryId/GetPreviousRevisionByEntryIdNotDeleted.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPreviousRevisionByEntryId/GetPreviousRevisionByEntryIdNotDeleted.ts index b7a5430e074..0cd443593f0 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPreviousRevisionByEntryId/GetPreviousRevisionByEntryIdNotDeleted.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPreviousRevisionByEntryId/GetPreviousRevisionByEntryIdNotDeleted.ts @@ -1,4 +1,4 @@ -import { IGetPreviousRevisionByEntryId } from "../../adstractions"; +import { IGetPreviousRevisionByEntryId } from "../../abstractions"; import { CmsEntryStorageOperationsGetPreviousRevisionParams, CmsModel } from "~/types"; export class GetPreviousRevisionByEntryIdNotDeleted implements IGetPreviousRevisionByEntryId { diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedEntriesByIds/GetPublishedEntriesByIds.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedEntriesByIds/GetPublishedEntriesByIds.ts index 7bb7ef71942..5e4bdbcb79a 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedEntriesByIds/GetPublishedEntriesByIds.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedEntriesByIds/GetPublishedEntriesByIds.ts @@ -1,4 +1,4 @@ -import { IGetPublishedEntriesByIds } from "../../adstractions"; +import { IGetPublishedEntriesByIds } from "../../abstractions"; import { CmsEntryStorageOperations, CmsEntryStorageOperationsGetPublishedByIdsParams, diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedEntriesByIds/GetPublishedEntriesByIdsNotDeleted.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedEntriesByIds/GetPublishedEntriesByIdsNotDeleted.ts index facfdbb1e83..2fc8abffef7 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedEntriesByIds/GetPublishedEntriesByIdsNotDeleted.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedEntriesByIds/GetPublishedEntriesByIdsNotDeleted.ts @@ -1,4 +1,4 @@ -import { IGetPublishedEntriesByIds } from "../../adstractions"; +import { IGetPublishedEntriesByIds } from "../../abstractions"; import { CmsEntryStorageOperationsGetPublishedByIdsParams, CmsModel } from "~/types"; export class GetPublishedEntriesByIdsNotDeleted implements IGetPublishedEntriesByIds { diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedEntriesByIds/GetPublishedEntriesByIdsSecure.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedEntriesByIds/GetPublishedEntriesByIdsSecure.ts index ae453129658..c3259de8d31 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedEntriesByIds/GetPublishedEntriesByIdsSecure.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedEntriesByIds/GetPublishedEntriesByIdsSecure.ts @@ -1,6 +1,6 @@ import { AccessControl } from "~/crud/AccessControl/AccessControl"; import { filterAsync } from "~/utils/filterAsync"; -import { IGetPublishedEntriesByIds } from "../../adstractions"; +import { IGetPublishedEntriesByIds } from "../../abstractions"; import { CmsEntryStorageOperationsGetPublishedByIdsParams, CmsModel } from "~/types"; export class GetPublishedEntriesByIdsSecure implements IGetPublishedEntriesByIds { diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedRevisionByEntryId/GetPublishedRevisionByEntryId.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedRevisionByEntryId/GetPublishedRevisionByEntryId.ts index 1c083c8cd15..cdeadfd8950 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedRevisionByEntryId/GetPublishedRevisionByEntryId.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedRevisionByEntryId/GetPublishedRevisionByEntryId.ts @@ -1,4 +1,4 @@ -import { IGetPublishedRevisionByEntryId } from "../../adstractions"; +import { IGetPublishedRevisionByEntryId } from "../../abstractions"; import { CmsEntryStorageOperations, CmsEntryStorageOperationsGetPublishedRevisionParams, diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedRevisionByEntryId/GetPublishedRevisionByEntryIdNotDeleted.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedRevisionByEntryId/GetPublishedRevisionByEntryIdNotDeleted.ts index bb063894c24..d9ce26a6c0c 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedRevisionByEntryId/GetPublishedRevisionByEntryIdNotDeleted.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetPublishedRevisionByEntryId/GetPublishedRevisionByEntryIdNotDeleted.ts @@ -1,4 +1,4 @@ -import { IGetPublishedRevisionByEntryId } from "../../adstractions"; +import { IGetPublishedRevisionByEntryId } from "../../abstractions"; import { CmsEntryStorageOperationsGetPublishedRevisionParams, CmsModel } from "~/types"; export class GetPublishedRevisionByEntryIdNotDeleted implements IGetPublishedRevisionByEntryId { diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetRevisionById/GetRevisionById.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetRevisionById/GetRevisionById.ts index 89ff34d76b9..edc85f7edd0 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetRevisionById/GetRevisionById.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetRevisionById/GetRevisionById.ts @@ -1,4 +1,4 @@ -import { IGetRevisionById } from "../../adstractions"; +import { IGetRevisionById } from "../../abstractions"; import { CmsEntryStorageOperations, CmsEntryStorageOperationsGetRevisionParams, diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetRevisionById/GetRevisionByIdNotDeleted.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetRevisionById/GetRevisionByIdNotDeleted.ts index f931578c3e1..19c4ccca502 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetRevisionById/GetRevisionByIdNotDeleted.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetRevisionById/GetRevisionByIdNotDeleted.ts @@ -1,4 +1,4 @@ -import { IGetRevisionById } from "../../adstractions"; +import { IGetRevisionById } from "../../abstractions"; import { CmsEntryStorageOperationsGetRevisionParams, CmsModel } from "~/types"; export class GetRevisionByIdNotDeleted implements IGetRevisionById { diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetRevisionsByEntryId/GetRevisionsByEntryId.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetRevisionsByEntryId/GetRevisionsByEntryId.ts index 69461430028..61987c02c56 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetRevisionsByEntryId/GetRevisionsByEntryId.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetRevisionsByEntryId/GetRevisionsByEntryId.ts @@ -1,4 +1,4 @@ -import { IGetRevisionsByEntryId } from "../../adstractions"; +import { IGetRevisionsByEntryId } from "../../abstractions"; import { CmsEntryStorageOperations, CmsEntryStorageOperationsGetRevisionParams, diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetRevisionsByEntryId/GetRevisionsByEntryIdNotDeleted.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetRevisionsByEntryId/GetRevisionsByEntryIdNotDeleted.ts index b9c7c77e327..516ef4c82b2 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/GetRevisionsByEntryId/GetRevisionsByEntryIdNotDeleted.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/GetRevisionsByEntryId/GetRevisionsByEntryIdNotDeleted.ts @@ -1,4 +1,4 @@ -import { IGetRevisionsByEntryId } from "../../adstractions"; +import { IGetRevisionsByEntryId } from "../../abstractions"; import { CmsEntryStorageOperationsGetRevisionParams, CmsModel } from "~/types"; export class GetRevisionsByEntryIdNotDeleted implements IGetRevisionsByEntryId { diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/GetEntry.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/GetEntry.ts index 5659c555287..9af112eb798 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/GetEntry.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/GetEntry.ts @@ -1,4 +1,4 @@ -import { IGetEntry, IListEntriesOperation } from "~/crud/contentEntry/adstractions"; +import { IGetEntry, IListEntriesOperation } from "~/crud/contentEntry/abstractions"; import { CmsEntryGetParams, CmsModel } from "~/types"; import { NotFoundError } from "@webiny/handler-graphql"; diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/GetEntrySecure.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/GetEntrySecure.ts index f984d4a6d13..7d5dc7edbe0 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/GetEntrySecure.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/GetEntrySecure.ts @@ -1,5 +1,5 @@ import { AccessControl } from "~/crud/AccessControl/AccessControl"; -import { IGetEntry } from "../../adstractions"; +import { IGetEntry } from "../../abstractions"; import { CmsEntryGetParams, CmsModel } from "~/types"; import { SecurityIdentity } from "@webiny/api-security/types"; diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntries.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntries.ts index d324b076c0d..4624b49ae4a 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntries.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntries.ts @@ -1,4 +1,4 @@ -import { IListEntriesOperation, IListEntries } from "~/crud/contentEntry/adstractions"; +import { IListEntriesOperation, IListEntries } from "~/crud/contentEntry/abstractions"; import { CmsEntry, CmsEntryListParams, CmsEntryMeta, CmsEntryValues, CmsModel } from "~/types"; import WebinyError from "@webiny/error"; diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperation.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperation.ts index 3258ad77cae..4bdb8d41954 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperation.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperation.ts @@ -1,4 +1,4 @@ -import { IListEntriesOperation } from "../../adstractions"; +import { IListEntriesOperation } from "../../abstractions"; import { CmsEntryStorageOperations, CmsEntryStorageOperationsListParams, CmsModel } from "~/types"; export class ListEntriesOperation implements IListEntriesOperation { diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationDeleted.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationDeleted.ts index 46e826ea95c..5ba6b8456db 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationDeleted.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationDeleted.ts @@ -1,4 +1,4 @@ -import { IListEntriesOperation } from "../../adstractions"; +import { IListEntriesOperation } from "../../abstractions"; import { CmsEntryStorageOperationsListParams, CmsModel } from "~/types"; export class ListEntriesOperationDeleted implements IListEntriesOperation { diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationLatest.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationLatest.ts index 2dfdd76bdcc..95390865fbc 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationLatest.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationLatest.ts @@ -1,4 +1,4 @@ -import { IListEntriesOperation } from "../../adstractions"; +import { IListEntriesOperation } from "../../abstractions"; import { CmsEntryStorageOperationsListParams, CmsModel } from "~/types"; export class ListEntriesOperationLatest implements IListEntriesOperation { diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationNotDeleted.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationNotDeleted.ts index 84075d7ff64..0edb2725e79 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationNotDeleted.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationNotDeleted.ts @@ -1,4 +1,4 @@ -import { IListEntriesOperation } from "../../adstractions"; +import { IListEntriesOperation } from "../../abstractions"; import { CmsEntryStorageOperationsListParams, CmsModel } from "~/types"; export class ListEntriesOperationNotDeleted implements IListEntriesOperation { diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationPublished.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationPublished.ts index 0488f139e9a..348abffd0c5 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationPublished.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationPublished.ts @@ -1,4 +1,4 @@ -import { IListEntriesOperation } from "../../adstractions"; +import { IListEntriesOperation } from "../../abstractions"; import { CmsEntryStorageOperationsListParams, CmsModel } from "~/types"; export class ListEntriesOperationPublished implements IListEntriesOperation { diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationWithEvents.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationWithEvents.ts index e2e9fa3314b..73a59e273ab 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationWithEvents.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationWithEvents.ts @@ -1,4 +1,4 @@ -import { IListEntriesOperation } from "../../adstractions"; +import { IListEntriesOperation } from "../../abstractions"; import { CmsEntryStorageOperationsListParams, CmsModel } from "~/types"; import { ListEntriesUseCasesTopics } from "./index"; diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationWithSearchableFields.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationWithSearchableFields.ts index 74539c33dd5..cbdfbb4e289 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationWithSearchableFields.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationWithSearchableFields.ts @@ -1,4 +1,4 @@ -import { IListEntriesOperation } from "../../adstractions"; +import { IListEntriesOperation } from "../../abstractions"; import { CmsContext, CmsEntryStorageOperationsListParams, CmsModel } from "~/types"; import { getSearchableFields } from "~/crud/contentEntry/searchableFields"; diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationWithSort.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationWithSort.ts index 3a6253dceee..6ef8842b17d 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationWithSort.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationWithSort.ts @@ -1,4 +1,4 @@ -import { IListEntriesOperation } from "../../adstractions"; +import { IListEntriesOperation } from "../../abstractions"; import { CmsEntryListSort, CmsEntryStorageOperationsListParams, CmsModel } from "~/types"; export class ListEntriesOperationWithSort implements IListEntriesOperation { diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationWithStatusCheck.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationWithStatusCheck.ts index c97a3ec991d..9be26b8c537 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationWithStatusCheck.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesOperationWithStatusCheck.ts @@ -1,5 +1,5 @@ import WebinyError from "@webiny/error"; -import { IListEntriesOperation } from "../../adstractions"; +import { IListEntriesOperation } from "../../abstractions"; import { CmsEntryStorageOperationsListParams, CmsModel } from "~/types"; export class ListEntriesOperationWithStatusCheck implements IListEntriesOperation { diff --git a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesSecure.ts b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesSecure.ts index c98c709754c..d8614f4228e 100644 --- a/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesSecure.ts +++ b/packages/api-headless-cms/src/crud/contentEntry/useCases/ListEntries/ListEntriesSecure.ts @@ -1,5 +1,5 @@ import { AccessControl } from "~/crud/AccessControl/AccessControl"; -import { IListEntries } from "../../adstractions"; +import { IListEntries } from "../../abstractions"; import { CmsEntry, CmsEntryListParams, CmsEntryMeta, CmsEntryValues, CmsModel } from "~/types"; import { SecurityIdentity } from "@webiny/api-security/types";