@nizza/core 0.3.0-alpha.3 → 0.3.0-alpha.5
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 +2 -0
- package/dist/index.mjs +2798 -0
- package/{src → dist}/lib/stores/NizzaStore.d.ts +1 -0
- package/{src → dist}/lib/types/api-graphql-types.d.ts +57 -57
- 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 +3 -3
- 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 +1 -1
- package/dist/package.json +21 -0
- package/package.json +11 -11
- 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 -33
- 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 -5
- 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 -20
- 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 -26
- 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 -12
- 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 -21
- 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 -37
- 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 -27
- 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.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 -5
- 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 -78
- 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 -57
- 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 -53
- 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 -46
- 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 -20
- 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 -24
- package/src/lib/utils/lazyLoad.js.map +0 -1
- /package/{src → dist}/environments/environment.d.ts +0 -0
- /package/{src → dist}/index.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 → dist}/lib/domain/errors/DomainError.d.ts +0 -0
- /package/{src → dist}/lib/domain/errors/api.d.ts +0 -0
- /package/{src → dist}/lib/domain/errors/app.d.ts +0 -0
- /package/{src → dist}/lib/domain/errors/index.d.ts +0 -0
- /package/{src → dist}/lib/domain/index.d.ts +0 -0
- /package/{src → dist}/lib/providers/StoreProvider.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/app-module.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
- /package/{src/typings/libs.d.js → dist/typings/libs.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,IAAMG,iCAAiC;IAAC,MAAO;IAAW,aAAc;QAAC;YAAC,MAAO;YAAsB,WAAY;YAAW,MAAO;gBAAC,MAAO;gBAAO,OAAQ;YAAwB;YAAE,qBAAsB;gBAAC;oBAAC,MAAO;oBAAqB,UAAW;wBAAC,MAAO;wBAAW,MAAO;4BAAC,MAAO;4BAAO,OAAQ;wBAAM;oBAAC;oBAAE,MAAO;wBAAC,MAAO;wBAAc,MAAO;4BAAC,MAAO;4BAAY,MAAO;gCAAC,MAAO;gCAAO,OAAQ;4BAA0B;wBAAC;oBAAC;gBAAC;aAAE;YAAC,cAAe;gBAAC,MAAO;gBAAe,YAAa;oBAAC;wBAAC,MAAO;wBAAQ,MAA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;wCAAC,MAAO;wCAAe,YAAa;4CAAC;gDAAC,MAAO;gDAAQ,MAAO;oDAAC,MAAO;oDAAO,OAAQ;gDAAS;4CAAC;4CAAE;gDAAC,MAAO;gDAAQ,MAAO;oDAAC,MAAO;oDAAO,OAAQ;gDAAY;4CAAC;4CAAE;gDAAC,MAAO;gDAAQ,MAAO;oDAAC,MAAO;oDAAO,OAAQ;gDAAW;4CAAC;yCAAE;oCAAA;gCAAC;gCAAE;oCAAC,MAAO;oCAAiB,eAAgB;wCAAC,MAAO;wCAAY,MAAO;4CAAC,MAAO;4CAAO,OAAQ;wCAAc;oCAAC;oCAAE,cAAe;wCAAC,MAAO;wCAAe,YAAa;4CAAC;gDAAC,MAAO;gDAAQ,MAAO;oDAAC,MAAO;oDAAO,OAAQ;gDAAS;4CAAC;4CAAE;gDAAC,MAAO;gDAAQ,MAAO;oDAAC,MAAO;oDAAO,OAAQ;gDAAY;4CAAC;4CAAE;gDAAC,MAAO;gDAAQ,MAAO;oDAAC,MAAO;oDAAO,OAAQ;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 +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,IAAA,AAAeA,YAAf,SAAeA;;EAAY"}
|
|
@@ -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,78 +0,0 @@
|
|
|
1
|
-
import { _ as _create_class } from "@swc/helpers/_/_create_class";
|
|
2
|
-
export var Result = /*#__PURE__*/ function() {
|
|
3
|
-
"use strict";
|
|
4
|
-
function Result(isOk, error, value) {
|
|
5
|
-
if (isOk && error) {
|
|
6
|
-
throw new Error('InvalidOperation: A result cannot be successful and contain an error');
|
|
7
|
-
}
|
|
8
|
-
if (!isOk && !error) {
|
|
9
|
-
throw new Error('InvalidOperation: A failing result needs to contain an error message');
|
|
10
|
-
}
|
|
11
|
-
this.isOk = isOk;
|
|
12
|
-
this.isErr = !isOk;
|
|
13
|
-
this.error = error;
|
|
14
|
-
this._value = value;
|
|
15
|
-
Object.freeze(this);
|
|
16
|
-
}
|
|
17
|
-
Result.ok = function ok(value) {
|
|
18
|
-
return new Result(true, undefined, value);
|
|
19
|
-
};
|
|
20
|
-
Result.fail = function fail(error) {
|
|
21
|
-
return new Result(false, error);
|
|
22
|
-
};
|
|
23
|
-
Result.combine = function combine(results) {
|
|
24
|
-
for(var _i = 0; _i < results.length; _i++){
|
|
25
|
-
var result = results[_i];
|
|
26
|
-
if (result.isErr) return result;
|
|
27
|
-
}
|
|
28
|
-
return Result.ok();
|
|
29
|
-
};
|
|
30
|
-
_create_class(Result, [
|
|
31
|
-
{
|
|
32
|
-
key: "value",
|
|
33
|
-
get: function get() {
|
|
34
|
-
if (this.isErr) {
|
|
35
|
-
throw new Error("Can't get the value of an error result. Use 'errorValue' instead.");
|
|
36
|
-
}
|
|
37
|
-
return this._value;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
]);
|
|
41
|
-
return Result;
|
|
42
|
-
}();
|
|
43
|
-
export var Err = /*#__PURE__*/ function() {
|
|
44
|
-
"use strict";
|
|
45
|
-
function Err(value) {
|
|
46
|
-
this.value = value;
|
|
47
|
-
}
|
|
48
|
-
var _proto = Err.prototype;
|
|
49
|
-
_proto.isErr = function isErr() {
|
|
50
|
-
return true;
|
|
51
|
-
};
|
|
52
|
-
_proto.isOk = function isOk() {
|
|
53
|
-
return false;
|
|
54
|
-
};
|
|
55
|
-
return Err;
|
|
56
|
-
}();
|
|
57
|
-
export var Ok = /*#__PURE__*/ function() {
|
|
58
|
-
"use strict";
|
|
59
|
-
function Ok(value) {
|
|
60
|
-
this.value = value;
|
|
61
|
-
}
|
|
62
|
-
var _proto = Ok.prototype;
|
|
63
|
-
_proto.isErr = function isErr() {
|
|
64
|
-
return false;
|
|
65
|
-
};
|
|
66
|
-
_proto.isOk = function isOk() {
|
|
67
|
-
return true;
|
|
68
|
-
};
|
|
69
|
-
return Ok;
|
|
70
|
-
}();
|
|
71
|
-
export var ok = function(l) {
|
|
72
|
-
return new Err(l);
|
|
73
|
-
};
|
|
74
|
-
export var err = function(a) {
|
|
75
|
-
return new Ok(a);
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
//# 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","isOk","error","value","Error","isErr","_value","Object","freeze","ok","undefined","fail","combine","results","result","Err","Ok","l","err","a"],"mappings":";AAAA,OAAO,IAAA,AAAMA,uBAoDV,AApDI;;aAAMA,OAMCC,IAAa,EAAEC,KAAS,EAAEC,KAAS;QAC7C,IAAIF,QAAQC,OAAO;YACjB,MAAM,IAAIE,MACR,wEACA;QACJ,CAAC;QACD,IAAI,CAACH,QAAQ,CAACC,OAAO;YACnB,MAAM,IAAIE,MACR,wEACA;QACJ,CAAC;QAED,IAAI,CAACH,IAAI,GAAGA;QACZ,IAAI,CAACI,KAAK,GAAG,CAACJ;QACd,IAAI,CAACC,KAAK,GAAGA;QACb,IAAI,CAACI,MAAM,GAAGH;QAEdI,OAAOC,MAAM,CAAC,IAAI;;IAvBTR,OAoCJS,EAEN,GAFD,SAAOA,GA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
{"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,57 +0,0 @@
|
|
|
1
|
-
import { _ as _async_to_generator } from "@swc/helpers/_/_async_to_generator";
|
|
2
|
-
import { _ as _extends } from "@swc/helpers/_/_extends";
|
|
3
|
-
import { _ as _object_without_properties_loose } from "@swc/helpers/_/_object_without_properties_loose";
|
|
4
|
-
import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
|
|
5
|
-
export function apiCall(_param) {
|
|
6
|
-
return _apiCall.apply(this, arguments);
|
|
7
|
-
}
|
|
8
|
-
function _apiCall() {
|
|
9
|
-
_apiCall = _async_to_generator(function(_param) {
|
|
10
|
-
var url, _param_method, method, _param_raw, raw, rest, headers, response, json, _json_message, err;
|
|
11
|
-
return _ts_generator(this, function(_state) {
|
|
12
|
-
switch(_state.label){
|
|
13
|
-
case 0:
|
|
14
|
-
url = _param.url, _param_method = _param.method, method = _param_method === void 0 ? 'GET' : _param_method, _param_raw = _param.raw, raw = _param_raw === void 0 ? false : _param_raw, rest = _object_without_properties_loose(_param, [
|
|
15
|
-
"url",
|
|
16
|
-
"method",
|
|
17
|
-
"raw"
|
|
18
|
-
]);
|
|
19
|
-
headers = _extends({
|
|
20
|
-
'Content-Type': 'application/json'
|
|
21
|
-
}, rest.headers);
|
|
22
|
-
return [
|
|
23
|
-
4,
|
|
24
|
-
fetch(url, _extends({
|
|
25
|
-
method: method
|
|
26
|
-
}, rest, {
|
|
27
|
-
headers: headers
|
|
28
|
-
}))
|
|
29
|
-
];
|
|
30
|
-
case 1:
|
|
31
|
-
response = _state.sent();
|
|
32
|
-
if (raw) return [
|
|
33
|
-
2,
|
|
34
|
-
response
|
|
35
|
-
];
|
|
36
|
-
return [
|
|
37
|
-
4,
|
|
38
|
-
response.json()
|
|
39
|
-
];
|
|
40
|
-
case 2:
|
|
41
|
-
json = _state.sent();
|
|
42
|
-
if (!response.ok) {
|
|
43
|
-
;
|
|
44
|
-
err = (_json_message = json == null ? void 0 : json.message) != null ? _json_message : response.statusText;
|
|
45
|
-
throw new Error(err);
|
|
46
|
-
}
|
|
47
|
-
return [
|
|
48
|
-
2,
|
|
49
|
-
json
|
|
50
|
-
];
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
});
|
|
54
|
-
return _apiCall.apply(this, arguments);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
//# 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","json","err","fetch","ok","message","statusText","Error"],"mappings":";;;;AAEA,gBAAsBA,QAAsB;WAAtBA;CAwBrB;SAxBqBA;IAAAA,WAAf,oBAAA,SAAqC,QAKpB;YAJtBC,oBACAC,oBACAC,KACGC,MAEGC,SAMAC,UAIAC,MAGQA,eAANC;;;;oBAlBRP,MAD0C,OAC1CA,qBAD0C,OAE1CC,QAAAA,oCAAS,oCAFiC,OAG1CC,KAAAA,8BAAM,KAAK,eACRC,wCAJuC;wBAC1CH;wBACAC;wBACAC;;oBAGME,UAAuB;wBAC3B,gBAAgB;uBACbD,KAAKC,OAAO;oBAIA;;wBAAMI,MAAMR,KAAK;4BAAEC,QAAAA;2BAAWE;4BAAMC,SAAAA;;;;oBAA/CC,WAAW;oBAEjB,IAAIH,KAAK;;wBAAOG;;oBAEH;;wBAAMA,SAASC,IAAI;;;oBAA1BA,OAAO;oBAEb,IAAI,CAACD,SAASI,EAAE,EAAE;;wBACVF,MAAMD,CAAAA,gBAAAA,eAAAA,KAAAA,IAAAA,KAAMI,OAAO,YAAbJ,gBAAiBD,SAASM,UAAU;wBAChD,MAAM,IAAIC,MAAML,KAAK;oBACvB,CAAC;oBAED;;wBAAOD;;;;IACT;WAxBsBP"}
|
|
@@ -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,53 +0,0 @@
|
|
|
1
|
-
import { _ as _create_class } from "@swc/helpers/_/_create_class";
|
|
2
|
-
export var MemoryStorage = /*#__PURE__*/ function() {
|
|
3
|
-
"use strict";
|
|
4
|
-
function MemoryStorage() {
|
|
5
|
-
this.store = this.getStoreFromWindow();
|
|
6
|
-
}
|
|
7
|
-
var _proto = MemoryStorage.prototype;
|
|
8
|
-
_proto.getStoreFromWindow = function getStoreFromWindow() {
|
|
9
|
-
var store = {};
|
|
10
|
-
try {
|
|
11
|
-
store = JSON.parse(window.self.name);
|
|
12
|
-
} catch (e) {
|
|
13
|
-
return {};
|
|
14
|
-
}
|
|
15
|
-
if (store && typeof store === 'object') return store;
|
|
16
|
-
return {};
|
|
17
|
-
};
|
|
18
|
-
_proto.setStoreToWindow = function setStoreToWindow(data) {
|
|
19
|
-
var store = JSON.stringify(data);
|
|
20
|
-
window.self.name = store;
|
|
21
|
-
};
|
|
22
|
-
_proto.setItem = function setItem(key, value) {
|
|
23
|
-
this.store[key] = value;
|
|
24
|
-
this.setStoreToWindow(this.store);
|
|
25
|
-
};
|
|
26
|
-
_proto.getItem = function getItem(key) {
|
|
27
|
-
var _this_store_key;
|
|
28
|
-
return (_this_store_key = this.store[key]) != null ? _this_store_key : null;
|
|
29
|
-
};
|
|
30
|
-
_proto.removeItem = function removeItem(key) {
|
|
31
|
-
delete this.store[key];
|
|
32
|
-
this.setStoreToWindow(this.store);
|
|
33
|
-
};
|
|
34
|
-
_proto.clear = function clear() {
|
|
35
|
-
this.setStoreToWindow({});
|
|
36
|
-
};
|
|
37
|
-
_proto.key = function key(index) {
|
|
38
|
-
var keys = Object.keys(this.store);
|
|
39
|
-
var _keys_index;
|
|
40
|
-
return (_keys_index = keys[index]) != null ? _keys_index : null;
|
|
41
|
-
};
|
|
42
|
-
_create_class(MemoryStorage, [
|
|
43
|
-
{
|
|
44
|
-
key: "length",
|
|
45
|
-
get: function get() {
|
|
46
|
-
return Object.keys(this.store).length;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
]);
|
|
50
|
-
return MemoryStorage;
|
|
51
|
-
}();
|
|
52
|
-
|
|
53
|
-
//# sourceMappingURL=MemoryStorage.js.map
|