Skip to content

Add status field to IntegrationExternalResource interface#216

Closed
Copilot wants to merge 2 commits intoadd-integrations-sectionsfrom
copilot/sub-pr-212
Closed

Add status field to IntegrationExternalResource interface#216
Copilot wants to merge 2 commits intoadd-integrations-sectionsfrom
copilot/sub-pr-212

Conversation

Copy link

Copilot AI commented Jan 7, 2026

The API fetches external_resources.status and uses it for server-side filtering, but the TypeScript interface was missing this field. Directus returns the status field in the response even when filtered.

Changes:

  • Added status?: string | null to IntegrationExternalResource interface

Example:

export interface IntegrationExternalResource {
  id: string;
  title: string;
  url: string;
  description?: string | null;
  image?: File | string | null;
  integration?: string | null;
  status?: string | null;  // Now reflects actual API response
}

This aligns the type definition with the actual shape of data returned from the /items/integrations endpoint.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: bryantgillespie <23302570+bryantgillespie@users.noreply.github.com>
Copy link
Author

Copilot AI commented Jan 7, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • fonts.googleapis.com
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/website/website/node_modules/.bin/nuxt prepare (dns block)
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/website/website/node_modules/.bin/nuxt typecheck (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Address feedback on adding docs and resources section Add status field to IntegrationExternalResource interface Jan 7, 2026
Copilot AI requested a review from bryantgillespie January 7, 2026 13:30
@bryantgillespie
Copy link
Member

Struggles a bit eh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants