parseDiscussionURI

Function

Utility that parses a discussion URI string into its component parts

Parameters

Parameter Type Default Notes
discussion Required string

Returns

{IDiscussionParams}

Property Type Notes
attribute string | null
features string[] | null
id string | null
layer string | null
source string | null
type string | null

Function defined in packages/discussions/src/utils/posts.ts:13