This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (identityUser.mobile == participantNum) { | |
console.log('identity does exist') | |
const participantEntry = new SideChatParticipants(participant) | |
// eslint-disable-next-line no-return-await | |
try { | |
return await participantEntry.save() | |
} catch(err) { | |
console.log(err) | |
return false // or -1, or something you can check for your error condition, or even re-reaise `err` | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { defineStore } from "pinia"; | |
import { addStoreHooks } from "@si/vue-lib/pinia"; | |
import { reactive } from "vue"; | |
import { ChangeSetId } from "@/api/sdf/dal/change_set"; | |
import { useWorkspacesStore } from "../workspaces.store"; | |
import { useChangeSetsStore } from "../change_sets.store"; | |
import { | |
Edge, | |
RootComponent, | |
Ulid, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// READ EXAMPLE | |
// === vue component code === | |
const outlinerData = useQuery({ | |
queryKey: ["DiagramOutlineForView", changeSetId, viewId], | |
queryFn: async () => { | |
return await sharedWebWorker.get("DiagramOutlineForView", { viewId }, { workspaceId, changeSetId, userId }); | |
}; | |
}); |
OlderNewer