@aeriajs/builtins 0.0.12 → 0.0.14

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.
@@ -79,7 +79,7 @@ export declare const log: Omit<import("@aeriajs/types").Collection<{
79
79
  readonly icon: "magnifying-glass";
80
80
  readonly presets: readonly ["view"];
81
81
  readonly filters: readonly ["context", "message", "owner"];
82
- }>, options?: import("@aeriajs/api").GetOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
82
+ }, {}>, options?: import("@aeriajs/api").GetOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
83
83
  readonly $id: "log";
84
84
  readonly required: readonly ["context", "message"];
85
85
  readonly properties: {
@@ -106,7 +106,7 @@ export declare const log: Omit<import("@aeriajs/types").Collection<{
106
106
  readonly presets: readonly ["view"];
107
107
  readonly filters: readonly ["context", "message", "owner"];
108
108
  }> | null>;
109
- readonly getAll: (_payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<any>> | null, context: import("@aeriajs/types").Context<{
109
+ readonly getAll: (_payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<any>> | undefined, context: import("@aeriajs/types").Context<{
110
110
  readonly $id: "log";
111
111
  readonly required: readonly ["context", "message"];
112
112
  readonly properties: {
@@ -132,7 +132,7 @@ export declare const log: Omit<import("@aeriajs/types").Collection<{
132
132
  readonly icon: "magnifying-glass";
133
133
  readonly presets: readonly ["view"];
134
134
  readonly filters: readonly ["context", "message", "owner"];
135
- }>, options?: import("@aeriajs/api").GetAllOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
135
+ }, {}>, options?: import("@aeriajs/api").GetAllOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
136
136
  readonly $id: "log";
137
137
  readonly required: readonly ["context", "message"];
138
138
  readonly properties: {
@@ -211,7 +211,7 @@ export declare const log: Omit<import("@aeriajs/types").Collection<{
211
211
  readonly icon: "magnifying-glass";
212
212
  readonly presets: readonly ["view"];
213
213
  readonly filters: readonly ["context", "message", "owner"];
214
- }>, options?: import("@aeriajs/api").InsertOptions | undefined) => Promise<import("@aeriajs/types").Right<any> | import("@aeriajs/types").Left<import("@aeriajs/types").ACErrors | import("@aeriajs/types").ValidationError>>;
214
+ }, {}>, options?: import("@aeriajs/api").InsertOptions | undefined) => Promise<import("@aeriajs/types").Right<any> | import("@aeriajs/types").Left<import("@aeriajs/types").ACErrors | import("@aeriajs/types").ValidationError>>;
215
215
  };
216
216
  }>, "description" | "functions" | "item"> & {
217
217
  item: import("@aeriajs/types").SchemaWithId<{
@@ -268,191 +268,6 @@ export declare const log: Omit<import("@aeriajs/types").Collection<{
268
268
  readonly presets: readonly ["view"];
269
269
  readonly filters: readonly ["context", "message", "owner"];
270
270
  };
271
- functions: {
272
- readonly get: (payload: import("@aeriajs/types").GetPayload<import("@aeriajs/types").SchemaWithId<{
273
- readonly $id: "log";
274
- readonly required: readonly ["context", "message"];
275
- readonly properties: {
276
- readonly owner: {
277
- readonly $ref: "user";
278
- readonly noForm: true;
279
- };
280
- readonly context: {
281
- readonly type: "string";
282
- };
283
- readonly message: {
284
- readonly type: "string";
285
- };
286
- readonly details: {
287
- readonly type: "object";
288
- readonly variable: true;
289
- };
290
- readonly created_at: {
291
- readonly type: "string";
292
- readonly format: "date-time";
293
- };
294
- };
295
- readonly icon: "magnifying-glass";
296
- readonly presets: readonly ["view"];
297
- readonly filters: readonly ["context", "message", "owner"];
298
- }>>, context: import("@aeriajs/types").Context<{
299
- readonly $id: "log";
300
- readonly required: readonly ["context", "message"];
301
- readonly properties: {
302
- readonly owner: {
303
- readonly $ref: "user";
304
- readonly noForm: true;
305
- };
306
- readonly context: {
307
- readonly type: "string";
308
- };
309
- readonly message: {
310
- readonly type: "string";
311
- };
312
- readonly details: {
313
- readonly type: "object";
314
- readonly variable: true;
315
- };
316
- readonly created_at: {
317
- readonly type: "string";
318
- readonly format: "date-time";
319
- };
320
- };
321
- readonly icon: "magnifying-glass";
322
- readonly presets: readonly ["view"];
323
- readonly filters: readonly ["context", "message", "owner"];
324
- }>, options?: import("@aeriajs/api").GetOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
325
- readonly $id: "log";
326
- readonly required: readonly ["context", "message"];
327
- readonly properties: {
328
- readonly owner: {
329
- readonly $ref: "user";
330
- readonly noForm: true;
331
- };
332
- readonly context: {
333
- readonly type: "string";
334
- };
335
- readonly message: {
336
- readonly type: "string";
337
- };
338
- readonly details: {
339
- readonly type: "object";
340
- readonly variable: true;
341
- };
342
- readonly created_at: {
343
- readonly type: "string";
344
- readonly format: "date-time";
345
- };
346
- };
347
- readonly icon: "magnifying-glass";
348
- readonly presets: readonly ["view"];
349
- readonly filters: readonly ["context", "message", "owner"];
350
- }> | null>;
351
- readonly getAll: (_payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<any>> | null, context: import("@aeriajs/types").Context<{
352
- readonly $id: "log";
353
- readonly required: readonly ["context", "message"];
354
- readonly properties: {
355
- readonly owner: {
356
- readonly $ref: "user";
357
- readonly noForm: true;
358
- };
359
- readonly context: {
360
- readonly type: "string";
361
- };
362
- readonly message: {
363
- readonly type: "string";
364
- };
365
- readonly details: {
366
- readonly type: "object";
367
- readonly variable: true;
368
- };
369
- readonly created_at: {
370
- readonly type: "string";
371
- readonly format: "date-time";
372
- };
373
- };
374
- readonly icon: "magnifying-glass";
375
- readonly presets: readonly ["view"];
376
- readonly filters: readonly ["context", "message", "owner"];
377
- }>, options?: import("@aeriajs/api").GetAllOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
378
- readonly $id: "log";
379
- readonly required: readonly ["context", "message"];
380
- readonly properties: {
381
- readonly owner: {
382
- readonly $ref: "user";
383
- readonly noForm: true;
384
- };
385
- readonly context: {
386
- readonly type: "string";
387
- };
388
- readonly message: {
389
- readonly type: "string";
390
- };
391
- readonly details: {
392
- readonly type: "object";
393
- readonly variable: true;
394
- };
395
- readonly created_at: {
396
- readonly type: "string";
397
- readonly format: "date-time";
398
- };
399
- };
400
- readonly icon: "magnifying-glass";
401
- readonly presets: readonly ["view"];
402
- readonly filters: readonly ["context", "message", "owner"];
403
- }>[]>;
404
- readonly insert: (payload: import("@aeriajs/types").InsertPayload<import("@aeriajs/types").SchemaWithId<{
405
- readonly $id: "log";
406
- readonly required: readonly ["context", "message"];
407
- readonly properties: {
408
- readonly owner: {
409
- readonly $ref: "user";
410
- readonly noForm: true;
411
- };
412
- readonly context: {
413
- readonly type: "string";
414
- };
415
- readonly message: {
416
- readonly type: "string";
417
- };
418
- readonly details: {
419
- readonly type: "object";
420
- readonly variable: true;
421
- };
422
- readonly created_at: {
423
- readonly type: "string";
424
- readonly format: "date-time";
425
- };
426
- };
427
- readonly icon: "magnifying-glass";
428
- readonly presets: readonly ["view"];
429
- readonly filters: readonly ["context", "message", "owner"];
430
- }>>, context: import("@aeriajs/types").Context<{
431
- readonly $id: "log";
432
- readonly required: readonly ["context", "message"];
433
- readonly properties: {
434
- readonly owner: {
435
- readonly $ref: "user";
436
- readonly noForm: true;
437
- };
438
- readonly context: {
439
- readonly type: "string";
440
- };
441
- readonly message: {
442
- readonly type: "string";
443
- };
444
- readonly details: {
445
- readonly type: "object";
446
- readonly variable: true;
447
- };
448
- readonly created_at: {
449
- readonly type: "string";
450
- readonly format: "date-time";
451
- };
452
- };
453
- readonly icon: "magnifying-glass";
454
- readonly presets: readonly ["view"];
455
- readonly filters: readonly ["context", "message", "owner"];
456
- }>, options?: import("@aeriajs/api").InsertOptions | undefined) => Promise<import("@aeriajs/types").Right<any> | import("@aeriajs/types").Left<import("@aeriajs/types").ACErrors | import("@aeriajs/types").ValidationError>>;
457
- };
271
+ functions: {};
272
+ functionContracts: {};
458
273
  };
@@ -39,19 +39,6 @@ export declare const resourceUsage: Omit<import("@aeriajs/types").Collection<{
39
39
  };
40
40
  };
41
41
  };
42
- functions: {
43
- [P: string]: (payload: any, context: import("@aeriajs/types").Context<{
44
- readonly $id: "resourceUsage";
45
- readonly required: readonly [];
46
- readonly properties: {
47
- readonly hits: {
48
- readonly type: "integer";
49
- };
50
- readonly last_maximum_reach: {
51
- readonly type: "string";
52
- readonly format: "date-time";
53
- };
54
- };
55
- }>, ...args: any[]) => any;
56
- };
42
+ functions: {};
43
+ functionContracts: {};
57
44
  };