updated gifhoarder

added giphy api models
This commit is contained in:
Nihaal Sharma committed 2026-03-16 14:21:19 +00:00
1 parent 224269a849
commit 1feb27c721
9 files changed
+257 -11

No files matched your search

@@ -0,0 +1,27 @@
//
// SlackResponse.swift
// StickerSlack
//
// Created by neon443 on 15/10/2025.
//
import Foundation
struct SlackResponse: Identifiable, Codable {
var type: String
var id: UUID
var name: String
var imageUrl: String
var alias: String?
static func toEmojis(from response: [SlackResponse]?) -> [Emoji]? {
guard let response else { return nil }
return response.map { item in
Emoji(
name: item.name,
url: URL(string: item.imageUrl)!,
id: item.id
)
}
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.