Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://github.com/rbilabs/intl-loyalty/pull/442/files
https://github.com/rbilabs/intl-loyalty/pull/455/files

INTL - Sanity
https://github.com/rbilabs/intl-sanity-shared-schemas/pull/16

Loyalty

Expand
titleloyalty-engine-sdk/api.ts - Update Types
Code Block
languagetypescript
export enum EnginePointsDependsOn {
    DeliveryFee = 'Delivery Fee',
    ServiceFee = 'Service Fee',
}
Expand
titlemodels/configuration/configuration.enums.ts - Update Types
Code Block
languagetypescript
export enum PointsDependsOn {
  DeliveryFee = 'Delivery Fee',
  ServiceFee = 'ServiceFee',
}

...

Expand
titleloyalty-engine-sdk/dist/api.d.ts - Ensure the type was generated
Code Block
languagetypescript
export declare enum EnginePointsDependsOn {
    DeliveryFee = "Delivery Fee",
    ServiceFee = "Service Fee",
}
Expand
titleloyalty-engine-sdk/api.ts - Ensure the type was generated
Code Block
languagetypescript
export enum EnginePointsDependsOn {
    DeliveryFee = 'Delivery Fee',
    ServiceFee = 'Service Fee',
}
Info

In addition, it will be necessary to make unit tests to validate the solution.

...