@lacagnottedesproches/lcdp-js-lite 1.6.0 → 1.8.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 +6 -0
- package/package.json +1 -1
- package/src/types.ts +7 -1
package/dist/types.d.ts
CHANGED
|
@@ -61,6 +61,8 @@ 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[];
|
|
65
|
+
metadata?: Record<string, unknown>;
|
|
64
66
|
}
|
|
65
67
|
export interface PotsPagination extends Pagination {
|
|
66
68
|
items: Pot[];
|
|
@@ -87,6 +89,8 @@ interface PayloadPotBase {
|
|
|
87
89
|
total_amount_hidden?: boolean | undefined;
|
|
88
90
|
description?: string | undefined;
|
|
89
91
|
assoid?: string | undefined;
|
|
92
|
+
tags?: string[] | undefined;
|
|
93
|
+
metadata?: Record<string, unknown>;
|
|
90
94
|
}
|
|
91
95
|
export interface PayloadPot extends PayloadPotBase {
|
|
92
96
|
acct_id: string;
|
|
@@ -100,6 +104,8 @@ export interface PayloadPotUpdate {
|
|
|
100
104
|
status_public?: boolean | undefined;
|
|
101
105
|
amount_collected_hidden?: boolean | undefined;
|
|
102
106
|
description?: string | undefined;
|
|
107
|
+
tags?: string[] | undefined;
|
|
108
|
+
metadata?: Record<string, unknown>;
|
|
103
109
|
}
|
|
104
110
|
export interface PayloadAccountAndPot extends PayloadAccount, PayloadPotBase {
|
|
105
111
|
}
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -69,6 +69,8 @@ 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[];
|
|
73
|
+
metadata?: Record<string, unknown>;
|
|
72
74
|
}
|
|
73
75
|
|
|
74
76
|
export interface PotsPagination extends Pagination {
|
|
@@ -98,6 +100,8 @@ interface PayloadPotBase {
|
|
|
98
100
|
total_amount_hidden?: boolean | undefined;
|
|
99
101
|
description?: string | undefined;
|
|
100
102
|
assoid?: string | undefined;
|
|
103
|
+
tags?: string[] | undefined;
|
|
104
|
+
metadata?: Record<string, unknown>;
|
|
101
105
|
}
|
|
102
106
|
|
|
103
107
|
export interface PayloadPot extends PayloadPotBase {
|
|
@@ -113,6 +117,8 @@ export interface PayloadPotUpdate {
|
|
|
113
117
|
status_public?: boolean | undefined;
|
|
114
118
|
amount_collected_hidden?: boolean | undefined;
|
|
115
119
|
description?: string | undefined;
|
|
120
|
+
tags?: string[] | undefined;
|
|
121
|
+
metadata?: Record<string, unknown>;
|
|
116
122
|
}
|
|
117
123
|
|
|
118
124
|
export interface PayloadAccountAndPot extends PayloadAccount, PayloadPotBase {}
|
|
@@ -317,4 +323,4 @@ export interface DataAccount extends Omit<PayloadAccount, "birth_date"> {
|
|
|
317
323
|
birth_date: number;
|
|
318
324
|
}
|
|
319
325
|
|
|
320
|
-
export {};
|
|
326
|
+
export { };
|