basic readonly scripting support for account, feed, folder

This commit is contained in:
Olof Hellman
2018-01-11 00:51:25 -08:00
parent 9236487945
commit 775dbf0852
13 changed files with 469 additions and 4 deletions

View File

@@ -0,0 +1,22 @@
//
// ScriptingObject.swift
// Evergreen
//
// Created by Olof Hellman on 1/10/18.
// Copyright © 2018 Olof Hellman. All rights reserved.
//
import Foundation
protocol ScriptingObject {
var objectSpecifier: NSScriptObjectSpecifier? { get }
var scriptingKey: String { get }
}
protocol NamedScriptingObject: ScriptingObject {
var name:String { get }
}
protocol UniqueIdScriptingObject: ScriptingObject {
var scriptingUniqueId:Any { get }
}