@ludo.ninja/components 1.0.0 → 1.0.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/dist/dto/index.js CHANGED
@@ -1,9 +1,8 @@
1
- export * from './AssetEntity';
1
+ export { default as AssetEntity } from './AssetEntity';
2
2
  export { default as CollectionCreationEntity } from './Collection/CollectionCreationEntity';
3
3
  export { default as CollectionEntity } from './Collection/CollectionEntity';
4
4
  export * from './common/ItemType';
5
5
  export * from './common/ItemViews';
6
6
  export * from './common/Media';
7
- export * from './CreationEntity';
8
- export * from './GalleryEntityV2';
9
- export * from './GalleryEntityV2';
7
+ export { default as CreationEntity } from './CreationEntity';
8
+ export { default as GalleryEntityV2 } from './GalleryEntityV2';
@@ -1,4 +1,4 @@
1
1
  export declare const useGetOpportunities: () => {
2
- opportunities: import("@ludo.ninja/api/build/graphql_tools/__generated__/opportunitiesHost/schema").Maybe<Pick<import("@ludo.ninja/api/build/graphql_tools/__generated__/opportunitiesHost/schema").IOpportunityV2, "blockchain" | "collection" | "name" | "description" | "liked" | "views" | "createdAt" | "opportunityId" | "brandId" | "categoryId" | "opportunityStatus" | "opportunityType" | "notificationType" | "brandName" | "brandDescription" | "brandMedia" | "brandUrl" | "brandIndustry" | "categoryName" | "ludoUrl" | "projectUrl" | "activeFrom" | "activeUntil" | "minXpLevel" | "maxXpLevel" | "minRank" | "maxRank" | "media" | "reportLink" | "clicks" | "minWalletValue" | "maxWalletValue" | "shareLink">>[] | undefined;
2
+ opportunities: import("@ludo.ninja/api/build/graphql_tools/__generated__/opportunitiesHost/schema").Maybe<Pick<import("@ludo.ninja/api/build/graphql_tools/__generated__/opportunitiesHost/schema").IOpportunityV2, "media" | "views" | "createdAt" | "blockchain" | "name" | "collection" | "description" | "liked" | "opportunityId" | "brandId" | "categoryId" | "opportunityStatus" | "opportunityType" | "notificationType" | "brandName" | "brandDescription" | "brandMedia" | "brandUrl" | "brandIndustry" | "categoryName" | "ludoUrl" | "projectUrl" | "activeFrom" | "activeUntil" | "minXpLevel" | "maxXpLevel" | "minRank" | "maxRank" | "reportLink" | "clicks" | "minWalletValue" | "maxWalletValue" | "shareLink">>[] | undefined;
3
3
  isLoadingOpportunities: boolean;
4
4
  };
@@ -8,6 +8,6 @@ export declare const prefetchSearchResultCategorySelections: (apolloClient: Apol
8
8
  declare const useSearchResultCategorySelections: () => {
9
9
  categorySelectionsLoading: boolean;
10
10
  error: import("@apollo/client").ApolloError | undefined;
11
- searchResultCategorySelections: schema.Maybe<Pick<schema.ISelection, "name" | "label">>[] | null;
11
+ searchResultCategorySelections: schema.Maybe<Pick<schema.ISelection, "label" | "name">>[] | null;
12
12
  };
13
13
  export default useSearchResultCategorySelections;
@@ -9,6 +9,6 @@ declare const useSearchResultStatusSelections: () => {
9
9
  searchResultStatusSelectionsLoading: boolean;
10
10
  loading: boolean;
11
11
  error: import("@apollo/client").ApolloError | undefined;
12
- searchResultStatusSelections: schema.Maybe<Pick<schema.ISelection, "name" | "label">>[] | null;
12
+ searchResultStatusSelections: schema.Maybe<Pick<schema.ISelection, "label" | "name">>[] | null;
13
13
  };
14
14
  export default useSearchResultStatusSelections;
@@ -9,5 +9,5 @@ export declare const useSearchResultTypeSelections: () => {
9
9
  resultTypeSelectionsLoading: boolean;
10
10
  error: import("@apollo/client").ApolloError | undefined;
11
11
  data: any;
12
- searchResultTypeSelections: schema.Maybe<Pick<schema.ISelection, "name" | "label">>[] | null;
12
+ searchResultTypeSelections: schema.Maybe<Pick<schema.ISelection, "label" | "name">>[] | null;
13
13
  };
@@ -1,9 +1,8 @@
1
- export * from './AssetEntity';
1
+ export { default as AssetEntity } from './AssetEntity';
2
2
  export { default as CollectionCreationEntity } from './Collection/CollectionCreationEntity';
3
3
  export { default as CollectionEntity } from './Collection/CollectionEntity';
4
4
  export * from './common/ItemType';
5
5
  export * from './common/ItemViews';
6
6
  export * from './common/Media';
7
- export * from './CreationEntity';
8
- export * from './GalleryEntityV2';
9
- export * from './GalleryEntityV2';
7
+ export { default as CreationEntity } from './CreationEntity';
8
+ export { default as GalleryEntityV2 } from './GalleryEntityV2';
@@ -8,7 +8,7 @@ declare const useGetFavoriteGallaryCreations: ({ galleryId, itemsCount, }: {
8
8
  }) => {
9
9
  gallery: GalleryEntityV2[] | null;
10
10
  loading: boolean;
11
- creationsList: (CreationEntity | CollectionCreationEntity)[];
11
+ creationsList: (CollectionCreationEntity | CreationEntity)[];
12
12
  loadingAssets: boolean;
13
13
  loadingGallery: boolean;
14
14
  loadingCollections: boolean;
@@ -6,7 +6,7 @@ declare const useGetMixedLikesFavoriteList: ({ galleryId, itemsCount, }: {
6
6
  itemsCount: number | null;
7
7
  }) => {
8
8
  gallery: import("../../../dto/GalleryEntityV2").default[] | null;
9
- creationsList: [] | (CreationEntity | CollectionCreationEntity)[];
9
+ creationsList: [] | (CollectionCreationEntity | CreationEntity)[];
10
10
  likes: (schema.IDynamicAssetData | schema.IDynamicCollectionData)[];
11
11
  allResults: number | null;
12
12
  loading: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/components",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/index.d.ts",
package/src/dto/index.ts CHANGED
@@ -1,9 +1,8 @@
1
- export * from './AssetEntity';
1
+ export { default as AssetEntity } from './AssetEntity';
2
2
  export { default as CollectionCreationEntity } from './Collection/CollectionCreationEntity';
3
3
  export { default as CollectionEntity } from './Collection/CollectionEntity';
4
4
  export * from './common/ItemType';
5
5
  export * from './common/ItemViews';
6
6
  export * from './common/Media';
7
- export * from './CreationEntity';
8
- export * from './GalleryEntityV2';
9
- export * from './GalleryEntityV2';
7
+ export { default as CreationEntity } from './CreationEntity';
8
+ export { default as GalleryEntityV2 } from './GalleryEntityV2';