Matterway
    Preparing search index...

    Function getScopedPath

    • Get scoped path based on context, name, and scope

      Parameters

      • ctx: Context

        Current execution context.

      • name: string

        Desired name for the scoped path.

      • scope: "user" | "org" | "skill"

        Storage scope; can be 'user', 'org', or 'skill'.

      Returns string

      A scoped path.

      const pathForUser = getScopedPath(ctx, 'myData', 'user');