@lacagnottedesproches/lcdp-js-lite 1.7.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 +3 -0
- package/package.json +1 -1
- package/src/types.ts +4 -1
package/dist/types.d.ts
CHANGED
|
@@ -62,6 +62,7 @@ export interface Pot {
|
|
|
62
62
|
visual_secondary_url: string | null;
|
|
63
63
|
with_tax_receipt: boolean;
|
|
64
64
|
tags?: string[];
|
|
65
|
+
metadata?: Record<string, unknown>;
|
|
65
66
|
}
|
|
66
67
|
export interface PotsPagination extends Pagination {
|
|
67
68
|
items: Pot[];
|
|
@@ -89,6 +90,7 @@ interface PayloadPotBase {
|
|
|
89
90
|
description?: string | undefined;
|
|
90
91
|
assoid?: string | undefined;
|
|
91
92
|
tags?: string[] | undefined;
|
|
93
|
+
metadata?: Record<string, unknown>;
|
|
92
94
|
}
|
|
93
95
|
export interface PayloadPot extends PayloadPotBase {
|
|
94
96
|
acct_id: string;
|
|
@@ -103,6 +105,7 @@ export interface PayloadPotUpdate {
|
|
|
103
105
|
amount_collected_hidden?: boolean | undefined;
|
|
104
106
|
description?: string | undefined;
|
|
105
107
|
tags?: string[] | undefined;
|
|
108
|
+
metadata?: Record<string, unknown>;
|
|
106
109
|
}
|
|
107
110
|
export interface PayloadAccountAndPot extends PayloadAccount, PayloadPotBase {
|
|
108
111
|
}
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -70,6 +70,7 @@ export interface Pot {
|
|
|
70
70
|
visual_secondary_url: string | null;
|
|
71
71
|
with_tax_receipt: boolean;
|
|
72
72
|
tags?: string[];
|
|
73
|
+
metadata?: Record<string, unknown>;
|
|
73
74
|
}
|
|
74
75
|
|
|
75
76
|
export interface PotsPagination extends Pagination {
|
|
@@ -100,6 +101,7 @@ interface PayloadPotBase {
|
|
|
100
101
|
description?: string | undefined;
|
|
101
102
|
assoid?: string | undefined;
|
|
102
103
|
tags?: string[] | undefined;
|
|
104
|
+
metadata?: Record<string, unknown>;
|
|
103
105
|
}
|
|
104
106
|
|
|
105
107
|
export interface PayloadPot extends PayloadPotBase {
|
|
@@ -116,6 +118,7 @@ export interface PayloadPotUpdate {
|
|
|
116
118
|
amount_collected_hidden?: boolean | undefined;
|
|
117
119
|
description?: string | undefined;
|
|
118
120
|
tags?: string[] | undefined;
|
|
121
|
+
metadata?: Record<string, unknown>;
|
|
119
122
|
}
|
|
120
123
|
|
|
121
124
|
export interface PayloadAccountAndPot extends PayloadAccount, PayloadPotBase {}
|
|
@@ -320,4 +323,4 @@ export interface DataAccount extends Omit<PayloadAccount, "birth_date"> {
|
|
|
320
323
|
birth_date: number;
|
|
321
324
|
}
|
|
322
325
|
|
|
323
|
-
export {};
|
|
326
|
+
export { };
|