@nizza/core 0.3.0-alpha.1 → 0.3.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/index.cjs +22 -0
- package/{src → dist}/index.d.ts +1 -0
- package/dist/index.mjs +2791 -0
- package/{src → dist}/lib/domain/index.d.ts +0 -1
- package/{src/lib/domain → dist/lib}/errors/app.d.ts +3 -0
- package/{src → dist}/lib/providers/StoreProvider.d.ts +2 -3
- package/{src → dist}/lib/stores/NizzaStore.d.ts +3 -0
- package/{src → dist}/lib/types/api-graphql-types.d.ts +257 -57
- package/dist/lib/types/app-module.d.ts +17 -0
- package/dist/lib/types/mobx-store.d.ts +3 -0
- package/dist/lib/types/products/product.d.ts +16 -0
- package/{src → dist}/lib/types/utils.d.ts +6 -5
- package/{src → dist}/lib/utils/Result.d.ts +1 -1
- package/{src → dist}/lib/utils/customStorage/utils.d.ts +1 -1
- package/dist/lib/utils/fingerprint.d.ts +1 -0
- package/{src → dist}/lib/utils/helpers.d.ts +1 -1
- package/{src → dist}/lib/utils/lazyLoad.d.ts +3 -3
- package/dist/package.json +21 -0
- package/dist/typings/libs.d.ts +0 -0
- package/package.json +10 -13
- package/src/environments/environment.d.js +0 -3
- package/src/environments/environment.d.js.map +0 -1
- package/src/environments/environment.js +0 -28
- package/src/environments/environment.js.map +0 -1
- package/src/environments/environment.prod.d.js +0 -3
- package/src/environments/environment.prod.d.js.map +0 -1
- package/src/environments/environment.prod.d.ts +0 -20
- package/src/environments/environment.prod.js +0 -27
- package/src/environments/environment.prod.js.map +0 -1
- package/src/environments/environment.staging.d.js +0 -3
- package/src/environments/environment.staging.d.js.map +0 -1
- package/src/environments/environment.staging.d.ts +0 -20
- package/src/environments/environment.staging.js +0 -27
- package/src/environments/environment.staging.js.map +0 -1
- package/src/index.d.js +0 -8
- package/src/index.d.js.map +0 -1
- package/src/index.js +0 -8
- package/src/index.js.map +0 -1
- package/src/lib/constants/index.d.js +0 -3
- package/src/lib/constants/index.d.js.map +0 -1
- package/src/lib/constants/index.js +0 -3
- package/src/lib/constants/index.js.map +0 -1
- package/src/lib/constants/products.d.js +0 -3
- package/src/lib/constants/products.d.js.map +0 -1
- package/src/lib/constants/products.js +0 -6
- package/src/lib/constants/products.js.map +0 -1
- package/src/lib/domain/AggregateRoot.d.js +0 -3
- package/src/lib/domain/AggregateRoot.d.js.map +0 -1
- package/src/lib/domain/AggregateRoot.js +0 -22
- package/src/lib/domain/AggregateRoot.js.map +0 -1
- package/src/lib/domain/BaseMobxStore.d.js +0 -3
- package/src/lib/domain/BaseMobxStore.d.js.map +0 -1
- package/src/lib/domain/BaseMobxStore.js +0 -4
- package/src/lib/domain/BaseMobxStore.js.map +0 -1
- package/src/lib/domain/ValueObject.d.js +0 -3
- package/src/lib/domain/ValueObject.d.js.map +0 -1
- package/src/lib/domain/ValueObject.js +0 -12
- package/src/lib/domain/ValueObject.js.map +0 -1
- package/src/lib/domain/errors/DomainError.d.js +0 -3
- package/src/lib/domain/errors/DomainError.d.js.map +0 -1
- package/src/lib/domain/errors/DomainError.js +0 -18
- package/src/lib/domain/errors/DomainError.js.map +0 -1
- package/src/lib/domain/errors/api.d.js +0 -3
- package/src/lib/domain/errors/api.d.js.map +0 -1
- package/src/lib/domain/errors/api.js +0 -8
- package/src/lib/domain/errors/api.js.map +0 -1
- package/src/lib/domain/errors/app.d.js +0 -3
- package/src/lib/domain/errors/app.d.js.map +0 -1
- package/src/lib/domain/errors/app.js +0 -14
- package/src/lib/domain/errors/app.js.map +0 -1
- package/src/lib/domain/errors/index.d.js +0 -5
- package/src/lib/domain/errors/index.d.js.map +0 -1
- package/src/lib/domain/errors/index.js +0 -5
- package/src/lib/domain/errors/index.js.map +0 -1
- package/src/lib/domain/index.d.js +0 -6
- package/src/lib/domain/index.d.js.map +0 -1
- package/src/lib/domain/index.js +0 -6
- package/src/lib/domain/index.js.map +0 -1
- package/src/lib/providers/StoreProvider.d.js +0 -3
- package/src/lib/providers/StoreProvider.d.js.map +0 -1
- package/src/lib/providers/StoreProvider.js +0 -36
- package/src/lib/providers/StoreProvider.js.map +0 -1
- package/src/lib/providers/index.d.js +0 -3
- package/src/lib/providers/index.d.js.map +0 -1
- package/src/lib/providers/index.js +0 -3
- package/src/lib/providers/index.js.map +0 -1
- package/src/lib/stores/NizzaStore.d.js +0 -3
- package/src/lib/stores/NizzaStore.d.js.map +0 -1
- package/src/lib/stores/NizzaStore.js +0 -18
- package/src/lib/stores/NizzaStore.js.map +0 -1
- package/src/lib/stores/index.d.js +0 -3
- package/src/lib/stores/index.d.js.map +0 -1
- package/src/lib/stores/index.js +0 -3
- package/src/lib/stores/index.js.map +0 -1
- package/src/lib/types/api-graphql-types.d.js +0 -3
- package/src/lib/types/api-graphql-types.d.js.map +0 -1
- package/src/lib/types/api-graphql-types.js +0 -2003
- package/src/lib/types/api-graphql-types.js.map +0 -1
- package/src/lib/types/app-module.d.js +0 -3
- package/src/lib/types/app-module.d.js.map +0 -1
- package/src/lib/types/app-module.d.ts +0 -10
- package/src/lib/types/app-module.js +0 -3
- package/src/lib/types/app-module.js.map +0 -1
- package/src/lib/types/index.d.js +0 -9
- package/src/lib/types/index.d.js.map +0 -1
- package/src/lib/types/index.js +0 -9
- package/src/lib/types/index.js.map +0 -1
- package/src/lib/types/mobx-store.d.js +0 -3
- package/src/lib/types/mobx-store.d.js.map +0 -1
- package/src/lib/types/mobx-store.d.ts +0 -3
- package/src/lib/types/mobx-store.js +0 -3
- package/src/lib/types/mobx-store.js.map +0 -1
- package/src/lib/types/nizzaGlobalObject.d.js +0 -3
- package/src/lib/types/nizzaGlobalObject.d.js.map +0 -1
- package/src/lib/types/nizzaGlobalObject.js +0 -3
- package/src/lib/types/nizzaGlobalObject.js.map +0 -1
- package/src/lib/types/products/base.d.js +0 -8
- package/src/lib/types/products/base.d.js.map +0 -1
- package/src/lib/types/products/base.js +0 -8
- package/src/lib/types/products/base.js.map +0 -1
- package/src/lib/types/products/index.d.js +0 -4
- package/src/lib/types/products/index.d.js.map +0 -1
- package/src/lib/types/products/index.js +0 -4
- package/src/lib/types/products/index.js.map +0 -1
- package/src/lib/types/products/product.d.js +0 -3
- package/src/lib/types/products/product.d.js.map +0 -1
- package/src/lib/types/products/product.d.ts +0 -16
- package/src/lib/types/products/product.js +0 -3
- package/src/lib/types/products/product.js.map +0 -1
- package/src/lib/types/utils.d.js +0 -3
- package/src/lib/types/utils.d.js.map +0 -1
- package/src/lib/types/utils.js +0 -4
- package/src/lib/types/utils.js.map +0 -1
- package/src/lib/utils/Result.d.js +0 -3
- package/src/lib/utils/Result.d.js.map +0 -1
- package/src/lib/utils/Result.js +0 -63
- package/src/lib/utils/Result.js.map +0 -1
- package/src/lib/utils/apiCall.d.js +0 -3
- package/src/lib/utils/apiCall.d.js.map +0 -1
- package/src/lib/utils/apiCall.js +0 -28
- package/src/lib/utils/apiCall.js.map +0 -1
- package/src/lib/utils/customStorage/MemoryStorage.d.js +0 -3
- package/src/lib/utils/customStorage/MemoryStorage.d.js.map +0 -1
- package/src/lib/utils/customStorage/MemoryStorage.js +0 -44
- package/src/lib/utils/customStorage/MemoryStorage.js.map +0 -1
- package/src/lib/utils/customStorage/index.d.js +0 -3
- package/src/lib/utils/customStorage/index.d.js.map +0 -1
- package/src/lib/utils/customStorage/index.js +0 -36
- package/src/lib/utils/customStorage/index.js.map +0 -1
- package/src/lib/utils/customStorage/utils.d.js +0 -3
- package/src/lib/utils/customStorage/utils.d.js.map +0 -1
- package/src/lib/utils/customStorage/utils.js +0 -24
- package/src/lib/utils/customStorage/utils.js.map +0 -1
- package/src/lib/utils/fingerprint.d.js +0 -3
- package/src/lib/utils/fingerprint.d.js.map +0 -1
- package/src/lib/utils/fingerprint.d.ts +0 -1
- package/src/lib/utils/fingerprint.js +0 -14
- package/src/lib/utils/fingerprint.js.map +0 -1
- package/src/lib/utils/helpers.d.js +0 -3
- package/src/lib/utils/helpers.d.js.map +0 -1
- package/src/lib/utils/helpers.js +0 -15
- package/src/lib/utils/helpers.js.map +0 -1
- package/src/lib/utils/index.d.js +0 -8
- package/src/lib/utils/index.d.js.map +0 -1
- package/src/lib/utils/index.js +0 -8
- package/src/lib/utils/index.js.map +0 -1
- package/src/lib/utils/lazyLoad.d.js +0 -3
- package/src/lib/utils/lazyLoad.d.js.map +0 -1
- package/src/lib/utils/lazyLoad.js +0 -17
- package/src/lib/utils/lazyLoad.js.map +0 -1
- package/src/typings/libs.d.js +0 -2
- package/src/typings/libs.d.js.map +0 -1
- package/vite-env.d.js +0 -3
- package/vite-env.d.js.map +0 -1
- package/vite.config.js +0 -10
- package/vite.config.js.map +0 -1
- /package/{src → dist}/environments/environment.d.ts +0 -0
- /package/{src → dist}/lib/constants/index.d.ts +0 -0
- /package/{src → dist}/lib/constants/products.d.ts +0 -0
- /package/{src → dist}/lib/domain/AggregateRoot.d.ts +0 -0
- /package/{src → dist}/lib/domain/BaseMobxStore.d.ts +0 -0
- /package/{src → dist}/lib/domain/ValueObject.d.ts +0 -0
- /package/{src/lib/domain → dist/lib}/errors/DomainError.d.ts +0 -0
- /package/{src/lib/domain → dist/lib}/errors/api.d.ts +0 -0
- /package/{src/lib/domain → dist/lib}/errors/index.d.ts +0 -0
- /package/{src → dist}/lib/providers/index.d.ts +0 -0
- /package/{src → dist}/lib/stores/index.d.ts +0 -0
- /package/{src → dist}/lib/types/index.d.ts +0 -0
- /package/{src → dist}/lib/types/nizzaGlobalObject.d.ts +0 -0
- /package/{src → dist}/lib/types/products/base.d.ts +0 -0
- /package/{src → dist}/lib/types/products/index.d.ts +0 -0
- /package/{src → dist}/lib/utils/apiCall.d.ts +0 -0
- /package/{src → dist}/lib/utils/customStorage/MemoryStorage.d.ts +0 -0
- /package/{src → dist}/lib/utils/customStorage/index.d.ts +0 -0
- /package/{src → dist}/lib/utils/index.d.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/types/api-graphql-types.ts"],"sourcesContent":["import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\nexport type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };\nexport type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: string;\n String: string;\n Boolean: boolean;\n Int: number;\n Float: number;\n DateTime: any;\n JSON: any;\n};\n\nexport type Collection = {\n __typename?: 'Collection';\n account?: Maybe<Scalars['String']>;\n createdat?: Maybe<Scalars['DateTime']>;\n description?: Maybe<Scalars['String']>;\n duration?: Maybe<Scalars['String']>;\n id: Scalars['String'];\n isArray?: Maybe<Scalars['Boolean']>;\n method?: Maybe<Scalars['String']>;\n name: Scalars['String'];\n path?: Maybe<Scalars['String']>;\n products?: Maybe<Array<Product>>;\n status?: Maybe<Scalars['String']>;\n};\n\nexport type CollectionResult = CollectionSuccess | ErrorGeneral;\n\nexport type CollectionResultArray = CollectionSuccessArray | ErrorGeneral;\n\nexport type CollectionSuccess = {\n __typename?: 'CollectionSuccess';\n data?: Maybe<Collection>;\n duration?: Maybe<Scalars['String']>;\n isArray?: Maybe<Scalars['Boolean']>;\n method?: Maybe<Scalars['String']>;\n path?: Maybe<Scalars['String']>;\n};\n\nexport type CollectionSuccessArray = {\n __typename?: 'CollectionSuccessArray';\n data?: Maybe<Array<Collection>>;\n duration?: Maybe<Scalars['String']>;\n isArray?: Maybe<Scalars['Boolean']>;\n method?: Maybe<Scalars['String']>;\n path?: Maybe<Scalars['String']>;\n};\n\nexport type CreateCollectionInput = {\n account: Scalars['String'];\n description?: InputMaybe<Scalars['String']>;\n name: Scalars['String'];\n status?: InputMaybe<Status>;\n};\n\nexport type CustomPlayer = {\n __typename?: 'CustomPlayer';\n account: Scalars['String'];\n component: Scalars['String'];\n data: Scalars['JSON'];\n duration?: Maybe<Scalars['String']>;\n id: Scalars['String'];\n isArray?: Maybe<Scalars['Boolean']>;\n method?: Maybe<Scalars['String']>;\n path?: Maybe<Scalars['String']>;\n section: Scalars['String'];\n};\n\nexport type CustomPlayerInput = {\n account: Scalars['String'];\n data: Scalars['JSON'];\n id: Scalars['String'];\n section: Scalars['String'];\n};\n\nexport type CustomPlayerInputAccount = {\n account: Scalars['String'];\n};\n\nexport type CustomPlayerResult = CustomPlayerSuccess | ErrorGeneral;\n\nexport type CustomPlayerResultArray = CustomPlayerSuccessArray | ErrorGeneral;\n\nexport type CustomPlayerSuccess = {\n __typename?: 'CustomPlayerSuccess';\n data?: Maybe<CustomPlayer>;\n duration?: Maybe<Scalars['String']>;\n isArray?: Maybe<Scalars['Boolean']>;\n method?: Maybe<Scalars['String']>;\n path?: Maybe<Scalars['String']>;\n};\n\nexport type CustomPlayerSuccessArray = {\n __typename?: 'CustomPlayerSuccessArray';\n data?: Maybe<Array<CustomPlayer>>;\n duration?: Maybe<Scalars['String']>;\n isArray?: Maybe<Scalars['Boolean']>;\n method?: Maybe<Scalars['String']>;\n path?: Maybe<Scalars['String']>;\n};\n\nexport type Error = {\n message: Scalars['String'];\n statusCode: Scalars['String'];\n timestamp: Scalars['String'];\n};\n\nexport type ErrorGeneral = Error & {\n __typename?: 'ErrorGeneral';\n message: Scalars['String'];\n statusCode: Scalars['String'];\n timestamp: Scalars['String'];\n};\n\nexport type ManageCollectionProductInInput = {\n account: Scalars['String'];\n id: Scalars['String'];\n method: Methods;\n productId: Scalars['String'];\n};\n\nexport enum Methods {\n Add = 'add',\n Remove = 'remove'\n}\n\nexport type Mutation = {\n __typename?: 'Mutation';\n createCollection: CollectionResult;\n deleteAllCustomPlayer: CustomPlayerResult;\n deleteCollection: CollectionResult;\n manageCollectionProduct: CollectionResult;\n updateCollection: CollectionResult;\n updateCustomPlayer: CustomPlayerResult;\n};\n\n\nexport type MutationCreateCollectionArgs = {\n data: CreateCollectionInput;\n};\n\n\nexport type MutationDeleteAllCustomPlayerArgs = {\n data: CustomPlayerInputAccount;\n};\n\n\nexport type MutationDeleteCollectionArgs = {\n data: QueryInput;\n};\n\n\nexport type MutationManageCollectionProductArgs = {\n data: ManageCollectionProductInInput;\n};\n\n\nexport type MutationUpdateCollectionArgs = {\n data: UpdateCollectionInput;\n};\n\n\nexport type MutationUpdateCustomPlayerArgs = {\n data: CustomPlayerInput;\n};\n\nexport type Product = {\n __typename?: 'Product';\n account: Scalars['String'];\n createdat?: Maybe<Scalars['String']>;\n id: Scalars['String'];\n link?: Maybe<Scalars['String']>;\n pictures?: Maybe<Array<Scalars['String']>>;\n price: Scalars['Float'];\n salesprice?: Maybe<Scalars['Float']>;\n status?: Maybe<Status>;\n title: Scalars['String'];\n};\n\nexport type Query = {\n __typename?: 'Query';\n findCollection: CollectionResult;\n getAllCollection: CollectionResultArray;\n getAllCustomPlayer: CustomPlayerResultArray;\n searchCollection: CollectionResultArray;\n};\n\n\nexport type QueryFindCollectionArgs = {\n data: QueryInput;\n};\n\n\nexport type QueryGetAllCollectionArgs = {\n data: QueryInput;\n};\n\n\nexport type QueryGetAllCustomPlayerArgs = {\n data: QueryInput;\n};\n\n\nexport type QuerySearchCollectionArgs = {\n data: QueryInput;\n};\n\nexport type QueryInput = {\n account: Scalars['String'];\n id?: InputMaybe<Scalars['String']>;\n limit?: InputMaybe<Scalars['Float']>;\n page?: InputMaybe<Scalars['Float']>;\n search?: InputMaybe<Scalars['String']>;\n};\n\nexport enum Status {\n Active = 'active',\n Inactive = 'inactive'\n}\n\nexport type UpdateCollectionInput = {\n account: Scalars['String'];\n description?: InputMaybe<Scalars['String']>;\n id: Scalars['String'];\n name?: InputMaybe<Scalars['String']>;\n status?: InputMaybe<Status>;\n};\n\nexport type DeleteAllCustomizationMutationVariables = Exact<{\n data: CustomPlayerInputAccount;\n}>;\n\n\nexport type DeleteAllCustomizationMutation = { __typename?: 'Mutation', deleteAllCustomPlayer: { __typename: 'CustomPlayerSuccess' } | { __typename: 'ErrorGeneral', message: string, statusCode: string, timestamp: string } };\n\nexport type GetAllCustomizationQueryVariables = Exact<{\n data: QueryInput;\n}>;\n\n\nexport type GetAllCustomizationQuery = { __typename?: 'Query', getAllCustomPlayer: { __typename: 'CustomPlayerSuccessArray', data?: Array<{ __typename?: 'CustomPlayer', account: string, data: any, section: string, id: string }> | null } | { __typename: 'ErrorGeneral', message: string, statusCode: string, timestamp: string } };\n\nexport type UpdateCustomizationMutationVariables = Exact<{\n data: CustomPlayerInput;\n}>;\n\n\nexport type UpdateCustomizationMutation = { __typename?: 'Mutation', updateCustomPlayer: { __typename: 'CustomPlayerSuccess' } | { __typename: 'ErrorGeneral', message: string, statusCode: string, timestamp: string } };\n\nexport type AddCollectionMutationVariables = Exact<{\n data: CreateCollectionInput;\n}>;\n\n\nexport type AddCollectionMutation = { __typename?: 'Mutation', createCollection: { __typename: 'CollectionSuccess', data?: { __typename?: 'Collection', id: string } | null } | { __typename: 'ErrorGeneral', message: string, statusCode: string, timestamp: string } };\n\nexport type DeleteCollectionMutationVariables = Exact<{\n data: QueryInput;\n}>;\n\n\nexport type DeleteCollectionMutation = { __typename?: 'Mutation', deleteCollection: { __typename: 'CollectionSuccess' } | { __typename: 'ErrorGeneral', message: string, statusCode: string, timestamp: string } };\n\nexport type FindCollectionQueryVariables = Exact<{\n data: QueryInput;\n}>;\n\n\nexport type FindCollectionQuery = { __typename?: 'Query', findCollection: { __typename: 'CollectionSuccess', data?: { __typename?: 'Collection', id: string, account?: string | null, name: string, description?: string | null, status?: string | null, createdat?: any | null, products?: Array<{ __typename?: 'Product', id: string, account: string, title: string, link?: string | null, pictures?: Array<string> | null, price: number, salesprice?: number | null, status?: Status | null, createdat?: string | null }> | null } | null } | { __typename: 'ErrorGeneral', message: string, statusCode: string, timestamp: string } };\n\nexport type GetAllCollectionsQueryVariables = Exact<{\n data: QueryInput;\n}>;\n\n\nexport type GetAllCollectionsQuery = { __typename?: 'Query', getAllCollection: { __typename: 'CollectionSuccessArray', data?: Array<{ __typename?: 'Collection', id: string, account?: string | null, name: string, description?: string | null, status?: string | null, createdat?: any | null, products?: Array<{ __typename?: 'Product', id: string, account: string, title: string, link?: string | null, pictures?: Array<string> | null, price: number, salesprice?: number | null, status?: Status | null, createdat?: string | null }> | null }> | null } | { __typename: 'ErrorGeneral', message: string, statusCode: string, timestamp: string } };\n\nexport type ManageCollectionProductMutationVariables = Exact<{\n data: ManageCollectionProductInInput;\n}>;\n\n\nexport type ManageCollectionProductMutation = { __typename?: 'Mutation', manageCollectionProduct: { __typename: 'CollectionSuccess' } | { __typename: 'ErrorGeneral', message: string, statusCode: string, timestamp: string } };\n\nexport type SearchCollectionsQueryVariables = Exact<{\n data: QueryInput;\n}>;\n\n\nexport type SearchCollectionsQuery = { __typename?: 'Query', searchCollection: { __typename: 'CollectionSuccessArray', data?: Array<{ __typename?: 'Collection', id: string, account?: string | null, name: string, description?: string | null, status?: string | null, createdat?: any | null, products?: Array<{ __typename?: 'Product', id: string, account: string, title: string, link?: string | null, pictures?: Array<string> | null, price: number, salesprice?: number | null, status?: Status | null, createdat?: string | null }> | null }> | null } | { __typename: 'ErrorGeneral', message: string, statusCode: string, timestamp: string } };\n\nexport type UpdateCollectionMutationVariables = Exact<{\n data: UpdateCollectionInput;\n}>;\n\n\nexport type UpdateCollectionMutation = { __typename?: 'Mutation', updateCollection: { __typename: 'CollectionSuccess' } | { __typename: 'ErrorGeneral', message: string, statusCode: string, timestamp: string } };\n\n\nexport const DeleteAllCustomizationDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"deleteAllCustomization\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"CustomPlayerInputAccount\"}}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"deleteAllCustomPlayer\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"__typename\"}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Error\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ErrorGeneral\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}}]}}]}}]} as unknown as DocumentNode<DeleteAllCustomizationMutation, DeleteAllCustomizationMutationVariables>;\nexport const GetAllCustomizationDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"getAllCustomization\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"QueryInput\"}}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"getAllCustomPlayer\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"__typename\"}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"CustomPlayerSuccessArray\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"account\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"section\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"}}]}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Error\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ErrorGeneral\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}}]}}]}}]} as unknown as DocumentNode<GetAllCustomizationQuery, GetAllCustomizationQueryVariables>;\nexport const UpdateCustomizationDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"updateCustomization\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"CustomPlayerInput\"}}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"updateCustomPlayer\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"__typename\"}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Error\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ErrorGeneral\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateCustomizationMutation, UpdateCustomizationMutationVariables>;\nexport const AddCollectionDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"AddCollection\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"CreateCollectionInput\"}}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"createCollection\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"__typename\"}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"CollectionSuccess\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"}}]}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Error\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ErrorGeneral\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}}]}}]}}]} as unknown as DocumentNode<AddCollectionMutation, AddCollectionMutationVariables>;\nexport const DeleteCollectionDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"DeleteCollection\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"QueryInput\"}}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"deleteCollection\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"__typename\"}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Error\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ErrorGeneral\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}}]}}]}}]} as unknown as DocumentNode<DeleteCollectionMutation, DeleteCollectionMutationVariables>;\nexport const FindCollectionDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"FindCollection\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"QueryInput\"}}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"findCollection\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"__typename\"}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"CollectionSuccess\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"account\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"description\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"status\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"createdat\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"products\"},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"account\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"title\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"link\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"pictures\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"price\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"salesprice\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"status\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"createdat\"}}]}}]}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Error\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ErrorGeneral\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}}]}}]}}]} as unknown as DocumentNode<FindCollectionQuery, FindCollectionQueryVariables>;\nexport const GetAllCollectionsDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"GetAllCollections\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"QueryInput\"}}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"getAllCollection\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"__typename\"}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"CollectionSuccessArray\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"account\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"description\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"status\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"createdat\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"products\"},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"account\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"title\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"link\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"pictures\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"price\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"salesprice\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"status\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"createdat\"}}]}}]}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Error\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ErrorGeneral\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}}]}}]}}]} as unknown as DocumentNode<GetAllCollectionsQuery, GetAllCollectionsQueryVariables>;\nexport const ManageCollectionProductDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"ManageCollectionProduct\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ManageCollectionProductInInput\"}}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"manageCollectionProduct\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"__typename\"}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Error\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ErrorGeneral\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}}]}}]}}]} as unknown as DocumentNode<ManageCollectionProductMutation, ManageCollectionProductMutationVariables>;\nexport const SearchCollectionsDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"SearchCollections\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"QueryInput\"}}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"searchCollection\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"__typename\"}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"CollectionSuccessArray\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"account\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"description\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"status\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"createdat\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"products\"},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"account\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"title\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"link\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"pictures\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"price\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"salesprice\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"status\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"createdat\"}}]}}]}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Error\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ErrorGeneral\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}}]}}]}}]} as unknown as DocumentNode<SearchCollectionsQuery, SearchCollectionsQueryVariables>;\nexport const UpdateCollectionDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"UpdateCollection\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"UpdateCollectionInput\"}}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"updateCollection\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"__typename\"}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Error\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ErrorGeneral\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"message\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"statusCode\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"timestamp\"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateCollectionMutation, UpdateCollectionMutationVariables>;"],"names":["Methods","Add","Remove","Status","Active","Inactive","DeleteAllCustomizationDocument","GetAllCustomizationDocument","UpdateCustomizationDocument","AddCollectionDocument","DeleteCollectionDocument","FindCollectionDocument","GetAllCollectionsDocument","ManageCollectionProductDocument","SearchCollectionsDocument","UpdateCollectionDocument"],"mappings":"WA+HO;UAAKA,OAAO;IAAPA,QACVC,SAAM;IADID,QAEVE,YAAS;GAFCF,YAAAA;WA8FL;UAAKG,MAAM;IAANA,OACVC,YAAS;IADCD,OAEVE,cAAW;GAFDF,WAAAA;AAoFZ,OAAO,MAAMG,iCAAiC;IAAC,QAAO;IAAW,eAAc;QAAC;YAAC,QAAO;YAAsB,aAAY;YAAW,QAAO;gBAAC,QAAO;gBAAO,SAAQ;YAAwB;YAAE,uBAAsB;gBAAC;oBAAC,QAAO;oBAAqB,YAAW;wBAAC,QAAO;wBAAW,QAAO;4BAAC,QAAO;4BAAO,SAAQ;wBAAM;oBAAC;oBAAE,QAAO;wBAAC,QAAO;wBAAc,QAAO;4BAAC,QAAO;4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;wBAAC,gBAAe;4BAAC,QAAO;4BAAe,cAAa;gCAAC;oCAAC,QAAO;oCAAQ,QAAO;wCAAC,QAAO;wCAAO,SAAQ;oCAAY;gCAAC;gCAAE;oCAAC,QAAO;oCAAiB,iBAAgB;wCAAC,QAAO;wCAAY,QAAO;4CAAC,QAAO;4CAAO,SAAQ;wCAAO;oCAAC;oCAAE,gBAAe;wCAAC,QAAO;wCAAe,cAAa;4CAAC;gDAAC,QAAO;gDAAQ,QAAO;oDAAC,QAAO;oDAAO,SAAQ;gDAAS;4CAAC;4CAAE;gDAAC,QAAO;gDAAQ,QAAO;oDAAC,QAAO;oDAAO,SAAQ;gDAAY;4CAAC;4CAAE;gDAAC,QAAO;gDAAQ,QAAO;oDAAC,QAAO;oDAAO,SAAQ;gDAAW;4CAAC;yCAAE;oCAAA;gCAAC;gCAAE;oCAAC,QAAO;oCAAiB,iBAAgB;wCAAC,QAAO;wCAAY,QAAO;4CAAC,QAAO;4CAAO,SAAQ;wCAAc;oCAAC;oCAAE,gBAAe;wCAAC,QAAO;wCAAe,cAAa;4CAAC;gDAAC,QAAO;gDAAQ,QAAO;oDAAC,QAAO;oDAAO,SAAQ;gDAAS;4CAAC;4CAAE;gDAAC,QAAO;gDAAQ,QAAO;oDAAC,QAAO;oDAAO,SAAQ;gDAAY;4CAAC;4CAAE;gDAAC,QAAO;gDAAQ,QAAO;oDAAC,QAAO;oDAAO,SAAQ;gDAAW;4CAAC;yCAAE;oCAAA;gCAAC;6BAAE;wBAAA;oBAAC;iBAAE;YAAA;QAAC;KAAE;AAAA,EAA0F"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/types/app-module.d.ts"],"sourcesContent":["import { RouteProps } from 'react-router-dom';\nimport { StoreClass, StoreFactory } from './mobx-store';\nimport { BaseStore } from './utils';\nexport interface AppModule<T extends BaseStore> {\n key: string;\n label: string;\n routeProps: RouteProps;\n instance: T;\n stores?: (StoreClass | StoreFactory)[];\n}\n"],"names":[],"mappings":"AAAA,WASC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { RouteProps } from 'react-router-dom';
|
|
2
|
-
import { StoreClass, StoreFactory } from './mobx-store';
|
|
3
|
-
import { BaseStore } from './utils';
|
|
4
|
-
export interface AppModule<T extends BaseStore> {
|
|
5
|
-
key: string;
|
|
6
|
-
label: string;
|
|
7
|
-
routeProps: RouteProps;
|
|
8
|
-
instance: T;
|
|
9
|
-
stores?: (StoreClass | StoreFactory)[];
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/types/app-module.ts"],"sourcesContent":["import { RouteProps } from 'react-router-dom';\nimport { StoreClass, StoreFactory } from './mobx-store';\nimport { BaseStore } from './utils';\n\nexport interface AppModule<T extends BaseStore> {\n key: string;\n label: string;\n routeProps: RouteProps;\n instance: T;\n stores?: (StoreClass | StoreFactory)[];\n}\n"],"names":[],"mappings":"AAAA,WAUC"}
|
package/src/lib/types/index.d.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as ApiGraphqlTypes from './api-graphql-types';
|
|
2
|
-
export * from './app-module';
|
|
3
|
-
export * from './mobx-store';
|
|
4
|
-
export * from './nizzaGlobalObject';
|
|
5
|
-
export * from './products';
|
|
6
|
-
export * from './utils';
|
|
7
|
-
export { ApiGraphqlTypes };
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=index.d.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/types/index.d.ts"],"sourcesContent":["import * as ApiGraphqlTypes from './api-graphql-types';\nexport * from './app-module';\nexport * from './mobx-store';\nexport * from './nizzaGlobalObject';\nexport * from './products';\nexport * from './utils';\nexport { ApiGraphqlTypes };\n"],"names":["ApiGraphqlTypes"],"mappings":"AAAA,YAAYA,qBAAqB,sBAAsB;AACvD,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,sBAAsB;AACpC,cAAc,aAAa;AAC3B,cAAc,UAAU;AACxB,SAASA,eAAe,GAAG"}
|
package/src/lib/types/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as ApiGraphqlTypes from './api-graphql-types';
|
|
2
|
-
export * from './app-module';
|
|
3
|
-
export * from './mobx-store';
|
|
4
|
-
export * from './nizzaGlobalObject';
|
|
5
|
-
export * from './products';
|
|
6
|
-
export * from './utils';
|
|
7
|
-
export { ApiGraphqlTypes };
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/types/index.ts"],"sourcesContent":["import * as ApiGraphqlTypes from './api-graphql-types';\nexport * from './app-module';\nexport * from './mobx-store';\nexport * from './nizzaGlobalObject';\nexport * from './products';\nexport * from './utils';\nexport { ApiGraphqlTypes };\n"],"names":["ApiGraphqlTypes"],"mappings":"AAAA,YAAYA,qBAAqB,sBAAsB;AACvD,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,sBAAsB;AACpC,cAAc,aAAa;AAC3B,cAAc,UAAU;AACxB,SAASA,eAAe,GAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/types/mobx-store.d.ts"],"sourcesContent":["import { Constructor } from './utils';\nexport type StoreClass<T = any> = Constructor<T>;\nexport type StoreFactory<T = any> = (...args: any[]) => T;\n"],"names":[],"mappings":"AAAA,WAE0D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/types/mobx-store.ts"],"sourcesContent":["import { Constructor } from './utils';\n\nexport type StoreClass<T = any> = Constructor<T>;\n\nexport type StoreFactory<T = any> = (...args: any[]) => T;\n"],"names":[],"mappings":"AAAA,WAI0D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/types/nizzaGlobalObject.d.ts"],"sourcesContent":["import { NizzaProductRepository } from './products';\nexport interface NizzaGlobalObjet {\n config: NizzaConfiguration;\n configure: (config: NizzaConfiguration) => void;\n}\nexport interface NizzaConfiguration {\n account: string;\n productRepository?: NizzaProductRepository;\n}\nexport interface NizzaCredentials {\n}\n"],"names":[],"mappings":"AAAA,WAUC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/types/nizzaGlobalObject.ts"],"sourcesContent":["import { NizzaProductRepository } from './products';\n\nexport interface NizzaGlobalObjet {\n config: NizzaConfiguration;\n configure: (config: NizzaConfiguration) => void;\n}\n\nexport interface NizzaConfiguration {\n account: string;\n productRepository?: NizzaProductRepository;\n // credentials: NizzaCredentials;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\nexport interface NizzaCredentials {\n // TODO: Pendiente por difinir\n}\n"],"names":[],"mappings":"AAAA,WAgBC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Base definitions to manage the Nizza products, both the products that are used in the client
|
|
3
|
-
* and those of the administrator should start from this base.
|
|
4
|
-
* If it is necessary to modify these definitions for a specific implementation, extend the types
|
|
5
|
-
* already defined and avoid adding properties that are not necessary for all scenarios.
|
|
6
|
-
*/ export { };
|
|
7
|
-
|
|
8
|
-
//# sourceMappingURL=base.d.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/lib/types/products/base.d.ts"],"sourcesContent":["/**\n * Base definitions to manage the Nizza products, both the products that are used in the client\n * and those of the administrator should start from this base.\n * If it is necessary to modify these definitions for a specific implementation, extend the types\n * already defined and avoid adding properties that are not necessary for all scenarios.\n */\nimport { NizzaVariationTypes } from '../../constants';\nexport interface NizzaProduct {\n id: string;\n skuId: string;\n name: string;\n price: number;\n priceWithDiscount: number;\n imageUrl: string;\n isAvailable: boolean;\n addToCartLink: string;\n pdpLink: string;\n items?: NizzaItem[];\n variationSelector?: NizzaVariationSelector[];\n}\nexport interface NizzaItem {\n itemId: string;\n name: string;\n images: NizzaImage[];\n}\nexport interface NizzaImage {\n imageUrl: string;\n}\nexport interface NizzaVariationSelector {\n field: NizzaVariationField;\n values: NizzaVariationValues[];\n}\nexport interface NizzaVariationField {\n id: number;\n name: string;\n type: NizzaVariationTypes;\n isActive: boolean;\n position?: number;\n}\nexport interface NizzaVariationValues {\n id: string;\n name: string;\n position?: number;\n}\n"],"names":[],"mappings":"AAAA;;;;;CAKC,GACD,WAqCC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Base definitions to manage the Nizza products, both the products that are used in the client
|
|
3
|
-
* and those of the administrator should start from this base.
|
|
4
|
-
* If it is necessary to modify these definitions for a specific implementation, extend the types
|
|
5
|
-
* already defined and avoid adding properties that are not necessary for all scenarios.
|
|
6
|
-
*/ export { };
|
|
7
|
-
|
|
8
|
-
//# sourceMappingURL=base.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/lib/types/products/base.ts"],"sourcesContent":["/**\n * Base definitions to manage the Nizza products, both the products that are used in the client\n * and those of the administrator should start from this base.\n * If it is necessary to modify these definitions for a specific implementation, extend the types\n * already defined and avoid adding properties that are not necessary for all scenarios.\n */\n\nimport { NizzaVariationTypes } from '../../constants';\n\nexport interface NizzaProduct {\n id: string;\n skuId: string;\n name: string;\n price: number;\n priceWithDiscount: number;\n imageUrl: string;\n isAvailable: boolean;\n addToCartLink: string;\n pdpLink: string;\n items?: NizzaItem[];\n variationSelector?: NizzaVariationSelector[];\n}\n\nexport interface NizzaItem {\n itemId: string;\n name: string;\n images: NizzaImage[];\n}\n\nexport interface NizzaImage {\n imageUrl: string;\n}\n\nexport interface NizzaVariationSelector {\n field: NizzaVariationField;\n values: NizzaVariationValues[];\n}\n\nexport interface NizzaVariationField {\n id: number;\n name: string;\n type: NizzaVariationTypes;\n isActive: boolean;\n position?: number;\n}\n\nexport interface NizzaVariationValues {\n id: string;\n name: string;\n position?: number;\n}\n"],"names":[],"mappings":"AAAA;;;;;CAKC,GAED,WA2CC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/lib/types/products/index.d.ts"],"sourcesContent":["export * from './base';\nexport * from './product';\n"],"names":[],"mappings":"AAAA,cAAc,SAAS;AACvB,cAAc,YAAY"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/lib/types/products/index.ts"],"sourcesContent":["export * from './base';\nexport * from './product';\n"],"names":[],"mappings":"AAAA,cAAc,SAAS;AACvB,cAAc,YAAY"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/lib/types/products/product.d.ts"],"sourcesContent":["import { NizzaProduct } from './base';\nexport type NizzaGetProductHandler = (input: NizzaGetProductHandlerInput) => Promise<NizzaProduct>;\nexport type NizzaGetProductListHandler = (input: NizzaGetProductListHandlerInput) => Promise<NizzaProduct[]>;\ntype NizzaGetProductHandlerInput = {\n productId: string;\n};\ntype NizzaGetProductListHandlerInput = {\n search?: string;\n page?: number;\n limit?: number;\n};\nexport interface NizzaProductRepository {\n getProduct: NizzaGetProductHandler;\n getProductList: NizzaGetProductListHandler;\n}\nexport {};\n"],"names":[],"mappings":"AAAA,WAeU"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { NizzaProduct } from './base';
|
|
2
|
-
export type NizzaGetProductHandler = (input: NizzaGetProductHandlerInput) => Promise<NizzaProduct>;
|
|
3
|
-
export type NizzaGetProductListHandler = (input: NizzaGetProductListHandlerInput) => Promise<NizzaProduct[]>;
|
|
4
|
-
type NizzaGetProductHandlerInput = {
|
|
5
|
-
productId: string;
|
|
6
|
-
};
|
|
7
|
-
type NizzaGetProductListHandlerInput = {
|
|
8
|
-
search?: string;
|
|
9
|
-
page?: number;
|
|
10
|
-
limit?: number;
|
|
11
|
-
};
|
|
12
|
-
export interface NizzaProductRepository {
|
|
13
|
-
getProduct: NizzaGetProductHandler;
|
|
14
|
-
getProductList: NizzaGetProductListHandler;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/lib/types/products/product.ts"],"sourcesContent":["import { NizzaProduct } from './base';\n\nexport type NizzaGetProductHandler = (\n input: NizzaGetProductHandlerInput,\n) => Promise<NizzaProduct>;\n\nexport type NizzaGetProductListHandler = (\n input: NizzaGetProductListHandlerInput,\n) => Promise<NizzaProduct[]>;\n\ntype NizzaGetProductHandlerInput = {\n productId: string;\n};\n\ntype NizzaGetProductListHandlerInput = {\n search?: string;\n page?: number;\n limit?: number;\n};\n\nexport interface NizzaProductRepository {\n getProduct: NizzaGetProductHandler;\n getProductList: NizzaGetProductListHandler;\n}\n"],"names":[],"mappings":"AAAA,WAuBC"}
|
package/src/lib/types/utils.d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/types/utils.d.ts"],"sourcesContent":["import environment from '../../environments/environment';\nexport type Constructor<T = any> = new (...args: any[]) => T;\nexport declare abstract class BaseStore {\n}\nexport interface ApiV1Response<T = any> {\n success: boolean;\n message: string;\n data: T;\n}\nexport interface ApiV2Response<T = any> {\n data: T;\n isArray: boolean;\n path: string;\n duration: string;\n method: 'GET' | 'POST' | 'PUT' | 'DELETE';\n}\nexport type Primitive = string | boolean | number;\nexport interface ApiCall extends RequestInit {\n url: RequestInfo;\n raw?: boolean;\n}\nexport type Environment<T> = typeof environment & T;\n"],"names":[],"mappings":"AAAA,WAqBoD"}
|
package/src/lib/types/utils.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/types/utils.ts"],"sourcesContent":["import environment from '../../environments/environment';\n\nexport type Constructor<T = any> = new (...args: any[]) => T;\n\nexport abstract class BaseStore {}\n\nexport interface ApiV1Response<T = any> {\n success: boolean;\n message: string;\n data: T;\n}\n\nexport interface ApiV2Response<T = any> {\n data: T;\n isArray: boolean;\n path: string;\n duration: string;\n method: 'GET' | 'POST' | 'PUT' | 'DELETE';\n}\n\nexport type Primitive = string | boolean | number;\n\nexport interface ApiCall extends RequestInit {\n url: RequestInfo;\n raw?: boolean;\n}\n\nexport type Environment<T> = typeof environment & T;\n"],"names":["BaseStore"],"mappings":"AAIA,OAAO,MAAeA;AAAW,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/utils/Result.d.ts"],"sourcesContent":["export declare class Result<V, E = string> {\n isOk: boolean;\n isErr: boolean;\n error: E;\n private _value;\n constructor(isOk: boolean, error?: E, value?: V);\n get value(): V;\n static ok<U>(value?: U): Result<U, never>;\n static fail<F = string>(error: F): Result<never, F>;\n static combine(results: Result<any, any>[]): Result<any, any>;\n}\nexport type Either<L, A> = Err<L, A> | Ok<L, A>;\nexport declare class Err<L, A> {\n readonly value: L;\n constructor(value: L);\n isErr(): this is Err<L, A>;\n isOk(): this is Ok<L, A>;\n}\nexport declare class Ok<L, A> {\n readonly value: A;\n constructor(value: A);\n isErr(): this is Err<L, A>;\n isOk(): this is Ok<L, A>;\n}\nexport declare const ok: <L, A>(l: L) => Either<L, A>;\nexport declare const err: <L, A>(a: A) => Either<L, A>;\n"],"names":[],"mappings":"AAAA,WAyBuD"}
|
package/src/lib/utils/Result.js
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
export class Result {
|
|
2
|
-
get value() {
|
|
3
|
-
if (this.isErr) {
|
|
4
|
-
throw new Error("Can't get the value of an error result. Use 'errorValue' instead.");
|
|
5
|
-
}
|
|
6
|
-
return this._value;
|
|
7
|
-
}
|
|
8
|
-
static ok(value) {
|
|
9
|
-
return new Result(true, undefined, value);
|
|
10
|
-
}
|
|
11
|
-
static fail(error) {
|
|
12
|
-
return new Result(false, error);
|
|
13
|
-
}
|
|
14
|
-
static combine(results) {
|
|
15
|
-
for (const result of results){
|
|
16
|
-
if (result.isErr) return result;
|
|
17
|
-
}
|
|
18
|
-
return Result.ok();
|
|
19
|
-
}
|
|
20
|
-
constructor(isOk, error, value){
|
|
21
|
-
if (isOk && error) {
|
|
22
|
-
throw new Error('InvalidOperation: A result cannot be successful and contain an error');
|
|
23
|
-
}
|
|
24
|
-
if (!isOk && !error) {
|
|
25
|
-
throw new Error('InvalidOperation: A failing result needs to contain an error message');
|
|
26
|
-
}
|
|
27
|
-
this.isOk = isOk;
|
|
28
|
-
this.isErr = !isOk;
|
|
29
|
-
this.error = error;
|
|
30
|
-
this._value = value;
|
|
31
|
-
Object.freeze(this);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
export class Err {
|
|
35
|
-
isErr() {
|
|
36
|
-
return true;
|
|
37
|
-
}
|
|
38
|
-
isOk() {
|
|
39
|
-
return false;
|
|
40
|
-
}
|
|
41
|
-
constructor(value){
|
|
42
|
-
this.value = value;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
export class Ok {
|
|
46
|
-
isErr() {
|
|
47
|
-
return false;
|
|
48
|
-
}
|
|
49
|
-
isOk() {
|
|
50
|
-
return true;
|
|
51
|
-
}
|
|
52
|
-
constructor(value){
|
|
53
|
-
this.value = value;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
export const ok = (l)=>{
|
|
57
|
-
return new Err(l);
|
|
58
|
-
};
|
|
59
|
-
export const err = (a)=>{
|
|
60
|
-
return new Ok(a);
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
//# sourceMappingURL=Result.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/utils/Result.ts"],"sourcesContent":["export class Result<V, E = string> {\n isOk: boolean;\n isErr: boolean;\n error: E;\n private _value: V;\n\n constructor(isOk: boolean, error?: E, value?: V) {\n if (isOk && error) {\n throw new Error(\n 'InvalidOperation: A result cannot be successful and contain an error',\n );\n }\n if (!isOk && !error) {\n throw new Error(\n 'InvalidOperation: A failing result needs to contain an error message',\n );\n }\n\n this.isOk = isOk;\n this.isErr = !isOk;\n this.error = error!;\n this._value = value!;\n\n Object.freeze(this);\n }\n\n get value(): V {\n if (this.isErr) {\n throw new Error(\n \"Can't get the value of an error result. Use 'errorValue' instead.\",\n );\n }\n\n return this._value;\n }\n\n static ok<U>(value?: U): Result<U, never> {\n return new Result(true, undefined, value) as Result<U, never>;\n }\n\n static fail<F = string>(error: F): Result<never, F> {\n return new Result(false, error);\n }\n\n static combine(results: Result<any, any>[]): Result<any, any> {\n for (const result of results) {\n if (result.isErr) return result;\n }\n return Result.ok();\n }\n}\n\nexport type Either<L, A> = Err<L, A> | Ok<L, A>;\n\nexport class Err<L, A> {\n readonly value: L;\n\n constructor(value: L) {\n this.value = value!;\n }\n\n isErr(): this is Err<L, A> {\n return true;\n }\n\n isOk(): this is Ok<L, A> {\n return false;\n }\n}\n\nexport class Ok<L, A> {\n readonly value: A;\n\n constructor(value: A) {\n this.value = value!;\n }\n\n isErr(): this is Err<L, A> {\n return false;\n }\n\n isOk(): this is Ok<L, A> {\n return true;\n }\n}\n\nexport const ok = <L, A>(l: L): Either<L, A> => {\n return new Err(l);\n};\n\nexport const err = <L, A>(a: A): Either<L, A> => {\n return new Ok<L, A>(a);\n};\n"],"names":["Result","value","isErr","Error","_value","ok","undefined","fail","error","combine","results","result","constructor","isOk","Object","freeze","Err","Ok","l","err","a"],"mappings":"AAAA,OAAO,MAAMA;IA0BX,IAAIC,QAAW;QACb,IAAI,IAAI,CAACC,KAAK,EAAE;YACd,MAAM,IAAIC,MACR,qEACA;QACJ,CAAC;QAED,OAAO,IAAI,CAACC,MAAM;IACpB;IAEA,OAAOC,GAAMJ,KAAS,EAAoB;QACxC,OAAO,IAAID,OAAO,IAAI,EAAEM,WAAWL;IACrC;IAEA,OAAOM,KAAiBC,KAAQ,EAAoB;QAClD,OAAO,IAAIR,OAAO,KAAK,EAAEQ;IAC3B;IAEA,OAAOC,QAAQC,OAA2B,EAAoB;QAC5D,KAAK,MAAMC,UAAUD,QAAS;YAC5B,IAAIC,OAAOT,KAAK,EAAE,OAAOS;QAC3B;QACA,OAAOX,OAAOK,EAAE;IAClB;IA3CAO,YAAYC,IAAa,EAAEL,KAAS,EAAEP,KAAS,CAAE;QAC/C,IAAIY,QAAQL,OAAO;YACjB,MAAM,IAAIL,MACR,wEACA;QACJ,CAAC;QACD,IAAI,CAACU,QAAQ,CAACL,OAAO;YACnB,MAAM,IAAIL,MACR,wEACA;QACJ,CAAC;QAED,IAAI,CAACU,IAAI,GAAGA;QACZ,IAAI,CAACX,KAAK,GAAG,CAACW;QACd,IAAI,CAACL,KAAK,GAAGA;QACb,IAAI,CAACJ,MAAM,GAAGH;QAEda,OAAOC,MAAM,CAAC,IAAI;IACpB;AA0BF,CAAC;AAID,OAAO,MAAMC;IAOXd,QAA2B;QACzB,OAAO,IAAI;IACb;IAEAW,OAAyB;QACvB,OAAO,KAAK;IACd;IAVAD,YAAYX,KAAQ,CAAE;QACpB,IAAI,CAACA,KAAK,GAAGA;IACf;AASF,CAAC;AAED,OAAO,MAAMgB;IAOXf,QAA2B;QACzB,OAAO,KAAK;IACd;IAEAW,OAAyB;QACvB,OAAO,IAAI;IACb;IAVAD,YAAYX,KAAQ,CAAE;QACpB,IAAI,CAACA,KAAK,GAAGA;IACf;AASF,CAAC;AAED,OAAO,MAAMI,KAAK,CAAOa,IAAuB;IAC9C,OAAO,IAAIF,IAAIE;AACjB,EAAE;AAEF,OAAO,MAAMC,MAAM,CAAOC,IAAuB;IAC/C,OAAO,IAAIH,GAASG;AACtB,EAAE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/utils/apiCall.d.ts"],"sourcesContent":["import { ApiCall } from '../types';\nexport declare function apiCall<T = Response>({ url, method, raw, ...rest }: ApiCall): Promise<T>;\n"],"names":[],"mappings":"AAAA,WACkG"}
|
package/src/lib/utils/apiCall.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { _ as _extends } from "@swc/helpers/_/_extends";
|
|
2
|
-
import { _ as _object_without_properties_loose } from "@swc/helpers/_/_object_without_properties_loose";
|
|
3
|
-
export async function apiCall(_param) {
|
|
4
|
-
var { url , method ='GET' , raw =false } = _param, rest = _object_without_properties_loose(_param, [
|
|
5
|
-
"url",
|
|
6
|
-
"method",
|
|
7
|
-
"raw"
|
|
8
|
-
]);
|
|
9
|
-
const headers = _extends({
|
|
10
|
-
'Content-Type': 'application/json'
|
|
11
|
-
}, rest.headers);
|
|
12
|
-
// NOTE: The order of the parameters is important
|
|
13
|
-
const response = await fetch(url, _extends({
|
|
14
|
-
method
|
|
15
|
-
}, rest, {
|
|
16
|
-
headers
|
|
17
|
-
}));
|
|
18
|
-
if (raw) return response;
|
|
19
|
-
const json = await response.json();
|
|
20
|
-
if (!response.ok) {
|
|
21
|
-
var _json_message;
|
|
22
|
-
const err = (_json_message = json == null ? void 0 : json.message) != null ? _json_message : response.statusText;
|
|
23
|
-
throw new Error(err);
|
|
24
|
-
}
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
//# sourceMappingURL=apiCall.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/utils/apiCall.ts"],"sourcesContent":["import { ApiCall } from '../types';\n\nexport async function apiCall<T = Response>({\n url,\n method = 'GET',\n raw = false,\n ...rest\n}: ApiCall): Promise<T> {\n const headers: HeadersInit = {\n 'Content-Type': 'application/json',\n ...rest.headers,\n };\n\n // NOTE: The order of the parameters is important\n const response = await fetch(url, { method, ...rest, headers });\n\n if (raw) return response as any;\n\n const json = await response.json();\n\n if (!response.ok) {\n const err = json?.message ?? response.statusText;\n throw new Error(err);\n }\n\n return json;\n}\n"],"names":["apiCall","url","method","raw","rest","headers","response","fetch","json","ok","err","message","statusText","Error"],"mappings":";;AAEA,OAAO,eAAeA,QAAsB,QAKpB;QALoB,EAC1CC,IAAG,EACHC,QAAS,MAAK,EACdC,KAAM,KAAK,CAAA,EAEH,GALkC,QAIvCC,wCAJuC;QAC1CH;QACAC;QACAC;;IAGA,MAAME,UAAuB;QAC3B,gBAAgB;OACbD,KAAKC,OAAO;IAGjB,iDAAiD;IACjD,MAAMC,WAAW,MAAMC,MAAMN,KAAK;QAAEC;OAAWE;QAAMC;;IAErD,IAAIF,KAAK,OAAOG;IAEhB,MAAME,OAAO,MAAMF,SAASE,IAAI;IAEhC,IAAI,CAACF,SAASG,EAAE,EAAE;YACJD;QAAZ,MAAME,MAAMF,CAAAA,gBAAAA,eAAAA,KAAAA,IAAAA,KAAMG,OAAO,YAAbH,gBAAiBF,SAASM,UAAU;QAChD,MAAM,IAAIC,MAAMH,KAAK;IACvB,CAAC;IAED,OAAOF;AACT,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/lib/utils/customStorage/MemoryStorage.d.ts"],"sourcesContent":["export declare class MemoryStorage implements Storage {\n private store;\n constructor();\n private getStoreFromWindow;\n private setStoreToWindow;\n setItem(key: string, value: string): void;\n getItem(key: string): string | null;\n removeItem(key: string): void;\n clear(): void;\n key(index: number): string | null;\n get length(): number;\n}\n"],"names":[],"mappings":"AAAA,WAWC"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export class MemoryStorage {
|
|
2
|
-
getStoreFromWindow() {
|
|
3
|
-
let store = {};
|
|
4
|
-
try {
|
|
5
|
-
store = JSON.parse(window.self.name);
|
|
6
|
-
} catch (e) {
|
|
7
|
-
return {};
|
|
8
|
-
}
|
|
9
|
-
if (store && typeof store === 'object') return store;
|
|
10
|
-
return {};
|
|
11
|
-
}
|
|
12
|
-
setStoreToWindow(data) {
|
|
13
|
-
const store = JSON.stringify(data);
|
|
14
|
-
window.self.name = store;
|
|
15
|
-
}
|
|
16
|
-
setItem(key, value) {
|
|
17
|
-
this.store[key] = value;
|
|
18
|
-
this.setStoreToWindow(this.store);
|
|
19
|
-
}
|
|
20
|
-
getItem(key) {
|
|
21
|
-
var _this_store_key;
|
|
22
|
-
return (_this_store_key = this.store[key]) != null ? _this_store_key : null;
|
|
23
|
-
}
|
|
24
|
-
removeItem(key) {
|
|
25
|
-
delete this.store[key];
|
|
26
|
-
this.setStoreToWindow(this.store);
|
|
27
|
-
}
|
|
28
|
-
clear() {
|
|
29
|
-
this.setStoreToWindow({});
|
|
30
|
-
}
|
|
31
|
-
key(index) {
|
|
32
|
-
const keys = Object.keys(this.store);
|
|
33
|
-
var _keys_index;
|
|
34
|
-
return (_keys_index = keys[index]) != null ? _keys_index : null;
|
|
35
|
-
}
|
|
36
|
-
get length() {
|
|
37
|
-
return Object.keys(this.store).length;
|
|
38
|
-
}
|
|
39
|
-
constructor(){
|
|
40
|
-
this.store = this.getStoreFromWindow();
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
//# sourceMappingURL=MemoryStorage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/lib/utils/customStorage/MemoryStorage.ts"],"sourcesContent":["type Store = Record<string, string>;\n\nexport class MemoryStorage implements Storage {\n private store: Store;\n\n constructor() {\n this.store = this.getStoreFromWindow();\n }\n\n private getStoreFromWindow() {\n let store: Store = {};\n\n try {\n store = JSON.parse(window.self.name);\n } catch (e) {\n return {};\n }\n\n if (store && typeof store === 'object') return store;\n return {};\n }\n\n private setStoreToWindow(data: Store) {\n const store = JSON.stringify(data);\n window.self.name = store;\n }\n\n setItem(key: string, value: string): void {\n this.store[key] = value;\n this.setStoreToWindow(this.store);\n }\n\n getItem(key: string): string | null {\n return this.store[key] ?? null;\n }\n\n removeItem(key: string): void {\n delete this.store[key];\n this.setStoreToWindow(this.store);\n }\n\n clear(): void {\n this.setStoreToWindow({});\n }\n\n key(index: number): string | null {\n const keys = Object.keys(this.store);\n return keys[index] ?? null;\n }\n\n get length() {\n return Object.keys(this.store).length;\n }\n}\n"],"names":["MemoryStorage","getStoreFromWindow","store","JSON","parse","window","self","name","e","setStoreToWindow","data","stringify","setItem","key","value","getItem","removeItem","clear","index","keys","Object","length","constructor"],"mappings":"AAEA,OAAO,MAAMA;IAOHC,qBAAqB;QAC3B,IAAIC,QAAe,CAAC;QAEpB,IAAI;YACFA,QAAQC,KAAKC,KAAK,CAACC,OAAOC,IAAI,CAACC,IAAI;QACrC,EAAE,OAAOC,GAAG;YACV,OAAO,CAAC;QACV;QAEA,IAAIN,SAAS,OAAOA,UAAU,UAAU,OAAOA;QAC/C,OAAO,CAAC;IACV;IAEQO,iBAAiBC,IAAW,EAAE;QACpC,MAAMR,QAAQC,KAAKQ,SAAS,CAACD;QAC7BL,OAAOC,IAAI,CAACC,IAAI,GAAGL;IACrB;IAEAU,QAAQC,GAAW,EAAEC,KAAa,EAAQ;QACxC,IAAI,CAACZ,KAAK,CAACW,IAAI,GAAGC;QAClB,IAAI,CAACL,gBAAgB,CAAC,IAAI,CAACP,KAAK;IAClC;IAEAa,QAAQF,GAAW,EAAiB;YAC3B;QAAP,OAAO,CAAA,kBAAA,IAAI,CAACX,KAAK,CAACW,IAAI,YAAf,kBAAmB,IAAI;IAChC;IAEAG,WAAWH,GAAW,EAAQ;QAC5B,OAAO,IAAI,CAACX,KAAK,CAACW,IAAI;QACtB,IAAI,CAACJ,gBAAgB,CAAC,IAAI,CAACP,KAAK;IAClC;IAEAe,QAAc;QACZ,IAAI,CAACR,gBAAgB,CAAC,CAAC;IACzB;IAEAI,IAAIK,KAAa,EAAiB;QAChC,MAAMC,OAAOC,OAAOD,IAAI,CAAC,IAAI,CAACjB,KAAK;YAC5BiB;QAAP,OAAOA,CAAAA,cAAAA,IAAI,CAACD,MAAM,YAAXC,cAAe,IAAI;IAC5B;IAEA,IAAIE,SAAS;QACX,OAAOD,OAAOD,IAAI,CAAC,IAAI,CAACjB,KAAK,EAAEmB,MAAM;IACvC;IA/CAC,aAAc;QACZ,IAAI,CAACpB,KAAK,GAAG,IAAI,CAACD,kBAAkB;IACtC;AA8CF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/lib/utils/customStorage/index.d.ts"],"sourcesContent":["export declare class CustomStorage {\n static init(): CustomStorage;\n constructor();\n private replaceStorages;\n get isAvailable(): {\n localStorage: boolean;\n sessionStorage: boolean;\n };\n}\n"],"names":[],"mappings":"AAAA,WAQC"}
|