@@ -3,10 +3,10 @@ import { isSameDay } from '$lib/helpers/date';
33import { type BottomModalAlertItem , showBottomModalAlert } from '$lib/stores/bottom-alerts' ;
44import TablesApiLight from '$lib/images/promos/tables-api-light.png' ;
55import TablesApiDark from '$lib/images/promos/tables-api-dark.png' ;
6+ import InversionQueriesDark from '$lib/images/promos/inversion-queries-dark.png' ;
7+ import InversionQueriesLight from '$lib/images/promos/inversion-queries-light.png' ;
68import TimeHelperQueriesDark from '$lib/images/promos/time-helper-queries-dark.png' ;
79import TimeHelperQueriesLight from '$lib/images/promos/time-helper-queries-light.png' ;
8- import OptInRelationDark from '$lib/images/promos/opt-relation-dark.png' ;
9- import OptInRelationLight from '$lib/images/promos/opt-relation-light.png' ;
1010
1111const listOfPromotions : BottomModalAlertItem [ ] = [ ] ;
1212
@@ -32,47 +32,46 @@ if (isCloud) {
3232 show : true
3333 } ;
3434
35- const timeHelperQueriesPromo : BottomModalAlertItem = {
36- id : 'modal:time_helper_queries_announcement ' ,
35+ const inversionQueriesPromo : BottomModalAlertItem = {
36+ id : 'modal:inversion_queries_announcement ' ,
3737 src : {
38- dark : TimeHelperQueriesDark ,
39- light : TimeHelperQueriesLight
38+ dark : InversionQueriesDark ,
39+ light : InversionQueriesLight
4040 } ,
41- title : 'Announcing Time helper queries' ,
42- message : 'New before/after filters for simpler time-based queries.' ,
41+ title : 'Announcing inversion queries' ,
42+ message : 'New NOT operators to exclude data directly in queries.' ,
4343 plan : 'free' ,
4444 importance : 8 ,
4545 scope : 'project' ,
4646 cta : {
4747 text : 'Read announcement' ,
48- link : ( ) => 'https://appwrite.io/blog/post/announcing-time-helper -queries' ,
48+ link : ( ) => 'https://appwrite.io/blog/post/announcing-inversion -queries' ,
4949 external : true ,
5050 hideOnClick : true
5151 } ,
5252 show : true
5353 } ;
5454
55- const optInRelationPromo : BottomModalAlertItem = {
56- id : 'modal:opt_in_relation_announcement ' ,
55+ const timeHelperQueriesPromo : BottomModalAlertItem = {
56+ id : 'modal:time_helper_queries_announcement ' ,
5757 src : {
58- dark : OptInRelationDark ,
59- light : OptInRelationLight
58+ dark : TimeHelperQueriesDark ,
59+ light : TimeHelperQueriesLight
6060 } ,
61- title : 'Introducing Opt-in relationship loading' ,
62- message :
63- 'Gain full control over which related rows to fetch and drastically reduce payload sizes.' ,
61+ title : 'Announcing Time helper queries' ,
62+ message : 'New before/after filters for simpler time-based queries.' ,
6463 plan : 'free' ,
6564 importance : 8 ,
6665 scope : 'project' ,
6766 cta : {
6867 text : 'Read announcement' ,
69- link : ( ) => 'https://appwrite.io/blog/post/announcing-opt-in-relationship-loading ' ,
68+ link : ( ) => 'https://appwrite.io/blog/post/announcing-time-helper-queries ' ,
7069 external : true ,
7170 hideOnClick : true
7271 } ,
7372 show : true
7473 } ;
75- listOfPromotions . push ( timeHelperQueriesPromo , optInRelationPromo , tablesApiPromo ) ;
74+ listOfPromotions . push ( inversionQueriesPromo , timeHelperQueriesPromo , tablesApiPromo ) ;
7675}
7776
7877export function addBottomModalAlerts ( ) {
0 commit comments