@communecter/cocolight-api-client 1.0.140 → 1.0.142
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 +113 -0
- package/src/api/EndpointApi.ts +16 -1
- package/src/api/EndpointApi.types.ts +103 -0
- package/src/api/Notifications.ts +196 -0
- package/src/api/User.ts +72 -1
- package/src/api/serverDataType/Notification.ts +81 -0
- package/src/endpoints.module.ts +1 -1
- package/src/index.ts +9 -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/api/Notifications.d.ts +79 -0
- package/types/api/User.d.ts +30 -0
- package/types/api/serverDataType/Notification.d.ts +73 -0
- package/types/endpoints.module.d.ts +338 -0
- package/types/index.d.ts +4 -1
|
@@ -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
|
@@ -37,6 +37,7 @@ declare const cocolightApiClient: {
|
|
|
37
37
|
OfflineClientManager: typeof OfflineClientManager;
|
|
38
38
|
};
|
|
39
39
|
export default cocolightApiClient;
|
|
40
|
+
export { batch, computed, effect, getSignals, isReactive, isSignal, reactive, subscribeTo, watch } from "./utils/reactive.js";
|
|
40
41
|
export type { default as Api } from "./Api.js";
|
|
41
42
|
export type { default as ApiClient } from "./ApiClient.js";
|
|
42
43
|
export type { default as EndpointApi } from "./api/EndpointApi.js";
|
|
@@ -78,7 +79,9 @@ export type * from "./api/serverDataType/Action.js";
|
|
|
78
79
|
export type * from "./api/serverDataType/common.js";
|
|
79
80
|
export type * from "./api/serverDataType/Country.js";
|
|
80
81
|
export type * from "./api/serverDataType/Zone.js";
|
|
81
|
-
export type
|
|
82
|
+
export type * from "./api/serverDataType/Notification.js";
|
|
83
|
+
export type { Notification, Notifications } from "./api/Notifications.js";
|
|
84
|
+
export type { PaginatorPage, PaginatorState, FundingEnvelopeResult, FundingEnvelopeProjectItem, SearchCostumVariant, SetTypeValue, CostumContextFields, WithCostumContext, EntityType, CoformThematicValue, CoformFilterByPathResult, } from "./api/BaseEntity.js";
|
|
82
85
|
export { UPDATE_PATH_MAGIC } from "./api/BaseEntity.js";
|
|
83
86
|
export type { AllStepsData, PendingUploadValue, PendingUpload, ProcessUploadsOptions, AnswerGetOptions, UploadAnswerFileOptions, UploadAnswerFileResult, GetFilesOptions, AnswerFileItem, } from "./api/Answer.js";
|
|
84
87
|
export type * from "./types/index.js";
|