@pfdev/api-types 3.0.10 → 3.0.11

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/v3.ts +13 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pfdev/api-types",
3
- "version": "3.0.10",
3
+ "version": "3.0.11",
4
4
  "description": "TypeScript types for PF API V3",
5
5
  "main": "index.ts",
6
6
  "types": "index.ts",
package/v3.ts CHANGED
@@ -239,6 +239,19 @@ export const CardSalesResponseSchema = Type.Object(
239
239
 
240
240
  export type CardSalesResponse = Static<typeof CardSalesResponseSchema>;
241
241
 
242
+ // ============= CURRENCY =============
243
+
244
+
245
+ export const CurrencyResponseSchema = Type.Object({
246
+ success: Type.Boolean(),
247
+ timestamp: Type.Number(),
248
+ date: Type.String(),
249
+ base: Type.String(),
250
+ rates: Type.Record(Type.String(), Type.Number())
251
+ });
252
+
253
+ export type CurrencyResponse = Static<typeof CurrencyResponseSchema>;
254
+
242
255
  // ============= SEALED =============
243
256
 
244
257