Home / Function/ join() — supabase Function Reference

join() — supabase Function Reference

Architecture documentation for the join() function in helpers.fn.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  2ba77918_c71f_00b4_2b40_c0b152543573["join()"]
  89e492b5_c893_2698_ebc1_ef4cd99938d7["getContent()"]
  89e492b5_c893_2698_ebc1_ef4cd99938d7 -->|calls| 2ba77918_c71f_00b4_2b40_c0b152543573
  85a25c65_e0b3_49ba_65e3_40dcfb559600["getContent()"]
  85a25c65_e0b3_49ba_65e3_40dcfb559600 -->|calls| 2ba77918_c71f_00b4_2b40_c0b152543573
  e3f6760d_3d29_5416_665c_9614b409ec69["getGuidesMarkdownInternal()"]
  e3f6760d_3d29_5416_665c_9614b409ec69 -->|calls| 2ba77918_c71f_00b4_2b40_c0b152543573
  f53ea99a_ed6b_f32f_a141_f991bb53a0a7["genGuidesStaticParams()"]
  f53ea99a_ed6b_f32f_a141_f991bb53a0a7 -->|calls| 2ba77918_c71f_00b4_2b40_c0b152543573
  d42fcba3_a2ea_45d2_47b6_6519c0071566["getSpec()"]
  d42fcba3_a2ea_45d2_47b6_6519c0071566 -->|calls| 2ba77918_c71f_00b4_2b40_c0b152543573
  73bee596_aa0b_521a_8b08_2bfcd6437fbe["writeTypes()"]
  73bee596_aa0b_521a_8b08_2bfcd6437fbe -->|calls| 2ba77918_c71f_00b4_2b40_c0b152543573
  c54513d8_ea67_94fc_f187_f9ae4cd2e3eb["writeSdkReferenceSections()"]
  c54513d8_ea67_94fc_f187_f9ae4cd2e3eb -->|calls| 2ba77918_c71f_00b4_2b40_c0b152543573
  b792f766_6907_0c0b_d971_437562bc23c4["writeCliReferenceSections()"]
  b792f766_6907_0c0b_d971_437562bc23c4 -->|calls| 2ba77918_c71f_00b4_2b40_c0b152543573
  eff95f24_f3b8_b5c3_e4a7_5dfa320c3c6f["writeApiReferenceSections()"]
  eff95f24_f3b8_b5c3_e4a7_5dfa320c3c6f -->|calls| 2ba77918_c71f_00b4_2b40_c0b152543573
  f9f2b457_8e93_ce1a_7a61_59c0fd35d747["writeSelfHostingReferenceSections()"]
  f9f2b457_8e93_ce1a_7a61_59c0fd35d747 -->|calls| 2ba77918_c71f_00b4_2b40_c0b152543573
  50f617d6_81f5_4c21_6f5a_c2f5e6cbefd2["loadErrors()"]
  50f617d6_81f5_4c21_6f5a_c2f5e6cbefd2 -->|calls| 2ba77918_c71f_00b4_2b40_c0b152543573
  dc251b6d_906f_6c94_fad9_efde7dffb5a6["doFetchErrorCodes()"]
  dc251b6d_906f_6c94_fad9_efde7dffb5a6 -->|calls| 2ba77918_c71f_00b4_2b40_c0b152543573
  46d218d1_4c2d_c813_f0c6_3dc0d7dce1f0["walkMdxFiles()"]
  46d218d1_4c2d_c813_f0c6_3dc0d7dce1f0 -->|calls| 2ba77918_c71f_00b4_2b40_c0b152543573
  eb1b33c7_935b_b61a_962a_2e11b76d01bc["fromFs()"]
  eb1b33c7_935b_b61a_962a_2e11b76d01bc -->|calls| 2ba77918_c71f_00b4_2b40_c0b152543573
  style 2ba77918_c71f_00b4_2b40_c0b152543573 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/features/helpers.fn.ts lines 176–185

  join<OtherOk, OtherError>(
    other: Result<OtherOk, OtherError>
  ): Result<[Ok, OtherOk], [Error, OtherError]> {
    if (!this.isOk() || !other.isOk())
      return Result.error([this.internal.error, other.internal.error]) as Result<
        [Ok, OtherOk],
        [Error, OtherError]
      >
    return Result.ok([this.internal.data!, other.internal.data!])
  }

Subdomains

Frequently Asked Questions

What does join() do?
join() is a function in the supabase codebase.
What does join() call?
join() calls 3 function(s): error, isOk, ok.
What calls join()?
join() is called by 15 function(s): allFromFs, doFetchErrorCodes, fromFs, genGuidesStaticParams, getContent, getContent, getGuidesMarkdownInternal, getSpec, and 7 more.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free