mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
Merge branch 'develop' of https://github.com/rowyio/rowy into develop
This commit is contained in:
@@ -117,8 +117,13 @@ export const rowyRunAtom = atom((get) => {
|
||||
/** Store deployed Rowy Run version */
|
||||
export const rowyRunVersionAtom = atom(async (get) => {
|
||||
const rowyRun = get(rowyRunAtom);
|
||||
const response = await rowyRun({ route: runRoutes.version });
|
||||
return response.version as string | false;
|
||||
try {
|
||||
const response = await rowyRun({ route: runRoutes.version });
|
||||
return response.version as string | false;
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
@@ -95,6 +95,7 @@ const extensionBodyTemplate = {
|
||||
|
||||
return ({
|
||||
trackedFields: [], // a list of string of column names
|
||||
collectionId: "historySnapshots", // optionally change the sub-collection id of where the history snapshots are stored
|
||||
})
|
||||
}`,
|
||||
algoliaIndex: `const extensionBody: AlgoliaIndexBody = async({row, db, change, ref}) => {
|
||||
|
||||
Reference in New Issue
Block a user