@communecter/cocolight-api-client 1.0.139 → 1.0.141
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/cocolight-api-client.browser.js +1 -1
- package/dist/cocolight-api-client.cjs +1 -1
- package/dist/cocolight-api-client.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js.map +1 -1
- package/package.json +1 -1
- package/src/ApiClient.ts +5 -1
- package/src/api/BaseEntity.ts +123 -1
- package/src/api/EndpointApi.ts +16 -1
- package/src/api/EndpointApi.types.ts +103 -0
- package/src/endpoints.module.ts +1 -1
- package/src/index.ts +2 -0
- package/types/api/BaseEntity.d.ts +68 -1
- package/types/api/EndpointApi.d.ts +10 -1
- package/types/api/EndpointApi.types.d.ts +96 -0
- package/types/endpoints.module.d.ts +338 -0
- package/types/index.d.ts +1 -1
package/src/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UpdateSettingsData, UpdateBlockDescriptionData, UpdateBlockInfoData, UpdateBlockSocialData, UpdateBlockLocalityData, GetNewsData, GetGalleryData, GlobalAutocompleteCostumData, CostumEventRequestActorsData, CostumEventRequestSubeventsData, CostumEventRequestDatesData, CostumEventRequestElementEventData, CostumEventRequestCategoriesData, CostumEventRequestEventData, CostumEventRequestLinkTlToEventData, CostumEventRequestLoadContextTagData, GetOrganizationsAdminData, GetOrganizationsNoAdminData, GetProjectsAdminData, GetProjectsNoAdminData, GetPoisAdminData, GetPoisNoAdminData, GetSubscribersData, GetBadgesData, CoformAnswersSearchData, SearchMemberAutocompleteData, GetEventsData, CostumFilterCoformData, GetCountriesData, SearchZonesData, CoformAnswersByFormsData, FundingEnvelopeData, CoremuOperationData, UpdatePathValueData } from "./EndpointApi.types.js";
|
|
1
|
+
import type { UpdateSettingsData, UpdateBlockDescriptionData, UpdateBlockInfoData, UpdateBlockSocialData, UpdateBlockLocalityData, GetNewsData, GetGalleryData, GlobalAutocompleteCostumData, CostumEventRequestActorsData, CostumEventRequestSubeventsData, CostumEventRequestDatesData, CostumEventRequestElementEventData, CostumEventRequestCategoriesData, CostumEventRequestEventData, CostumEventRequestLinkTlToEventData, CostumEventRequestLoadContextTagData, GetOrganizationsAdminData, GetOrganizationsNoAdminData, GetProjectsAdminData, GetProjectsNoAdminData, GetPoisAdminData, GetPoisNoAdminData, GetSubscribersData, GetBadgesData, CoformAnswersSearchData, SearchMemberAutocompleteData, GetEventsData, CostumFilterCoformData, CostumFilterCoformByPathData, GetCountriesData, SearchZonesData, CoformAnswersByFormsData, FundingEnvelopeData, CoremuOperationData, UpdatePathValueData } from "./EndpointApi.types.js";
|
|
2
2
|
import type { TransformsMap } from "../types/entities.js";
|
|
3
3
|
import type { CountryItem } from "./serverDataType/Country.js";
|
|
4
4
|
import type { ZoneItemNormalized } from "./serverDataType/Zone.js";
|
|
@@ -176,6 +176,29 @@ export type CostumContextFields = {
|
|
|
176
176
|
sourceKey: string[];
|
|
177
177
|
};
|
|
178
178
|
export type WithCostumContext<T> = T & CostumContextFields;
|
|
179
|
+
/**
|
|
180
|
+
* Une valeur distincte d'une thématique CoForm (retournée par `coformFilterByPath`).
|
|
181
|
+
*/
|
|
182
|
+
export interface CoformThematicValue {
|
|
183
|
+
/** Nom de la valeur de thématique (ex: "Cafés cantines solidaires"). */
|
|
184
|
+
name: string;
|
|
185
|
+
/** URL de l'image associée (chaîne vide si aucune). */
|
|
186
|
+
image: string;
|
|
187
|
+
/** Identifiants des éléments liés via le finder (orgas/projets/poi selon finderPath). */
|
|
188
|
+
orgaNameArray: string[];
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Résultat normalisé de `coformFilterByPath` (endpoint COSTUM_FILTER_COFORM_BY_PATH).
|
|
192
|
+
* Reconstruit proprement la réponse backend que le normalizer générique aplatit.
|
|
193
|
+
*/
|
|
194
|
+
export interface CoformFilterByPathResult {
|
|
195
|
+
/** _id des answers concernées par la thématique (dédupliqués). */
|
|
196
|
+
distinctElements: string[];
|
|
197
|
+
/** Valeurs distinctes de la thématique, chacune avec image/name/éléments liés. */
|
|
198
|
+
values: CoformThematicValue[];
|
|
199
|
+
/** Compteurs renvoyés par le backend (ex: `{ answers: 14 }`). */
|
|
200
|
+
count: Record<string, number>;
|
|
201
|
+
}
|
|
179
202
|
type PaginationCursor = {
|
|
180
203
|
searchType?: string[];
|
|
181
204
|
searchBy?: string;
|
|
@@ -2044,6 +2067,50 @@ export declare class BaseEntity<TServerData = any> {
|
|
|
2044
2067
|
* filters["activités"].count; // { "Atelier": 12, "Coworking": 8 }
|
|
2045
2068
|
*/
|
|
2046
2069
|
coformFiltersSearch(data?: Partial<CostumFilterCoformData>): Promise<any>;
|
|
2070
|
+
/**
|
|
2071
|
+
* Récupère les valeurs distinctes d'**une seule** thématique CoForm, query pilotée
|
|
2072
|
+
* côté client via `params.thematicPath` (+ `params.finderPath` optionnel).
|
|
2073
|
+
*
|
|
2074
|
+
* Distinct de {@link coformFiltersSearch} (qui passe `searchedData` et fait le batch
|
|
2075
|
+
* multi-filtres piloté serveur) : ici on cible UN filtre précis et on construit
|
|
2076
|
+
* soi-même la projection (`fields`) et les `filters`. Côté backend, c'est la branche
|
|
2077
|
+
* `isset($_POST["params"])` du controller AutoGlobalThematicNtwrkAction.
|
|
2078
|
+
*
|
|
2079
|
+
* Utile pour un **filtre par réseau régional/thématique** : on combine `params` avec
|
|
2080
|
+
* `notSourceKey: true` (cherche dans tout le réseau) ou `sourceKey: ["<réseau>"]`
|
|
2081
|
+
* (scope un réseau précis — cf. `_withCostumContext`).
|
|
2082
|
+
*
|
|
2083
|
+
* @param data - `params.thematicPath` est requis ; le reste (fields/filters/searchType/
|
|
2084
|
+
* sortBy/indexMin/indexStep/notSourceKey/locality) est optionnel.
|
|
2085
|
+
* @returns {@link CoformFilterByPathResult} : `{ distinctElements, values, count }`.
|
|
2086
|
+
* Reconstruit proprement la map backend que le normalizer générique aplatit
|
|
2087
|
+
* (la clé `results` est traitée comme wrapper de liste par `_transformData`).
|
|
2088
|
+
* @throws {ApiError} 400 si `params.thematicPath` est absent.
|
|
2089
|
+
*
|
|
2090
|
+
* @example
|
|
2091
|
+
* const res = await project.coformFilterByPath({
|
|
2092
|
+
* params: {
|
|
2093
|
+
* thematicPath: "lesCommunsDesTierslieux17102023_108_0.multiCheckboxPlus...",
|
|
2094
|
+
* finderPath: "answers.lesCommunsDesTierslieux17102023_108_0.finder...",
|
|
2095
|
+
* },
|
|
2096
|
+
* fields: [
|
|
2097
|
+
* "answers.lesCommunsDesTierslieux17102023_108_0.multiCheckboxPlus...",
|
|
2098
|
+
* "answers.lesCommunsDesTierslieux17102023_108_0.finder...",
|
|
2099
|
+
* ],
|
|
2100
|
+
* filters: {
|
|
2101
|
+
* "answers.lesCommunsDesTierslieux17102023_108_0.multiCheckboxPlus...": { $exists: true },
|
|
2102
|
+
* },
|
|
2103
|
+
* searchType: ["answers"],
|
|
2104
|
+
* notSourceKey: true,
|
|
2105
|
+
* });
|
|
2106
|
+
* res.count.answers; // 14
|
|
2107
|
+
* res.values[0].name; // "Cafés cantines solidaires"
|
|
2108
|
+
* res.values[0].orgaNameArray; // ["5b740..."]
|
|
2109
|
+
* res.distinctElements; // string[] des _id concernés
|
|
2110
|
+
*/
|
|
2111
|
+
coformFilterByPath(data: Partial<CostumFilterCoformByPathData> & {
|
|
2112
|
+
params: CostumFilterCoformByPathData["params"];
|
|
2113
|
+
}): Promise<CoformFilterByPathResult>;
|
|
2047
2114
|
/**
|
|
2048
2115
|
* Recherche des zones géographiques selon un pays et un niveau administratif.
|
|
2049
2116
|
* Utilise le contexte Communecter de l'entité courante.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type ApiClient from "../ApiClient.js";
|
|
2
|
-
import type { PersonRegisterData, AuthenticateUrlData, RefreshTokenUrlData, PasswordRecoveryData, ServerExchangeTokenData, ChangePasswordData, DeleteAccountData, UpdateSettingsData, UpdateBlockDescriptionData, UpdateBlockInfoData, UpdateBlockSocialData, UpdateBlockLocalityData, UpdateBlockSlugData, CheckData, ProfilImageData, ProfilBannerData, GetElementsAboutData, MulticonnectData, GetNewsData, GetNewsByIdData, AddNewsData, AddImageNewsData, AddFileNewsData, DeleteNewsData, UpdateNewsData, ShareNewsData, GetCommentsData, AddCommentsData, DeleteCommentsData, UpdateCommentsData, SearchTagsData, ShowVoteData, GlobalAutocompleteData, CityAutocompleteData, CityAutocompleteByCountryData, SuggestionInputData, GetProjectsNoAdminData, GetProjectsAdminData, GetPoisNoAdminData, GetPoisAdminData, GetOrganizationsNoAdminData, GetOrganizationsAdminData, GetMembersNoAdminData, GetMembersAdminData, GetFriendsAdminData, GetSubscriptionsData, GetSubscriptionsAdminData, GetSubscribersData, GetSubscribersAdminData, GetContributorsNoAdminData, GetContributorsAdminData, GetBadgesData, GetBadgesFiltersData, ConnectData, DisconnectData, GetElementsKeyData, GetFavorisData, DeleteFavorisData, AddFavorisData, AddOrganizationData, AddProjectData, AddPoiData, AddEventData, DeletePoiData, DeleteEventData, DeleteElementData, AddImageElementData, LinkValidateData, SearchMemberAutocompleteData, GetNotificationsData, GetNotificationsCountData, NotificationUpdateData, MarkNotificationAsReadData, ActivitypubSearchData, ActivitypubLinkData, ActivitypubGetCommunityData, GetBadgeData, AddBadgesData, AssignBadgesData, GetEventsData, ShareEventsData, InviteEventData, FollowData, GetCostumJsonData, GlobalAutocompleteCostumData, NavigatorGettlData, CostumEventRequestActorsData, CostumEventRequestSubeventsData, CostumEventRequestElementEventData, CostumEventRequestCategoriesData, CostumEventRequestDatesData, CostumEventRequestEventData, CostumEventRequestLinkTlToEventData, CostumEventRequestLoadContextTagData, GetGalleryData, GetAttendeesNoAdminData, GetAttendeesAdminData, CoformAnswersSearchData, CoformAnswersByIdData, GetCoformByIdData, CoformUploadAnswerFileData, CoformGetAnswerFilesData, SaveCoformAnswerData, AddVoteData, AddReportAbuseData, UpdatePathValueData, DeleteDocumentByContextData, DeleteDocumentByIdData, DemoteAdminData, CostumFilterCoformData, GetCountriesData, SearchZonesData, CoformAnswersByFormsData, GenerateAnswerFromFormData, FundingEnvelopeData, CoremuOperationData, CostumProjectActionRequestNewData, CostumProjectActionRequestSetStatusData, CostumProjectActionRequestSetDateData, CostumProjectActionRequestSetContributorsData, CostumProjectActionRequestCancelData, CostumProjectActionRequestArchiveData, LinkDiscourseAccountData, UnlinkDiscourseAccountData, DiscourseProfileData, DiscourseCheckEmailData, DiscourseDismissLinkData, LinkMediawikiAccountData, UnlinkMediawikiAccountData, GetMediawikiContributionsData, AddClassifiedData } from "./EndpointApi.types.js";
|
|
2
|
+
import type { PersonRegisterData, AuthenticateUrlData, RefreshTokenUrlData, PasswordRecoveryData, ServerExchangeTokenData, ChangePasswordData, DeleteAccountData, UpdateSettingsData, UpdateBlockDescriptionData, UpdateBlockInfoData, UpdateBlockSocialData, UpdateBlockLocalityData, UpdateBlockSlugData, CheckData, ProfilImageData, ProfilBannerData, GetElementsAboutData, MulticonnectData, GetNewsData, GetNewsByIdData, AddNewsData, AddImageNewsData, AddFileNewsData, DeleteNewsData, UpdateNewsData, ShareNewsData, GetCommentsData, AddCommentsData, DeleteCommentsData, UpdateCommentsData, SearchTagsData, ShowVoteData, GlobalAutocompleteData, CityAutocompleteData, CityAutocompleteByCountryData, SuggestionInputData, GetProjectsNoAdminData, GetProjectsAdminData, GetPoisNoAdminData, GetPoisAdminData, GetOrganizationsNoAdminData, GetOrganizationsAdminData, GetMembersNoAdminData, GetMembersAdminData, GetFriendsAdminData, GetSubscriptionsData, GetSubscriptionsAdminData, GetSubscribersData, GetSubscribersAdminData, GetContributorsNoAdminData, GetContributorsAdminData, GetBadgesData, GetBadgesFiltersData, ConnectData, DisconnectData, GetElementsKeyData, GetFavorisData, DeleteFavorisData, AddFavorisData, AddOrganizationData, AddProjectData, AddPoiData, AddEventData, DeletePoiData, DeleteEventData, DeleteElementData, AddImageElementData, LinkValidateData, SearchMemberAutocompleteData, GetNotificationsData, GetNotificationsCountData, NotificationUpdateData, MarkNotificationAsReadData, ActivitypubSearchData, ActivitypubLinkData, ActivitypubGetCommunityData, GetBadgeData, AddBadgesData, AssignBadgesData, GetEventsData, ShareEventsData, InviteEventData, FollowData, GetCostumJsonData, GlobalAutocompleteCostumData, NavigatorGettlData, CostumEventRequestActorsData, CostumEventRequestSubeventsData, CostumEventRequestElementEventData, CostumEventRequestCategoriesData, CostumEventRequestDatesData, CostumEventRequestEventData, CostumEventRequestLinkTlToEventData, CostumEventRequestLoadContextTagData, GetGalleryData, GetAttendeesNoAdminData, GetAttendeesAdminData, CoformAnswersSearchData, CoformAnswersByIdData, GetCoformByIdData, CoformUploadAnswerFileData, CoformGetAnswerFilesData, SaveCoformAnswerData, AddVoteData, AddReportAbuseData, UpdatePathValueData, DeleteDocumentByContextData, DeleteDocumentByIdData, DemoteAdminData, CostumFilterCoformData, CostumFilterCoformByPathData, GetCountriesData, SearchZonesData, CoformAnswersByFormsData, GenerateAnswerFromFormData, FundingEnvelopeData, CoremuOperationData, CostumProjectActionRequestNewData, CostumProjectActionRequestSetStatusData, CostumProjectActionRequestSetDateData, CostumProjectActionRequestSetContributorsData, CostumProjectActionRequestCancelData, CostumProjectActionRequestArchiveData, LinkDiscourseAccountData, UnlinkDiscourseAccountData, DiscourseProfileData, DiscourseCheckEmailData, DiscourseDismissLinkData, LinkMediawikiAccountData, UnlinkMediawikiAccountData, GetMediawikiContributionsData, AddClassifiedData } from "./EndpointApi.types.js";
|
|
3
3
|
/**
|
|
4
4
|
* Classe EndpointApi générée automatiquement depuis endpoints-copie.json
|
|
5
5
|
*/
|
|
@@ -1126,6 +1126,15 @@ export declare class EndpointApi {
|
|
|
1126
1126
|
* @throws {Error} - En cas d'erreur inattendue.
|
|
1127
1127
|
*/
|
|
1128
1128
|
costumFilterCoform(data: CostumFilterCoformData): Promise<any>;
|
|
1129
|
+
/**
|
|
1130
|
+
* Filtre CoForm par path (thématique unique) : Récupère les valeurs distinctes d'UNE thématique CoForm (branche `isset($_POST['params'])` du controller AutoGlobalThematicNtwrkAction). La query est construite côté client via `params.thematicPath` (+ `params.finderPath` optionnel) ; le serveur fait un seul globalAutoComplete + tri. Distinct de COSTUM_FILTER_COFORM (branche `searchedData`, multi-filtres pilotés serveur).
|
|
1131
|
+
* Constant : COSTUM_FILTER_COFORM_BY_PATH
|
|
1132
|
+
* @param data - Données envoyées à l'API
|
|
1133
|
+
* @returns Les données de réponse.
|
|
1134
|
+
* @throws {ApiResponseError} - En cas d'erreur détectée dans la réponse.
|
|
1135
|
+
* @throws {Error} - En cas d'erreur inattendue.
|
|
1136
|
+
*/
|
|
1137
|
+
costumFilterCoformByPath(data: CostumFilterCoformByPathData): Promise<any>;
|
|
1129
1138
|
/**
|
|
1130
1139
|
* Récupérer la liste des pays : Récupérer la liste de tous les pays
|
|
1131
1140
|
* Constant : GET_COUNTRIES
|
|
@@ -5234,6 +5234,102 @@ export interface CostumFilterCoformData {
|
|
|
5234
5234
|
costumType?: string;
|
|
5235
5235
|
[k: string]: unknown;
|
|
5236
5236
|
}
|
|
5237
|
+
export interface CostumFilterCoformByPathData {
|
|
5238
|
+
/**
|
|
5239
|
+
* Discriminant de la branche B : chemins de la thématique et du finder. Sa présence aiguille le controller vers le mode single-filtre client-driven.
|
|
5240
|
+
*/
|
|
5241
|
+
params: {
|
|
5242
|
+
/**
|
|
5243
|
+
* Chemin de la thématique dans answers (ex: `formKey.multiCheckboxPlus...`). Devient `path` côté backend.
|
|
5244
|
+
*/
|
|
5245
|
+
thematicPath: string;
|
|
5246
|
+
/**
|
|
5247
|
+
* Chemin du finder (ex: `answers.formKey.finder...`). Optionnel : défaut backend `links.organizations`.
|
|
5248
|
+
*/
|
|
5249
|
+
finderPath?: string;
|
|
5250
|
+
};
|
|
5251
|
+
/**
|
|
5252
|
+
* Types d'entités à inclure (typiquement `["answers"]`).
|
|
5253
|
+
*/
|
|
5254
|
+
searchType?: string[];
|
|
5255
|
+
/**
|
|
5256
|
+
* Projection : champs à retourner (incluant thematicPath et finderPath).
|
|
5257
|
+
*/
|
|
5258
|
+
fields?: string[];
|
|
5259
|
+
/**
|
|
5260
|
+
* Filtres MongoDB additionnels (objet) ou chaîne vide.
|
|
5261
|
+
*/
|
|
5262
|
+
filters?: {
|
|
5263
|
+
[k: string]: unknown;
|
|
5264
|
+
} | "";
|
|
5265
|
+
/**
|
|
5266
|
+
* Champ de tri (clé = champ, valeur = 1 ou -1).
|
|
5267
|
+
*/
|
|
5268
|
+
sortBy?: {
|
|
5269
|
+
[k: string]: 1 | -1;
|
|
5270
|
+
};
|
|
5271
|
+
/**
|
|
5272
|
+
* Index de départ pour la pagination.
|
|
5273
|
+
*/
|
|
5274
|
+
indexMin?: number;
|
|
5275
|
+
/**
|
|
5276
|
+
* Nombre d'éléments à récupérer (haut par défaut : agrégation des valeurs distinctes).
|
|
5277
|
+
*/
|
|
5278
|
+
indexStep?: number;
|
|
5279
|
+
/**
|
|
5280
|
+
* Comptage des types dans la réponse.
|
|
5281
|
+
*/
|
|
5282
|
+
count?: boolean;
|
|
5283
|
+
/**
|
|
5284
|
+
* Extension Fediverse (toujours désactivée).
|
|
5285
|
+
*/
|
|
5286
|
+
fediverse?: boolean;
|
|
5287
|
+
/**
|
|
5288
|
+
* Si true, ignore le filtre sourceKey côté backend (recherche dans tout le réseau, pas seulement le costum courant).
|
|
5289
|
+
*/
|
|
5290
|
+
notSourceKey?: boolean;
|
|
5291
|
+
/**
|
|
5292
|
+
* Type initial de la recherche (vide par défaut).
|
|
5293
|
+
*/
|
|
5294
|
+
initType?: string;
|
|
5295
|
+
/**
|
|
5296
|
+
* Localités ciblées (object keyé, array d'objets, ou chaîne vide).
|
|
5297
|
+
*/
|
|
5298
|
+
locality?: {
|
|
5299
|
+
[k: string]: unknown;
|
|
5300
|
+
} | {
|
|
5301
|
+
[k: string]: unknown;
|
|
5302
|
+
}[] | "";
|
|
5303
|
+
/**
|
|
5304
|
+
* ID du contexte costum (auto-injecté par _withCostumContext).
|
|
5305
|
+
*/
|
|
5306
|
+
contextId?: string;
|
|
5307
|
+
/**
|
|
5308
|
+
* Type du contexte costum (auto-injecté).
|
|
5309
|
+
*/
|
|
5310
|
+
contextType?: "projects" | "organizations";
|
|
5311
|
+
/**
|
|
5312
|
+
* Slug du costum (auto-injecté par _withCostumContext).
|
|
5313
|
+
*/
|
|
5314
|
+
costumSlug?: string;
|
|
5315
|
+
/**
|
|
5316
|
+
* Alias historique de contextId (auto-injecté).
|
|
5317
|
+
*/
|
|
5318
|
+
costumId?: string;
|
|
5319
|
+
/**
|
|
5320
|
+
* Alias historique de contextType (auto-injecté).
|
|
5321
|
+
*/
|
|
5322
|
+
costumType?: "projects" | "organizations";
|
|
5323
|
+
/**
|
|
5324
|
+
* Mode édition costum (toujours désactivé).
|
|
5325
|
+
*/
|
|
5326
|
+
costumEditMode?: boolean;
|
|
5327
|
+
/**
|
|
5328
|
+
* Clés de source pour filtrer (ignoré si notSourceKey=true).
|
|
5329
|
+
*/
|
|
5330
|
+
sourceKey?: string[];
|
|
5331
|
+
[k: string]: unknown;
|
|
5332
|
+
}
|
|
5237
5333
|
export interface GetCountriesData {
|
|
5238
5334
|
/**
|
|
5239
5335
|
* Slug personnalisé
|
|
@@ -8112,9 +8112,12 @@ declare const endpoints: {
|
|
|
8112
8112
|
text: {
|
|
8113
8113
|
type: string;
|
|
8114
8114
|
};
|
|
8115
|
+
finderPath?: undefined;
|
|
8116
|
+
thematicPath?: undefined;
|
|
8115
8117
|
};
|
|
8116
8118
|
required: string[];
|
|
8117
8119
|
type: string;
|
|
8120
|
+
additionalProperties?: undefined;
|
|
8118
8121
|
};
|
|
8119
8122
|
app?: undefined;
|
|
8120
8123
|
email?: undefined;
|
|
@@ -22443,6 +22446,7 @@ declare const endpoints: {
|
|
|
22443
22446
|
};
|
|
22444
22447
|
};
|
|
22445
22448
|
type: string;
|
|
22449
|
+
oneOf?: undefined;
|
|
22446
22450
|
};
|
|
22447
22451
|
name: {
|
|
22448
22452
|
type: string;
|
|
@@ -29157,6 +29161,340 @@ declare const endpoints: {
|
|
|
29157
29161
|
pathParams?: undefined;
|
|
29158
29162
|
params?: undefined;
|
|
29159
29163
|
functionCocostum?: undefined;
|
|
29164
|
+
} | {
|
|
29165
|
+
constant: string;
|
|
29166
|
+
contentType: string;
|
|
29167
|
+
method: string;
|
|
29168
|
+
path: string;
|
|
29169
|
+
request: {
|
|
29170
|
+
additionalProperties: boolean;
|
|
29171
|
+
properties: {
|
|
29172
|
+
contextId: {
|
|
29173
|
+
pattern: string;
|
|
29174
|
+
type: string;
|
|
29175
|
+
};
|
|
29176
|
+
contextType: {
|
|
29177
|
+
enum: string[];
|
|
29178
|
+
type: string;
|
|
29179
|
+
};
|
|
29180
|
+
costumEditMode: {
|
|
29181
|
+
default: boolean;
|
|
29182
|
+
type: string;
|
|
29183
|
+
};
|
|
29184
|
+
costumId: {
|
|
29185
|
+
pattern: string;
|
|
29186
|
+
type: string;
|
|
29187
|
+
};
|
|
29188
|
+
costumSlug: {
|
|
29189
|
+
type: string;
|
|
29190
|
+
};
|
|
29191
|
+
costumType: {
|
|
29192
|
+
enum: string[];
|
|
29193
|
+
type: string;
|
|
29194
|
+
};
|
|
29195
|
+
count: {
|
|
29196
|
+
default: boolean;
|
|
29197
|
+
type: string;
|
|
29198
|
+
};
|
|
29199
|
+
fediverse: {
|
|
29200
|
+
default: boolean;
|
|
29201
|
+
type: string;
|
|
29202
|
+
};
|
|
29203
|
+
fields: {
|
|
29204
|
+
items: {
|
|
29205
|
+
type: string;
|
|
29206
|
+
};
|
|
29207
|
+
type: string;
|
|
29208
|
+
};
|
|
29209
|
+
filters: {
|
|
29210
|
+
oneOf: ({
|
|
29211
|
+
const: string;
|
|
29212
|
+
type: string;
|
|
29213
|
+
} | {
|
|
29214
|
+
additionalProperties: boolean;
|
|
29215
|
+
type: string;
|
|
29216
|
+
})[];
|
|
29217
|
+
additionalProperties?: undefined;
|
|
29218
|
+
default?: undefined;
|
|
29219
|
+
patternProperties?: undefined;
|
|
29220
|
+
properties?: undefined;
|
|
29221
|
+
required?: undefined;
|
|
29222
|
+
type?: undefined;
|
|
29223
|
+
allOf?: undefined;
|
|
29224
|
+
maxProperties?: undefined;
|
|
29225
|
+
minProperties?: undefined;
|
|
29226
|
+
};
|
|
29227
|
+
indexMin: {
|
|
29228
|
+
default: number;
|
|
29229
|
+
type: string;
|
|
29230
|
+
};
|
|
29231
|
+
indexStep: {
|
|
29232
|
+
default: number;
|
|
29233
|
+
type: string;
|
|
29234
|
+
};
|
|
29235
|
+
initType: {
|
|
29236
|
+
default: string;
|
|
29237
|
+
type: string;
|
|
29238
|
+
};
|
|
29239
|
+
locality: {
|
|
29240
|
+
oneOf: ({
|
|
29241
|
+
const: string;
|
|
29242
|
+
type: string;
|
|
29243
|
+
} | {
|
|
29244
|
+
additionalProperties: boolean;
|
|
29245
|
+
type: string;
|
|
29246
|
+
} | {
|
|
29247
|
+
items: {
|
|
29248
|
+
additionalProperties: boolean;
|
|
29249
|
+
type: string;
|
|
29250
|
+
};
|
|
29251
|
+
type: string;
|
|
29252
|
+
})[];
|
|
29253
|
+
patternProperties?: undefined;
|
|
29254
|
+
type?: undefined;
|
|
29255
|
+
};
|
|
29256
|
+
notSourceKey: {
|
|
29257
|
+
default: boolean;
|
|
29258
|
+
type: string;
|
|
29259
|
+
};
|
|
29260
|
+
params: {
|
|
29261
|
+
additionalProperties: boolean;
|
|
29262
|
+
properties: {
|
|
29263
|
+
finderPath: {
|
|
29264
|
+
type: string;
|
|
29265
|
+
};
|
|
29266
|
+
thematicPath: {
|
|
29267
|
+
type: string;
|
|
29268
|
+
};
|
|
29269
|
+
mentions?: undefined;
|
|
29270
|
+
text?: undefined;
|
|
29271
|
+
};
|
|
29272
|
+
required: string[];
|
|
29273
|
+
type: string;
|
|
29274
|
+
};
|
|
29275
|
+
searchType: {
|
|
29276
|
+
default: string[];
|
|
29277
|
+
items: {
|
|
29278
|
+
type: string;
|
|
29279
|
+
};
|
|
29280
|
+
type: string;
|
|
29281
|
+
const?: undefined;
|
|
29282
|
+
};
|
|
29283
|
+
sortBy: {
|
|
29284
|
+
additionalProperties: {
|
|
29285
|
+
enum: number[];
|
|
29286
|
+
type: string;
|
|
29287
|
+
};
|
|
29288
|
+
type: string;
|
|
29289
|
+
};
|
|
29290
|
+
sourceKey: {
|
|
29291
|
+
items: {
|
|
29292
|
+
type: string;
|
|
29293
|
+
};
|
|
29294
|
+
type: string;
|
|
29295
|
+
};
|
|
29296
|
+
app?: undefined;
|
|
29297
|
+
email?: undefined;
|
|
29298
|
+
isInvitation?: undefined;
|
|
29299
|
+
mode?: undefined;
|
|
29300
|
+
name?: undefined;
|
|
29301
|
+
pendingUserId?: undefined;
|
|
29302
|
+
pwd?: undefined;
|
|
29303
|
+
username?: undefined;
|
|
29304
|
+
password?: undefined;
|
|
29305
|
+
refreshToken?: undefined;
|
|
29306
|
+
type?: undefined;
|
|
29307
|
+
serverUrl?: undefined;
|
|
29308
|
+
newPassword?: undefined;
|
|
29309
|
+
newPassword2?: undefined;
|
|
29310
|
+
oldPassword?: undefined;
|
|
29311
|
+
scope?: undefined;
|
|
29312
|
+
userId?: undefined;
|
|
29313
|
+
idEntity?: undefined;
|
|
29314
|
+
typeEntity?: undefined;
|
|
29315
|
+
value?: undefined;
|
|
29316
|
+
block?: undefined;
|
|
29317
|
+
descMentions?: undefined;
|
|
29318
|
+
description?: undefined;
|
|
29319
|
+
id?: undefined;
|
|
29320
|
+
shortDescription?: undefined;
|
|
29321
|
+
typeElement?: undefined;
|
|
29322
|
+
diaspora?: undefined;
|
|
29323
|
+
facebook?: undefined;
|
|
29324
|
+
github?: undefined;
|
|
29325
|
+
gitlab?: undefined;
|
|
29326
|
+
instagram?: undefined;
|
|
29327
|
+
mastodon?: undefined;
|
|
29328
|
+
signal?: undefined;
|
|
29329
|
+
telegram?: undefined;
|
|
29330
|
+
twitter?: undefined;
|
|
29331
|
+
address?: undefined;
|
|
29332
|
+
geo?: undefined;
|
|
29333
|
+
geoPosition?: undefined;
|
|
29334
|
+
slug?: undefined;
|
|
29335
|
+
profil_avatar?: undefined;
|
|
29336
|
+
banner?: undefined;
|
|
29337
|
+
cropH?: undefined;
|
|
29338
|
+
cropW?: undefined;
|
|
29339
|
+
cropX?: undefined;
|
|
29340
|
+
cropY?: undefined;
|
|
29341
|
+
formOrigin?: undefined;
|
|
29342
|
+
parentId?: undefined;
|
|
29343
|
+
parentType?: undefined;
|
|
29344
|
+
tpl?: undefined;
|
|
29345
|
+
listInvite?: undefined;
|
|
29346
|
+
dateLimit?: undefined;
|
|
29347
|
+
search?: undefined;
|
|
29348
|
+
ids?: undefined;
|
|
29349
|
+
json?: undefined;
|
|
29350
|
+
markdownActive?: undefined;
|
|
29351
|
+
mediaFile?: undefined;
|
|
29352
|
+
mediaImg?: undefined;
|
|
29353
|
+
mentions?: undefined;
|
|
29354
|
+
tags?: undefined;
|
|
29355
|
+
text?: undefined;
|
|
29356
|
+
newsImage?: undefined;
|
|
29357
|
+
newsFile?: undefined;
|
|
29358
|
+
isLive?: undefined;
|
|
29359
|
+
idNews?: undefined;
|
|
29360
|
+
childId?: undefined;
|
|
29361
|
+
childType?: undefined;
|
|
29362
|
+
comment?: undefined;
|
|
29363
|
+
connectType?: undefined;
|
|
29364
|
+
argval?: undefined;
|
|
29365
|
+
parentCommentId?: undefined;
|
|
29366
|
+
path?: undefined;
|
|
29367
|
+
countType?: undefined;
|
|
29368
|
+
indexMax?: undefined;
|
|
29369
|
+
ranges?: undefined;
|
|
29370
|
+
searchBy?: undefined;
|
|
29371
|
+
searchTags?: undefined;
|
|
29372
|
+
countryCode?: undefined;
|
|
29373
|
+
formInMap?: undefined;
|
|
29374
|
+
scopeValue?: undefined;
|
|
29375
|
+
collection?: undefined;
|
|
29376
|
+
pull?: undefined;
|
|
29377
|
+
arrayForm?: undefined;
|
|
29378
|
+
buildingSurfaceArea?: undefined;
|
|
29379
|
+
compagnon?: undefined;
|
|
29380
|
+
costum?: undefined;
|
|
29381
|
+
filiere?: undefined;
|
|
29382
|
+
holderOrganization?: undefined;
|
|
29383
|
+
key?: undefined;
|
|
29384
|
+
mainTag?: undefined;
|
|
29385
|
+
manageModel?: undefined;
|
|
29386
|
+
openingDate?: undefined;
|
|
29387
|
+
openingHours?: undefined;
|
|
29388
|
+
preferences?: undefined;
|
|
29389
|
+
role?: undefined;
|
|
29390
|
+
siteSurfaceArea?: undefined;
|
|
29391
|
+
source?: undefined;
|
|
29392
|
+
telephone?: undefined;
|
|
29393
|
+
thematic?: undefined;
|
|
29394
|
+
typePlace?: undefined;
|
|
29395
|
+
url?: undefined;
|
|
29396
|
+
video?: undefined;
|
|
29397
|
+
parent?: undefined;
|
|
29398
|
+
public?: undefined;
|
|
29399
|
+
urls?: undefined;
|
|
29400
|
+
endDate?: undefined;
|
|
29401
|
+
organizer?: undefined;
|
|
29402
|
+
recurrency?: undefined;
|
|
29403
|
+
startDate?: undefined;
|
|
29404
|
+
timeZone?: undefined;
|
|
29405
|
+
qqfile?: undefined;
|
|
29406
|
+
qqfilename?: undefined;
|
|
29407
|
+
qqtotalfilesize?: undefined;
|
|
29408
|
+
qquuid?: undefined;
|
|
29409
|
+
linkOption?: undefined;
|
|
29410
|
+
searchMode?: undefined;
|
|
29411
|
+
refreshTimestamp?: undefined;
|
|
29412
|
+
action?: undefined;
|
|
29413
|
+
all?: undefined;
|
|
29414
|
+
actor?: undefined;
|
|
29415
|
+
payload?: undefined;
|
|
29416
|
+
criteria?: undefined;
|
|
29417
|
+
isParcours?: undefined;
|
|
29418
|
+
issuer?: undefined;
|
|
29419
|
+
award?: undefined;
|
|
29420
|
+
badgeId?: undefined;
|
|
29421
|
+
evidences?: undefined;
|
|
29422
|
+
narative?: undefined;
|
|
29423
|
+
endDateUTC?: undefined;
|
|
29424
|
+
startDateUTC?: undefined;
|
|
29425
|
+
parent_only?: undefined;
|
|
29426
|
+
types?: undefined;
|
|
29427
|
+
date?: undefined;
|
|
29428
|
+
fromToday?: undefined;
|
|
29429
|
+
regions?: undefined;
|
|
29430
|
+
timezone?: undefined;
|
|
29431
|
+
event?: undefined;
|
|
29432
|
+
tl?: undefined;
|
|
29433
|
+
contentKey?: undefined;
|
|
29434
|
+
folderId?: undefined;
|
|
29435
|
+
mapUsed?: undefined;
|
|
29436
|
+
options?: undefined;
|
|
29437
|
+
answerId?: undefined;
|
|
29438
|
+
finderPath?: undefined;
|
|
29439
|
+
formId?: undefined;
|
|
29440
|
+
parentFormId?: undefined;
|
|
29441
|
+
docType?: undefined;
|
|
29442
|
+
subKey?: undefined;
|
|
29443
|
+
addedOptions?: undefined;
|
|
29444
|
+
answers?: undefined;
|
|
29445
|
+
links?: undefined;
|
|
29446
|
+
details?: undefined;
|
|
29447
|
+
edit?: undefined;
|
|
29448
|
+
formParentId?: undefined;
|
|
29449
|
+
setType?: undefined;
|
|
29450
|
+
updatePartial?: undefined;
|
|
29451
|
+
connect?: undefined;
|
|
29452
|
+
isAdmin?: undefined;
|
|
29453
|
+
searchedData?: undefined;
|
|
29454
|
+
level?: undefined;
|
|
29455
|
+
upperLevelId?: undefined;
|
|
29456
|
+
forms?: undefined;
|
|
29457
|
+
answer?: undefined;
|
|
29458
|
+
financerId?: undefined;
|
|
29459
|
+
financerType?: undefined;
|
|
29460
|
+
project?: undefined;
|
|
29461
|
+
form?: undefined;
|
|
29462
|
+
assign?: undefined;
|
|
29463
|
+
credits?: undefined;
|
|
29464
|
+
idParentRoom?: undefined;
|
|
29465
|
+
importance?: undefined;
|
|
29466
|
+
is_contributor?: undefined;
|
|
29467
|
+
max?: undefined;
|
|
29468
|
+
milestone?: undefined;
|
|
29469
|
+
min?: undefined;
|
|
29470
|
+
status?: undefined;
|
|
29471
|
+
timeSpent?: undefined;
|
|
29472
|
+
user?: undefined;
|
|
29473
|
+
contributor?: undefined;
|
|
29474
|
+
contributors?: undefined;
|
|
29475
|
+
participate?: undefined;
|
|
29476
|
+
limit?: undefined;
|
|
29477
|
+
category?: undefined;
|
|
29478
|
+
section?: undefined;
|
|
29479
|
+
subtype?: undefined;
|
|
29480
|
+
};
|
|
29481
|
+
required: string[];
|
|
29482
|
+
type: string;
|
|
29483
|
+
allOf?: undefined;
|
|
29484
|
+
$defs?: undefined;
|
|
29485
|
+
else?: undefined;
|
|
29486
|
+
if?: undefined;
|
|
29487
|
+
then?: undefined;
|
|
29488
|
+
anyOf?: undefined;
|
|
29489
|
+
startBeforeEnd?: undefined;
|
|
29490
|
+
};
|
|
29491
|
+
auth?: undefined;
|
|
29492
|
+
generateModule?: undefined;
|
|
29493
|
+
onlyAuthNone?: undefined;
|
|
29494
|
+
postActions?: undefined;
|
|
29495
|
+
pathParams?: undefined;
|
|
29496
|
+
params?: undefined;
|
|
29497
|
+
functionCocostum?: undefined;
|
|
29160
29498
|
} | {
|
|
29161
29499
|
auth: string;
|
|
29162
29500
|
constant: string;
|
package/types/index.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ export type * from "./api/serverDataType/Action.js";
|
|
|
78
78
|
export type * from "./api/serverDataType/common.js";
|
|
79
79
|
export type * from "./api/serverDataType/Country.js";
|
|
80
80
|
export type * from "./api/serverDataType/Zone.js";
|
|
81
|
-
export type { PaginatorPage, PaginatorState, FundingEnvelopeResult, FundingEnvelopeProjectItem, SearchCostumVariant, SetTypeValue, CostumContextFields, WithCostumContext, EntityType, } from "./api/BaseEntity.js";
|
|
81
|
+
export type { PaginatorPage, PaginatorState, FundingEnvelopeResult, FundingEnvelopeProjectItem, SearchCostumVariant, SetTypeValue, CostumContextFields, WithCostumContext, EntityType, CoformThematicValue, CoformFilterByPathResult, } from "./api/BaseEntity.js";
|
|
82
82
|
export { UPDATE_PATH_MAGIC } from "./api/BaseEntity.js";
|
|
83
83
|
export type { AllStepsData, PendingUploadValue, PendingUpload, ProcessUploadsOptions, AnswerGetOptions, UploadAnswerFileOptions, UploadAnswerFileResult, GetFilesOptions, AnswerFileItem, } from "./api/Answer.js";
|
|
84
84
|
export type * from "./types/index.js";
|