@nizza/core 0.3.0-alpha.0 → 0.3.0-alpha.2

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.
Files changed (194) hide show
  1. package/package.json +13 -10
  2. package/src/environments/environment.d.js +3 -0
  3. package/src/environments/environment.d.js.map +1 -0
  4. package/src/environments/environment.js +28 -0
  5. package/src/environments/environment.js.map +1 -0
  6. package/src/environments/environment.prod.d.js +3 -0
  7. package/src/environments/environment.prod.d.js.map +1 -0
  8. package/src/environments/environment.prod.d.ts +20 -0
  9. package/src/environments/environment.prod.js +27 -0
  10. package/src/environments/environment.prod.js.map +1 -0
  11. package/src/environments/environment.staging.d.js +3 -0
  12. package/src/environments/environment.staging.d.js.map +1 -0
  13. package/src/environments/environment.staging.d.ts +20 -0
  14. package/src/environments/environment.staging.js +27 -0
  15. package/src/environments/environment.staging.js.map +1 -0
  16. package/src/index.d.js +8 -0
  17. package/src/index.d.js.map +1 -0
  18. package/src/index.js +8 -0
  19. package/src/index.js.map +1 -0
  20. package/src/lib/constants/index.d.js +3 -0
  21. package/src/lib/constants/index.d.js.map +1 -0
  22. package/src/lib/constants/index.js +3 -0
  23. package/src/lib/constants/index.js.map +1 -0
  24. package/src/lib/constants/products.d.js +3 -0
  25. package/src/lib/constants/products.d.js.map +1 -0
  26. package/src/lib/constants/products.js +6 -0
  27. package/src/lib/constants/products.js.map +1 -0
  28. package/src/lib/domain/AggregateRoot.d.js +3 -0
  29. package/src/lib/domain/AggregateRoot.d.js.map +1 -0
  30. package/src/lib/domain/AggregateRoot.js +22 -0
  31. package/src/lib/domain/AggregateRoot.js.map +1 -0
  32. package/src/lib/domain/BaseMobxStore.d.js +3 -0
  33. package/src/lib/domain/BaseMobxStore.d.js.map +1 -0
  34. package/src/lib/domain/BaseMobxStore.js +4 -0
  35. package/src/lib/domain/BaseMobxStore.js.map +1 -0
  36. package/src/lib/domain/ValueObject.d.js +3 -0
  37. package/src/lib/domain/ValueObject.d.js.map +1 -0
  38. package/src/lib/domain/ValueObject.js +12 -0
  39. package/src/lib/domain/ValueObject.js.map +1 -0
  40. package/src/lib/domain/errors/DomainError.d.js +3 -0
  41. package/src/lib/domain/errors/DomainError.d.js.map +1 -0
  42. package/src/lib/domain/errors/DomainError.js +18 -0
  43. package/src/lib/domain/errors/DomainError.js.map +1 -0
  44. package/src/lib/domain/errors/api.d.js +3 -0
  45. package/src/lib/domain/errors/api.d.js.map +1 -0
  46. package/src/lib/domain/errors/api.js +8 -0
  47. package/src/lib/domain/errors/api.js.map +1 -0
  48. package/src/lib/domain/errors/app.d.js +3 -0
  49. package/src/lib/domain/errors/app.d.js.map +1 -0
  50. package/src/lib/domain/errors/app.js +14 -0
  51. package/src/lib/domain/errors/app.js.map +1 -0
  52. package/src/lib/domain/errors/index.d.js +5 -0
  53. package/src/lib/domain/errors/index.d.js.map +1 -0
  54. package/src/lib/domain/errors/index.js +5 -0
  55. package/src/lib/domain/errors/index.js.map +1 -0
  56. package/src/lib/domain/index.d.js +6 -0
  57. package/src/lib/domain/index.d.js.map +1 -0
  58. package/src/lib/domain/index.js +6 -0
  59. package/src/lib/domain/index.js.map +1 -0
  60. package/src/lib/providers/StoreProvider.d.js +3 -0
  61. package/src/lib/providers/StoreProvider.d.js.map +1 -0
  62. package/src/lib/providers/StoreProvider.js +36 -0
  63. package/src/lib/providers/StoreProvider.js.map +1 -0
  64. package/src/lib/providers/index.d.js +3 -0
  65. package/src/lib/providers/index.d.js.map +1 -0
  66. package/src/lib/providers/index.js +3 -0
  67. package/src/lib/providers/index.js.map +1 -0
  68. package/src/lib/stores/NizzaStore.d.js +3 -0
  69. package/src/lib/stores/NizzaStore.d.js.map +1 -0
  70. package/src/lib/stores/NizzaStore.js +18 -0
  71. package/src/lib/stores/NizzaStore.js.map +1 -0
  72. package/src/lib/stores/index.d.js +3 -0
  73. package/src/lib/stores/index.d.js.map +1 -0
  74. package/src/lib/stores/index.js +3 -0
  75. package/src/lib/stores/index.js.map +1 -0
  76. package/src/lib/types/api-graphql-types.d.js +3 -0
  77. package/src/lib/types/api-graphql-types.d.js.map +1 -0
  78. package/{dist → src}/lib/types/api-graphql-types.d.ts +57 -57
  79. package/src/lib/types/api-graphql-types.js +2003 -0
  80. package/src/lib/types/api-graphql-types.js.map +1 -0
  81. package/src/lib/types/app-module.d.js +3 -0
  82. package/src/lib/types/app-module.d.js.map +1 -0
  83. package/src/lib/types/app-module.js +3 -0
  84. package/src/lib/types/app-module.js.map +1 -0
  85. package/src/lib/types/index.d.js +9 -0
  86. package/src/lib/types/index.d.js.map +1 -0
  87. package/src/lib/types/index.js +9 -0
  88. package/src/lib/types/index.js.map +1 -0
  89. package/src/lib/types/mobx-store.d.js +3 -0
  90. package/src/lib/types/mobx-store.d.js.map +1 -0
  91. package/src/lib/types/mobx-store.d.ts +3 -0
  92. package/src/lib/types/mobx-store.js +3 -0
  93. package/src/lib/types/mobx-store.js.map +1 -0
  94. package/src/lib/types/nizzaGlobalObject.d.js +3 -0
  95. package/src/lib/types/nizzaGlobalObject.d.js.map +1 -0
  96. package/src/lib/types/nizzaGlobalObject.js +3 -0
  97. package/src/lib/types/nizzaGlobalObject.js.map +1 -0
  98. package/src/lib/types/products/base.d.js +8 -0
  99. package/src/lib/types/products/base.d.js.map +1 -0
  100. package/src/lib/types/products/base.js +8 -0
  101. package/src/lib/types/products/base.js.map +1 -0
  102. package/src/lib/types/products/index.d.js +4 -0
  103. package/src/lib/types/products/index.d.js.map +1 -0
  104. package/src/lib/types/products/index.js +4 -0
  105. package/src/lib/types/products/index.js.map +1 -0
  106. package/src/lib/types/products/product.d.js +3 -0
  107. package/src/lib/types/products/product.d.js.map +1 -0
  108. package/src/lib/types/products/product.d.ts +16 -0
  109. package/src/lib/types/products/product.js +3 -0
  110. package/src/lib/types/products/product.js.map +1 -0
  111. package/src/lib/types/utils.d.js +3 -0
  112. package/src/lib/types/utils.d.js.map +1 -0
  113. package/{dist → src}/lib/types/utils.d.ts +3 -3
  114. package/src/lib/types/utils.js +4 -0
  115. package/src/lib/types/utils.js.map +1 -0
  116. package/src/lib/utils/Result.d.js +3 -0
  117. package/src/lib/utils/Result.d.js.map +1 -0
  118. package/{dist → src}/lib/utils/Result.d.ts +1 -1
  119. package/src/lib/utils/Result.js +63 -0
  120. package/src/lib/utils/Result.js.map +1 -0
  121. package/src/lib/utils/apiCall.d.js +3 -0
  122. package/src/lib/utils/apiCall.d.js.map +1 -0
  123. package/src/lib/utils/apiCall.js +28 -0
  124. package/src/lib/utils/apiCall.js.map +1 -0
  125. package/src/lib/utils/customStorage/MemoryStorage.d.js +3 -0
  126. package/src/lib/utils/customStorage/MemoryStorage.d.js.map +1 -0
  127. package/src/lib/utils/customStorage/MemoryStorage.js +44 -0
  128. package/src/lib/utils/customStorage/MemoryStorage.js.map +1 -0
  129. package/src/lib/utils/customStorage/index.d.js +3 -0
  130. package/src/lib/utils/customStorage/index.d.js.map +1 -0
  131. package/src/lib/utils/customStorage/index.js +36 -0
  132. package/src/lib/utils/customStorage/index.js.map +1 -0
  133. package/src/lib/utils/customStorage/utils.d.js +3 -0
  134. package/src/lib/utils/customStorage/utils.d.js.map +1 -0
  135. package/{dist → src}/lib/utils/customStorage/utils.d.ts +1 -1
  136. package/src/lib/utils/customStorage/utils.js +24 -0
  137. package/src/lib/utils/customStorage/utils.js.map +1 -0
  138. package/src/lib/utils/fingerprint.d.js +3 -0
  139. package/src/lib/utils/fingerprint.d.js.map +1 -0
  140. package/src/lib/utils/fingerprint.d.ts +1 -0
  141. package/src/lib/utils/fingerprint.js +14 -0
  142. package/src/lib/utils/fingerprint.js.map +1 -0
  143. package/src/lib/utils/helpers.d.js +3 -0
  144. package/src/lib/utils/helpers.d.js.map +1 -0
  145. package/{dist → src}/lib/utils/helpers.d.ts +1 -1
  146. package/src/lib/utils/helpers.js +15 -0
  147. package/src/lib/utils/helpers.js.map +1 -0
  148. package/src/lib/utils/index.d.js +8 -0
  149. package/src/lib/utils/index.d.js.map +1 -0
  150. package/src/lib/utils/index.js +8 -0
  151. package/src/lib/utils/index.js.map +1 -0
  152. package/src/lib/utils/lazyLoad.d.js +3 -0
  153. package/src/lib/utils/lazyLoad.d.js.map +1 -0
  154. package/{dist → src}/lib/utils/lazyLoad.d.ts +1 -1
  155. package/src/lib/utils/lazyLoad.js +17 -0
  156. package/src/lib/utils/lazyLoad.js.map +1 -0
  157. package/src/typings/libs.d.js +2 -0
  158. package/src/typings/libs.d.js.map +1 -0
  159. package/vite-env.d.js +3 -0
  160. package/vite-env.d.js.map +1 -0
  161. package/vite.config.js +10 -0
  162. package/vite.config.js.map +1 -0
  163. package/README.md +0 -3
  164. package/dist/index.es.js +0 -2795
  165. package/dist/lib/types/mobx-store.d.ts +0 -3
  166. package/dist/lib/types/products/product.d.ts +0 -16
  167. package/dist/lib/utils/fingerprint.d.ts +0 -1
  168. package/dist/package.json +0 -21
  169. package/dist/typings/libs.d.ts +0 -0
  170. /package/{dist → src}/environments/environment.d.ts +0 -0
  171. /package/{dist → src}/index.d.ts +0 -0
  172. /package/{dist → src}/lib/constants/index.d.ts +0 -0
  173. /package/{dist → src}/lib/constants/products.d.ts +0 -0
  174. /package/{dist → src}/lib/domain/AggregateRoot.d.ts +0 -0
  175. /package/{dist → src}/lib/domain/BaseMobxStore.d.ts +0 -0
  176. /package/{dist → src}/lib/domain/ValueObject.d.ts +0 -0
  177. /package/{dist → src}/lib/domain/errors/DomainError.d.ts +0 -0
  178. /package/{dist → src}/lib/domain/errors/api.d.ts +0 -0
  179. /package/{dist → src}/lib/domain/errors/app.d.ts +0 -0
  180. /package/{dist → src}/lib/domain/errors/index.d.ts +0 -0
  181. /package/{dist → src}/lib/domain/index.d.ts +0 -0
  182. /package/{dist → src}/lib/providers/StoreProvider.d.ts +0 -0
  183. /package/{dist → src}/lib/providers/index.d.ts +0 -0
  184. /package/{dist → src}/lib/stores/NizzaStore.d.ts +0 -0
  185. /package/{dist → src}/lib/stores/index.d.ts +0 -0
  186. /package/{dist → src}/lib/types/app-module.d.ts +0 -0
  187. /package/{dist → src}/lib/types/index.d.ts +0 -0
  188. /package/{dist → src}/lib/types/nizzaGlobalObject.d.ts +0 -0
  189. /package/{dist → src}/lib/types/products/base.d.ts +0 -0
  190. /package/{dist → src}/lib/types/products/index.d.ts +0 -0
  191. /package/{dist → src}/lib/utils/apiCall.d.ts +0 -0
  192. /package/{dist → src}/lib/utils/customStorage/MemoryStorage.d.ts +0 -0
  193. /package/{dist → src}/lib/utils/customStorage/index.d.ts +0 -0
  194. /package/{dist → src}/lib/utils/index.d.ts +0 -0
