@apolitical/component-library 8.10.0-fg-1 → 8.10.0-ra.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,6 +20,8 @@ interface Props {
20
20
  replyId: string;
21
21
  /** Whether the user is a member of the community */
22
22
  isMember: boolean;
23
+ /** Whether the user has owner permissions, e.g. if they're a community owner */
24
+ userHasOwnerPermissions?: boolean;
23
25
  /** Functions for the replies query */
24
26
  functions: NestedRepliesFunctions;
25
27
  type?: DiscussionType;
@@ -27,6 +27,8 @@ interface Props {
27
27
  parentId: string;
28
28
  /** Whether the user is a member of the community */
29
29
  isMember: boolean;
30
+ /** Whether the user has owner permissions, e.g. if they're a community owner */
31
+ userHasOwnerPermissions?: boolean;
30
32
  /** The reply data */
31
33
  reply: IParsedReplies;
32
34
  /** Whether to show the replies */
@@ -40,5 +42,5 @@ interface Props {
40
42
  };
41
43
  type?: DiscussionType;
42
44
  }
43
- export default function ReplyItem({ formFns, activityId, basePath, focus, isMember, parentId, reply, type, }: Props): JSX.Element;
45
+ export default function ReplyItem({ formFns, activityId, basePath, focus, isMember, parentId, reply, type, userHasOwnerPermissions, }: Props): JSX.Element;
44
46
  export {};
@@ -26,6 +26,8 @@ interface Props {
26
26
  activityTotalReplies: number;
27
27
  /** Whether the user is a member of the community */
28
28
  isMember: boolean;
29
+ /** Whether the user has owner permissions, e.g. if they're a community owner */
30
+ userHasOwnerPermissions?: boolean;
29
31
  /** Functions for the replies query */
30
32
  functions: RepliesFunctions;
31
33
  /** Props to pass into the profile form */
package/helpers/intl.d.ts CHANGED
@@ -455,7 +455,6 @@ export declare const checkIntlPathExists: (path: string, language?: {
455
455
  footer_legal_cookie: string;
456
456
  footer_legal_accessibility: string;
457
457
  footer_legal_ai: string;
458
- footer_legal_trust: string;
459
458
  footer_legal_dataProtection: string;
460
459
  footer_legal_euDataProtection: string;
461
460
  footer_contact: string;