need4deed-sdk 0.0.196 → 0.0.197
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.
|
@@ -125,6 +125,7 @@ export interface OpportunityCreateFormDataProps {
|
|
|
125
125
|
accomp_information?: string;
|
|
126
126
|
accomp_translation?: `${TranslatedIntoType}`;
|
|
127
127
|
districtIds?: number[];
|
|
128
|
+
address?: ApiOpportunityAddress;
|
|
128
129
|
languageIds: number[];
|
|
129
130
|
activityIds: number[];
|
|
130
131
|
skillIds: number[];
|
|
@@ -138,6 +139,11 @@ export interface OpportunityCreateFormDataProps {
|
|
|
138
139
|
language: `${Lang}`;
|
|
139
140
|
}
|
|
140
141
|
export type OpportunityFormDataWithAgentSubmitter = VoidableUndefined<OpportunityCreateFormDataProps>;
|
|
142
|
+
export interface ApiOpportunityAddress {
|
|
143
|
+
street: string;
|
|
144
|
+
postcode: string;
|
|
145
|
+
city: string;
|
|
146
|
+
}
|
|
141
147
|
export interface ApiOpportunityAgent {
|
|
142
148
|
id: number;
|
|
143
149
|
type: AgentType;
|
|
@@ -189,6 +195,7 @@ export interface ApiOpportunityGet extends ApiOpportunityGetList {
|
|
|
189
195
|
time: string;
|
|
190
196
|
};
|
|
191
197
|
myMatchStatus?: OpportunityVolunteerStatusType | null;
|
|
198
|
+
address?: ApiOpportunityAddress | null;
|
|
192
199
|
}
|
|
193
200
|
export type ApiOpportunityLean = Omit<ApiOpportunityGet, "comments">;
|
|
194
201
|
export type ApiOpportunityPatch = VoidableProps<{
|
|
@@ -215,6 +222,7 @@ export type ApiOpportunityPatch = VoidableProps<{
|
|
|
215
222
|
name?: string;
|
|
216
223
|
};
|
|
217
224
|
accompanyingDetails: ApiOpportunityAccompanyingDetails;
|
|
225
|
+
address: ApiOpportunityAddress;
|
|
218
226
|
}> & {
|
|
219
227
|
originalLanguage?: Lang;
|
|
220
228
|
};
|