File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,11 @@ export const TOP_LEVEL_FIELDS: {
160160 type : Array ,
161161 templatable : true ,
162162 } ,
163+ appLaunchURL : {
164+ required : false ,
165+ type : 'string' ,
166+ templatable : true ,
167+ } ,
163168 // Expiration Keys
164169 expirationDate : {
165170 type : 'string' , // W3C date, as a string
Original file line number Diff line number Diff line change @@ -191,6 +191,21 @@ export class PassBase extends PassStructure {
191191 else delete this . fields . associatedStoreIdentifiers ;
192192 }
193193
194+ /**
195+ * A URL the system passes to the associated app from
196+ * associatedStoreIdentifiers during launch.
197+ */
198+ get appLaunchURL ( ) : ApplePass [ 'appLaunchURL' ] {
199+ return this . fields . appLaunchURL ;
200+ }
201+ set appLaunchURL ( v : ApplePass [ 'appLaunchURL' ] ) {
202+ if ( ! v ) {
203+ delete this . fields . appLaunchURL ;
204+ } else {
205+ this . fields . appLaunchURL = v ;
206+ }
207+ }
208+
194209 /**
195210 * Brief description of the pass, used by the iOS accessibility technologies.
196211 * Don’t try to include all of the data on the pass in its description,
You can’t perform that action at this time.
0 commit comments