@glissandoo/lib 1.89.0 → 1.90.0
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/models/Offer/types.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare enum OfferType {
|
|
|
8
8
|
Group = "group",
|
|
9
9
|
Event = "event"
|
|
10
10
|
}
|
|
11
|
-
export interface OfferAlgoliaData extends Pick<OfferData, 'country' | 'locality' | 'title' | 'timezone' | 'type' | 'groupId' | 'eventId' | 'applicantsIds' | '
|
|
11
|
+
export interface OfferAlgoliaData extends Pick<OfferData, 'country' | 'locality' | 'title' | 'timezone' | 'type' | 'groupId' | 'eventId' | 'applicantsIds' | 'instrument'> {
|
|
12
12
|
objectID: string;
|
|
13
13
|
_geoloc: {
|
|
14
14
|
lat: number;
|
|
@@ -17,6 +17,7 @@ export interface OfferAlgoliaData extends Pick<OfferData, 'country' | 'locality'
|
|
|
17
17
|
deadlineAt: number | null;
|
|
18
18
|
createdAt: number;
|
|
19
19
|
selectionClosedAt: number | null;
|
|
20
|
+
groupInfo: Omit<GroupBasicData, 'location'>;
|
|
20
21
|
}
|
|
21
22
|
export interface OfferApplicantBasicData extends UserBasicData {
|
|
22
23
|
appliedAt: Timestamp;
|
package/package.json
CHANGED
|
@@ -394,7 +394,20 @@ export interface Database {
|
|
|
394
394
|
updatedAt?: string;
|
|
395
395
|
updatedBy?: string;
|
|
396
396
|
};
|
|
397
|
-
Relationships: [
|
|
397
|
+
Relationships: [
|
|
398
|
+
{
|
|
399
|
+
foreignKeyName: 'public_offer_eventId_fkey';
|
|
400
|
+
columns: ['eventId'];
|
|
401
|
+
referencedRelation: 'event';
|
|
402
|
+
referencedColumns: ['id'];
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
foreignKeyName: 'public_offer_groupId_fkey';
|
|
406
|
+
columns: ['groupId'];
|
|
407
|
+
referencedRelation: 'group';
|
|
408
|
+
referencedColumns: ['id'];
|
|
409
|
+
}
|
|
410
|
+
];
|
|
398
411
|
};
|
|
399
412
|
};
|
|
400
413
|
Views: {
|
|
@@ -393,7 +393,20 @@ export interface Database {
|
|
|
393
393
|
updatedAt?: string;
|
|
394
394
|
updatedBy?: string;
|
|
395
395
|
};
|
|
396
|
-
Relationships: [
|
|
396
|
+
Relationships: [
|
|
397
|
+
{
|
|
398
|
+
foreignKeyName: 'public_offer_eventId_fkey';
|
|
399
|
+
columns: ['eventId'];
|
|
400
|
+
referencedRelation: 'event';
|
|
401
|
+
referencedColumns: ['id'];
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
foreignKeyName: 'public_offer_groupId_fkey';
|
|
405
|
+
columns: ['groupId'];
|
|
406
|
+
referencedRelation: 'group';
|
|
407
|
+
referencedColumns: ['id'];
|
|
408
|
+
}
|
|
409
|
+
];
|
|
397
410
|
};
|
|
398
411
|
};
|
|
399
412
|
Views: {
|