# Upload ( Média )

```typescript
import { define, Adapter } from "@dnax/core";

export default define.Collection({
  slug: "medias",
  type: "media",
  media: {
    enabled: true,
  },
  fields: [
    {
      name: "name",
      type: "string",
    },
  ],
});

```
