@the-inkwell/shared 0.1.95 → 0.1.96

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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-inkwell/shared",
3
- "version": "0.1.95",
3
+ "version": "0.1.96",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin & Saimon Alam)",
@@ -0,0 +1,14 @@
1
+ import Campaigns from '../../../_schema/Campaigns'
2
+ import { type ListRequest, type ListResponse } from '../../../utils'
3
+
4
+ export type AdminCampaign = Campaigns
5
+
6
+ // detail
7
+
8
+ export type AdminCampaignQueryParams = Pick<AdminCampaign, 'id'>
9
+ export type AdminCampaignResponse = AdminCampaign
10
+
11
+ // list
12
+
13
+ export type AdminCampaignListInput = ListRequest
14
+ export type AdminCampaignListResponse = ListResponse<AdminCampaign>