@nizza/core 0.3.0-alpha.0 → 0.3.0-alpha.1
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/package.json +13 -10
- package/src/environments/environment.d.js +3 -0
- package/src/environments/environment.d.js.map +1 -0
- package/src/environments/environment.js +28 -0
- package/src/environments/environment.js.map +1 -0
- package/src/environments/environment.prod.d.js +3 -0
- package/src/environments/environment.prod.d.js.map +1 -0
- package/src/environments/environment.prod.d.ts +20 -0
- package/src/environments/environment.prod.js +27 -0
- package/src/environments/environment.prod.js.map +1 -0
- package/src/environments/environment.staging.d.js +3 -0
- package/src/environments/environment.staging.d.js.map +1 -0
- package/src/environments/environment.staging.d.ts +20 -0
- package/src/environments/environment.staging.js +27 -0
- package/src/environments/environment.staging.js.map +1 -0
- package/src/index.d.js +8 -0
- package/src/index.d.js.map +1 -0
- package/src/index.js +8 -0
- package/src/index.js.map +1 -0
- package/src/lib/constants/index.d.js +3 -0
- package/src/lib/constants/index.d.js.map +1 -0
- package/src/lib/constants/index.js +3 -0
- package/src/lib/constants/index.js.map +1 -0
- package/src/lib/constants/products.d.js +3 -0
- package/src/lib/constants/products.d.js.map +1 -0
- package/src/lib/constants/products.js +6 -0
- package/src/lib/constants/products.js.map +1 -0
- package/src/lib/domain/AggregateRoot.d.js +3 -0
- package/src/lib/domain/AggregateRoot.d.js.map +1 -0
- package/src/lib/domain/AggregateRoot.js +22 -0
- package/src/lib/domain/AggregateRoot.js.map +1 -0
- package/src/lib/domain/BaseMobxStore.d.js +3 -0
- package/src/lib/domain/BaseMobxStore.d.js.map +1 -0
- package/src/lib/domain/BaseMobxStore.js +4 -0
- package/src/lib/domain/BaseMobxStore.js.map +1 -0
- package/src/lib/domain/ValueObject.d.js +3 -0
- package/src/lib/domain/ValueObject.d.js.map +1 -0
- package/src/lib/domain/ValueObject.js +12 -0
- package/src/lib/domain/ValueObject.js.map +1 -0
- package/src/lib/domain/errors/DomainError.d.js +3 -0
- package/src/lib/domain/errors/DomainError.d.js.map +1 -0
- package/src/lib/domain/errors/DomainError.js +18 -0
- package/src/lib/domain/errors/DomainError.js.map +1 -0
- package/src/lib/domain/errors/api.d.js +3 -0
- package/src/lib/domain/errors/api.d.js.map +1 -0
- package/src/lib/domain/errors/api.js +8 -0
- package/src/lib/domain/errors/api.js.map +1 -0
- package/src/lib/domain/errors/app.d.js +3 -0
- package/src/lib/domain/errors/app.d.js.map +1 -0
- package/src/lib/domain/errors/app.js +14 -0
- package/src/lib/domain/errors/app.js.map +1 -0
- package/src/lib/domain/errors/index.d.js +5 -0
- package/src/lib/domain/errors/index.d.js.map +1 -0
- package/src/lib/domain/errors/index.js +5 -0
- package/src/lib/domain/errors/index.js.map +1 -0
- package/src/lib/domain/index.d.js +6 -0
- package/src/lib/domain/index.d.js.map +1 -0
- package/src/lib/domain/index.js +6 -0
- package/src/lib/domain/index.js.map +1 -0
- package/src/lib/providers/StoreProvider.d.js +3 -0
- package/src/lib/providers/StoreProvider.d.js.map +1 -0
- package/src/lib/providers/StoreProvider.js +36 -0
- package/src/lib/providers/StoreProvider.js.map +1 -0
- package/src/lib/providers/index.d.js +3 -0
- package/src/lib/providers/index.d.js.map +1 -0
- package/src/lib/providers/index.js +3 -0
- package/src/lib/providers/index.js.map +1 -0
- package/src/lib/stores/NizzaStore.d.js +3 -0
- package/src/lib/stores/NizzaStore.d.js.map +1 -0
- package/src/lib/stores/NizzaStore.js +18 -0
- package/src/lib/stores/NizzaStore.js.map +1 -0
- package/src/lib/stores/index.d.js +3 -0
- package/src/lib/stores/index.d.js.map +1 -0
- package/src/lib/stores/index.js +3 -0
- package/src/lib/stores/index.js.map +1 -0
- package/src/lib/types/api-graphql-types.d.js +3 -0
- package/src/lib/types/api-graphql-types.d.js.map +1 -0
- package/{dist → src}/lib/types/api-graphql-types.d.ts +57 -57
- package/src/lib/types/api-graphql-types.js +2003 -0
- package/src/lib/types/api-graphql-types.js.map +1 -0
- package/src/lib/types/app-module.d.js +3 -0
- package/src/lib/types/app-module.d.js.map +1 -0
- package/src/lib/types/app-module.js +3 -0
- package/src/lib/types/app-module.js.map +1 -0
- package/src/lib/types/index.d.js +9 -0
- package/src/lib/types/index.d.js.map +1 -0
- package/src/lib/types/index.js +9 -0
- package/src/lib/types/index.js.map +1 -0
- package/src/lib/types/mobx-store.d.js +3 -0
- package/src/lib/types/mobx-store.d.js.map +1 -0
- package/src/lib/types/mobx-store.d.ts +3 -0
- package/src/lib/types/mobx-store.js +3 -0
- package/src/lib/types/mobx-store.js.map +1 -0
- package/src/lib/types/nizzaGlobalObject.d.js +3 -0
- package/src/lib/types/nizzaGlobalObject.d.js.map +1 -0
- package/src/lib/types/nizzaGlobalObject.js +3 -0
- package/src/lib/types/nizzaGlobalObject.js.map +1 -0
- package/src/lib/types/products/base.d.js +8 -0
- package/src/lib/types/products/base.d.js.map +1 -0
- package/src/lib/types/products/base.js +8 -0
- package/src/lib/types/products/base.js.map +1 -0
- package/src/lib/types/products/index.d.js +4 -0
- package/src/lib/types/products/index.d.js.map +1 -0
- package/src/lib/types/products/index.js +4 -0
- package/src/lib/types/products/index.js.map +1 -0
- package/src/lib/types/products/product.d.js +3 -0
- package/src/lib/types/products/product.d.js.map +1 -0
- package/src/lib/types/products/product.d.ts +16 -0
- package/src/lib/types/products/product.js +3 -0
- package/src/lib/types/products/product.js.map +1 -0
- package/src/lib/types/utils.d.js +3 -0
- package/src/lib/types/utils.d.js.map +1 -0
- package/{dist → src}/lib/types/utils.d.ts +3 -3
- package/src/lib/types/utils.js +4 -0
- package/src/lib/types/utils.js.map +1 -0
- package/src/lib/utils/Result.d.js +3 -0
- package/src/lib/utils/Result.d.js.map +1 -0
- package/{dist → src}/lib/utils/Result.d.ts +1 -1
- package/src/lib/utils/Result.js +63 -0
- package/src/lib/utils/Result.js.map +1 -0
- package/src/lib/utils/apiCall.d.js +3 -0
- package/src/lib/utils/apiCall.d.js.map +1 -0
- package/src/lib/utils/apiCall.js +28 -0
- package/src/lib/utils/apiCall.js.map +1 -0
- package/src/lib/utils/customStorage/MemoryStorage.d.js +3 -0
- package/src/lib/utils/customStorage/MemoryStorage.d.js.map +1 -0
- package/src/lib/utils/customStorage/MemoryStorage.js +44 -0
- package/src/lib/utils/customStorage/MemoryStorage.js.map +1 -0
- package/src/lib/utils/customStorage/index.d.js +3 -0
- package/src/lib/utils/customStorage/index.d.js.map +1 -0
- package/src/lib/utils/customStorage/index.js +36 -0
- package/src/lib/utils/customStorage/index.js.map +1 -0
- package/src/lib/utils/customStorage/utils.d.js +3 -0
- package/src/lib/utils/customStorage/utils.d.js.map +1 -0
- package/{dist → src}/lib/utils/customStorage/utils.d.ts +1 -1
- package/src/lib/utils/customStorage/utils.js +24 -0
- package/src/lib/utils/customStorage/utils.js.map +1 -0
- package/src/lib/utils/fingerprint.d.js +3 -0
- package/src/lib/utils/fingerprint.d.js.map +1 -0
- package/src/lib/utils/fingerprint.d.ts +1 -0
- package/src/lib/utils/fingerprint.js +14 -0
- package/src/lib/utils/fingerprint.js.map +1 -0
- package/src/lib/utils/helpers.d.js +3 -0
- package/src/lib/utils/helpers.d.js.map +1 -0
- package/{dist → src}/lib/utils/helpers.d.ts +1 -1
- package/src/lib/utils/helpers.js +15 -0
- package/src/lib/utils/helpers.js.map +1 -0
- package/src/lib/utils/index.d.js +8 -0
- package/src/lib/utils/index.d.js.map +1 -0
- package/src/lib/utils/index.js +8 -0
- package/src/lib/utils/index.js.map +1 -0
- package/src/lib/utils/lazyLoad.d.js +3 -0
- package/src/lib/utils/lazyLoad.d.js.map +1 -0
- package/{dist → src}/lib/utils/lazyLoad.d.ts +1 -1
- package/src/lib/utils/lazyLoad.js +17 -0
- package/src/lib/utils/lazyLoad.js.map +1 -0
- package/src/typings/libs.d.js +2 -0
- package/src/typings/libs.d.js.map +1 -0
- package/vite-env.d.js +3 -0
- package/vite-env.d.js.map +1 -0
- package/vite.config.js +10 -0
- package/vite.config.js.map +1 -0
- package/README.md +0 -3
- package/dist/index.es.js +0 -2795
- package/dist/lib/types/mobx-store.d.ts +0 -3
- package/dist/lib/types/products/product.d.ts +0 -16
- package/dist/lib/utils/fingerprint.d.ts +0 -1
- package/dist/package.json +0 -21
- package/dist/typings/libs.d.ts +0 -0
- /package/{dist → src}/environments/environment.d.ts +0 -0
- /package/{dist → src}/index.d.ts +0 -0
- /package/{dist → src}/lib/constants/index.d.ts +0 -0
- /package/{dist → src}/lib/constants/products.d.ts +0 -0
- /package/{dist → src}/lib/domain/AggregateRoot.d.ts +0 -0
- /package/{dist → src}/lib/domain/BaseMobxStore.d.ts +0 -0
- /package/{dist → src}/lib/domain/ValueObject.d.ts +0 -0
- /package/{dist → src}/lib/domain/errors/DomainError.d.ts +0 -0
- /package/{dist → src}/lib/domain/errors/api.d.ts +0 -0
- /package/{dist → src}/lib/domain/errors/app.d.ts +0 -0
- /package/{dist → src}/lib/domain/errors/index.d.ts +0 -0
- /package/{dist → src}/lib/domain/index.d.ts +0 -0
- /package/{dist → src}/lib/providers/StoreProvider.d.ts +0 -0
- /package/{dist → src}/lib/providers/index.d.ts +0 -0
- /package/{dist → src}/lib/stores/NizzaStore.d.ts +0 -0
- /package/{dist → src}/lib/stores/index.d.ts +0 -0
- /package/{dist → src}/lib/types/app-module.d.ts +0 -0
- /package/{dist → src}/lib/types/index.d.ts +0 -0
- /package/{dist → src}/lib/types/nizzaGlobalObject.d.ts +0 -0
- /package/{dist → src}/lib/types/products/base.d.ts +0 -0
- /package/{dist → src}/lib/types/products/index.d.ts +0 -0
- /package/{dist → src}/lib/utils/apiCall.d.ts +0 -0
- /package/{dist → src}/lib/utils/customStorage/MemoryStorage.d.ts +0 -0
- /package/{dist → src}/lib/utils/customStorage/index.d.ts +0 -0
- /package/{dist → src}/lib/utils/index.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/lib/stores/index.ts"],"sourcesContent":["export * from './NizzaStore';\n"],"names":[],"mappings":"AAAA,cAAc,eAAe"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/lib/types/api-graphql-types.d.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 {\n [key: string]: unknown;\n}> = {\n [K in keyof T]: T[K];\n};\nexport type MakeOptional<T, K extends keyof T> = Omit<T, K> & {\n [SubKey in K]?: Maybe<T[SubKey]>;\n};\nexport type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {\n [SubKey in K]: Maybe<T[SubKey]>;\n};\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};\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};\nexport type CollectionResult = CollectionSuccess | ErrorGeneral;\nexport type CollectionResultArray = CollectionSuccessArray | ErrorGeneral;\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};\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};\nexport type CreateCollectionInput = {\n account: Scalars['String'];\n description?: InputMaybe<Scalars['String']>;\n name: Scalars['String'];\n status?: InputMaybe<Status>;\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};\nexport type CustomPlayerInput = {\n account: Scalars['String'];\n data: Scalars['JSON'];\n id: Scalars['String'];\n section: Scalars['String'];\n};\nexport type CustomPlayerInputAccount = {\n account: Scalars['String'];\n};\nexport type CustomPlayerResult = CustomPlayerSuccess | ErrorGeneral;\nexport type CustomPlayerResultArray = CustomPlayerSuccessArray | ErrorGeneral;\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};\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};\nexport type Error = {\n message: Scalars['String'];\n statusCode: Scalars['String'];\n timestamp: Scalars['String'];\n};\nexport type ErrorGeneral = Error & {\n __typename?: 'ErrorGeneral';\n message: Scalars['String'];\n statusCode: Scalars['String'];\n timestamp: Scalars['String'];\n};\nexport type ManageCollectionProductInInput = {\n account: Scalars['String'];\n id: Scalars['String'];\n method: Methods;\n productId: Scalars['String'];\n};\nexport declare enum Methods {\n Add = \"add\",\n Remove = \"remove\"\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};\nexport type MutationCreateCollectionArgs = {\n data: CreateCollectionInput;\n};\nexport type MutationDeleteAllCustomPlayerArgs = {\n data: CustomPlayerInputAccount;\n};\nexport type MutationDeleteCollectionArgs = {\n data: QueryInput;\n};\nexport type MutationManageCollectionProductArgs = {\n data: ManageCollectionProductInInput;\n};\nexport type MutationUpdateCollectionArgs = {\n data: UpdateCollectionInput;\n};\nexport type MutationUpdateCustomPlayerArgs = {\n data: CustomPlayerInput;\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};\nexport type Query = {\n __typename?: 'Query';\n findCollection: CollectionResult;\n getAllCollection: CollectionResultArray;\n getAllCustomPlayer: CustomPlayerResultArray;\n searchCollection: CollectionResultArray;\n};\nexport type QueryFindCollectionArgs = {\n data: QueryInput;\n};\nexport type QueryGetAllCollectionArgs = {\n data: QueryInput;\n};\nexport type QueryGetAllCustomPlayerArgs = {\n data: QueryInput;\n};\nexport type QuerySearchCollectionArgs = {\n data: QueryInput;\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};\nexport declare enum Status {\n Active = \"active\",\n Inactive = \"inactive\"\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};\nexport type DeleteAllCustomizationMutationVariables = Exact<{\n data: CustomPlayerInputAccount;\n}>;\nexport type DeleteAllCustomizationMutation = {\n __typename?: 'Mutation';\n deleteAllCustomPlayer: {\n __typename: 'CustomPlayerSuccess';\n } | {\n __typename: 'ErrorGeneral';\n message: string;\n statusCode: string;\n timestamp: string;\n };\n};\nexport type GetAllCustomizationQueryVariables = Exact<{\n data: QueryInput;\n}>;\nexport type GetAllCustomizationQuery = {\n __typename?: 'Query';\n getAllCustomPlayer: {\n __typename: 'CustomPlayerSuccessArray';\n data?: Array<{\n __typename?: 'CustomPlayer';\n account: string;\n data: any;\n section: string;\n id: string;\n }> | null;\n } | {\n __typename: 'ErrorGeneral';\n message: string;\n statusCode: string;\n timestamp: string;\n };\n};\nexport type UpdateCustomizationMutationVariables = Exact<{\n data: CustomPlayerInput;\n}>;\nexport type UpdateCustomizationMutation = {\n __typename?: 'Mutation';\n updateCustomPlayer: {\n __typename: 'CustomPlayerSuccess';\n } | {\n __typename: 'ErrorGeneral';\n message: string;\n statusCode: string;\n timestamp: string;\n };\n};\nexport type AddCollectionMutationVariables = Exact<{\n data: CreateCollectionInput;\n}>;\nexport type AddCollectionMutation = {\n __typename?: 'Mutation';\n createCollection: {\n __typename: 'CollectionSuccess';\n data?: {\n __typename?: 'Collection';\n id: string;\n } | null;\n } | {\n __typename: 'ErrorGeneral';\n message: string;\n statusCode: string;\n timestamp: string;\n };\n};\nexport type DeleteCollectionMutationVariables = Exact<{\n data: QueryInput;\n}>;\nexport type DeleteCollectionMutation = {\n __typename?: 'Mutation';\n deleteCollection: {\n __typename: 'CollectionSuccess';\n } | {\n __typename: 'ErrorGeneral';\n message: string;\n statusCode: string;\n timestamp: string;\n };\n};\nexport type FindCollectionQueryVariables = Exact<{\n data: QueryInput;\n}>;\nexport type FindCollectionQuery = {\n __typename?: 'Query';\n findCollection: {\n __typename: 'CollectionSuccess';\n data?: {\n __typename?: 'Collection';\n id: string;\n account?: string | null;\n name: string;\n description?: string | null;\n status?: string | null;\n createdat?: any | null;\n products?: Array<{\n __typename?: 'Product';\n id: string;\n account: string;\n title: string;\n link?: string | null;\n pictures?: Array<string> | null;\n price: number;\n salesprice?: number | null;\n status?: Status | null;\n createdat?: string | null;\n }> | null;\n } | null;\n } | {\n __typename: 'ErrorGeneral';\n message: string;\n statusCode: string;\n timestamp: string;\n };\n};\nexport type GetAllCollectionsQueryVariables = Exact<{\n data: QueryInput;\n}>;\nexport type GetAllCollectionsQuery = {\n __typename?: 'Query';\n getAllCollection: {\n __typename: 'CollectionSuccessArray';\n data?: Array<{\n __typename?: 'Collection';\n id: string;\n account?: string | null;\n name: string;\n description?: string | null;\n status?: string | null;\n createdat?: any | null;\n products?: Array<{\n __typename?: 'Product';\n id: string;\n account: string;\n title: string;\n link?: string | null;\n pictures?: Array<string> | null;\n price: number;\n salesprice?: number | null;\n status?: Status | null;\n createdat?: string | null;\n }> | null;\n }> | null;\n } | {\n __typename: 'ErrorGeneral';\n message: string;\n statusCode: string;\n timestamp: string;\n };\n};\nexport type ManageCollectionProductMutationVariables = Exact<{\n data: ManageCollectionProductInInput;\n}>;\nexport type ManageCollectionProductMutation = {\n __typename?: 'Mutation';\n manageCollectionProduct: {\n __typename: 'CollectionSuccess';\n } | {\n __typename: 'ErrorGeneral';\n message: string;\n statusCode: string;\n timestamp: string;\n };\n};\nexport type SearchCollectionsQueryVariables = Exact<{\n data: QueryInput;\n}>;\nexport type SearchCollectionsQuery = {\n __typename?: 'Query';\n searchCollection: {\n __typename: 'CollectionSuccessArray';\n data?: Array<{\n __typename?: 'Collection';\n id: string;\n account?: string | null;\n name: string;\n description?: string | null;\n status?: string | null;\n createdat?: any | null;\n products?: Array<{\n __typename?: 'Product';\n id: string;\n account: string;\n title: string;\n link?: string | null;\n pictures?: Array<string> | null;\n price: number;\n salesprice?: number | null;\n status?: Status | null;\n createdat?: string | null;\n }> | null;\n }> | null;\n } | {\n __typename: 'ErrorGeneral';\n message: string;\n statusCode: string;\n timestamp: string;\n };\n};\nexport type UpdateCollectionMutationVariables = Exact<{\n data: UpdateCollectionInput;\n}>;\nexport type UpdateCollectionMutation = {\n __typename?: 'Mutation';\n updateCollection: {\n __typename: 'CollectionSuccess';\n } | {\n __typename: 'ErrorGeneral';\n message: string;\n statusCode: string;\n timestamp: string;\n };\n};\nexport declare const DeleteAllCustomizationDocument: DocumentNode<DeleteAllCustomizationMutation, Exact<{\n data: CustomPlayerInputAccount;\n}>>;\nexport declare const GetAllCustomizationDocument: DocumentNode<GetAllCustomizationQuery, Exact<{\n data: QueryInput;\n}>>;\nexport declare const UpdateCustomizationDocument: DocumentNode<UpdateCustomizationMutation, Exact<{\n data: CustomPlayerInput;\n}>>;\nexport declare const AddCollectionDocument: DocumentNode<AddCollectionMutation, Exact<{\n data: CreateCollectionInput;\n}>>;\nexport declare const DeleteCollectionDocument: DocumentNode<DeleteCollectionMutation, Exact<{\n data: QueryInput;\n}>>;\nexport declare const FindCollectionDocument: DocumentNode<FindCollectionQuery, Exact<{\n data: QueryInput;\n}>>;\nexport declare const GetAllCollectionsDocument: DocumentNode<GetAllCollectionsQuery, Exact<{\n data: QueryInput;\n}>>;\nexport declare const ManageCollectionProductDocument: DocumentNode<ManageCollectionProductMutation, Exact<{\n data: ManageCollectionProductInInput;\n}>>;\nexport declare const SearchCollectionsDocument: DocumentNode<SearchCollectionsQuery, Exact<{\n data: QueryInput;\n}>>;\nexport declare const UpdateCollectionDocument: DocumentNode<UpdateCollectionMutation, Exact<{\n data: UpdateCollectionInput;\n}>>;\n"],"names":[],"mappings":"AAAA,WAybI"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type Maybe<T> = T | null;
|
|
3
|
+
export type InputMaybe<T> = Maybe<T>;
|
|
4
|
+
export type Exact<T extends {
|
|
5
5
|
[key: string]: unknown;
|
|
6
6
|
}> = {
|
|
7
7
|
[K in keyof T]: T[K];
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
10
10
|
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
13
13
|
[SubKey in K]: Maybe<T[SubKey]>;
|
|
14
14
|
};
|
|
15
15
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
16
|
-
export
|
|
16
|
+
export type Scalars = {
|
|
17
17
|
ID: string;
|
|
18
18
|
String: string;
|
|
19
19
|
Boolean: boolean;
|
|
@@ -22,7 +22,7 @@ export declare type Scalars = {
|
|
|
22
22
|
DateTime: any;
|
|
23
23
|
JSON: any;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type Collection = {
|
|
26
26
|
__typename?: 'Collection';
|
|
27
27
|
account?: Maybe<Scalars['String']>;
|
|
28
28
|
createdat?: Maybe<Scalars['DateTime']>;
|
|
@@ -36,9 +36,9 @@ export declare type Collection = {
|
|
|
36
36
|
products?: Maybe<Array<Product>>;
|
|
37
37
|
status?: Maybe<Scalars['String']>;
|
|
38
38
|
};
|
|
39
|
-
export
|
|
40
|
-
export
|
|
41
|
-
export
|
|
39
|
+
export type CollectionResult = CollectionSuccess | ErrorGeneral;
|
|
40
|
+
export type CollectionResultArray = CollectionSuccessArray | ErrorGeneral;
|
|
41
|
+
export type CollectionSuccess = {
|
|
42
42
|
__typename?: 'CollectionSuccess';
|
|
43
43
|
data?: Maybe<Collection>;
|
|
44
44
|
duration?: Maybe<Scalars['String']>;
|
|
@@ -46,7 +46,7 @@ export declare type CollectionSuccess = {
|
|
|
46
46
|
method?: Maybe<Scalars['String']>;
|
|
47
47
|
path?: Maybe<Scalars['String']>;
|
|
48
48
|
};
|
|
49
|
-
export
|
|
49
|
+
export type CollectionSuccessArray = {
|
|
50
50
|
__typename?: 'CollectionSuccessArray';
|
|
51
51
|
data?: Maybe<Array<Collection>>;
|
|
52
52
|
duration?: Maybe<Scalars['String']>;
|
|
@@ -54,13 +54,13 @@ export declare type CollectionSuccessArray = {
|
|
|
54
54
|
method?: Maybe<Scalars['String']>;
|
|
55
55
|
path?: Maybe<Scalars['String']>;
|
|
56
56
|
};
|
|
57
|
-
export
|
|
57
|
+
export type CreateCollectionInput = {
|
|
58
58
|
account: Scalars['String'];
|
|
59
59
|
description?: InputMaybe<Scalars['String']>;
|
|
60
60
|
name: Scalars['String'];
|
|
61
61
|
status?: InputMaybe<Status>;
|
|
62
62
|
};
|
|
63
|
-
export
|
|
63
|
+
export type CustomPlayer = {
|
|
64
64
|
__typename?: 'CustomPlayer';
|
|
65
65
|
account: Scalars['String'];
|
|
66
66
|
component: Scalars['String'];
|
|
@@ -72,18 +72,18 @@ export declare type CustomPlayer = {
|
|
|
72
72
|
path?: Maybe<Scalars['String']>;
|
|
73
73
|
section: Scalars['String'];
|
|
74
74
|
};
|
|
75
|
-
export
|
|
75
|
+
export type CustomPlayerInput = {
|
|
76
76
|
account: Scalars['String'];
|
|
77
77
|
data: Scalars['JSON'];
|
|
78
78
|
id: Scalars['String'];
|
|
79
79
|
section: Scalars['String'];
|
|
80
80
|
};
|
|
81
|
-
export
|
|
81
|
+
export type CustomPlayerInputAccount = {
|
|
82
82
|
account: Scalars['String'];
|
|
83
83
|
};
|
|
84
|
-
export
|
|
85
|
-
export
|
|
86
|
-
export
|
|
84
|
+
export type CustomPlayerResult = CustomPlayerSuccess | ErrorGeneral;
|
|
85
|
+
export type CustomPlayerResultArray = CustomPlayerSuccessArray | ErrorGeneral;
|
|
86
|
+
export type CustomPlayerSuccess = {
|
|
87
87
|
__typename?: 'CustomPlayerSuccess';
|
|
88
88
|
data?: Maybe<CustomPlayer>;
|
|
89
89
|
duration?: Maybe<Scalars['String']>;
|
|
@@ -91,7 +91,7 @@ export declare type CustomPlayerSuccess = {
|
|
|
91
91
|
method?: Maybe<Scalars['String']>;
|
|
92
92
|
path?: Maybe<Scalars['String']>;
|
|
93
93
|
};
|
|
94
|
-
export
|
|
94
|
+
export type CustomPlayerSuccessArray = {
|
|
95
95
|
__typename?: 'CustomPlayerSuccessArray';
|
|
96
96
|
data?: Maybe<Array<CustomPlayer>>;
|
|
97
97
|
duration?: Maybe<Scalars['String']>;
|
|
@@ -99,18 +99,18 @@ export declare type CustomPlayerSuccessArray = {
|
|
|
99
99
|
method?: Maybe<Scalars['String']>;
|
|
100
100
|
path?: Maybe<Scalars['String']>;
|
|
101
101
|
};
|
|
102
|
-
export
|
|
102
|
+
export type Error = {
|
|
103
103
|
message: Scalars['String'];
|
|
104
104
|
statusCode: Scalars['String'];
|
|
105
105
|
timestamp: Scalars['String'];
|
|
106
106
|
};
|
|
107
|
-
export
|
|
107
|
+
export type ErrorGeneral = Error & {
|
|
108
108
|
__typename?: 'ErrorGeneral';
|
|
109
109
|
message: Scalars['String'];
|
|
110
110
|
statusCode: Scalars['String'];
|
|
111
111
|
timestamp: Scalars['String'];
|
|
112
112
|
};
|
|
113
|
-
export
|
|
113
|
+
export type ManageCollectionProductInInput = {
|
|
114
114
|
account: Scalars['String'];
|
|
115
115
|
id: Scalars['String'];
|
|
116
116
|
method: Methods;
|
|
@@ -120,7 +120,7 @@ export declare enum Methods {
|
|
|
120
120
|
Add = "add",
|
|
121
121
|
Remove = "remove"
|
|
122
122
|
}
|
|
123
|
-
export
|
|
123
|
+
export type Mutation = {
|
|
124
124
|
__typename?: 'Mutation';
|
|
125
125
|
createCollection: CollectionResult;
|
|
126
126
|
deleteAllCustomPlayer: CustomPlayerResult;
|
|
@@ -129,25 +129,25 @@ export declare type Mutation = {
|
|
|
129
129
|
updateCollection: CollectionResult;
|
|
130
130
|
updateCustomPlayer: CustomPlayerResult;
|
|
131
131
|
};
|
|
132
|
-
export
|
|
132
|
+
export type MutationCreateCollectionArgs = {
|
|
133
133
|
data: CreateCollectionInput;
|
|
134
134
|
};
|
|
135
|
-
export
|
|
135
|
+
export type MutationDeleteAllCustomPlayerArgs = {
|
|
136
136
|
data: CustomPlayerInputAccount;
|
|
137
137
|
};
|
|
138
|
-
export
|
|
138
|
+
export type MutationDeleteCollectionArgs = {
|
|
139
139
|
data: QueryInput;
|
|
140
140
|
};
|
|
141
|
-
export
|
|
141
|
+
export type MutationManageCollectionProductArgs = {
|
|
142
142
|
data: ManageCollectionProductInInput;
|
|
143
143
|
};
|
|
144
|
-
export
|
|
144
|
+
export type MutationUpdateCollectionArgs = {
|
|
145
145
|
data: UpdateCollectionInput;
|
|
146
146
|
};
|
|
147
|
-
export
|
|
147
|
+
export type MutationUpdateCustomPlayerArgs = {
|
|
148
148
|
data: CustomPlayerInput;
|
|
149
149
|
};
|
|
150
|
-
export
|
|
150
|
+
export type Product = {
|
|
151
151
|
__typename?: 'Product';
|
|
152
152
|
account: Scalars['String'];
|
|
153
153
|
createdat?: Maybe<Scalars['String']>;
|
|
@@ -159,26 +159,26 @@ export declare type Product = {
|
|
|
159
159
|
status?: Maybe<Status>;
|
|
160
160
|
title: Scalars['String'];
|
|
161
161
|
};
|
|
162
|
-
export
|
|
162
|
+
export type Query = {
|
|
163
163
|
__typename?: 'Query';
|
|
164
164
|
findCollection: CollectionResult;
|
|
165
165
|
getAllCollection: CollectionResultArray;
|
|
166
166
|
getAllCustomPlayer: CustomPlayerResultArray;
|
|
167
167
|
searchCollection: CollectionResultArray;
|
|
168
168
|
};
|
|
169
|
-
export
|
|
169
|
+
export type QueryFindCollectionArgs = {
|
|
170
170
|
data: QueryInput;
|
|
171
171
|
};
|
|
172
|
-
export
|
|
172
|
+
export type QueryGetAllCollectionArgs = {
|
|
173
173
|
data: QueryInput;
|
|
174
174
|
};
|
|
175
|
-
export
|
|
175
|
+
export type QueryGetAllCustomPlayerArgs = {
|
|
176
176
|
data: QueryInput;
|
|
177
177
|
};
|
|
178
|
-
export
|
|
178
|
+
export type QuerySearchCollectionArgs = {
|
|
179
179
|
data: QueryInput;
|
|
180
180
|
};
|
|
181
|
-
export
|
|
181
|
+
export type QueryInput = {
|
|
182
182
|
account: Scalars['String'];
|
|
183
183
|
id?: InputMaybe<Scalars['String']>;
|
|
184
184
|
limit?: InputMaybe<Scalars['Float']>;
|
|
@@ -189,17 +189,17 @@ export declare enum Status {
|
|
|
189
189
|
Active = "active",
|
|
190
190
|
Inactive = "inactive"
|
|
191
191
|
}
|
|
192
|
-
export
|
|
192
|
+
export type UpdateCollectionInput = {
|
|
193
193
|
account: Scalars['String'];
|
|
194
194
|
description?: InputMaybe<Scalars['String']>;
|
|
195
195
|
id: Scalars['String'];
|
|
196
196
|
name?: InputMaybe<Scalars['String']>;
|
|
197
197
|
status?: InputMaybe<Status>;
|
|
198
198
|
};
|
|
199
|
-
export
|
|
199
|
+
export type DeleteAllCustomizationMutationVariables = Exact<{
|
|
200
200
|
data: CustomPlayerInputAccount;
|
|
201
201
|
}>;
|
|
202
|
-
export
|
|
202
|
+
export type DeleteAllCustomizationMutation = {
|
|
203
203
|
__typename?: 'Mutation';
|
|
204
204
|
deleteAllCustomPlayer: {
|
|
205
205
|
__typename: 'CustomPlayerSuccess';
|
|
@@ -210,10 +210,10 @@ export declare type DeleteAllCustomizationMutation = {
|
|
|
210
210
|
timestamp: string;
|
|
211
211
|
};
|
|
212
212
|
};
|
|
213
|
-
export
|
|
213
|
+
export type GetAllCustomizationQueryVariables = Exact<{
|
|
214
214
|
data: QueryInput;
|
|
215
215
|
}>;
|
|
216
|
-
export
|
|
216
|
+
export type GetAllCustomizationQuery = {
|
|
217
217
|
__typename?: 'Query';
|
|
218
218
|
getAllCustomPlayer: {
|
|
219
219
|
__typename: 'CustomPlayerSuccessArray';
|
|
@@ -231,10 +231,10 @@ export declare type GetAllCustomizationQuery = {
|
|
|
231
231
|
timestamp: string;
|
|
232
232
|
};
|
|
233
233
|
};
|
|
234
|
-
export
|
|
234
|
+
export type UpdateCustomizationMutationVariables = Exact<{
|
|
235
235
|
data: CustomPlayerInput;
|
|
236
236
|
}>;
|
|
237
|
-
export
|
|
237
|
+
export type UpdateCustomizationMutation = {
|
|
238
238
|
__typename?: 'Mutation';
|
|
239
239
|
updateCustomPlayer: {
|
|
240
240
|
__typename: 'CustomPlayerSuccess';
|
|
@@ -245,10 +245,10 @@ export declare type UpdateCustomizationMutation = {
|
|
|
245
245
|
timestamp: string;
|
|
246
246
|
};
|
|
247
247
|
};
|
|
248
|
-
export
|
|
248
|
+
export type AddCollectionMutationVariables = Exact<{
|
|
249
249
|
data: CreateCollectionInput;
|
|
250
250
|
}>;
|
|
251
|
-
export
|
|
251
|
+
export type AddCollectionMutation = {
|
|
252
252
|
__typename?: 'Mutation';
|
|
253
253
|
createCollection: {
|
|
254
254
|
__typename: 'CollectionSuccess';
|
|
@@ -263,10 +263,10 @@ export declare type AddCollectionMutation = {
|
|
|
263
263
|
timestamp: string;
|
|
264
264
|
};
|
|
265
265
|
};
|
|
266
|
-
export
|
|
266
|
+
export type DeleteCollectionMutationVariables = Exact<{
|
|
267
267
|
data: QueryInput;
|
|
268
268
|
}>;
|
|
269
|
-
export
|
|
269
|
+
export type DeleteCollectionMutation = {
|
|
270
270
|
__typename?: 'Mutation';
|
|
271
271
|
deleteCollection: {
|
|
272
272
|
__typename: 'CollectionSuccess';
|
|
@@ -277,10 +277,10 @@ export declare type DeleteCollectionMutation = {
|
|
|
277
277
|
timestamp: string;
|
|
278
278
|
};
|
|
279
279
|
};
|
|
280
|
-
export
|
|
280
|
+
export type FindCollectionQueryVariables = Exact<{
|
|
281
281
|
data: QueryInput;
|
|
282
282
|
}>;
|
|
283
|
-
export
|
|
283
|
+
export type FindCollectionQuery = {
|
|
284
284
|
__typename?: 'Query';
|
|
285
285
|
findCollection: {
|
|
286
286
|
__typename: 'CollectionSuccess';
|
|
@@ -312,10 +312,10 @@ export declare type FindCollectionQuery = {
|
|
|
312
312
|
timestamp: string;
|
|
313
313
|
};
|
|
314
314
|
};
|
|
315
|
-
export
|
|
315
|
+
export type GetAllCollectionsQueryVariables = Exact<{
|
|
316
316
|
data: QueryInput;
|
|
317
317
|
}>;
|
|
318
|
-
export
|
|
318
|
+
export type GetAllCollectionsQuery = {
|
|
319
319
|
__typename?: 'Query';
|
|
320
320
|
getAllCollection: {
|
|
321
321
|
__typename: 'CollectionSuccessArray';
|
|
@@ -347,10 +347,10 @@ export declare type GetAllCollectionsQuery = {
|
|
|
347
347
|
timestamp: string;
|
|
348
348
|
};
|
|
349
349
|
};
|
|
350
|
-
export
|
|
350
|
+
export type ManageCollectionProductMutationVariables = Exact<{
|
|
351
351
|
data: ManageCollectionProductInInput;
|
|
352
352
|
}>;
|
|
353
|
-
export
|
|
353
|
+
export type ManageCollectionProductMutation = {
|
|
354
354
|
__typename?: 'Mutation';
|
|
355
355
|
manageCollectionProduct: {
|
|
356
356
|
__typename: 'CollectionSuccess';
|
|
@@ -361,10 +361,10 @@ export declare type ManageCollectionProductMutation = {
|
|
|
361
361
|
timestamp: string;
|
|
362
362
|
};
|
|
363
363
|
};
|
|
364
|
-
export
|
|
364
|
+
export type SearchCollectionsQueryVariables = Exact<{
|
|
365
365
|
data: QueryInput;
|
|
366
366
|
}>;
|
|
367
|
-
export
|
|
367
|
+
export type SearchCollectionsQuery = {
|
|
368
368
|
__typename?: 'Query';
|
|
369
369
|
searchCollection: {
|
|
370
370
|
__typename: 'CollectionSuccessArray';
|
|
@@ -396,10 +396,10 @@ export declare type SearchCollectionsQuery = {
|
|
|
396
396
|
timestamp: string;
|
|
397
397
|
};
|
|
398
398
|
};
|
|
399
|
-
export
|
|
399
|
+
export type UpdateCollectionMutationVariables = Exact<{
|
|
400
400
|
data: UpdateCollectionInput;
|
|
401
401
|
}>;
|
|
402
|
-
export
|
|
402
|
+
export type UpdateCollectionMutation = {
|
|
403
403
|
__typename?: 'Mutation';
|
|
404
404
|
updateCollection: {
|
|
405
405
|
__typename: 'CollectionSuccess';
|