Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

666 B
Raw Blame
export const useActionPane = createSharedComposable(() => {
  const isViewActionsEnabled = computed(() => false)

  const actionPanelSize = ref(40)
  const isPanelExpanded = ref(false)

  const toggleActionPanel = () => {}

  const openActionPane = () => {}

  const addScriptExecution = (..._args: any) => {}

  const removeScriptExecution = (..._args: any) => {}

  const clearAllExecutions = () => {}

  const executions = computed(() => [])

  return {
    isPanelExpanded,
    actionPanelSize,
    toggleActionPanel,
    openActionPane,
    addScriptExecution,
    removeScriptExecution,
    clearAllExecutions,
    executions,
    isViewActionsEnabled,
  }
})