@lacagnottedesproches/lcdp-js-lite 1.6.0 → 1.7.0

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/types.d.ts CHANGED
@@ -61,6 +61,7 @@ export interface Pot {
61
61
  visual_main_url: string | null;
62
62
  visual_secondary_url: string | null;
63
63
  with_tax_receipt: boolean;
64
+ tags?: string[];
64
65
  }
65
66
  export interface PotsPagination extends Pagination {
66
67
  items: Pot[];
@@ -87,6 +88,7 @@ interface PayloadPotBase {
87
88
  total_amount_hidden?: boolean | undefined;
88
89
  description?: string | undefined;
89
90
  assoid?: string | undefined;
91
+ tags?: string[] | undefined;
90
92
  }
91
93
  export interface PayloadPot extends PayloadPotBase {
92
94
  acct_id: string;
@@ -100,6 +102,7 @@ export interface PayloadPotUpdate {
100
102
  status_public?: boolean | undefined;
101
103
  amount_collected_hidden?: boolean | undefined;
102
104
  description?: string | undefined;
105
+ tags?: string[] | undefined;
103
106
  }
104
107
  export interface PayloadAccountAndPot extends PayloadAccount, PayloadPotBase {
105
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lacagnottedesproches/lcdp-js-lite",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "LCDP JS Lite",
5
5
  "scripts": {
6
6
  "build": "rm -rf dist/ && rollup -c",
package/src/types.ts CHANGED
@@ -69,6 +69,7 @@ export interface Pot {
69
69
  visual_main_url: string | null;
70
70
  visual_secondary_url: string | null;
71
71
  with_tax_receipt: boolean;
72
+ tags?: string[];
72
73
  }
73
74
 
74
75
  export interface PotsPagination extends Pagination {
@@ -98,6 +99,7 @@ interface PayloadPotBase {
98
99
  total_amount_hidden?: boolean | undefined;
99
100
  description?: string | undefined;
100
101
  assoid?: string | undefined;
102
+ tags?: string[] | undefined;
101
103
  }
102
104
 
103
105
  export interface PayloadPot extends PayloadPotBase {
@@ -113,6 +115,7 @@ export interface PayloadPotUpdate {
113
115
  status_public?: boolean | undefined;
114
116
  amount_collected_hidden?: boolean | undefined;
115
117
  description?: string | undefined;
118
+ tags?: string[] | undefined;
116
119
  }
117
120
 
118
121
  export interface PayloadAccountAndPot extends PayloadAccount, PayloadPotBase {}