@data-fair/lib-common-types 1.8.1 → 1.8.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 -5
- package/event/schema.d.ts +1 -5
- package/event/schema.js +1 -5
- package/package.json +1 -1
package/event/.type/index.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ export type Event = {
|
|
|
53
53
|
[k: string]: unknown;
|
|
54
54
|
};
|
|
55
55
|
resource?: TheMainResourceConcernedByTheEvent;
|
|
56
|
-
|
|
56
|
+
subscribedRecipient?: OptionalRecipientTargetOfTheEvent;
|
|
57
57
|
}
|
|
58
58
|
export type InternationalizedTitle = {
|
|
59
59
|
/**
|
|
@@ -138,10 +138,6 @@ export type OptionalRecipientTargetOfTheEvent = {
|
|
|
138
138
|
* The display name of the user
|
|
139
139
|
*/
|
|
140
140
|
name?: string;
|
|
141
|
-
/**
|
|
142
|
-
* If true, the event is only sent to the recipient if they are subscribed to the topic
|
|
143
|
-
*/
|
|
144
|
-
subscribedOnly?: boolean;
|
|
145
141
|
[k: string]: unknown;
|
|
146
142
|
}
|
|
147
143
|
|
package/event/schema.d.ts
CHANGED
|
@@ -145,7 +145,7 @@ declare const _default: {
|
|
|
145
145
|
};
|
|
146
146
|
};
|
|
147
147
|
};
|
|
148
|
-
|
|
148
|
+
subscribedRecipient: {
|
|
149
149
|
type: string;
|
|
150
150
|
title: string;
|
|
151
151
|
required: string[];
|
|
@@ -159,10 +159,6 @@ declare const _default: {
|
|
|
159
159
|
type: string;
|
|
160
160
|
description: string;
|
|
161
161
|
};
|
|
162
|
-
subscribedOnly: {
|
|
163
|
-
type: string;
|
|
164
|
-
description: string;
|
|
165
|
-
};
|
|
166
162
|
};
|
|
167
163
|
};
|
|
168
164
|
};
|
package/event/schema.js
CHANGED
|
@@ -125,7 +125,7 @@ export default {
|
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
},
|
|
128
|
-
|
|
128
|
+
subscribedRecipient: {
|
|
129
129
|
type: 'object',
|
|
130
130
|
title: 'Optional recipient target of the event',
|
|
131
131
|
required: ['id'],
|
|
@@ -138,10 +138,6 @@ export default {
|
|
|
138
138
|
name: {
|
|
139
139
|
type: 'string',
|
|
140
140
|
description: 'The display name of the user'
|
|
141
|
-
},
|
|
142
|
-
subscribedOnly: {
|
|
143
|
-
type: 'boolean',
|
|
144
|
-
description: 'If true, the event is only sent to the recipient if they are subscribed to the topic'
|
|
145
141
|
}
|
|
146
142
|
}
|
|
147
143
|
}
|