1 package com.testdata.diffPackageSchemas
2 
3 import androidx.appfunctions.AppFunctionContext
4 import androidx.appfunctions.AppFunctionSchemaDefinition
5 import com.testdata.differentPackage.DiffPackageSerializable
6 import com.testdata.anotherDifferentPackage.AnotherDiffPackageSerializable
7 
8 private const val SCHEMA_CATEGORY = "diff_package_schemas_category"
9 
10 @AppFunctionSchemaDefinition(name = "diffPackageInputSchemas", version = 1, category = SCHEMA_CATEGORY)
11 interface DiffPackageInputSchemas {
functionWithDiffPackageInputnull12     fun functionWithDiffPackageInput(
13         appFunctionContext: AppFunctionContext,
14         input: DiffPackageSerializable,
15         inputList: List<AnotherDiffPackageSerializable>,
16     )
17 }
18 
19 @AppFunctionSchemaDefinition(name = "diffPackageOutputSchemas", version = 1, category = SCHEMA_CATEGORY)
20 interface DiffPackageOutputSchemas {
21     fun functionWithDiffPackageOutput(
22         appFunctionContext: AppFunctionContext,
23     ): DiffPackageSerializable
24 
25     fun functionWithAnotherDiffPackageOutput(
26         appFunctionContext: AppFunctionContext,
27     ) : List<AnotherDiffPackageSerializable>
28 }
29