cyc-type-def 3.0.0 → 3.0.1

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.
package/dist/index.cjs CHANGED
@@ -553,10 +553,10 @@ var PERMISSION = {
553
553
 
554
554
  // src/constants/claim.constant.ts
555
555
  var ClaimType = /* @__PURE__ */ ((ClaimType2) => {
556
- ClaimType2[ClaimType2["BIRTHDAY"] = 0] = "BIRTHDAY";
557
- ClaimType2[ClaimType2["REFRESHMENT"] = 1] = "REFRESHMENT";
558
- ClaimType2[ClaimType2["OUTREACH"] = 2] = "OUTREACH";
559
- ClaimType2[ClaimType2["VENUE"] = 3] = "VENUE";
556
+ ClaimType2["BIRTHDAY"] = "Birthday";
557
+ ClaimType2["REFRESHMENT"] = "Refreshment";
558
+ ClaimType2["OUTREACH"] = "Outreach";
559
+ ClaimType2["VENUE"] = "Venue";
560
560
  return ClaimType2;
561
561
  })(ClaimType || {});
562
562
  // Annotate the CommonJS export names for ESM import in node:
package/dist/index.d.cts CHANGED
@@ -317,10 +317,10 @@ declare class AssignedCG {
317
317
  }
318
318
 
319
319
  declare enum ClaimType {
320
- BIRTHDAY = 0,
321
- REFRESHMENT = 1,
322
- OUTREACH = 2,
323
- VENUE = 3
320
+ BIRTHDAY = "Birthday",
321
+ REFRESHMENT = "Refreshment",
322
+ OUTREACH = "Outreach",
323
+ VENUE = "Venue"
324
324
  }
325
325
 
326
326
  interface Claim extends Base {
@@ -343,7 +343,7 @@ interface Claim extends Base {
343
343
  *
344
344
  * just key in the name will do, although when it is multiple stars
345
345
  */
346
- birthdayStar: string;
346
+ birthdayStar?: string;
347
347
  amount: number;
348
348
  attendance: DisplayAttendance;
349
349
  /**
@@ -377,7 +377,7 @@ interface Claim extends Base {
377
377
  /**
378
378
  * claim distributed datetime as a Unix timestamp in milliseconds.
379
379
  */
380
- distributedDate: number;
380
+ distributedDate?: number;
381
381
  /**
382
382
  * transfer slip url
383
383
  *
package/dist/index.d.ts CHANGED
@@ -317,10 +317,10 @@ declare class AssignedCG {
317
317
  }
318
318
 
319
319
  declare enum ClaimType {
320
- BIRTHDAY = 0,
321
- REFRESHMENT = 1,
322
- OUTREACH = 2,
323
- VENUE = 3
320
+ BIRTHDAY = "Birthday",
321
+ REFRESHMENT = "Refreshment",
322
+ OUTREACH = "Outreach",
323
+ VENUE = "Venue"
324
324
  }
325
325
 
326
326
  interface Claim extends Base {
@@ -343,7 +343,7 @@ interface Claim extends Base {
343
343
  *
344
344
  * just key in the name will do, although when it is multiple stars
345
345
  */
346
- birthdayStar: string;
346
+ birthdayStar?: string;
347
347
  amount: number;
348
348
  attendance: DisplayAttendance;
349
349
  /**
@@ -377,7 +377,7 @@ interface Claim extends Base {
377
377
  /**
378
378
  * claim distributed datetime as a Unix timestamp in milliseconds.
379
379
  */
380
- distributedDate: number;
380
+ distributedDate?: number;
381
381
  /**
382
382
  * transfer slip url
383
383
  *
package/dist/index.js CHANGED
@@ -505,10 +505,10 @@ var PERMISSION = {
505
505
 
506
506
  // src/constants/claim.constant.ts
507
507
  var ClaimType = /* @__PURE__ */ ((ClaimType2) => {
508
- ClaimType2[ClaimType2["BIRTHDAY"] = 0] = "BIRTHDAY";
509
- ClaimType2[ClaimType2["REFRESHMENT"] = 1] = "REFRESHMENT";
510
- ClaimType2[ClaimType2["OUTREACH"] = 2] = "OUTREACH";
511
- ClaimType2[ClaimType2["VENUE"] = 3] = "VENUE";
508
+ ClaimType2["BIRTHDAY"] = "Birthday";
509
+ ClaimType2["REFRESHMENT"] = "Refreshment";
510
+ ClaimType2["OUTREACH"] = "Outreach";
511
+ ClaimType2["VENUE"] = "Venue";
512
512
  return ClaimType2;
513
513
  })(ClaimType || {});
514
514
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cyc-type-def",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",