Public typealias

Signature
type TLShapePropsMigrations = {
  sequence: Array<
    | {
        readonly dependsOn: readonly MigrationId[]
      }
    | {
        readonly dependsOn?: MigrationId[]
        readonly down?:
          | ((props: any) => any)
          | typeof NO_DOWN_MIGRATION
          | typeof RETIRED_DOWN_MIGRATION
        readonly id: MigrationId
        readonly up: (props: any) => any
      }
  >
}
References

MigrationId

Source

packages/tlschema/src/records/TLShape.ts

TLShapePropsTLStore