@timardex/cluemart-server-shared 1.0.295 → 1.0.297

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.
@@ -3,8 +3,8 @@ import { AdType, ReportChatUser, GoogleImportedMarket, PushTokenType, ResourceAc
3
3
  import mongoose__default from 'mongoose';
4
4
  import { O as ObjectId } from '../Chat-Bnqec74U.mjs';
5
5
  export { C as ChatModel, N as NotificationModel, a as SchemaChatMessageReactionType, S as SchemaChatMessageReplyPreviewType, b as SchemaChatMessageSeenType, c as SchemaChatMessageType, e as SchemaChatType, f as SchemaCreateBulkNotificationInput, g as SchemaNotificationType, d as SchemaParticipantType } from '../Chat-Bnqec74U.mjs';
6
- import { S as SchemaOwnerType } from '../Affiliate-6XcZ131C.mjs';
7
- export { A as AffiliateModel, C as CategorySchema, d as ContactDetailsSchema, O as OwnerTypeSchema, m as RelationModel, k as RelationTypeSchema, R as ResourceImageTypeSchema, o as SchemaAffiliateResourceType, n as SchemaAffiliateReward, a as SchemaRelatedPostType, j as SchemaRelationType, b as SocialMediaTypeSchema, c as associatesSchema, h as baseResourceFields, e as dateTimeSchema, l as locationGeoSchema, f as locationsSchema, g as relatedPostSchema, i as relationDatesSchema, r as resourceRelationsSchema, s as socialShareResourceSchema, t as termsAgreementSchema, u as userLicenseSchema } from '../Affiliate-6XcZ131C.mjs';
6
+ import { S as SchemaOwnerType } from '../Affiliate-DaZKnzMu.mjs';
7
+ export { A as AffiliateModel, C as CategorySchema, d as ContactDetailsSchema, O as OwnerTypeSchema, m as RelationModel, k as RelationTypeSchema, R as ResourceImageTypeSchema, o as SchemaAffiliateResourceType, n as SchemaAffiliateReward, a as SchemaRelatedPostType, j as SchemaRelationType, b as SocialMediaTypeSchema, c as associatesSchema, h as baseResourceFields, e as dateTimeSchema, l as locationGeoSchema, f as locationsSchema, g as relatedPostSchema, i as relationDatesSchema, r as resourceRelationsSchema, s as socialShareResourceSchema, t as termsAgreementSchema, u as userLicenseSchema } from '../Affiliate-DaZKnzMu.mjs';
8
8
  import '@timardex/cluemart-shared/types';
9
9
  import 'express';
10
10
 
@@ -232,6 +232,7 @@ declare const PartnerModel: mongoose__default.Model<SchemaPartnerType, {}, {}, {
232
232
  type SchemaPostType = PostType;
233
233
  declare const PostModel: mongoose__default.Model<PostType, {}, {}, {}, mongoose__default.Document<unknown, {}, PostType, {}, {}> & Omit<_timardex_cluemart_shared.PostFormData, "resource" | "content" | "coverUpload"> & {
234
234
  _id: string;
235
+ approvedAt?: Date | null;
235
236
  content: PostContentType[];
236
237
  createdAt: Date;
237
238
  deletedAt: Date | null;
@@ -3,8 +3,8 @@ import { AdType, ReportChatUser, GoogleImportedMarket, PushTokenType, ResourceAc
3
3
  import mongoose__default from 'mongoose';
4
4
  import { O as ObjectId } from '../Chat-Bnqec74U.js';
5
5
  export { C as ChatModel, N as NotificationModel, a as SchemaChatMessageReactionType, S as SchemaChatMessageReplyPreviewType, b as SchemaChatMessageSeenType, c as SchemaChatMessageType, e as SchemaChatType, f as SchemaCreateBulkNotificationInput, g as SchemaNotificationType, d as SchemaParticipantType } from '../Chat-Bnqec74U.js';
6
- import { S as SchemaOwnerType } from '../Affiliate-DCvdeKW7.js';
7
- export { A as AffiliateModel, C as CategorySchema, d as ContactDetailsSchema, O as OwnerTypeSchema, m as RelationModel, k as RelationTypeSchema, R as ResourceImageTypeSchema, o as SchemaAffiliateResourceType, n as SchemaAffiliateReward, a as SchemaRelatedPostType, j as SchemaRelationType, b as SocialMediaTypeSchema, c as associatesSchema, h as baseResourceFields, e as dateTimeSchema, l as locationGeoSchema, f as locationsSchema, g as relatedPostSchema, i as relationDatesSchema, r as resourceRelationsSchema, s as socialShareResourceSchema, t as termsAgreementSchema, u as userLicenseSchema } from '../Affiliate-DCvdeKW7.js';
6
+ import { S as SchemaOwnerType } from '../Affiliate-DGmeZnDs.js';
7
+ export { A as AffiliateModel, C as CategorySchema, d as ContactDetailsSchema, O as OwnerTypeSchema, m as RelationModel, k as RelationTypeSchema, R as ResourceImageTypeSchema, o as SchemaAffiliateResourceType, n as SchemaAffiliateReward, a as SchemaRelatedPostType, j as SchemaRelationType, b as SocialMediaTypeSchema, c as associatesSchema, h as baseResourceFields, e as dateTimeSchema, l as locationGeoSchema, f as locationsSchema, g as relatedPostSchema, i as relationDatesSchema, r as resourceRelationsSchema, s as socialShareResourceSchema, t as termsAgreementSchema, u as userLicenseSchema } from '../Affiliate-DGmeZnDs.js';
8
8
  import '@timardex/cluemart-shared/types';
9
9
  import 'express';
10
10
 
@@ -232,6 +232,7 @@ declare const PartnerModel: mongoose__default.Model<SchemaPartnerType, {}, {}, {
232
232
  type SchemaPostType = PostType;
233
233
  declare const PostModel: mongoose__default.Model<PostType, {}, {}, {}, mongoose__default.Document<unknown, {}, PostType, {}, {}> & Omit<_timardex_cluemart_shared.PostFormData, "resource" | "content" | "coverUpload"> & {
234
234
  _id: string;
235
+ approvedAt?: Date | null;
235
236
  content: PostContentType[];
236
237
  createdAt: Date;
237
238
  deletedAt: Date | null;
@@ -40,7 +40,7 @@ import {
40
40
  socialShareResourceSchema,
41
41
  termsAgreementSchema,
42
42
  userLicenseSchema
43
- } from "../chunk-EX26O3G6.mjs";
43
+ } from "../chunk-NBJNO6FV.mjs";
44
44
  export {
45
45
  APP_SETTINGS_ID,
46
46
  AdModel,
@@ -732,10 +732,10 @@ var QueryDocumentKeys = {
732
732
  };
733
733
  var kindValues = new Set(Object.keys(QueryDocumentKeys));
734
734
  var OperationTypeNode;
735
- (function(OperationTypeNode3) {
736
- OperationTypeNode3["QUERY"] = "query";
737
- OperationTypeNode3["MUTATION"] = "mutation";
738
- OperationTypeNode3["SUBSCRIPTION"] = "subscription";
735
+ (function(OperationTypeNode2) {
736
+ OperationTypeNode2["QUERY"] = "query";
737
+ OperationTypeNode2["MUTATION"] = "mutation";
738
+ OperationTypeNode2["SUBSCRIPTION"] = "subscription";
739
739
  })(OperationTypeNode || (OperationTypeNode = {}));
740
740
 
741
741
  // node_modules/graphql/language/directiveLocation.mjs
@@ -765,56 +765,56 @@ var DirectiveLocation;
765
765
 
766
766
  // node_modules/graphql/language/kinds.mjs
767
767
  var Kind;
768
- (function(Kind3) {
769
- Kind3["NAME"] = "Name";
770
- Kind3["DOCUMENT"] = "Document";
771
- Kind3["OPERATION_DEFINITION"] = "OperationDefinition";
772
- Kind3["VARIABLE_DEFINITION"] = "VariableDefinition";
773
- Kind3["SELECTION_SET"] = "SelectionSet";
774
- Kind3["FIELD"] = "Field";
775
- Kind3["ARGUMENT"] = "Argument";
776
- Kind3["FRAGMENT_SPREAD"] = "FragmentSpread";
777
- Kind3["INLINE_FRAGMENT"] = "InlineFragment";
778
- Kind3["FRAGMENT_DEFINITION"] = "FragmentDefinition";
779
- Kind3["VARIABLE"] = "Variable";
780
- Kind3["INT"] = "IntValue";
781
- Kind3["FLOAT"] = "FloatValue";
782
- Kind3["STRING"] = "StringValue";
783
- Kind3["BOOLEAN"] = "BooleanValue";
784
- Kind3["NULL"] = "NullValue";
785
- Kind3["ENUM"] = "EnumValue";
786
- Kind3["LIST"] = "ListValue";
787
- Kind3["OBJECT"] = "ObjectValue";
788
- Kind3["OBJECT_FIELD"] = "ObjectField";
789
- Kind3["DIRECTIVE"] = "Directive";
790
- Kind3["NAMED_TYPE"] = "NamedType";
791
- Kind3["LIST_TYPE"] = "ListType";
792
- Kind3["NON_NULL_TYPE"] = "NonNullType";
793
- Kind3["SCHEMA_DEFINITION"] = "SchemaDefinition";
794
- Kind3["OPERATION_TYPE_DEFINITION"] = "OperationTypeDefinition";
795
- Kind3["SCALAR_TYPE_DEFINITION"] = "ScalarTypeDefinition";
796
- Kind3["OBJECT_TYPE_DEFINITION"] = "ObjectTypeDefinition";
797
- Kind3["FIELD_DEFINITION"] = "FieldDefinition";
798
- Kind3["INPUT_VALUE_DEFINITION"] = "InputValueDefinition";
799
- Kind3["INTERFACE_TYPE_DEFINITION"] = "InterfaceTypeDefinition";
800
- Kind3["UNION_TYPE_DEFINITION"] = "UnionTypeDefinition";
801
- Kind3["ENUM_TYPE_DEFINITION"] = "EnumTypeDefinition";
802
- Kind3["ENUM_VALUE_DEFINITION"] = "EnumValueDefinition";
803
- Kind3["INPUT_OBJECT_TYPE_DEFINITION"] = "InputObjectTypeDefinition";
804
- Kind3["DIRECTIVE_DEFINITION"] = "DirectiveDefinition";
805
- Kind3["SCHEMA_EXTENSION"] = "SchemaExtension";
806
- Kind3["DIRECTIVE_EXTENSION"] = "DirectiveExtension";
807
- Kind3["SCALAR_TYPE_EXTENSION"] = "ScalarTypeExtension";
808
- Kind3["OBJECT_TYPE_EXTENSION"] = "ObjectTypeExtension";
809
- Kind3["INTERFACE_TYPE_EXTENSION"] = "InterfaceTypeExtension";
810
- Kind3["UNION_TYPE_EXTENSION"] = "UnionTypeExtension";
811
- Kind3["ENUM_TYPE_EXTENSION"] = "EnumTypeExtension";
812
- Kind3["INPUT_OBJECT_TYPE_EXTENSION"] = "InputObjectTypeExtension";
813
- Kind3["TYPE_COORDINATE"] = "TypeCoordinate";
814
- Kind3["MEMBER_COORDINATE"] = "MemberCoordinate";
815
- Kind3["ARGUMENT_COORDINATE"] = "ArgumentCoordinate";
816
- Kind3["DIRECTIVE_COORDINATE"] = "DirectiveCoordinate";
817
- Kind3["DIRECTIVE_ARGUMENT_COORDINATE"] = "DirectiveArgumentCoordinate";
768
+ (function(Kind2) {
769
+ Kind2["NAME"] = "Name";
770
+ Kind2["DOCUMENT"] = "Document";
771
+ Kind2["OPERATION_DEFINITION"] = "OperationDefinition";
772
+ Kind2["VARIABLE_DEFINITION"] = "VariableDefinition";
773
+ Kind2["SELECTION_SET"] = "SelectionSet";
774
+ Kind2["FIELD"] = "Field";
775
+ Kind2["ARGUMENT"] = "Argument";
776
+ Kind2["FRAGMENT_SPREAD"] = "FragmentSpread";
777
+ Kind2["INLINE_FRAGMENT"] = "InlineFragment";
778
+ Kind2["FRAGMENT_DEFINITION"] = "FragmentDefinition";
779
+ Kind2["VARIABLE"] = "Variable";
780
+ Kind2["INT"] = "IntValue";
781
+ Kind2["FLOAT"] = "FloatValue";
782
+ Kind2["STRING"] = "StringValue";
783
+ Kind2["BOOLEAN"] = "BooleanValue";
784
+ Kind2["NULL"] = "NullValue";
785
+ Kind2["ENUM"] = "EnumValue";
786
+ Kind2["LIST"] = "ListValue";
787
+ Kind2["OBJECT"] = "ObjectValue";
788
+ Kind2["OBJECT_FIELD"] = "ObjectField";
789
+ Kind2["DIRECTIVE"] = "Directive";
790
+ Kind2["NAMED_TYPE"] = "NamedType";
791
+ Kind2["LIST_TYPE"] = "ListType";
792
+ Kind2["NON_NULL_TYPE"] = "NonNullType";
793
+ Kind2["SCHEMA_DEFINITION"] = "SchemaDefinition";
794
+ Kind2["OPERATION_TYPE_DEFINITION"] = "OperationTypeDefinition";
795
+ Kind2["SCALAR_TYPE_DEFINITION"] = "ScalarTypeDefinition";
796
+ Kind2["OBJECT_TYPE_DEFINITION"] = "ObjectTypeDefinition";
797
+ Kind2["FIELD_DEFINITION"] = "FieldDefinition";
798
+ Kind2["INPUT_VALUE_DEFINITION"] = "InputValueDefinition";
799
+ Kind2["INTERFACE_TYPE_DEFINITION"] = "InterfaceTypeDefinition";
800
+ Kind2["UNION_TYPE_DEFINITION"] = "UnionTypeDefinition";
801
+ Kind2["ENUM_TYPE_DEFINITION"] = "EnumTypeDefinition";
802
+ Kind2["ENUM_VALUE_DEFINITION"] = "EnumValueDefinition";
803
+ Kind2["INPUT_OBJECT_TYPE_DEFINITION"] = "InputObjectTypeDefinition";
804
+ Kind2["DIRECTIVE_DEFINITION"] = "DirectiveDefinition";
805
+ Kind2["SCHEMA_EXTENSION"] = "SchemaExtension";
806
+ Kind2["DIRECTIVE_EXTENSION"] = "DirectiveExtension";
807
+ Kind2["SCALAR_TYPE_EXTENSION"] = "ScalarTypeExtension";
808
+ Kind2["OBJECT_TYPE_EXTENSION"] = "ObjectTypeExtension";
809
+ Kind2["INTERFACE_TYPE_EXTENSION"] = "InterfaceTypeExtension";
810
+ Kind2["UNION_TYPE_EXTENSION"] = "UnionTypeExtension";
811
+ Kind2["ENUM_TYPE_EXTENSION"] = "EnumTypeExtension";
812
+ Kind2["INPUT_OBJECT_TYPE_EXTENSION"] = "InputObjectTypeExtension";
813
+ Kind2["TYPE_COORDINATE"] = "TypeCoordinate";
814
+ Kind2["MEMBER_COORDINATE"] = "MemberCoordinate";
815
+ Kind2["ARGUMENT_COORDINATE"] = "ArgumentCoordinate";
816
+ Kind2["DIRECTIVE_COORDINATE"] = "DirectiveCoordinate";
817
+ Kind2["DIRECTIVE_ARGUMENT_COORDINATE"] = "DirectiveArgumentCoordinate";
818
818
  })(Kind || (Kind = {}));
819
819
 
820
820
  // node_modules/graphql/language/characterClasses.mjs
@@ -3410,11 +3410,13 @@ var EnumUserLicence = /* @__PURE__ */ ((EnumUserLicence22) => {
3410
3410
  })(EnumUserLicence || {});
3411
3411
  var EnumUserRole = /* @__PURE__ */ ((EnumUserRole22) => {
3412
3412
  EnumUserRole22["ADMIN"] = "admin";
3413
+ EnumUserRole22["SUPER_ADMIN"] = "super_admin";
3413
3414
  EnumUserRole22["CUSTOMER"] = "customer";
3414
3415
  EnumUserRole22["MARKETING"] = "marketing";
3415
3416
  EnumUserRole22["MODERATOR"] = "moderator";
3416
3417
  EnumUserRole22["SUPPORT"] = "support";
3417
3418
  EnumUserRole22["AFFILIATE"] = "affiliate";
3419
+ EnumUserRole22["SCHOOL"] = "school";
3418
3420
  return EnumUserRole22;
3419
3421
  })(EnumUserRole || {});
3420
3422
  var EnumEventDateStatus = /* @__PURE__ */ ((EnumEventDateStatus22) => {
@@ -5188,6 +5190,7 @@ var EVENT_LIST_ITEM = gql`
5188
5190
  fragment EventListItemFields on EventListItemType {
5189
5191
  _id
5190
5192
  active
5193
+ approvedAt
5191
5194
  claimed
5192
5195
  cover {
5193
5196
  ...ResourceImageFields
@@ -5291,6 +5294,7 @@ var EVENT = gql`
5291
5294
  ...AssociatesFields
5292
5295
  }
5293
5296
  adIds
5297
+ approvedAt
5294
5298
  cover {
5295
5299
  ...ResourceImageFields
5296
5300
  }
@@ -5478,6 +5482,7 @@ var VENDOR = gql`
5478
5482
  ...AssociatesFields
5479
5483
  }
5480
5484
  adIds
5485
+ approvedAt
5481
5486
  availability {
5482
5487
  corporate
5483
5488
  private
@@ -5723,6 +5728,7 @@ var PARTNER = gql`
5723
5728
  ...AssociatesFields
5724
5729
  }
5725
5730
  adIds
5731
+ approvedAt
5726
5732
  cover {
5727
5733
  ...ResourceImageFields
5728
5734
  }
@@ -5958,6 +5964,7 @@ var POST_FIELDS_FRAGMENT = gql`
5958
5964
  fragment PostFields on PostType {
5959
5965
  _id
5960
5966
  active
5967
+ approvedAt
5961
5968
  caption
5962
5969
  content {
5963
5970
  ...PostContentFields
@@ -6102,153 +6109,6 @@ var GET_RESOURCE_CONNECTIONS = gql`
6102
6109
  ${VENDOR}
6103
6110
  ${EVENT_LIST_ITEM}
6104
6111
  `;
6105
- var QueryDocumentKeys2 = {
6106
- Name: [],
6107
- Document: ["definitions"],
6108
- OperationDefinition: [
6109
- "description",
6110
- "name",
6111
- "variableDefinitions",
6112
- "directives",
6113
- "selectionSet"
6114
- ],
6115
- VariableDefinition: [
6116
- "description",
6117
- "variable",
6118
- "type",
6119
- "defaultValue",
6120
- "directives"
6121
- ],
6122
- Variable: ["name"],
6123
- SelectionSet: ["selections"],
6124
- Field: ["alias", "name", "arguments", "directives", "selectionSet"],
6125
- Argument: ["name", "value"],
6126
- FragmentSpread: ["name", "directives"],
6127
- InlineFragment: ["typeCondition", "directives", "selectionSet"],
6128
- FragmentDefinition: [
6129
- "description",
6130
- "name",
6131
- // Note: fragment variable definitions are deprecated and will removed in v17.0.0
6132
- "variableDefinitions",
6133
- "typeCondition",
6134
- "directives",
6135
- "selectionSet"
6136
- ],
6137
- IntValue: [],
6138
- FloatValue: [],
6139
- StringValue: [],
6140
- BooleanValue: [],
6141
- NullValue: [],
6142
- EnumValue: [],
6143
- ListValue: ["values"],
6144
- ObjectValue: ["fields"],
6145
- ObjectField: ["name", "value"],
6146
- Directive: ["name", "arguments"],
6147
- NamedType: ["name"],
6148
- ListType: ["type"],
6149
- NonNullType: ["type"],
6150
- SchemaDefinition: ["description", "directives", "operationTypes"],
6151
- OperationTypeDefinition: ["type"],
6152
- ScalarTypeDefinition: ["description", "name", "directives"],
6153
- ObjectTypeDefinition: [
6154
- "description",
6155
- "name",
6156
- "interfaces",
6157
- "directives",
6158
- "fields"
6159
- ],
6160
- FieldDefinition: ["description", "name", "arguments", "type", "directives"],
6161
- InputValueDefinition: [
6162
- "description",
6163
- "name",
6164
- "type",
6165
- "defaultValue",
6166
- "directives"
6167
- ],
6168
- InterfaceTypeDefinition: [
6169
- "description",
6170
- "name",
6171
- "interfaces",
6172
- "directives",
6173
- "fields"
6174
- ],
6175
- UnionTypeDefinition: ["description", "name", "directives", "types"],
6176
- EnumTypeDefinition: ["description", "name", "directives", "values"],
6177
- EnumValueDefinition: ["description", "name", "directives"],
6178
- InputObjectTypeDefinition: ["description", "name", "directives", "fields"],
6179
- DirectiveDefinition: ["description", "name", "arguments", "locations"],
6180
- SchemaExtension: ["directives", "operationTypes"],
6181
- ScalarTypeExtension: ["name", "directives"],
6182
- ObjectTypeExtension: ["name", "interfaces", "directives", "fields"],
6183
- InterfaceTypeExtension: ["name", "interfaces", "directives", "fields"],
6184
- UnionTypeExtension: ["name", "directives", "types"],
6185
- EnumTypeExtension: ["name", "directives", "values"],
6186
- InputObjectTypeExtension: ["name", "directives", "fields"],
6187
- TypeCoordinate: ["name"],
6188
- MemberCoordinate: ["name", "memberName"],
6189
- ArgumentCoordinate: ["name", "fieldName", "argumentName"],
6190
- DirectiveCoordinate: ["name"],
6191
- DirectiveArgumentCoordinate: ["name", "argumentName"]
6192
- };
6193
- var kindValues2 = new Set(Object.keys(QueryDocumentKeys2));
6194
- var OperationTypeNode2;
6195
- (function(OperationTypeNode22) {
6196
- OperationTypeNode22["QUERY"] = "query";
6197
- OperationTypeNode22["MUTATION"] = "mutation";
6198
- OperationTypeNode22["SUBSCRIPTION"] = "subscription";
6199
- })(OperationTypeNode2 || (OperationTypeNode2 = {}));
6200
- var Kind2;
6201
- (function(Kind22) {
6202
- Kind22["NAME"] = "Name";
6203
- Kind22["DOCUMENT"] = "Document";
6204
- Kind22["OPERATION_DEFINITION"] = "OperationDefinition";
6205
- Kind22["VARIABLE_DEFINITION"] = "VariableDefinition";
6206
- Kind22["SELECTION_SET"] = "SelectionSet";
6207
- Kind22["FIELD"] = "Field";
6208
- Kind22["ARGUMENT"] = "Argument";
6209
- Kind22["FRAGMENT_SPREAD"] = "FragmentSpread";
6210
- Kind22["INLINE_FRAGMENT"] = "InlineFragment";
6211
- Kind22["FRAGMENT_DEFINITION"] = "FragmentDefinition";
6212
- Kind22["VARIABLE"] = "Variable";
6213
- Kind22["INT"] = "IntValue";
6214
- Kind22["FLOAT"] = "FloatValue";
6215
- Kind22["STRING"] = "StringValue";
6216
- Kind22["BOOLEAN"] = "BooleanValue";
6217
- Kind22["NULL"] = "NullValue";
6218
- Kind22["ENUM"] = "EnumValue";
6219
- Kind22["LIST"] = "ListValue";
6220
- Kind22["OBJECT"] = "ObjectValue";
6221
- Kind22["OBJECT_FIELD"] = "ObjectField";
6222
- Kind22["DIRECTIVE"] = "Directive";
6223
- Kind22["NAMED_TYPE"] = "NamedType";
6224
- Kind22["LIST_TYPE"] = "ListType";
6225
- Kind22["NON_NULL_TYPE"] = "NonNullType";
6226
- Kind22["SCHEMA_DEFINITION"] = "SchemaDefinition";
6227
- Kind22["OPERATION_TYPE_DEFINITION"] = "OperationTypeDefinition";
6228
- Kind22["SCALAR_TYPE_DEFINITION"] = "ScalarTypeDefinition";
6229
- Kind22["OBJECT_TYPE_DEFINITION"] = "ObjectTypeDefinition";
6230
- Kind22["FIELD_DEFINITION"] = "FieldDefinition";
6231
- Kind22["INPUT_VALUE_DEFINITION"] = "InputValueDefinition";
6232
- Kind22["INTERFACE_TYPE_DEFINITION"] = "InterfaceTypeDefinition";
6233
- Kind22["UNION_TYPE_DEFINITION"] = "UnionTypeDefinition";
6234
- Kind22["ENUM_TYPE_DEFINITION"] = "EnumTypeDefinition";
6235
- Kind22["ENUM_VALUE_DEFINITION"] = "EnumValueDefinition";
6236
- Kind22["INPUT_OBJECT_TYPE_DEFINITION"] = "InputObjectTypeDefinition";
6237
- Kind22["DIRECTIVE_DEFINITION"] = "DirectiveDefinition";
6238
- Kind22["SCHEMA_EXTENSION"] = "SchemaExtension";
6239
- Kind22["SCALAR_TYPE_EXTENSION"] = "ScalarTypeExtension";
6240
- Kind22["OBJECT_TYPE_EXTENSION"] = "ObjectTypeExtension";
6241
- Kind22["INTERFACE_TYPE_EXTENSION"] = "InterfaceTypeExtension";
6242
- Kind22["UNION_TYPE_EXTENSION"] = "UnionTypeExtension";
6243
- Kind22["ENUM_TYPE_EXTENSION"] = "EnumTypeExtension";
6244
- Kind22["INPUT_OBJECT_TYPE_EXTENSION"] = "InputObjectTypeExtension";
6245
- Kind22["TYPE_COORDINATE"] = "TypeCoordinate";
6246
- Kind22["MEMBER_COORDINATE"] = "MemberCoordinate";
6247
- Kind22["ARGUMENT_COORDINATE"] = "ArgumentCoordinate";
6248
- Kind22["DIRECTIVE_COORDINATE"] = "DirectiveCoordinate";
6249
- Kind22["DIRECTIVE_ARGUMENT_COORDINATE"] = "DirectiveArgumentCoordinate";
6250
- })(Kind2 || (Kind2 = {}));
6251
- var BREAK2 = Object.freeze({});
6252
6112
  var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = gql`
6253
6113
  mutation adminUpdateResourceType($input: AdminUpdateResourceInputType!) {
6254
6114
  adminUpdateResourceType(input: $input) {
@@ -7403,6 +7263,7 @@ var SCHOOL = gql`
7403
7263
  fragment SchoolFields on SchoolType {
7404
7264
  _id
7405
7265
  active
7266
+ approvedAt
7406
7267
  campaigns {
7407
7268
  ...SchoolCampaignFields
7408
7269
  }
@@ -7565,6 +7426,7 @@ var AFFILIATE_FIELDS_FRAGMENT = gql`
7565
7426
  affiliateResources {
7566
7427
  ...AffiliateResourceFields
7567
7428
  }
7429
+ approvedAt
7568
7430
  createdAt
7569
7431
  deletedAt
7570
7432
  redeemHistory {
@@ -8299,6 +8161,7 @@ var baseResourceFields = {
8299
8161
  required: false,
8300
8162
  type: [import_mongoose6.default.Schema.Types.ObjectId]
8301
8163
  },
8164
+ approvedAt: { default: null, required: false, type: Date },
8302
8165
  associates: {
8303
8166
  required: false,
8304
8167
  type: [associatesSchema]
@@ -8345,6 +8208,7 @@ var schema3 = new MongooseSchema7(
8345
8208
  active: { default: false, required: true, type: Boolean },
8346
8209
  address: { required: true, type: String },
8347
8210
  addressComponents: { required: false, type: [addressComponentSchema] },
8211
+ approvedAt: { default: null, required: false, type: Date },
8348
8212
  businessStatus: { required: false, type: String },
8349
8213
  claimed: { default: false, required: true, type: Boolean },
8350
8214
  claimedAt: { default: null, required: false, type: Date },
@@ -8445,7 +8309,7 @@ schema4.index({ isRead: 1, userId: 1 });
8445
8309
  schema4.index({ createdAt: -1, userId: 1 });
8446
8310
  var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
8447
8311
 
8448
- // node_modules/@timardex/cluemart-shared/dist/chunk-LETM2YHF.mjs
8312
+ // node_modules/@timardex/cluemart-shared/dist/chunk-D33VEY7Q.mjs
8449
8313
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
8450
8314
  EnumOSPlatform22["ANDROID"] = "android";
8451
8315
  EnumOSPlatform22["IOS"] = "ios";
@@ -9030,6 +8894,7 @@ var resourceSchema = new MongooseSchema18(
9030
8894
  var schema14 = new MongooseSchema18(
9031
8895
  {
9032
8896
  active: { default: false, required: true, type: Boolean },
8897
+ approvedAt: { default: null, required: false, type: Date },
9033
8898
  caption: { required: true, type: String },
9034
8899
  content: {
9035
8900
  default: [],
@@ -9266,6 +9131,7 @@ var schema16 = new MongooseSchema24(
9266
9131
  {
9267
9132
  // New schools are active by default
9268
9133
  active: { default: false, required: true, type: Boolean },
9134
+ approvedAt: { default: null, required: false, type: Date },
9269
9135
  campaigns: { required: false, type: [campaignsSchema] },
9270
9136
  contactDetails: { required: false, type: ContactDetailsSchema },
9271
9137
  deletedAt: { default: null, required: false, type: Date },
@@ -9394,6 +9260,7 @@ var schema17 = new MongooseSchema25(
9394
9260
  required: false,
9395
9261
  type: [affiliateResourceSchema]
9396
9262
  },
9263
+ approvedAt: { default: null, required: false, type: Date },
9397
9264
  deletedAt: { default: null, required: false, type: Date },
9398
9265
  overallPoints: { default: 0, required: true, type: Number },
9399
9266
  owner: {