@deallony/shared 1.2.55 → 1.2.56

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.
@@ -0,0 +1,8 @@
1
+ /** Modules whose fetch endpoints report when their data last changed */
2
+ export type ModuleFetchEndpointKey = "categories";
3
+ /**
4
+ * When each module's data last changed on the server (ISO dates), from
5
+ * POST api/v1/application/module-fetch-endpoints-last-updated. Apps compare it with the date they
6
+ * saved and fetch the module again only when it differs.
7
+ */
8
+ export type IModuleFetchEndpointsLastUpdated = Partial<Record<ModuleFetchEndpointKey, string>>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,6 +3,7 @@ export * as Response from "./common/Response";
3
3
  export * as Status from "./common/Status";
4
4
  export * as AccessType from "./service/AccessType";
5
5
  export * as Config from "./common/Config";
6
+ export * as ModuleFetchEndpoints from "./common/ModuleFetchEndpointsLastUpdated";
6
7
  export * as FilterParams from "./common/FilterParams";
7
8
  export * as Ad from "./ad/Ad";
8
9
  export * as AdLocation from "./ad/AdLocation";
@@ -36,14 +36,15 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.PotentialUser = exports.Loyalty = exports.Favorite = exports.Wallet = exports.Permission = exports.Role = exports.User = exports.EventVenue = exports.EventWedding = exports.EventTimeline = exports.EventRsvp = exports.Event = exports.District = exports.City = exports.AdminBoundary = exports.WorkType = exports.UsedProductCondition = exports.UsedProductAge = exports.Unit = exports.Transmission = exports.RegionalSpec = exports.PublisherType = exports.PropertyStatus = exports.PriceType = exports.OfferType = exports.LicenseType = exports.FuelType = exports.Feature = exports.Facility = exports.Currency = exports.Color = exports.CategoryWorkType = exports.Category = exports.CarBody = exports.UsedProduct = exports.Service = exports.PropertySubType = exports.Property = exports.MotorTrim = exports.Motor = exports.AdPromotion = exports.Addresses = exports.AdLocation = exports.Ad = exports.FilterParams = exports.Config = exports.AccessType = exports.Status = exports.Response = exports.LocalizedName = void 0;
40
- exports.Payment = exports.Analysis = exports.Google = exports.Kyc = exports.SocialMediaProfile = exports.SocialMediaPlatform = exports.Image = exports.Media = exports.File = exports.NotificationToken = exports.MessageTemplate = exports.Device = exports.Chat = exports.AppStartScreen = exports.MetaData = exports.Company = void 0;
39
+ exports.Loyalty = exports.Favorite = exports.Wallet = exports.Permission = exports.Role = exports.User = exports.EventVenue = exports.EventWedding = exports.EventTimeline = exports.EventRsvp = exports.Event = exports.District = exports.City = exports.AdminBoundary = exports.WorkType = exports.UsedProductCondition = exports.UsedProductAge = exports.Unit = exports.Transmission = exports.RegionalSpec = exports.PublisherType = exports.PropertyStatus = exports.PriceType = exports.OfferType = exports.LicenseType = exports.FuelType = exports.Feature = exports.Facility = exports.Currency = exports.Color = exports.CategoryWorkType = exports.Category = exports.CarBody = exports.UsedProduct = exports.Service = exports.PropertySubType = exports.Property = exports.MotorTrim = exports.Motor = exports.AdPromotion = exports.Addresses = exports.AdLocation = exports.Ad = exports.FilterParams = exports.ModuleFetchEndpoints = exports.Config = exports.AccessType = exports.Status = exports.Response = exports.LocalizedName = void 0;
40
+ exports.Payment = exports.Analysis = exports.Google = exports.Kyc = exports.SocialMediaProfile = exports.SocialMediaPlatform = exports.Image = exports.Media = exports.File = exports.NotificationToken = exports.MessageTemplate = exports.Device = exports.Chat = exports.AppStartScreen = exports.MetaData = exports.Company = exports.PotentialUser = void 0;
41
41
  // common
42
42
  exports.LocalizedName = __importStar(require("./common/LocalizedName"));
43
43
  exports.Response = __importStar(require("./common/Response"));
44
44
  exports.Status = __importStar(require("./common/Status"));
45
45
  exports.AccessType = __importStar(require("./service/AccessType"));
46
46
  exports.Config = __importStar(require("./common/Config"));
47
+ exports.ModuleFetchEndpoints = __importStar(require("./common/ModuleFetchEndpointsLastUpdated"));
47
48
  exports.FilterParams = __importStar(require("./common/FilterParams"));
48
49
  // listings
49
50
  exports.Ad = __importStar(require("./ad/Ad"));
@@ -7,6 +7,7 @@ export * as Response from "./common/Response.js";
7
7
  export * as Status from "./common/Status.js";
8
8
  export * as AccessType from "./service/AccessType.js";
9
9
  export * as Config from "./common/Config.js";
10
+ export * as ModuleFetchEndpoints from "./common/ModuleFetchEndpointsLastUpdated.js";
10
11
  export * as FilterParams from "./common/FilterParams.js";
11
12
  // listings
12
13
  export * as Ad from "./ad/Ad.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deallony/shared",
3
- "version": "1.2.55",
3
+ "version": "1.2.56",
4
4
  "private": false,
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",