Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “Change port
to something unique, such as port=9100
, and now, for this project, your Supabase Studio Service will run on localhost:9100
.”
A block of code is set as follows:
document = createNewTextDocument(); userId = getUserIdFromLoginSession(); getFgaClient() .subject({userId}) .addPermissions({objectType: 'document', objectId: document.id}) .relations(['save', 'delete', 'share'])
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
CREATE POLICY only_own_rows_thor FOR SELECT TO thor ON documents USING (owner = 42);
Any command-line input or output is written as follows:
npm install supabase --save-dev
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “Within your project, just click on Authentication, then URL Configuration.”
Tips or important notes
Appear like this.