@data-fair/lib-common-types 1.10.0 → 1.10.2
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/event/.type/index.d.ts +1 -1
- package/event/schema.js +2 -2
- package/package.json +1 -1
- package/processings.d.ts +1 -0
package/event/.type/index.d.ts
CHANGED
package/event/schema.js
CHANGED
|
@@ -12,7 +12,7 @@ export default {
|
|
|
12
12
|
title: 'Event',
|
|
13
13
|
type: 'object',
|
|
14
14
|
additionalProperties: false,
|
|
15
|
-
required: ['title', 'topic', '
|
|
15
|
+
required: ['title', 'topic', 'date'],
|
|
16
16
|
properties: {
|
|
17
17
|
title: {
|
|
18
18
|
oneOf: [{
|
|
@@ -36,7 +36,7 @@ export default {
|
|
|
36
36
|
type: 'string',
|
|
37
37
|
title: 'URL of event icon'
|
|
38
38
|
},
|
|
39
|
-
// sender is the owner of the topic
|
|
39
|
+
// sender is the owner of the topic, topic is global if no sender is given
|
|
40
40
|
sender: { $ref: '#/$defs/sender' },
|
|
41
41
|
// originator is the account/user who triggered the event
|
|
42
42
|
originator: {
|
package/package.json
CHANGED
package/processings.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export interface ProcessingContext<TProcesssingConfig = any> {
|
|
|
27
27
|
*/
|
|
28
28
|
export type PrepareFunction<TProcesssingConfig = any> = (context: {
|
|
29
29
|
processingConfig: TProcesssingConfig;
|
|
30
|
+
secrets: Record<string, string>;
|
|
30
31
|
}) => Promise<{
|
|
31
32
|
processingConfig?: TProcesssingConfig;
|
|
32
33
|
secrets?: Record<string, string>;
|