alka_99
Explore posts from serversRRefine
•Created by national-gold on 1/21/2024 in #ask-any-question
Supabase and RBAC
But can i use supabase rls instead of using casbin or cerbos? @kapa.ai
19 replies
RRefine
•Created by wee-brown on 1/21/2024 in #ask-any-question
Supabase and RBAC
If i need to have a custom role for the crud operation permission i think i will need cerbos or casbin @kapa.ai
19 replies
RRefine
•Created by rare-sapphire on 1/21/2024 in #ask-any-question
Supabase and RBAC
Do i still need a casbin cerbos? @kapa.ai
19 replies
RRefine
•Created by fair-rose on 12/30/2023 in #ask-any-question
how to swizzle simple-rest and add authentication header
export interface Root {
data: Daum[]
meta: Meta
}
export interface Daum {
attributes: Attributes
id: string
type: string
relationships: Relationships
}
export interface Attributes {
id: string
state?: string
address: string
country?: string
title: string
currency: string
content: Content
email: string
city?: string
settings: Settings
is_active: boolean
phone: string
logo_url: any
min_stay_type: string
hotel_policy_id?: string
default_cancellation_policy_id: string
acc_channels_count: number
default_tax_set_id: any
latitude: string
location_precision: number
longitude: string
property_type: string
timezone: string
website: any
zip_code?: string
property_category: string
}
export interface Content {
description?: string
photos: any[]
important_information?: string
}
export interface Settings {
min_stay_type: string
allow_availability_autoupdate: boolean
allow_availability_autoupdate_on_cancellation: boolean
allow_availability_autoupdate_on_confirmation: boolean
allow_availability_autoupdate_on_modification: boolean
cut_off_days: any
cut_off_time: any
max_price?: string
min_price?: string
state_length: number
}
export interface Relationships {
users: Users
groups: Groups
facilities: Facilities
}
export interface Users {
data: Daum2[]
}
export interface Daum2 {
attributes: Attributes2
id: string
type: string
}
export interface Attributes2 {
id: string
name: string
email: string
}
export interface Groups {
data: Daum3[]
}
export interface Daum3 {
attributes: Attributes3
id: string
type: string
}
export interface Attributes3 {
id: string
title: string
}
export interface Facilities {
data: any[]
}
export interface Meta {
total: number
limit: number
order_by: string
page: number
order_direction: string
}
i give you in form of typescript interfaces, since directly json is too long
@kapa.ai
20 replies
RRefine
•Created by conscious-sapphire on 12/30/2023 in #ask-any-question
how to swizzle simple-rest and add authentication header
@kapa.ai
here is the json in the attachement
20 replies
RRefine
•Created by compatible-crimson on 12/30/2023 in #ask-any-question
how to swizzle simple-rest and add authentication header
@kapa.ai
how i need to map the resources if the api is like this:
https://staging.channex.io/api/v1/propertie/
and the json is like this::
20 replies
RRefine
•Created by eastern-cyan on 12/30/2023 in #ask-any-question
how to swizzle simple-rest and add authentication header
@kapa.ai its uses key value and add it to headers
20 replies
RRefine
•Created by stuck-chocolate on 12/30/2023 in #ask-any-question
Get data from api and then push to supabase
@kapa.ai how i can implement simple-rest authentication?
because my api needs some authorization for my api
24 replies
RRefine
•Created by inland-turquoise on 12/30/2023 in #ask-any-question
Get data from api and then push to supabase
@kapa.ai how i can implement simple-rest authentication?
because my api needs some authorization for my api
24 replies
RRefine
•Created by rare-sapphire on 12/30/2023 in #ask-any-question
Get data from api and then push to supabase
@kapa.ai
can i have 2 backend service? supabase and simple rest
24 replies
RRefine
•Created by extended-salmon on 12/30/2023 in #ask-any-question
Get data from api and then push to supabase
@kapa.ai if i want to sync my api with supabase how should i do it?
24 replies
RRefine
•Created by genetic-orange on 12/30/2023 in #ask-any-question
Get data from api and then push to supabase
@kapa.ai but is that possible to get data from api and uses refine project to push it to the supabase?
24 replies
RRefine
•Created by foreign-sapphire on 12/29/2023 in #ask-any-question
Advise for CRUD apps for small startup project
@kapa.ai
any reason why remix in refine still use older version than the upstream one?
and also for the next js any reason??
17 replies
RRefine
•Created by foreign-sapphire on 12/29/2023 in #ask-any-question
Advise for CRUD apps for small startup project
@kapa.ai
any reason why remix in refine still use 1.19.3 and not 2.4.1
and next js still using 13.5 not 14?
17 replies
RRefine
•Created by ambitious-aqua on 12/29/2023 in #ask-any-question
Advise for CRUD apps for small startup project
@kapa.ai
any reason why remix in refine still use 1.9.x and not 2.4.x
and next js still using 13.5.x?
17 replies
RRefine
•Created by fascinating-indigo on 12/29/2023 in #ask-any-question
How to rename the tab/menu name and how to use multiple schema in supabase?
i have another questions
if im using view mode in supabase, and i want to do some editing, deleting, and so on in refine, how i can do the operations in different table?
@kapa.ai
20 replies
RRefine
•Created by correct-apricot on 12/29/2023 in #ask-any-question
How to rename the tab/menu name and how to use multiple schema in supabase?
@kapa.ai
i got this issues
resource: "view_booking",
Object literal may only specify known properties, and 'resource' does not exist in type 'ResourceProps'.ts(2353)
and can use different schema for different routes?
20 replies
RRefine
•Created by sunny-green on 12/29/2023 in #ask-any-question
How to rename the tab/menu name and how to use multiple schema in supabase?
'''
{
name: "bookings",
list: "/view_booking",
create: "/view_booking/create",
edit: "/view_booking/edit/:id",
show: "/view_booking/show/:id",
meta: {
canDelete: true,
},
},
'''
Correct but when i change the name inside of the resource, the dataprovider try to referencing other table that i have
like i want to use:
menu name: booking
table referenced in db: view_booking
but instead i get
menu name: booking
table referenced in db: booking
@kapa.ai
20 replies
RRefine
•Created by conscious-sapphire on 12/29/2023 in #ask-any-question
How to rename the tab/menu name and how to use multiple schema in supabase?
@kapa.ai for the renaming tab cak you give me some documentation or reference that i can look into?
20 replies
RRefine
•Created by like-gold on 12/28/2023 in #ask-any-question
How i can start project refine using nextjs app directory?
and why still the app dir for next js still in experimental @kapa.ai
23 replies