Tent.js
DocsBlogReleases

Start with

  • Installationtopic.start
  • The wordstopic.words
  • Plans: how rows are asked fortopic.plans
  • Screen files and stubstopic.screens
  • Tests of an apptopic.tests
Light or dark
  • Getting started
  • Core ideas
  • Data
  • Screens
  • Work
  • Testing
  • Running an app
  • Building on Tent.js

Reference

  • Words
    • action
    • agent
    • allow
    • anyone
    • asset
    • avg
    • backfill
    • between
    • boolean
    • calc
    • caller
    • ceil
    • change
    • choice
    • chunks
    • col
    • command
    • component
    • concat
    • contains
    • count
    • cron
    • date
    • day
    • dayOf
    • del
    • each
    • earlier
    • emit
    • evals
    • event
    • every
    • expect
    • fail
    • file
    • fingerprint
    • floor
    • flow
      • about
      • access
      • as
      • countBy
      • danger
      • follow
      • input
      • key
      • limits
      • moveRuns
      • offer
      • on
      • onFail
      • onStop
      • output
      • pace
      • plain
      • run
      • sealed
      • sends
      • stopOn
      • system
      • together
      • tries
      • was
    • get
    • given
    • incoming
    • input
    • join
    • json
    • judge
    • later
    • least
    • link
    • list
    • lower
    • max
    • message
    • messages
    • min
    • model
    • most
    • noOtherPeople
    • noPersonal
    • now
    • number
    • object
    • optimistic
    • patch
    • post
    • project
    • put
    • python
    • query
    • random
    • range
    • read
    • request
    • role
    • round
    • route
    • s3
    • sameSecret
    • screen
    • secret
    • seed
    • service
    • setting
    • slice
    • start
    • startsWith
    • sum
    • table
    • testApp
    • text
    • token
    • trim
    • upper
    • vector
    • verified
    • where
  • Tags
  • Hooks
  • Handles
  • Adapters
  • Commands
  • Codes
DocsOptions

Option

as of flow

Whose rights a run has.

Value

'system' or 'starter'. 'system' when left out: the run has full access.

Example

TypeScript
export const tidy = flow('tidy', {
  run: async ({ input, step }) => {
    await step('count', () => countNotes())
    return { team: input.team }
  },
  as: 'starter',
})

See also

word.flow

On this page

  • Value
  • Example
  • See also
Tent.js
DocsBlogReleasesGitHub
Tent.js
  • Getting started
  • Core ideas
  • Data
  • Screens
  • Work
  • Testing
  • Running an app
  • Building on Tent.js

Reference

  • Words
    • action
    • agent
    • allow
    • anyone
    • asset
    • avg
    • backfill
    • between
    • boolean
    • calc
    • caller
    • ceil
    • change
    • choice
    • chunks
    • col
    • command
    • component
    • concat
    • contains
    • count
    • cron
    • date
    • day
    • dayOf
    • del
    • each
    • earlier
    • emit
    • evals
    • event
    • every
    • expect
    • fail
    • file
    • fingerprint
    • floor
    • flow
      • about
      • access
      • as
      • countBy
      • danger
      • follow
      • input
      • key
      • limits
      • moveRuns
      • offer
      • on
      • onFail
      • onStop
      • output
      • pace
      • plain
      • run
      • sealed
      • sends
      • stopOn
      • system
      • together
      • tries
      • was
    • get
    • given
    • incoming
    • input
    • join
    • json
    • judge
    • later
    • least
    • link
    • list
    • lower
    • max
    • message
    • messages
    • min
    • model
    • most
    • noOtherPeople
    • noPersonal
    • now
    • number
    • object
    • optimistic
    • patch
    • post
    • project
    • put
    • python
    • query
    • random
    • range
    • read
    • request
    • role
    • round
    • route
    • s3
    • sameSecret
    • screen
    • secret
    • seed
    • service
    • setting
    • slice
    • start
    • startsWith
    • sum
    • table
    • testApp
    • text
    • token
    • trim
    • upper
    • vector
    • verified
    • where
  • Tags
  • Hooks
  • Handles
  • Adapters
  • Commands
  • Codes