@nizza/core 0.3.1-alpha.1 → 0.3.1-beta.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.
@@ -10,6 +10,8 @@ export declare class NizzaStore {
10
10
  static instance(): NizzaStore;
11
11
  configure(config: NizzaConfiguration): Promise<this>;
12
12
  get account(): NizzaAccount;
13
+ get ok(): boolean;
14
+ get accountName(): string;
13
15
  get productDataSource(): NizzaProductDataSource | null;
14
16
  get config(): NizzaConfiguration | null;
15
17
  setProductDataSource(dataSource: NizzaProductDataSource): void;
@@ -693,6 +693,21 @@ export type SearchMinimalEventsQuery = {
693
693
  }> | null;
694
694
  };
695
695
  };
696
+ export type AppendProductsToSnackVideoMutationVariables = Exact<{
697
+ data: RelateToProductsSnackVideoInput;
698
+ }>;
699
+ export type AppendProductsToSnackVideoMutation = {
700
+ __typename?: 'Mutation';
701
+ appendProductsSnackVideo: {
702
+ __typename: 'ActionSnackVideoSuccess';
703
+ message: string;
704
+ } | {
705
+ __typename: 'ErrorGeneral';
706
+ message: string;
707
+ statusCode: string;
708
+ timestamp: string;
709
+ };
710
+ };
696
711
  export type CreateSnackVideoBatchMutationVariables = Exact<{
697
712
  data: CreateSnackVideoInput;
698
713
  }>;
@@ -711,6 +726,20 @@ export type CreateSnackVideoBatchMutation = {
711
726
  }> | null;
712
727
  };
713
728
  };
729
+ export type DeleteRelationshipWithSnackVideoMutationVariables = Exact<{
730
+ data: SnackVideoRelationshipKeys;
731
+ }>;
732
+ export type DeleteRelationshipWithSnackVideoMutation = {
733
+ __typename?: 'Mutation';
734
+ deleteRelationshipSnackVideo: {
735
+ __typename: 'ActionSnackVideoSuccess';
736
+ message: string;
737
+ } | {
738
+ __typename: 'ErrorGeneral';
739
+ message: string;
740
+ statusCode: string;
741
+ };
742
+ };
714
743
  export type FindManySnackVideosQueryVariables = Exact<{
715
744
  data: FindManySnackVideoInput;
716
745
  }>;
@@ -768,6 +797,22 @@ export type GetAllSnackVideosQuery = {
768
797
  } | null;
769
798
  };
770
799
  };
800
+ export type GetSnackVideoRelationshipsQueryVariables = Exact<{
801
+ data: SnackVideoRelationshipInput;
802
+ }>;
803
+ export type GetSnackVideoRelationshipsQuery = {
804
+ __typename?: 'Query';
805
+ getRelationshipSnackVideos: {
806
+ __typename: 'ErrorGeneral';
807
+ } | {
808
+ __typename: 'RelationshipSnackVideoArray';
809
+ data?: Array<{
810
+ __typename?: 'RelationshipSnackVideo';
811
+ sourceEntity: string;
812
+ attributeId: string;
813
+ }> | null;
814
+ };
815
+ };
771
816
  export type SearchSnackVideosQueryVariables = Exact<{
772
817
  data: SearchInput;
773
818
  }>;
@@ -857,15 +902,24 @@ export declare const FindMinimalEventDocument: DocumentNode<FindMinimalEventQuer
857
902
  export declare const SearchMinimalEventsDocument: DocumentNode<SearchMinimalEventsQuery, Exact<{
858
903
  data: SearchEventInput;
859
904
  }>>;
905
+ export declare const AppendProductsToSnackVideoDocument: DocumentNode<AppendProductsToSnackVideoMutation, Exact<{
906
+ data: RelateToProductsSnackVideoInput;
907
+ }>>;
860
908
  export declare const CreateSnackVideoBatchDocument: DocumentNode<CreateSnackVideoBatchMutation, Exact<{
861
909
  data: CreateSnackVideoInput;
862
910
  }>>;
911
+ export declare const DeleteRelationshipWithSnackVideoDocument: DocumentNode<DeleteRelationshipWithSnackVideoMutation, Exact<{
912
+ data: SnackVideoRelationshipKeys;
913
+ }>>;
863
914
  export declare const FindManySnackVideosDocument: DocumentNode<FindManySnackVideosQuery, Exact<{
864
915
  data: FindManySnackVideoInput;
865
916
  }>>;
866
917
  export declare const GetAllSnackVideosDocument: DocumentNode<GetAllSnackVideosQuery, Exact<{
867
918
  data: QueryInput;
868
919
  }>>;
920
+ export declare const GetSnackVideoRelationshipsDocument: DocumentNode<GetSnackVideoRelationshipsQuery, Exact<{
921
+ data: SnackVideoRelationshipInput;
922
+ }>>;
869
923
  export declare const SearchSnackVideosDocument: DocumentNode<SearchSnackVideosQuery, Exact<{
870
924
  data: SearchInput;
871
925
  }>>;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nizza/core",
3
- "version": "0.3.1-alpha.1",
3
+ "version": "0.3.1-beta.1",
4
4
  "type": "module",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.cjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nizza/core",
3
- "version": "0.3.1-alpha.1",
3
+ "version": "0.3.1-beta.1",
4
4
  "type": "module",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.cjs",