@timardex/cluemart-shared 1.0.13 → 1.0.15

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.cjs CHANGED
@@ -32,6 +32,7 @@ var index_exports = {};
32
32
  __export(index_exports, {
33
33
  EnumInviteStatus: () => EnumInviteStatus,
34
34
  EnumNotification: () => EnumNotification,
35
+ EnumPaymentMethod: () => EnumPaymentMethod,
35
36
  EnumRegions: () => EnumRegions,
36
37
  EnumRejectionPolicy: () => EnumRejectionPolicy,
37
38
  EnumRelationResource: () => EnumRelationResource,
@@ -72,6 +73,7 @@ __export(index_exports, {
72
73
  marketPriceByDateFields: () => marketPriceByDateFields,
73
74
  marketSchema: () => marketSchema,
74
75
  marketStartDateFields: () => marketStartDateFields,
76
+ noLeadingZeros: () => noLeadingZeros,
75
77
  packagingOptions: () => packagingOptions,
76
78
  passwordSchema: () => passwordSchema,
77
79
  paymentMethodOptions: () => paymentMethodOptions,
@@ -87,6 +89,7 @@ __export(index_exports, {
87
89
  resetPasswordSchema: () => resetPasswordSchema,
88
90
  sortDatesByProximity: () => sortDatesByProximity,
89
91
  stallApplicationInfo: () => stallApplicationInfo,
92
+ stallApplicationInfoPaymentTarget: () => stallApplicationInfoPaymentTarget,
90
93
  stallHolderSchema: () => stallHolderSchema,
91
94
  stallholderApplyFormSchema: () => stallholderApplyFormSchema,
92
95
  stallholderBasicInfoFields: () => stallholderBasicInfoFields,
@@ -113,6 +116,7 @@ __export(index_exports, {
113
116
  useAddUserFavouriteResource: () => useAddUserFavouriteResource,
114
117
  useCreateChat: () => useCreateChat,
115
118
  useCreateMarket: () => useCreateMarket,
119
+ useCreatePoster: () => useCreatePoster,
116
120
  useCreateRelation: () => useCreateRelation,
117
121
  useCreateStallholder: () => useCreateStallholder,
118
122
  useCreateStallholderApplyForm: () => useCreateStallholderApplyForm,
@@ -182,13 +186,13 @@ var import_utc = __toESM(require("dayjs/plugin/utc"));
182
186
 
183
187
  // src/enums.ts
184
188
  var EnumInviteStatus = /* @__PURE__ */ ((EnumInviteStatus2) => {
185
- EnumInviteStatus2["ACCEPTED"] = "ACCEPTED";
186
- EnumInviteStatus2["COMPLETED"] = "COMPLETED";
187
- EnumInviteStatus2["EXPIRED"] = "EXPIRED";
188
- EnumInviteStatus2["NO_STATUS"] = "NO_STATUS";
189
- EnumInviteStatus2["PENDING"] = "PENDING";
190
- EnumInviteStatus2["REJECTED"] = "REJECTED";
191
- EnumInviteStatus2["WAITING"] = "WAITING";
189
+ EnumInviteStatus2["ACCEPTED"] = "Accepted";
190
+ EnumInviteStatus2["COMPLETED"] = "Completed";
191
+ EnumInviteStatus2["EXPIRED"] = "Expired";
192
+ EnumInviteStatus2["NO_STATUS"] = "No_Status";
193
+ EnumInviteStatus2["PENDING"] = "Pending";
194
+ EnumInviteStatus2["REJECTED"] = "Rejected";
195
+ EnumInviteStatus2["WAITING"] = "Waiting";
192
196
  return EnumInviteStatus2;
193
197
  })(EnumInviteStatus || {});
194
198
  var EnumRejectionPolicy = /* @__PURE__ */ ((EnumRejectionPolicy2) => {
@@ -196,6 +200,14 @@ var EnumRejectionPolicy = /* @__PURE__ */ ((EnumRejectionPolicy2) => {
196
200
  EnumRejectionPolicy2["MULTI_DATE_ALLOWED"] = "multi_date_allowed";
197
201
  return EnumRejectionPolicy2;
198
202
  })(EnumRejectionPolicy || {});
203
+ var EnumPaymentMethod = /* @__PURE__ */ ((EnumPaymentMethod3) => {
204
+ EnumPaymentMethod3["CASH"] = "cash";
205
+ EnumPaymentMethod3["EFTPOS"] = "eftpos";
206
+ EnumPaymentMethod3["BANK_TRANSFER"] = "bank_transfer";
207
+ EnumPaymentMethod3["PAYPAL"] = "paypal";
208
+ EnumPaymentMethod3["STRIPE"] = "stripe";
209
+ return EnumPaymentMethod3;
210
+ })(EnumPaymentMethod || {});
199
211
  var EnumResourceType = /* @__PURE__ */ ((EnumResourceType2) => {
200
212
  EnumResourceType2["MARKET"] = "market";
201
213
  EnumResourceType2["STALLHOLDER"] = "stallholder";
@@ -356,6 +368,9 @@ function sortDatesByProximity(dates) {
356
368
  }
357
369
  var availableRegionTypes = Object.values(EnumRegions);
358
370
  var availableRegionOptions = mapArrayToOptions(availableRegionTypes);
371
+ var paymentMethodOptions = mapArrayToOptions(
372
+ Object.values(EnumPaymentMethod)
373
+ );
359
374
 
360
375
  // src/hooks/useLocationSearch.ts
361
376
  var handleApiError = (error, message) => {
@@ -441,6 +456,18 @@ var import_dayjs2 = __toESM(require("dayjs"));
441
456
  var import_customParseFormat2 = __toESM(require("dayjs/plugin/customParseFormat"));
442
457
  var import_isSameOrAfter = __toESM(require("dayjs/plugin/isSameOrAfter"));
443
458
  var yup = __toESM(require("yup"));
459
+ var noLeadingZeros = (fieldName, options = {}) => {
460
+ return function(value, context) {
461
+ const original = context.originalValue?.toString() ?? "";
462
+ const regex = options.allowDecimal ? /^0\d+(\.\d+)?$/ : /^0\d+$/;
463
+ if (regex.test(original)) {
464
+ return context.createError({
465
+ message: `${fieldName} must not have leading zeros`
466
+ });
467
+ }
468
+ return true;
469
+ };
470
+ };
444
471
  (0, import_dayjs2.extend)(import_isSameOrAfter.default);
445
472
  (0, import_dayjs2.extend)(import_customParseFormat2.default);
446
473
  var now = (0, import_dayjs2.default)();
@@ -500,11 +527,8 @@ var dateTimeSchema = yup.object().shape({
500
527
  endTime: yup.string().concat(endTimeMustBeAfterStartTimeTest).required("End time is required"),
501
528
  marketPrice: yup.number().typeError("Market price must be a number").min(0.1, "Market price must be at least 0.1").required("Market price is required").test(
502
529
  "no-leading-zeros",
503
- "Market price must not have leading zeros",
504
- (value, context) => {
505
- const original = context.originalValue?.toString() ?? "";
506
- return !/^0\d+(\.\d+)?$/.test(original);
507
- }
530
+ "",
531
+ noLeadingZeros("Market price", { allowDecimal: true })
508
532
  ),
509
533
  startDate: yup.string().concat(startDateNotInPastTest).required("Start date is required"),
510
534
  startTime: yup.string().concat(startTimeCannotBeInPastTest).required("Start time is required")
@@ -539,6 +563,7 @@ var globalResourceSchema = yup.object().shape({
539
563
 
540
564
  // src/yupSchema/market.ts
541
565
  var yup2 = __toESM(require("yup"));
566
+ var nzBankAccountRegex = /^\d{2}-\d{4}-\d{7}-\d{2}$/;
542
567
  var marketSchema = globalResourceSchema.shape({
543
568
  dateTime: yup2.array().of(dateTimeSchema).required("DateTime is required"),
544
569
  location: locationSchema,
@@ -546,21 +571,40 @@ var marketSchema = globalResourceSchema.shape({
546
571
  stallApplicationInfo: yup2.object().shape({
547
572
  applicationDeadlineHours: yup2.number().typeError("Application deadline hours must be a number").min(1, "Application deadline hours must be at least 1").required("Application deadline hours is required").test(
548
573
  "no-leading-zeros",
549
- "Application deadline hours must not start with leading zeros",
550
- (value, context) => {
551
- const original = context.originalValue?.toString() ?? "";
552
- return !/^0\d+$/.test(original);
553
- }
574
+ "",
575
+ noLeadingZeros("Application deadline hours")
554
576
  ),
555
- rejectionPolicy: yup2.mixed().oneOf(Object.values(EnumRejectionPolicy)).required("Rejection policy is required"),
556
- stallCapacity: yup2.number().typeError("Stall capacity must be a number").min(1, "Stall capacity must be at least 1").integer("Stall capacity must be a whole number").required("Stall capacity is required").test(
557
- "no-leading-zeros",
558
- "Stall capacity must not have leading zeros",
559
- (value, context) => {
560
- const original = context.originalValue?.toString() ?? "";
561
- return !/^0\d+$/.test(original);
577
+ paymentDueHours: yup2.number().typeError("Payment due hours must be a number").min(1, "Payment due hours must be at least 1").required("Payment due hours is required").test("no-leading-zeros", "", noLeadingZeros("Payment due hours")),
578
+ paymentMethod: yup2.mixed().oneOf(Object.values(EnumPaymentMethod)).required("Please select a Payment method"),
579
+ paymentTarget: yup2.object().when("paymentMethod", (paymentMethod, schema) => {
580
+ const isBankTransfer = paymentMethod.includes(
581
+ "bank_transfer" /* BANK_TRANSFER */
582
+ );
583
+ if (!isBankTransfer) {
584
+ return schema.shape({
585
+ accountHolderName: yup2.string().notRequired(),
586
+ accountNumber: yup2.string().notRequired(),
587
+ link: yup2.string().trim().required("Link is required for PayPal/Stripe")
588
+ });
589
+ } else if (isBankTransfer) {
590
+ return schema.shape({
591
+ accountHolderName: yup2.string().trim().required("Account holder name is required for bank transfer"),
592
+ accountNumber: yup2.string().trim().required("Account number is required for bank transfer").matches(
593
+ nzBankAccountRegex,
594
+ "Account number must be in format: XX-XXXX-XXXXXXX-XX"
595
+ ),
596
+ link: yup2.string().notRequired()
597
+ });
598
+ } else {
599
+ return schema.shape({
600
+ accountHolderName: yup2.string().notRequired(),
601
+ accountNumber: yup2.string().notRequired(),
602
+ link: yup2.string().notRequired()
603
+ });
562
604
  }
563
- )
605
+ }),
606
+ rejectionPolicy: yup2.mixed().oneOf(Object.values(EnumRejectionPolicy)).required("Rejection policy is required"),
607
+ stallCapacity: yup2.number().typeError("Stall capacity must be a number").min(1, "Stall capacity must be at least 1").integer("Stall capacity must be a whole number").required("Stall capacity is required").test("no-leading-zeros", "", noLeadingZeros("Stall capacity"))
564
608
  }),
565
609
  tags: yup2.array().of(yup2.string().defined()).nullable()
566
610
  });
@@ -601,7 +645,7 @@ var stallholderApplyFormSchema = yup3.object().shape({
601
645
  isRequired: yup3.boolean().required("Gazebo requirement is required")
602
646
  }),
603
647
  packaging: yup3.array().of(yup3.string().defined()).min(1, "Packaging list must contain at least one item").required("Packaging is required"),
604
- paymentMethod: yup3.string().required("Please select a Payment method"),
648
+ paymentMethod: yup3.mixed().oneOf(Object.values(EnumPaymentMethod)).required("Please select a Payment method"),
605
649
  priceRange: yup3.object().shape({
606
650
  max: yup3.number().min(1).required("Max price is required").test(
607
651
  "is-greater",
@@ -721,6 +765,13 @@ var defaultMarketFormValues = {
721
765
  provider: "Provider name",
722
766
  stallApplicationInfo: {
723
767
  applicationDeadlineHours: 0,
768
+ paymentDueHours: 0,
769
+ paymentMethod: "",
770
+ paymentTarget: {
771
+ accountHolderName: "",
772
+ accountNumber: "",
773
+ link: ""
774
+ },
724
775
  rejectionPolicy: "multi_date_allowed" /* MULTI_DATE_ALLOWED */,
725
776
  stallCapacity: 0
726
777
  },
@@ -1614,6 +1665,26 @@ var MARKET_LOCATION_FIELDS_FRAGMENT = import_client8.gql`
1614
1665
  type
1615
1666
  }
1616
1667
  `;
1668
+ var PAYMENT_TARGET_FIELDS_FRAGMENT = import_client8.gql`
1669
+ fragment PaymentTargetFields on PaymentTargetType {
1670
+ accountHolderName
1671
+ accountNumber
1672
+ link
1673
+ }
1674
+ `;
1675
+ var STALL_APPLICATION_INFO_FIELDS_FRAGMENT = import_client8.gql`
1676
+ fragment StallApplicationInfoFields on StallApplicationInfoType {
1677
+ applicationDeadlineHours
1678
+ paymentDueHours
1679
+ paymentMethod
1680
+ paymentTarget {
1681
+ ...PaymentTargetFields
1682
+ }
1683
+ rejectionPolicy
1684
+ stallCapacity
1685
+ }
1686
+ ${PAYMENT_TARGET_FIELDS_FRAGMENT}
1687
+ `;
1617
1688
  var MARKET = import_client8.gql`
1618
1689
  fragment MarketFields on MarketType {
1619
1690
  _id
@@ -1644,9 +1715,7 @@ var MARKET = import_client8.gql`
1644
1715
  region
1645
1716
  relationIds
1646
1717
  stallApplicationInfo {
1647
- applicationDeadlineHours
1648
- rejectionPolicy
1649
- stallCapacity
1718
+ ...StallApplicationInfoFields
1650
1719
  }
1651
1720
  tags
1652
1721
  updatedAt
@@ -1655,6 +1724,7 @@ var MARKET = import_client8.gql`
1655
1724
  ${MARKET_LOCATION_FIELDS_FRAGMENT}
1656
1725
  ${OWNER_FIELDS_FRAGMENT}
1657
1726
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
1727
+ ${STALL_APPLICATION_INFO_FIELDS_FRAGMENT}
1658
1728
  `;
1659
1729
  var GET_MARKETS = import_client8.gql`
1660
1730
  query getMarkets {
@@ -1991,15 +2061,36 @@ var useGetMarketsNearMe = (location) => {
1991
2061
  return { error, loading, markets, refetch };
1992
2062
  };
1993
2063
 
2064
+ // src/graphql/hooks/poster.ts
2065
+ var import_client15 = require("@apollo/client");
2066
+
2067
+ // src/graphql/mutations/poster.ts
2068
+ var import_client14 = require("@apollo/client");
2069
+ var CREATE_POSTER_MUTATION = import_client14.gql`
2070
+ mutation createPoster($input: PosterInputType!) {
2071
+ createPoster(input: $input) {
2072
+ message
2073
+ }
2074
+ }
2075
+ `;
2076
+
2077
+ // src/graphql/hooks/poster.ts
2078
+ var useCreatePoster = () => {
2079
+ const [createPoster, { loading, error }] = (0, import_client15.useMutation)(
2080
+ CREATE_POSTER_MUTATION
2081
+ );
2082
+ return { createPoster, error, loading };
2083
+ };
2084
+
1994
2085
  // src/graphql/hooks/relation/hooksMutation.ts
1995
- var import_client16 = require("@apollo/client");
2086
+ var import_client18 = require("@apollo/client");
1996
2087
 
1997
2088
  // src/graphql/mutations/relation.ts
1998
- var import_client15 = require("@apollo/client");
2089
+ var import_client17 = require("@apollo/client");
1999
2090
 
2000
2091
  // src/graphql/queries/relation.ts
2001
- var import_client14 = require("@apollo/client");
2002
- var RELATION_UPDATE_BY_FRAGMENT = import_client14.gql`
2092
+ var import_client16 = require("@apollo/client");
2093
+ var RELATION_UPDATE_BY_FRAGMENT = import_client16.gql`
2003
2094
  fragment RelationUpdateBy on RelationUpdateByType {
2004
2095
  resourceId
2005
2096
  resourceName
@@ -2008,7 +2099,7 @@ var RELATION_UPDATE_BY_FRAGMENT = import_client14.gql`
2008
2099
  toStatus
2009
2100
  }
2010
2101
  `;
2011
- var RELATION_LOGS_FRAGMENT = import_client14.gql`
2102
+ var RELATION_LOGS_FRAGMENT = import_client16.gql`
2012
2103
  fragment RelationLogs on RelationLogType {
2013
2104
  createdAt
2014
2105
  updatedAt
@@ -2018,7 +2109,7 @@ var RELATION_LOGS_FRAGMENT = import_client14.gql`
2018
2109
  }
2019
2110
  ${RELATION_UPDATE_BY_FRAGMENT}
2020
2111
  `;
2021
- var RELATION_DATES_FRAGMENT = import_client14.gql`
2112
+ var RELATION_DATES_FRAGMENT = import_client16.gql`
2022
2113
  fragment RelationDates on RelationDateType {
2023
2114
  lastUpdateBy
2024
2115
  marketPrice
@@ -2026,7 +2117,7 @@ var RELATION_DATES_FRAGMENT = import_client14.gql`
2026
2117
  status
2027
2118
  }
2028
2119
  `;
2029
- var RELATION_FIELDS_FRAGMENT = import_client14.gql`
2120
+ var RELATION_FIELDS_FRAGMENT = import_client16.gql`
2030
2121
  fragment RelationFields on RelationType {
2031
2122
  _id
2032
2123
  apiMessage
@@ -2046,7 +2137,7 @@ var RELATION_FIELDS_FRAGMENT = import_client14.gql`
2046
2137
  ${RELATION_DATES_FRAGMENT}
2047
2138
  ${RELATION_LOGS_FRAGMENT}
2048
2139
  `;
2049
- var GET_RELATION = import_client14.gql`
2140
+ var GET_RELATION = import_client16.gql`
2050
2141
  query getRelation($id: ID!) {
2051
2142
  relation(_id: $id) {
2052
2143
  ...RelationFields
@@ -2054,7 +2145,7 @@ var GET_RELATION = import_client14.gql`
2054
2145
  }
2055
2146
  ${RELATION_FIELDS_FRAGMENT}
2056
2147
  `;
2057
- var GET_RELATION_BY_MARKET_AND_STALLHOLDER = import_client14.gql`
2148
+ var GET_RELATION_BY_MARKET_AND_STALLHOLDER = import_client16.gql`
2058
2149
  query getRelationByMarketAndStallholder($marketId: ID!, $stallholderId: ID!) {
2059
2150
  relationByMarketAndStallholder(
2060
2151
  marketId: $marketId
@@ -2065,7 +2156,7 @@ var GET_RELATION_BY_MARKET_AND_STALLHOLDER = import_client14.gql`
2065
2156
  }
2066
2157
  ${RELATION_FIELDS_FRAGMENT}
2067
2158
  `;
2068
- var GET_MARKET_RELATIONS = import_client14.gql`
2159
+ var GET_MARKET_RELATIONS = import_client16.gql`
2069
2160
  query getMarketRelations($marketId: ID!) {
2070
2161
  marketRelations(marketId: $marketId) {
2071
2162
  ...RelationFields
@@ -2073,7 +2164,7 @@ var GET_MARKET_RELATIONS = import_client14.gql`
2073
2164
  }
2074
2165
  ${RELATION_FIELDS_FRAGMENT}
2075
2166
  `;
2076
- var GET_STALLHOLDER_RELATIONS = import_client14.gql`
2167
+ var GET_STALLHOLDER_RELATIONS = import_client16.gql`
2077
2168
  query getStallholderRelations($stallholderId: ID!) {
2078
2169
  stallholderRelations(stallholderId: $stallholderId) {
2079
2170
  ...RelationFields
@@ -2081,7 +2172,7 @@ var GET_STALLHOLDER_RELATIONS = import_client14.gql`
2081
2172
  }
2082
2173
  ${RELATION_FIELDS_FRAGMENT}
2083
2174
  `;
2084
- var GET_RESOURCE_CONNECTIONS = import_client14.gql`
2175
+ var GET_RESOURCE_CONNECTIONS = import_client16.gql`
2085
2176
  query getResourceConnections(
2086
2177
  $resourceId: ID!
2087
2178
  $resourceType: ResourceTypeEnum!
@@ -2179,7 +2270,7 @@ var GET_RESOURCE_CONNECTIONS = import_client14.gql`
2179
2270
  `;
2180
2271
 
2181
2272
  // src/graphql/mutations/relation.ts
2182
- var CREATE_RELATION_MUTATION = import_client15.gql`
2273
+ var CREATE_RELATION_MUTATION = import_client17.gql`
2183
2274
  mutation createRelation($input: RelationInputType!) {
2184
2275
  createRelation(input: $input) {
2185
2276
  ...RelationFields
@@ -2187,7 +2278,7 @@ var CREATE_RELATION_MUTATION = import_client15.gql`
2187
2278
  }
2188
2279
  ${RELATION_FIELDS_FRAGMENT}
2189
2280
  `;
2190
- var UPDATE_RELATION_MUTATION = import_client15.gql`
2281
+ var UPDATE_RELATION_MUTATION = import_client17.gql`
2191
2282
  mutation updateRelation($_id: ID!, $input: RelationInputType!) {
2192
2283
  updateRelation(_id: $_id, input: $input) {
2193
2284
  ...RelationFields
@@ -2195,7 +2286,7 @@ var UPDATE_RELATION_MUTATION = import_client15.gql`
2195
2286
  }
2196
2287
  ${RELATION_FIELDS_FRAGMENT}
2197
2288
  `;
2198
- var DELETE_RELATION_MUTATION = import_client15.gql`
2289
+ var DELETE_RELATION_MUTATION = import_client17.gql`
2199
2290
  mutation deleteRelation($_id: ID!) {
2200
2291
  deleteRelation(_id: $_id) {
2201
2292
  ...RelationFields
@@ -2206,7 +2297,7 @@ var DELETE_RELATION_MUTATION = import_client15.gql`
2206
2297
 
2207
2298
  // src/graphql/hooks/relation/hooksMutation.ts
2208
2299
  var useCreateRelation = () => {
2209
- const [createRelation, { loading, error }] = (0, import_client16.useMutation)(
2300
+ const [createRelation, { loading, error }] = (0, import_client18.useMutation)(
2210
2301
  CREATE_RELATION_MUTATION,
2211
2302
  {
2212
2303
  awaitRefetchQueries: true,
@@ -2241,7 +2332,7 @@ var useCreateRelation = () => {
2241
2332
  return { createRelation, error, loading };
2242
2333
  };
2243
2334
  var useUpdateRelation = () => {
2244
- const [updateRelation, { loading, error }] = (0, import_client16.useMutation)(
2335
+ const [updateRelation, { loading, error }] = (0, import_client18.useMutation)(
2245
2336
  UPDATE_RELATION_MUTATION,
2246
2337
  {
2247
2338
  awaitRefetchQueries: true,
@@ -2276,7 +2367,7 @@ var useUpdateRelation = () => {
2276
2367
  return { error, loading, updateRelation };
2277
2368
  };
2278
2369
  var useDeleteRelation = () => {
2279
- const [deleteRelation, { loading, error }] = (0, import_client16.useMutation)(
2370
+ const [deleteRelation, { loading, error }] = (0, import_client18.useMutation)(
2280
2371
  DELETE_RELATION_MUTATION,
2281
2372
  {
2282
2373
  awaitRefetchQueries: true,
@@ -2304,9 +2395,9 @@ var useDeleteRelation = () => {
2304
2395
  };
2305
2396
 
2306
2397
  // src/graphql/hooks/relation/hooksQuery.ts
2307
- var import_client17 = require("@apollo/client");
2398
+ var import_client19 = require("@apollo/client");
2308
2399
  var useGetRelation = (id) => {
2309
- const { loading, error, data, refetch } = (0, import_client17.useQuery)(GET_RELATION, {
2400
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(GET_RELATION, {
2310
2401
  fetchPolicy: "network-only",
2311
2402
  skip: id === "",
2312
2403
  variables: { id }
@@ -2315,7 +2406,7 @@ var useGetRelation = (id) => {
2315
2406
  return { error, loading, refetch, relation };
2316
2407
  };
2317
2408
  var useGetRelationByMarketAndStallholder = (marketId, stallholderId) => {
2318
- const { loading, error, data, refetch } = (0, import_client17.useQuery)(
2409
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(
2319
2410
  GET_RELATION_BY_MARKET_AND_STALLHOLDER,
2320
2411
  {
2321
2412
  fetchPolicy: "no-cache",
@@ -2327,7 +2418,7 @@ var useGetRelationByMarketAndStallholder = (marketId, stallholderId) => {
2327
2418
  return { error, loading, refetch, relationByMarketAndStallholder };
2328
2419
  };
2329
2420
  var useGetMarketRelations = (marketId) => {
2330
- const { loading, error, data, refetch } = (0, import_client17.useQuery)(GET_MARKET_RELATIONS, {
2421
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(GET_MARKET_RELATIONS, {
2331
2422
  fetchPolicy: "network-only",
2332
2423
  skip: marketId === "",
2333
2424
  variables: { marketId }
@@ -2336,7 +2427,7 @@ var useGetMarketRelations = (marketId) => {
2336
2427
  return { error, loading, marketRelations, refetch };
2337
2428
  };
2338
2429
  var useGetStallholderRelations = (stallholderId) => {
2339
- const { loading, error, data, refetch } = (0, import_client17.useQuery)(
2430
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(
2340
2431
  GET_STALLHOLDER_RELATIONS,
2341
2432
  {
2342
2433
  fetchPolicy: "network-only",
@@ -2348,7 +2439,7 @@ var useGetStallholderRelations = (stallholderId) => {
2348
2439
  return { error, loading, refetch, stallholderRelations };
2349
2440
  };
2350
2441
  var useGetResourceConnections = (resourceId, resourceType) => {
2351
- const { loading, error, data, refetch } = (0, import_client17.useQuery)(GET_RESOURCE_CONNECTIONS, {
2442
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(GET_RESOURCE_CONNECTIONS, {
2352
2443
  fetchPolicy: "network-only",
2353
2444
  variables: { resourceId, resourceType }
2354
2445
  });
@@ -2357,11 +2448,11 @@ var useGetResourceConnections = (resourceId, resourceType) => {
2357
2448
  };
2358
2449
 
2359
2450
  // src/graphql/hooks/stallholder/hooksMutation.ts
2360
- var import_client19 = require("@apollo/client");
2451
+ var import_client21 = require("@apollo/client");
2361
2452
 
2362
2453
  // src/graphql/mutations/stallholder.ts
2363
- var import_client18 = require("@apollo/client");
2364
- var CREATE_STALLHOLDER_MUTATION = import_client18.gql`
2454
+ var import_client20 = require("@apollo/client");
2455
+ var CREATE_STALLHOLDER_MUTATION = import_client20.gql`
2365
2456
  mutation createStallholder($input: StallholderInputType!) {
2366
2457
  createStallholder(input: $input) {
2367
2458
  ...StallholderFields
@@ -2369,7 +2460,7 @@ var CREATE_STALLHOLDER_MUTATION = import_client18.gql`
2369
2460
  }
2370
2461
  ${STALLHOLDER}
2371
2462
  `;
2372
- var UPDATE_STALLHOLDER_MUTATION = import_client18.gql`
2463
+ var UPDATE_STALLHOLDER_MUTATION = import_client20.gql`
2373
2464
  mutation updateStallholder($_id: ID!, $input: StallholderInputType!) {
2374
2465
  updateStallholder(_id: $_id, input: $input) {
2375
2466
  ...StallholderFields
@@ -2377,12 +2468,12 @@ var UPDATE_STALLHOLDER_MUTATION = import_client18.gql`
2377
2468
  }
2378
2469
  ${STALLHOLDER}
2379
2470
  `;
2380
- var DELETE_STALLHOLDER_MUTATION = import_client18.gql`
2471
+ var DELETE_STALLHOLDER_MUTATION = import_client20.gql`
2381
2472
  mutation deleteStallholder($_id: ID!) {
2382
2473
  deleteStallholder(_id: $_id)
2383
2474
  }
2384
2475
  `;
2385
- var CREATE_STALLHOLDER_APPLY_FORM_MUTATION = import_client18.gql`
2476
+ var CREATE_STALLHOLDER_APPLY_FORM_MUTATION = import_client20.gql`
2386
2477
  mutation createStallholderApplyForm($input: StallholderApplyFormInputType!) {
2387
2478
  createStallholderApplyForm(input: $input) {
2388
2479
  ...StallholderApplyFormFields
@@ -2390,7 +2481,7 @@ var CREATE_STALLHOLDER_APPLY_FORM_MUTATION = import_client18.gql`
2390
2481
  }
2391
2482
  ${STALLHOLDER_APPLY_FORM}
2392
2483
  `;
2393
- var UPDATE_STALLHOLDER_APPLY_FORM_MUTATION = import_client18.gql`
2484
+ var UPDATE_STALLHOLDER_APPLY_FORM_MUTATION = import_client20.gql`
2394
2485
  mutation updateStallholderApplyForm(
2395
2486
  $_id: ID!
2396
2487
  $input: StallholderApplyFormInputType!
@@ -2404,7 +2495,7 @@ var UPDATE_STALLHOLDER_APPLY_FORM_MUTATION = import_client18.gql`
2404
2495
 
2405
2496
  // src/graphql/hooks/stallholder/hooksMutation.ts
2406
2497
  var useCreateStallholder = () => {
2407
- const [createStallholder, { loading, error }] = (0, import_client19.useMutation)(
2498
+ const [createStallholder, { loading, error }] = (0, import_client21.useMutation)(
2408
2499
  CREATE_STALLHOLDER_MUTATION,
2409
2500
  {
2410
2501
  awaitRefetchQueries: true,
@@ -2414,7 +2505,7 @@ var useCreateStallholder = () => {
2414
2505
  return { createStallholder, error, loading };
2415
2506
  };
2416
2507
  var useUpdateStallholder = () => {
2417
- const [updateStallholder, { loading, error }] = (0, import_client19.useMutation)(
2508
+ const [updateStallholder, { loading, error }] = (0, import_client21.useMutation)(
2418
2509
  UPDATE_STALLHOLDER_MUTATION,
2419
2510
  {
2420
2511
  awaitRefetchQueries: true,
@@ -2424,7 +2515,7 @@ var useUpdateStallholder = () => {
2424
2515
  return { error, loading, updateStallholder };
2425
2516
  };
2426
2517
  var useDeleteStallholder = () => {
2427
- const [deleteStallholder, { loading, error }] = (0, import_client19.useMutation)(
2518
+ const [deleteStallholder, { loading, error }] = (0, import_client21.useMutation)(
2428
2519
  DELETE_STALLHOLDER_MUTATION,
2429
2520
  {
2430
2521
  awaitRefetchQueries: true,
@@ -2434,7 +2525,7 @@ var useDeleteStallholder = () => {
2434
2525
  return { deleteStallholder, error, loading };
2435
2526
  };
2436
2527
  var useCreateStallholderApplyForm = () => {
2437
- const [createStallholderApplyForm, { loading, error }] = (0, import_client19.useMutation)(
2528
+ const [createStallholderApplyForm, { loading, error }] = (0, import_client21.useMutation)(
2438
2529
  CREATE_STALLHOLDER_APPLY_FORM_MUTATION,
2439
2530
  {
2440
2531
  awaitRefetchQueries: true,
@@ -2454,7 +2545,7 @@ var useCreateStallholderApplyForm = () => {
2454
2545
  return { createStallholderApplyForm, error, loading };
2455
2546
  };
2456
2547
  var useUpdateStallholderApplyForm = () => {
2457
- const [updateStallholderApplyForm, { loading, error }] = (0, import_client19.useMutation)(
2548
+ const [updateStallholderApplyForm, { loading, error }] = (0, import_client21.useMutation)(
2458
2549
  UPDATE_STALLHOLDER_APPLY_FORM_MUTATION,
2459
2550
  {
2460
2551
  awaitRefetchQueries: true,
@@ -2475,9 +2566,9 @@ var useUpdateStallholderApplyForm = () => {
2475
2566
  };
2476
2567
 
2477
2568
  // src/graphql/hooks/stallholder/hooksQuery.ts
2478
- var import_client20 = require("@apollo/client");
2569
+ var import_client22 = require("@apollo/client");
2479
2570
  var useGetStallholders = () => {
2480
- const { loading, error, data, refetch } = (0, import_client20.useQuery)(GET_STALLHOLDERS, {
2571
+ const { loading, error, data, refetch } = (0, import_client22.useQuery)(GET_STALLHOLDERS, {
2481
2572
  fetchPolicy: "network-only"
2482
2573
  });
2483
2574
  const stallholders = data?.stallholders;
@@ -2489,7 +2580,7 @@ var useGetStallholders = () => {
2489
2580
  };
2490
2581
  };
2491
2582
  var useGetStallholder = (_id) => {
2492
- const { loading, error, data, refetch } = (0, import_client20.useQuery)(GET_STALLHOLDER, {
2583
+ const { loading, error, data, refetch } = (0, import_client22.useQuery)(GET_STALLHOLDER, {
2493
2584
  fetchPolicy: "network-only",
2494
2585
  skip: !_id,
2495
2586
  variables: { _id }
@@ -2498,7 +2589,7 @@ var useGetStallholder = (_id) => {
2498
2589
  return { error, loading, refetch, stallholder };
2499
2590
  };
2500
2591
  var useGetStallholdersByRegion = (region) => {
2501
- const { loading, error, data, refetch } = (0, import_client20.useQuery)(
2592
+ const { loading, error, data, refetch } = (0, import_client22.useQuery)(
2502
2593
  GET_STALLHOLDERS_BY_REGION,
2503
2594
  {
2504
2595
  fetchPolicy: "network-only",
@@ -2510,7 +2601,7 @@ var useGetStallholdersByRegion = (region) => {
2510
2601
  return { error, loading, refetch, stallholders };
2511
2602
  };
2512
2603
  var useSearchStallholders = (search, region) => {
2513
- const { loading, error, data, refetch } = (0, import_client20.useQuery)(SEARCH_STALLHOLDERS, {
2604
+ const { loading, error, data, refetch } = (0, import_client22.useQuery)(SEARCH_STALLHOLDERS, {
2514
2605
  fetchPolicy: "network-only",
2515
2606
  skip: search.length < 3,
2516
2607
  variables: { region, search }
@@ -2519,7 +2610,7 @@ var useSearchStallholders = (search, region) => {
2519
2610
  return { error, loading, refetch, stallholders };
2520
2611
  };
2521
2612
  var useGetStallholderApplyForm = (stallholderId) => {
2522
- const { loading, error, data, refetch } = (0, import_client20.useQuery)(
2613
+ const { loading, error, data, refetch } = (0, import_client22.useQuery)(
2523
2614
  GET_STALLHOLDER_APPLY_FORM,
2524
2615
  {
2525
2616
  variables: { stallholderId }
@@ -2535,11 +2626,11 @@ var useGetStallholderApplyForm = (stallholderId) => {
2535
2626
  };
2536
2627
 
2537
2628
  // src/graphql/hooks/subscriptions.ts
2538
- var import_client23 = require("@apollo/client");
2629
+ var import_client25 = require("@apollo/client");
2539
2630
 
2540
2631
  // src/graphql/subscriptions/chat.ts
2541
- var import_client21 = require("@apollo/client");
2542
- var GET_CHAT_MESSAGE = import_client21.gql`
2632
+ var import_client23 = require("@apollo/client");
2633
+ var GET_CHAT_MESSAGE = import_client23.gql`
2543
2634
  subscription {
2544
2635
  getChatMessage {
2545
2636
  ...ChatFields
@@ -2549,8 +2640,8 @@ var GET_CHAT_MESSAGE = import_client21.gql`
2549
2640
  `;
2550
2641
 
2551
2642
  // src/graphql/subscriptions/notification.ts
2552
- var import_client22 = require("@apollo/client");
2553
- var NOTIFICATION_FIELDS_FRAGMENT = import_client22.gql`
2643
+ var import_client24 = require("@apollo/client");
2644
+ var NOTIFICATION_FIELDS_FRAGMENT = import_client24.gql`
2554
2645
  fragment NotificationFields on NotificationType {
2555
2646
  createdBy
2556
2647
  important
@@ -2560,7 +2651,7 @@ var NOTIFICATION_FIELDS_FRAGMENT = import_client22.gql`
2560
2651
  resourceType
2561
2652
  }
2562
2653
  `;
2563
- var GET_GLOBAL_NOTIFICATION = import_client22.gql`
2654
+ var GET_GLOBAL_NOTIFICATION = import_client24.gql`
2564
2655
  subscription {
2565
2656
  getGlobalNotification {
2566
2657
  ...NotificationFields
@@ -2568,7 +2659,7 @@ var GET_GLOBAL_NOTIFICATION = import_client22.gql`
2568
2659
  }
2569
2660
  ${NOTIFICATION_FIELDS_FRAGMENT}
2570
2661
  `;
2571
- var GET_RELATION_NOTIFICATION = import_client22.gql`
2662
+ var GET_RELATION_NOTIFICATION = import_client24.gql`
2572
2663
  subscription {
2573
2664
  getRelationNotification {
2574
2665
  ...NotificationFields
@@ -2583,29 +2674,29 @@ var useGetNotification = () => {
2583
2674
  data: global,
2584
2675
  loading: loadingGlobal,
2585
2676
  error: errorGlobal
2586
- } = (0, import_client23.useSubscription)(GET_GLOBAL_NOTIFICATION);
2677
+ } = (0, import_client25.useSubscription)(GET_GLOBAL_NOTIFICATION);
2587
2678
  const {
2588
2679
  data: relation,
2589
2680
  loading: loadingImportant,
2590
2681
  error: errorImportant
2591
- } = (0, import_client23.useSubscription)(GET_RELATION_NOTIFICATION);
2682
+ } = (0, import_client25.useSubscription)(GET_RELATION_NOTIFICATION);
2592
2683
  const error = errorGlobal || errorImportant;
2593
2684
  const loading = loadingGlobal || loadingImportant;
2594
2685
  const notification = relation?.getRelationNotification || global?.getGlobalNotification;
2595
2686
  return { error, loading, notification };
2596
2687
  };
2597
2688
  var useGetChatSubscription = () => {
2598
- const { data, loading, error } = (0, import_client23.useSubscription)(GET_CHAT_MESSAGE);
2689
+ const { data, loading, error } = (0, import_client25.useSubscription)(GET_CHAT_MESSAGE);
2599
2690
  const chat = data?.getChat;
2600
2691
  return { chat, error, loading };
2601
2692
  };
2602
2693
 
2603
2694
  // src/graphql/hooks/user/hooksMutation.ts
2604
- var import_client25 = require("@apollo/client");
2695
+ var import_client27 = require("@apollo/client");
2605
2696
 
2606
2697
  // src/graphql/mutations/user.ts
2607
- var import_client24 = require("@apollo/client");
2608
- var CREATE_USER_MUTATION = import_client24.gql`
2698
+ var import_client26 = require("@apollo/client");
2699
+ var CREATE_USER_MUTATION = import_client26.gql`
2609
2700
  mutation createUser($input: UserInputType!) {
2610
2701
  createUser(input: $input) {
2611
2702
  ...UserFields
@@ -2613,7 +2704,7 @@ var CREATE_USER_MUTATION = import_client24.gql`
2613
2704
  }
2614
2705
  ${USER_FIELDS_FRAGMENT}
2615
2706
  `;
2616
- var UPDATE_USER_MUTATION = import_client24.gql`
2707
+ var UPDATE_USER_MUTATION = import_client26.gql`
2617
2708
  mutation updateUser($_id: ID!, $input: UserInputType!) {
2618
2709
  updateUser(_id: $_id, input: $input) {
2619
2710
  ...UserFields
@@ -2621,7 +2712,7 @@ var UPDATE_USER_MUTATION = import_client24.gql`
2621
2712
  }
2622
2713
  ${USER_FIELDS_FRAGMENT}
2623
2714
  `;
2624
- var ADD_USER_FAVOURITE_RESOURCE_MUTATION = import_client24.gql`
2715
+ var ADD_USER_FAVOURITE_RESOURCE_MUTATION = import_client26.gql`
2625
2716
  mutation addUserFavouriteResource(
2626
2717
  $resourceId: ID!
2627
2718
  $resourceType: ResourceTypeEnum!
@@ -2637,7 +2728,7 @@ var ADD_USER_FAVOURITE_RESOURCE_MUTATION = import_client24.gql`
2637
2728
  }
2638
2729
  ${USER_FIELDS_FRAGMENT}
2639
2730
  `;
2640
- var REMOVE_USER_FAVOURITE_RESOURCE_MUTATION = import_client24.gql`
2731
+ var REMOVE_USER_FAVOURITE_RESOURCE_MUTATION = import_client26.gql`
2641
2732
  mutation removeUserFavouriteResource(
2642
2733
  $resourceId: ID!
2643
2734
  $resourceType: ResourceTypeEnum!
@@ -2656,19 +2747,19 @@ var REMOVE_USER_FAVOURITE_RESOURCE_MUTATION = import_client24.gql`
2656
2747
 
2657
2748
  // src/graphql/hooks/user/hooksMutation.ts
2658
2749
  var useCreateUser = () => {
2659
- const [createUser, { loading, error }] = (0, import_client25.useMutation)(CREATE_USER_MUTATION, {
2750
+ const [createUser, { loading, error }] = (0, import_client27.useMutation)(CREATE_USER_MUTATION, {
2660
2751
  awaitRefetchQueries: true
2661
2752
  });
2662
2753
  return { createUser, error, loading };
2663
2754
  };
2664
2755
  var useUpdateUser = () => {
2665
- const [updateUser, { loading, error }] = (0, import_client25.useMutation)(UPDATE_USER_MUTATION, {
2756
+ const [updateUser, { loading, error }] = (0, import_client27.useMutation)(UPDATE_USER_MUTATION, {
2666
2757
  awaitRefetchQueries: true
2667
2758
  });
2668
2759
  return { error, loading, updateUser };
2669
2760
  };
2670
2761
  var useAddUserFavouriteResource = () => {
2671
- const [addUserFavouriteResource, { loading, error }] = (0, import_client25.useMutation)(
2762
+ const [addUserFavouriteResource, { loading, error }] = (0, import_client27.useMutation)(
2672
2763
  ADD_USER_FAVOURITE_RESOURCE_MUTATION,
2673
2764
  {
2674
2765
  awaitRefetchQueries: true,
@@ -2678,7 +2769,7 @@ var useAddUserFavouriteResource = () => {
2678
2769
  return { addUserFavouriteResource, error, loading };
2679
2770
  };
2680
2771
  var useRemoveUserFavouriteResource = () => {
2681
- const [removeUserFavouriteResource, { loading, error }] = (0, import_client25.useMutation)(
2772
+ const [removeUserFavouriteResource, { loading, error }] = (0, import_client27.useMutation)(
2682
2773
  REMOVE_USER_FAVOURITE_RESOURCE_MUTATION,
2683
2774
  {
2684
2775
  awaitRefetchQueries: true,
@@ -2689,30 +2780,30 @@ var useRemoveUserFavouriteResource = () => {
2689
2780
  };
2690
2781
 
2691
2782
  // src/graphql/hooks/user/hooksQuery.ts
2692
- var import_client26 = require("@apollo/client");
2783
+ var import_client28 = require("@apollo/client");
2693
2784
  var useGetUsers = () => {
2694
- const { loading, error, data, refetch } = (0, import_client26.useQuery)(GET_USERS, {
2785
+ const { loading, error, data, refetch } = (0, import_client28.useQuery)(GET_USERS, {
2695
2786
  fetchPolicy: "network-only"
2696
2787
  });
2697
2788
  const users = data?.users;
2698
2789
  return { error, loading, refetch, users };
2699
2790
  };
2700
2791
  var useGetUser = (id) => {
2701
- const { loading, error, data, refetch } = (0, import_client26.useQuery)(GET_USER, {
2792
+ const { loading, error, data, refetch } = (0, import_client28.useQuery)(GET_USER, {
2702
2793
  variables: { id }
2703
2794
  });
2704
2795
  const user = data?.user;
2705
2796
  return { error, loading, refetch, user };
2706
2797
  };
2707
2798
  var useGetUserMarkets = () => {
2708
- const { loading, error, data, refetch } = (0, import_client26.useQuery)(GET_USER_MARKETS, {
2799
+ const { loading, error, data, refetch } = (0, import_client28.useQuery)(GET_USER_MARKETS, {
2709
2800
  fetchPolicy: "network-only"
2710
2801
  });
2711
2802
  const userMarkets = data?.userMarkets;
2712
2803
  return { error, loading, refetch, userMarkets };
2713
2804
  };
2714
2805
  var useGetUserFavourites = () => {
2715
- const { loading, error, data, refetch } = (0, import_client26.useQuery)(GET_USER_FAVOURITES, {
2806
+ const { loading, error, data, refetch } = (0, import_client28.useQuery)(GET_USER_FAVOURITES, {
2716
2807
  fetchPolicy: "network-only"
2717
2808
  });
2718
2809
  const markets = data?.userFavourites.markets;
@@ -2724,7 +2815,7 @@ var useGetUserFavourites = () => {
2724
2815
  return { error, loading, refetch, userFavourites };
2725
2816
  };
2726
2817
  var useGetUserNotifications = () => {
2727
- const { loading, error, data, refetch } = (0, import_client26.useQuery)(GET_USER_NOTIFICATIONS, {
2818
+ const { loading, error, data, refetch } = (0, import_client28.useQuery)(GET_USER_NOTIFICATIONS, {
2728
2819
  fetchPolicy: "network-only"
2729
2820
  });
2730
2821
  const userNotifications = data?.userNotifications;
@@ -2897,10 +2988,8 @@ var producedIngTypes = [
2897
2988
  "Farm",
2898
2989
  "Other"
2899
2990
  ];
2900
- var paymentMethodTyes = ["Cash", "Eftpos", "Transfer"];
2901
2991
  var packagingOptions = mapArrayToOptions(packagingTypes);
2902
2992
  var producedIngOptions = mapArrayToOptions(producedIngTypes);
2903
- var paymentMethodOptions = mapArrayToOptions(paymentMethodTyes);
2904
2993
 
2905
2994
  // src/formFields/market.ts
2906
2995
  var marketBasicInfoFields = [
@@ -2938,6 +3027,29 @@ var stallApplicationInfo = [
2938
3027
  keyboardType: "number-pad",
2939
3028
  name: "stallApplicationInfo.stallCapacity",
2940
3029
  placeholder: "Stall Capacity"
3030
+ },
3031
+ {
3032
+ helperText: "Payment Due Hours of the Market *",
3033
+ keyboardType: "number-pad",
3034
+ name: "stallApplicationInfo.paymentDueHours",
3035
+ placeholder: "Payment Due Hours"
3036
+ }
3037
+ ];
3038
+ var stallApplicationInfoPaymentTarget = [
3039
+ {
3040
+ helperText: "Account holder name *",
3041
+ name: "stallApplicationInfo.paymentTarget.accountHolderName",
3042
+ placeholder: "Account holder name"
3043
+ },
3044
+ {
3045
+ helperText: "Account number *",
3046
+ name: "stallApplicationInfo.paymentTarget.accountNumber",
3047
+ placeholder: "Account number"
3048
+ },
3049
+ {
3050
+ helperText: "Link to payment target *",
3051
+ name: "stallApplicationInfo.paymentTarget.link",
3052
+ placeholder: "Link to payment target"
2941
3053
  }
2942
3054
  ];
2943
3055
  var marketStartDateFields = [
@@ -2991,7 +3103,8 @@ var availableTagTypes = [
2991
3103
  "Parking Available",
2992
3104
  "Toilet Available",
2993
3105
  "Wheelchair Accessible",
2994
- "Near Playground"
3106
+ "Near Playground",
3107
+ "Port Nearby"
2995
3108
  ];
2996
3109
  var tagOptions = mapArrayToOptions(availableTagTypes);
2997
3110
  var rejectionPolicyOptions = mapArrayToOptions(
@@ -3423,6 +3536,7 @@ var categoryColors = {
3423
3536
  0 && (module.exports = {
3424
3537
  EnumInviteStatus,
3425
3538
  EnumNotification,
3539
+ EnumPaymentMethod,
3426
3540
  EnumRegions,
3427
3541
  EnumRejectionPolicy,
3428
3542
  EnumRelationResource,
@@ -3463,6 +3577,7 @@ var categoryColors = {
3463
3577
  marketPriceByDateFields,
3464
3578
  marketSchema,
3465
3579
  marketStartDateFields,
3580
+ noLeadingZeros,
3466
3581
  packagingOptions,
3467
3582
  passwordSchema,
3468
3583
  paymentMethodOptions,
@@ -3478,6 +3593,7 @@ var categoryColors = {
3478
3593
  resetPasswordSchema,
3479
3594
  sortDatesByProximity,
3480
3595
  stallApplicationInfo,
3596
+ stallApplicationInfoPaymentTarget,
3481
3597
  stallHolderSchema,
3482
3598
  stallholderApplyFormSchema,
3483
3599
  stallholderBasicInfoFields,
@@ -3504,6 +3620,7 @@ var categoryColors = {
3504
3620
  useAddUserFavouriteResource,
3505
3621
  useCreateChat,
3506
3622
  useCreateMarket,
3623
+ useCreatePoster,
3507
3624
  useCreateRelation,
3508
3625
  useCreateStallholder,
3509
3626
  useCreateStallholderApplyForm,