---
title: publishedAttachments
description: >-
  The vault attachments the site publishes, each at `<mount>/<path>`: the files
  public notes reference, as `core:filter-unpublished` settles them. Attachments
  only protected notes reference stay in their encrypted payload.
updated_at: '2026-11-12T13:38:59+01:00'
created_at: '2026-03-07T03:07:51+01:00'
symbol:
  kind: function
  name: publishedAttachments
  signatures:
    - >-
      publishedAttachments(ctx:
      [[reference/api/core/PluginContext|PluginContext]]):
      [[reference/api/core/ProcessedFile|ProcessedFile]][]
  parameters:
    - name: ctx
      type: '[[reference/api/core/PluginContext|PluginContext]]'
  returns:
    type: '[[reference/api/core/ProcessedFile|ProcessedFile]][]'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugins/src/emit-artifacts.ts#L42
---

# publishedAttachments
