# PushNotificationParentTarget

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/objects/push-notification-parent-target


const [open, setOpen] = useState(startOpen);
  return (
    <details {...(open ? { open: true } : {})} className="details" style={{ border:'none', boxShadow:'none', background:'var(--ifm-background-color)' }}>
      <summary
        onClick={(e) => {
          e.preventDefault();
          setOpen((open) => !open);
        }}
        style={{ listStyle:'none' }}
      >
      {open ? dataOpen : dataClose}
      </summary>
      {open && children}
    </details>
  );
};

Container for other targets

```graphql
type PushNotificationParentTarget implements PushNotificationTarget {
  id: ID!
  parentId: ID
  match: RightFilterCondition!
}
```

### Fields

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationParentTarget.<b>id</b></code>](#)<Bullet />[`ID!`](/organizer/content-api/graphql-event-api-schema/scalars/id) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationParentTarget.<b>parentId</b></code>](#)<Bullet />[`ID`](/organizer/content-api/graphql-event-api-schema/scalars/id) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationParentTarget.<b>match</b></code>](#)<Bullet />[`RightFilterCondition!`](/organizer/content-api/graphql-event-api-schema/enums/right-filter-condition) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="enum"/> 
> 
> 
> 
> 

### Interfaces

#### [`PushNotificationTarget`](/organizer/content-api/graphql-event-api-schema/interfaces/push-notification-target) <Badge class="badge badge--secondary" text="interface"/> 
> 
> 
> 
> 

### Implemented By

[`PushNotificationTargetUnion`](/organizer/content-api/graphql-event-api-schema/unions/push-notification-target-union)  <Badge class="badge badge--secondary" text="union"/>
