Add auth.uid for uuid suggestions.

This commit is contained in:
Ivan Vasilov committed 2023-08-03 12:38:21 +02:00
1 parent 3094b2abfc
commit c8ddd1d1c2
1 file changed
+6
@@ -31,6 +31,12 @@ const defaultTextBasedValues: Suggestion[] = [
// using meta-store's extensions to generate this partially on top of vanilla expressions
export const typeExpressionSuggestions: Dictionary<Suggestion[]> = {
uuid: [
{
name: 'auth.uid()',
value: 'auth.uid()',
description:
'Extracts the unique user ID when rows are added or updated through serverless API',
},
{
name: 'gen_random_uuid()',
value: 'gen_random_uuid()',