supabase-typed-query 0.10.0 → 0.11.0

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/index.mjs CHANGED
@@ -889,17 +889,43 @@ function createAddItemsMutation(client, name, items, schema) {
889
889
  }
890
890
  function createUpdateItemMutation(client, name, item, whereConditions, is, wherein, schema) {
891
891
  return SingleMutationQuery(
892
- updateEntity(client, name, item, whereConditions, is, wherein, schema)
892
+ updateEntity(
893
+ client,
894
+ name,
895
+ item,
896
+ whereConditions,
897
+ is,
898
+ wherein,
899
+ schema
900
+ )
893
901
  );
894
902
  }
895
903
  function createUpdateItemsMutation(client, name, data, where, is, wherein, schema) {
896
904
  return MultiMutationQuery(
897
- upsertEntities(client, name, [data], void 0, where, is, wherein, schema)
905
+ upsertEntities(
906
+ client,
907
+ name,
908
+ [data],
909
+ void 0,
910
+ where,
911
+ is,
912
+ wherein,
913
+ schema
914
+ )
898
915
  );
899
916
  }
900
917
  function createUpsertItemsMutation(client, name, items, identity, schema) {
901
918
  return MultiMutationQuery(
902
- upsertEntities(client, name, items, identity, void 0, void 0, void 0, schema)
919
+ upsertEntities(
920
+ client,
921
+ name,
922
+ items,
923
+ identity,
924
+ void 0,
925
+ void 0,
926
+ void 0,
927
+ schema
928
+ )
903
929
  );
904
930
  }
905
931
  function makeGetItem(client, name, softDeleteMode, schema) {
@@ -1023,11 +1049,39 @@ function makePartitionedUpsertItems(client, name, _partitionField, schema) {
1023
1049
  };
1024
1050
  }
1025
1051
  function createDeleteItemMutation(client, name, whereConditions, is, wherein, softDelete, schema) {
1026
- const operation = softDelete ? softDeleteEntity(client, name, whereConditions, is, wherein, schema) : deleteEntity(client, name, whereConditions, is, wherein, schema);
1052
+ const operation = softDelete ? softDeleteEntity(
1053
+ client,
1054
+ name,
1055
+ whereConditions,
1056
+ is,
1057
+ wherein,
1058
+ schema
1059
+ ) : deleteEntity(
1060
+ client,
1061
+ name,
1062
+ whereConditions,
1063
+ is,
1064
+ wherein,
1065
+ schema
1066
+ );
1027
1067
  return SingleMutationQuery(operation);
1028
1068
  }
1029
1069
  function createDeleteItemsMutation(client, name, whereConditions, is, wherein, softDelete, schema) {
1030
- const operation = softDelete ? softDeleteEntities(client, name, whereConditions, is, wherein, schema) : deleteEntities(client, name, whereConditions, is, wherein, schema);
1070
+ const operation = softDelete ? softDeleteEntities(
1071
+ client,
1072
+ name,
1073
+ whereConditions,
1074
+ is,
1075
+ wherein,
1076
+ schema
1077
+ ) : deleteEntities(
1078
+ client,
1079
+ name,
1080
+ whereConditions,
1081
+ is,
1082
+ wherein,
1083
+ schema
1084
+ );
1031
1085
  return MultiMutationQuery(operation);
1032
1086
  }
1033
1087
  function makeDeleteItem(client, name, softDelete, schema) {