@@ -0,0 +1,3 @@
1
+ export * from './NizzaStore';
2
+
3
+ //# sourceMappingURL=index.js.map
@@ -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,3 @@
1
+ export { };
2
+
3
+ //# sourceMappingURL=api-graphql-types.d.js.map
@@ -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 declare type Maybe<T> = T | null;
3
- export declare type InputMaybe<T> = Maybe<T>;
4
- export declare type Exact<T extends {
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 declare type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
9
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
10
10
  [SubKey in K]?: Maybe<T[SubKey]>;
11
11
  };
12
- export declare type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
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 declare type Scalars = {
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 declare type Collection = {
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 declare type CollectionResult = CollectionSuccess | ErrorGeneral;
40
- export declare type CollectionResultArray = CollectionSuccessArray | ErrorGeneral;
41
- export declare type CollectionSuccess = {
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 declare type CollectionSuccessArray = {
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 declare type CreateCollectionInput = {
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 declare type CustomPlayer = {
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 declare type CustomPlayerInput = {
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 declare type CustomPlayerInputAccount = {
81
+ export type CustomPlayerInputAccount = {
82
82
  account: Scalars['String'];
83
83
  };
84
- export declare type CustomPlayerResult = CustomPlayerSuccess | ErrorGeneral;
85
- export declare type CustomPlayerResultArray = CustomPlayerSuccessArray | ErrorGeneral;
86
- export declare type CustomPlayerSuccess = {
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 declare type CustomPlayerSuccessArray = {
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 declare type Error = {
102
+ export type Error = {
103
103
  message: Scalars['String'];
104
104
  statusCode: Scalars['String'];
105
105
  timestamp: Scalars['String'];
106
106
  };
107
- export declare type ErrorGeneral = Error & {
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 declare type ManageCollectionProductInInput = {
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 declare type Mutation = {
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 declare type MutationCreateCollectionArgs = {
132
+ export type MutationCreateCollectionArgs = {
133
133
  data: CreateCollectionInput;
134
134
  };
135
- export declare type MutationDeleteAllCustomPlayerArgs = {
135
+ export type MutationDeleteAllCustomPlayerArgs = {
136
136
  data: CustomPlayerInputAccount;
137
137
  };
138
- export declare type MutationDeleteCollectionArgs = {
138
+ export type MutationDeleteCollectionArgs = {
139
139
  data: QueryInput;
140
140
  };
141
- export declare type MutationManageCollectionProductArgs = {
141
+ export type MutationManageCollectionProductArgs = {
142
142
  data: ManageCollectionProductInInput;
143
143
  };
144
- export declare type MutationUpdateCollectionArgs = {
144
+ export type MutationUpdateCollectionArgs = {
145
145
  data: UpdateCollectionInput;
146
146
  };
147
- export declare type MutationUpdateCustomPlayerArgs = {
147
+ export type MutationUpdateCustomPlayerArgs = {
148
148
  data: CustomPlayerInput;
149
149
  };
150
- export declare type Product = {
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 declare type Query = {
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 declare type QueryFindCollectionArgs = {
169
+ export type QueryFindCollectionArgs = {
170
170
  data: QueryInput;
171
171
  };
172
- export declare type QueryGetAllCollectionArgs = {
172
+ export type QueryGetAllCollectionArgs = {
173
173
  data: QueryInput;
174
174
  };
175
- export declare type QueryGetAllCustomPlayerArgs = {
175
+ export type QueryGetAllCustomPlayerArgs = {
176
176
  data: QueryInput;
177
177
  };
178
- export declare type QuerySearchCollectionArgs = {
178
+ export type QuerySearchCollectionArgs = {
179
179
  data: QueryInput;
180
180
  };
181
- export declare type QueryInput = {
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 declare type UpdateCollectionInput = {
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 declare type DeleteAllCustomizationMutationVariables = Exact<{
199
+ export type DeleteAllCustomizationMutationVariables = Exact<{
200
200
  data: CustomPlayerInputAccount;
201
201
  }>;
202
- export declare type DeleteAllCustomizationMutation = {
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 declare type GetAllCustomizationQueryVariables = Exact<{
213
+ export type GetAllCustomizationQueryVariables = Exact<{
214
214
  data: QueryInput;
215
215
  }>;
216
- export declare type GetAllCustomizationQuery = {
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 declare type UpdateCustomizationMutationVariables = Exact<{
234
+ export type UpdateCustomizationMutationVariables = Exact<{
235
235
  data: CustomPlayerInput;
236
236
  }>;
237
- export declare type UpdateCustomizationMutation = {
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 declare type AddCollectionMutationVariables = Exact<{
248
+ export type AddCollectionMutationVariables = Exact<{
249
249
  data: CreateCollectionInput;
250
250
  }>;
251
- export declare type AddCollectionMutation = {
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 declare type DeleteCollectionMutationVariables = Exact<{
266
+ export type DeleteCollectionMutationVariables = Exact<{
267
267
  data: QueryInput;
268
268
  }>;
269
- export declare type DeleteCollectionMutation = {
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 declare type FindCollectionQueryVariables = Exact<{
280
+ export type FindCollectionQueryVariables = Exact<{
281
281
  data: QueryInput;
282
282
  }>;
283
- export declare type FindCollectionQuery = {
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 declare type GetAllCollectionsQueryVariables = Exact<{
315
+ export type GetAllCollectionsQueryVariables = Exact<{
316
316
  data: QueryInput;
317
317
  }>;
318
- export declare type GetAllCollectionsQuery = {
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 declare type ManageCollectionProductMutationVariables = Exact<{
350
+ export type ManageCollectionProductMutationVariables = Exact<{
351
351
  data: ManageCollectionProductInInput;
352
352
  }>;
353
- export declare type ManageCollectionProductMutation = {
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 declare type SearchCollectionsQueryVariables = Exact<{
364
+ export type SearchCollectionsQueryVariables = Exact<{
365
365
  data: QueryInput;
366
366
  }>;
367
- export declare type SearchCollectionsQuery = {
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 declare type UpdateCollectionMutationVariables = Exact<{
399
+ export type UpdateCollectionMutationVariables = Exact<{
400
400
  data: UpdateCollectionInput;
401
401
  }>;
402
- export declare type UpdateCollectionMutation = {
402
+ export type UpdateCollectionMutation = {
403
403
  __typename?: 'Mutation';
404
404
  updateCollection: {
405
405
  __typename: 'CollectionSuccess';