function resolveSlug resolveSlug(kind: SlugKind,userId: string,slug: string): string | undefined Returns the id of userId's item of kind whose slug is or was slug, or undefined when none is. Parameters kind: SlugKind userId: string slug: string Return Type string | undefined