parseDiscussionURI

Function

Utility that parses a discussion URI string into its component parts

Parameters

Parameter Type Default Notes
discussion Required string

A discussion URI

Returns

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

Function defined in discussions/src/utils/posts/parse-discussion-uri.ts:11