mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 12:44:51 +00:00
33 lines
533 B
Swift
33 lines
533 B
Swift
//
|
|
// EmojiPack.swift
|
|
// StickerSlack
|
|
//
|
|
// Created by neon443 on 28/10/2025.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
struct EmojiPack: Identifiable, Codable {
|
|
var id: UUID
|
|
var name: String
|
|
var description: String
|
|
var items: [String]
|
|
// var items: [EmojiPack.Item]
|
|
|
|
// struct Item: Identifiable, Codable, Equatable {
|
|
// var id: UUID
|
|
// var name: String
|
|
// }
|
|
}
|
|
|
|
extension EmojiPack {
|
|
static func new() -> EmojiPack {
|
|
EmojiPack(
|
|
id: UUID(),
|
|
name: "New Pack",
|
|
description: "Created on \(Date().formatted())",
|
|
items: []
|
|
)
|
|
}
|
|
}
|