@keystrokehq/sanity 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/add-default-role-to-users.d.cts +17 -1
- package/dist/actions/add-default-role-to-users.d.mts +17 -1
- package/dist/actions/create-attr-definition.d.cts +17 -1
- package/dist/actions/create-attr-definition.d.mts +17 -1
- package/dist/actions/create-prompt-post.d.cts +17 -1
- package/dist/actions/create-prompt-post.d.cts.map +1 -1
- package/dist/actions/create-prompt-post.d.mts +17 -1
- package/dist/actions/create-prompt-post.d.mts.map +1 -1
- package/dist/actions/delete-attr-definition.d.cts +17 -1
- package/dist/actions/delete-attr-definition.d.mts +17 -1
- package/dist/actions/delete-document.d.cts +17 -1
- package/dist/actions/delete-document.d.cts.map +1 -1
- package/dist/actions/delete-document.d.mts +17 -1
- package/dist/actions/delete-document.d.mts.map +1 -1
- package/dist/actions/delete-user-attributes.d.cts +17 -1
- package/dist/actions/delete-user-attributes.d.mts +17 -1
- package/dist/actions/get-document.d.cts +17 -1
- package/dist/actions/get-document.d.mts +17 -1
- package/dist/actions/get-invite-by-token.d.cts +17 -1
- package/dist/actions/get-invite-by-token.d.mts +17 -1
- package/dist/actions/get-org-role.d.cts +17 -1
- package/dist/actions/get-org-role.d.mts +17 -1
- package/dist/actions/get-permission.d.cts +17 -1
- package/dist/actions/get-permission.d.mts +17 -1
- package/dist/actions/get-project.d.cts +17 -1
- package/dist/actions/get-project.d.mts +17 -1
- package/dist/actions/get-robots.d.cts +17 -1
- package/dist/actions/get-robots.d.mts +17 -1
- package/dist/actions/get-role.d.cts +17 -1
- package/dist/actions/get-role.d.mts +17 -1
- package/dist/actions/get-users.d.cts +17 -1
- package/dist/actions/get-users.d.mts +17 -1
- package/dist/actions/list-org-roles.d.cts +17 -1
- package/dist/actions/list-org-roles.d.mts +17 -1
- package/dist/actions/list-user-attributes.d.cts +17 -1
- package/dist/actions/list-user-attributes.d.mts +17 -1
- package/dist/actions/query-all-screening.d.cts +17 -1
- package/dist/actions/query-all-screening.d.cts.map +1 -1
- package/dist/actions/query-all-screening.d.mts +17 -1
- package/dist/actions/query-all-screening.d.mts.map +1 -1
- package/dist/actions/query-documents.d.cts +17 -1
- package/dist/actions/query-documents.d.cts.map +1 -1
- package/dist/actions/query-documents.d.mts +17 -1
- package/dist/actions/query-documents.d.mts.map +1 -1
- package/dist/actions/update-org-acl.d.cts +17 -1
- package/dist/actions/update-org-acl.d.mts +17 -1
- package/dist/actions/update-user-attributes-values.d.cts +17 -1
- package/dist/actions/update-user-attributes-values.d.cts.map +1 -1
- package/dist/actions/update-user-attributes-values.d.mts +17 -1
- package/dist/actions/update-user-attributes-values.d.mts.map +1 -1
- package/dist/actions/validate-credential.d.cts +17 -1
- package/dist/actions/validate-credential.d.cts.map +1 -1
- package/dist/actions/validate-credential.d.mts +17 -1
- package/dist/actions/validate-credential.d.mts.map +1 -1
- package/dist/app.cjs +9 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +11 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +11 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +7 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -33,7 +33,23 @@ declare const sanityGetRole: import("@keystrokehq/action").WorkflowActionDefinit
|
|
|
33
33
|
roleName: string;
|
|
34
34
|
resourceId: string;
|
|
35
35
|
resourceType: "organization" | "project" | "media-library" | "canvas" | "dashboard" | "view";
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
36
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
37
|
+
connectionId: z.ZodString;
|
|
38
|
+
entityId: z.ZodString;
|
|
39
|
+
instanceId: z.ZodString;
|
|
40
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
+
subdomain: z.ZodString;
|
|
42
|
+
version: z.ZodString;
|
|
43
|
+
generic_api_key: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
45
|
+
connectionId: z.ZodString;
|
|
46
|
+
entityId: z.ZodString;
|
|
47
|
+
instanceId: z.ZodString;
|
|
48
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
+
subdomain: z.ZodString;
|
|
50
|
+
version: z.ZodString;
|
|
51
|
+
generic_api_key: z.ZodString;
|
|
52
|
+
}, z.core.$strip>>]>;
|
|
37
53
|
//#endregion
|
|
38
54
|
export { sanityGetRole };
|
|
39
55
|
//# sourceMappingURL=get-role.d.cts.map
|
|
@@ -33,7 +33,23 @@ declare const sanityGetRole: import("@keystrokehq/action").WorkflowActionDefinit
|
|
|
33
33
|
roleName: string;
|
|
34
34
|
resourceId: string;
|
|
35
35
|
resourceType: "organization" | "project" | "media-library" | "canvas" | "dashboard" | "view";
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
36
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
37
|
+
connectionId: z.ZodString;
|
|
38
|
+
entityId: z.ZodString;
|
|
39
|
+
instanceId: z.ZodString;
|
|
40
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
+
subdomain: z.ZodString;
|
|
42
|
+
version: z.ZodString;
|
|
43
|
+
generic_api_key: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
45
|
+
connectionId: z.ZodString;
|
|
46
|
+
entityId: z.ZodString;
|
|
47
|
+
instanceId: z.ZodString;
|
|
48
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
+
subdomain: z.ZodString;
|
|
50
|
+
version: z.ZodString;
|
|
51
|
+
generic_api_key: z.ZodString;
|
|
52
|
+
}, z.core.$strip>>]>;
|
|
37
53
|
//#endregion
|
|
38
54
|
export { sanityGetRole };
|
|
39
55
|
//# sourceMappingURL=get-role.d.mts.map
|
|
@@ -28,7 +28,23 @@ declare const sanityGetUsers: import("@keystrokehq/action").WorkflowActionDefini
|
|
|
28
28
|
resource_type: "organization" | "project";
|
|
29
29
|
limit?: number | undefined;
|
|
30
30
|
next_cursor?: string | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
32
|
+
connectionId: z.ZodString;
|
|
33
|
+
entityId: z.ZodString;
|
|
34
|
+
instanceId: z.ZodString;
|
|
35
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
+
subdomain: z.ZodString;
|
|
37
|
+
version: z.ZodString;
|
|
38
|
+
generic_api_key: z.ZodString;
|
|
39
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
40
|
+
connectionId: z.ZodString;
|
|
41
|
+
entityId: z.ZodString;
|
|
42
|
+
instanceId: z.ZodString;
|
|
43
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
+
subdomain: z.ZodString;
|
|
45
|
+
version: z.ZodString;
|
|
46
|
+
generic_api_key: z.ZodString;
|
|
47
|
+
}, z.core.$strip>>]>;
|
|
32
48
|
//#endregion
|
|
33
49
|
export { sanityGetUsers };
|
|
34
50
|
//# sourceMappingURL=get-users.d.cts.map
|
|
@@ -28,7 +28,23 @@ declare const sanityGetUsers: import("@keystrokehq/action").WorkflowActionDefini
|
|
|
28
28
|
resource_type: "organization" | "project";
|
|
29
29
|
limit?: number | undefined;
|
|
30
30
|
next_cursor?: string | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
32
|
+
connectionId: z.ZodString;
|
|
33
|
+
entityId: z.ZodString;
|
|
34
|
+
instanceId: z.ZodString;
|
|
35
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
+
subdomain: z.ZodString;
|
|
37
|
+
version: z.ZodString;
|
|
38
|
+
generic_api_key: z.ZodString;
|
|
39
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
40
|
+
connectionId: z.ZodString;
|
|
41
|
+
entityId: z.ZodString;
|
|
42
|
+
instanceId: z.ZodString;
|
|
43
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
+
subdomain: z.ZodString;
|
|
45
|
+
version: z.ZodString;
|
|
46
|
+
generic_api_key: z.ZodString;
|
|
47
|
+
}, z.core.$strip>>]>;
|
|
32
48
|
//#endregion
|
|
33
49
|
export { sanityGetUsers };
|
|
34
50
|
//# sourceMappingURL=get-users.d.mts.map
|
|
@@ -16,7 +16,23 @@ declare const SanityListOrgRolesOutput: z.ZodObject<{
|
|
|
16
16
|
}, z.core.$loose>;
|
|
17
17
|
declare const sanityListOrgRoles: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
organization_id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
20
|
+
connectionId: z.ZodString;
|
|
21
|
+
entityId: z.ZodString;
|
|
22
|
+
instanceId: z.ZodString;
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
+
subdomain: z.ZodString;
|
|
25
|
+
version: z.ZodString;
|
|
26
|
+
generic_api_key: z.ZodString;
|
|
27
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
28
|
+
connectionId: z.ZodString;
|
|
29
|
+
entityId: z.ZodString;
|
|
30
|
+
instanceId: z.ZodString;
|
|
31
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
+
subdomain: z.ZodString;
|
|
33
|
+
version: z.ZodString;
|
|
34
|
+
generic_api_key: z.ZodString;
|
|
35
|
+
}, z.core.$strip>>]>;
|
|
20
36
|
//#endregion
|
|
21
37
|
export { sanityListOrgRoles };
|
|
22
38
|
//# sourceMappingURL=list-org-roles.d.cts.map
|
|
@@ -16,7 +16,23 @@ declare const SanityListOrgRolesOutput: z.ZodObject<{
|
|
|
16
16
|
}, z.core.$loose>;
|
|
17
17
|
declare const sanityListOrgRoles: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
organization_id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
20
|
+
connectionId: z.ZodString;
|
|
21
|
+
entityId: z.ZodString;
|
|
22
|
+
instanceId: z.ZodString;
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
+
subdomain: z.ZodString;
|
|
25
|
+
version: z.ZodString;
|
|
26
|
+
generic_api_key: z.ZodString;
|
|
27
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
28
|
+
connectionId: z.ZodString;
|
|
29
|
+
entityId: z.ZodString;
|
|
30
|
+
instanceId: z.ZodString;
|
|
31
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
+
subdomain: z.ZodString;
|
|
33
|
+
version: z.ZodString;
|
|
34
|
+
generic_api_key: z.ZodString;
|
|
35
|
+
}, z.core.$strip>>]>;
|
|
20
36
|
//#endregion
|
|
21
37
|
export { sanityListOrgRoles };
|
|
22
38
|
//# sourceMappingURL=list-org-roles.d.mts.map
|
|
@@ -23,7 +23,23 @@ declare const sanityListUserAttributes: import("@keystrokehq/action").WorkflowAc
|
|
|
23
23
|
organization_id: string;
|
|
24
24
|
limit?: number | undefined;
|
|
25
25
|
cursor?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
27
|
+
connectionId: z.ZodString;
|
|
28
|
+
entityId: z.ZodString;
|
|
29
|
+
instanceId: z.ZodString;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
subdomain: z.ZodString;
|
|
32
|
+
version: z.ZodString;
|
|
33
|
+
generic_api_key: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
35
|
+
connectionId: z.ZodString;
|
|
36
|
+
entityId: z.ZodString;
|
|
37
|
+
instanceId: z.ZodString;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
subdomain: z.ZodString;
|
|
40
|
+
version: z.ZodString;
|
|
41
|
+
generic_api_key: z.ZodString;
|
|
42
|
+
}, z.core.$strip>>]>;
|
|
27
43
|
//#endregion
|
|
28
44
|
export { sanityListUserAttributes };
|
|
29
45
|
//# sourceMappingURL=list-user-attributes.d.cts.map
|
|
@@ -23,7 +23,23 @@ declare const sanityListUserAttributes: import("@keystrokehq/action").WorkflowAc
|
|
|
23
23
|
organization_id: string;
|
|
24
24
|
limit?: number | undefined;
|
|
25
25
|
cursor?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
27
|
+
connectionId: z.ZodString;
|
|
28
|
+
entityId: z.ZodString;
|
|
29
|
+
instanceId: z.ZodString;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
subdomain: z.ZodString;
|
|
32
|
+
version: z.ZodString;
|
|
33
|
+
generic_api_key: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
35
|
+
connectionId: z.ZodString;
|
|
36
|
+
entityId: z.ZodString;
|
|
37
|
+
instanceId: z.ZodString;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
subdomain: z.ZodString;
|
|
40
|
+
version: z.ZodString;
|
|
41
|
+
generic_api_key: z.ZodString;
|
|
42
|
+
}, z.core.$strip>>]>;
|
|
27
43
|
//#endregion
|
|
28
44
|
export { sanityListUserAttributes };
|
|
29
45
|
//# sourceMappingURL=list-user-attributes.d.mts.map
|
|
@@ -20,7 +20,23 @@ declare const sanityQueryAllScreening: import("@keystrokehq/action").WorkflowAct
|
|
|
20
20
|
dataset?: string | undefined;
|
|
21
21
|
explain?: boolean | undefined;
|
|
22
22
|
resultSourceMap?: boolean | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
24
|
+
connectionId: z.ZodString;
|
|
25
|
+
entityId: z.ZodString;
|
|
26
|
+
instanceId: z.ZodString;
|
|
27
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
+
subdomain: z.ZodString;
|
|
29
|
+
version: z.ZodString;
|
|
30
|
+
generic_api_key: z.ZodString;
|
|
31
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
32
|
+
connectionId: z.ZodString;
|
|
33
|
+
entityId: z.ZodString;
|
|
34
|
+
instanceId: z.ZodString;
|
|
35
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
+
subdomain: z.ZodString;
|
|
37
|
+
version: z.ZodString;
|
|
38
|
+
generic_api_key: z.ZodString;
|
|
39
|
+
}, z.core.$strip>>]>;
|
|
24
40
|
//#endregion
|
|
25
41
|
export { sanityQueryAllScreening };
|
|
26
42
|
//# sourceMappingURL=query-all-screening.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-all-screening.d.cts","names":[],"sources":["../../src/actions/query-all-screening.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAO7B,uBAAA,gCAAuB,wBAAA
|
|
1
|
+
{"version":3,"file":"query-all-screening.d.cts","names":[],"sources":["../../src/actions/query-all-screening.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAO7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -20,7 +20,23 @@ declare const sanityQueryAllScreening: import("@keystrokehq/action").WorkflowAct
|
|
|
20
20
|
dataset?: string | undefined;
|
|
21
21
|
explain?: boolean | undefined;
|
|
22
22
|
resultSourceMap?: boolean | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
24
|
+
connectionId: z.ZodString;
|
|
25
|
+
entityId: z.ZodString;
|
|
26
|
+
instanceId: z.ZodString;
|
|
27
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
+
subdomain: z.ZodString;
|
|
29
|
+
version: z.ZodString;
|
|
30
|
+
generic_api_key: z.ZodString;
|
|
31
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
32
|
+
connectionId: z.ZodString;
|
|
33
|
+
entityId: z.ZodString;
|
|
34
|
+
instanceId: z.ZodString;
|
|
35
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
+
subdomain: z.ZodString;
|
|
37
|
+
version: z.ZodString;
|
|
38
|
+
generic_api_key: z.ZodString;
|
|
39
|
+
}, z.core.$strip>>]>;
|
|
24
40
|
//#endregion
|
|
25
41
|
export { sanityQueryAllScreening };
|
|
26
42
|
//# sourceMappingURL=query-all-screening.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-all-screening.d.mts","names":[],"sources":["../../src/actions/query-all-screening.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAO7B,uBAAA,gCAAuB,wBAAA
|
|
1
|
+
{"version":3,"file":"query-all-screening.d.mts","names":[],"sources":["../../src/actions/query-all-screening.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAO7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -31,7 +31,23 @@ declare const sanityQueryDocuments: import("@keystrokehq/action").WorkflowAction
|
|
|
31
31
|
params?: Record<string, unknown> | undefined;
|
|
32
32
|
useCdn?: boolean | undefined;
|
|
33
33
|
perspective?: "published" | "previewDrafts" | "raw" | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
35
|
+
connectionId: z.ZodString;
|
|
36
|
+
entityId: z.ZodString;
|
|
37
|
+
instanceId: z.ZodString;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
subdomain: z.ZodString;
|
|
40
|
+
version: z.ZodString;
|
|
41
|
+
generic_api_key: z.ZodString;
|
|
42
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
43
|
+
connectionId: z.ZodString;
|
|
44
|
+
entityId: z.ZodString;
|
|
45
|
+
instanceId: z.ZodString;
|
|
46
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
+
subdomain: z.ZodString;
|
|
48
|
+
version: z.ZodString;
|
|
49
|
+
generic_api_key: z.ZodString;
|
|
50
|
+
}, z.core.$strip>>]>;
|
|
35
51
|
//#endregion
|
|
36
52
|
export { sanityQueryDocuments };
|
|
37
53
|
//# sourceMappingURL=query-documents.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-documents.d.cts","names":[],"sources":["../../src/actions/query-documents.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAezB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAM1B,oBAAA,gCAAoB,wBAAA
|
|
1
|
+
{"version":3,"file":"query-documents.d.cts","names":[],"sources":["../../src/actions/query-documents.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAezB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -31,7 +31,23 @@ declare const sanityQueryDocuments: import("@keystrokehq/action").WorkflowAction
|
|
|
31
31
|
params?: Record<string, unknown> | undefined;
|
|
32
32
|
useCdn?: boolean | undefined;
|
|
33
33
|
perspective?: "published" | "previewDrafts" | "raw" | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
35
|
+
connectionId: z.ZodString;
|
|
36
|
+
entityId: z.ZodString;
|
|
37
|
+
instanceId: z.ZodString;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
subdomain: z.ZodString;
|
|
40
|
+
version: z.ZodString;
|
|
41
|
+
generic_api_key: z.ZodString;
|
|
42
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
43
|
+
connectionId: z.ZodString;
|
|
44
|
+
entityId: z.ZodString;
|
|
45
|
+
instanceId: z.ZodString;
|
|
46
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
+
subdomain: z.ZodString;
|
|
48
|
+
version: z.ZodString;
|
|
49
|
+
generic_api_key: z.ZodString;
|
|
50
|
+
}, z.core.$strip>>]>;
|
|
35
51
|
//#endregion
|
|
36
52
|
export { sanityQueryDocuments };
|
|
37
53
|
//# sourceMappingURL=query-documents.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-documents.d.mts","names":[],"sources":["../../src/actions/query-documents.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAezB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAM1B,oBAAA,gCAAoB,wBAAA
|
|
1
|
+
{"version":3,"file":"query-documents.d.mts","names":[],"sources":["../../src/actions/query-documents.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAezB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -13,7 +13,23 @@ declare const sanityUpdateOrgAcl: import("@keystrokehq/action").WorkflowActionDe
|
|
|
13
13
|
role_name: string;
|
|
14
14
|
sanity_user_id: string;
|
|
15
15
|
organization_id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
17
|
+
connectionId: z.ZodString;
|
|
18
|
+
entityId: z.ZodString;
|
|
19
|
+
instanceId: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
subdomain: z.ZodString;
|
|
22
|
+
version: z.ZodString;
|
|
23
|
+
generic_api_key: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
25
|
+
connectionId: z.ZodString;
|
|
26
|
+
entityId: z.ZodString;
|
|
27
|
+
instanceId: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
subdomain: z.ZodString;
|
|
30
|
+
version: z.ZodString;
|
|
31
|
+
generic_api_key: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>]>;
|
|
17
33
|
//#endregion
|
|
18
34
|
export { sanityUpdateOrgAcl };
|
|
19
35
|
//# sourceMappingURL=update-org-acl.d.cts.map
|
|
@@ -13,7 +13,23 @@ declare const sanityUpdateOrgAcl: import("@keystrokehq/action").WorkflowActionDe
|
|
|
13
13
|
role_name: string;
|
|
14
14
|
sanity_user_id: string;
|
|
15
15
|
organization_id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
17
|
+
connectionId: z.ZodString;
|
|
18
|
+
entityId: z.ZodString;
|
|
19
|
+
instanceId: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
subdomain: z.ZodString;
|
|
22
|
+
version: z.ZodString;
|
|
23
|
+
generic_api_key: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
25
|
+
connectionId: z.ZodString;
|
|
26
|
+
entityId: z.ZodString;
|
|
27
|
+
instanceId: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
subdomain: z.ZodString;
|
|
30
|
+
version: z.ZodString;
|
|
31
|
+
generic_api_key: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>]>;
|
|
17
33
|
//#endregion
|
|
18
34
|
export { sanityUpdateOrgAcl };
|
|
19
35
|
//# sourceMappingURL=update-org-acl.d.mts.map
|
|
@@ -27,7 +27,23 @@ declare const sanityUpdateUserAttributesValues: import("@keystrokehq/action").Wo
|
|
|
27
27
|
attributes: Record<string, unknown>;
|
|
28
28
|
resourceId: string;
|
|
29
29
|
resourceType: "organization" | "project";
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
30
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
31
|
+
connectionId: z.ZodString;
|
|
32
|
+
entityId: z.ZodString;
|
|
33
|
+
instanceId: z.ZodString;
|
|
34
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
subdomain: z.ZodString;
|
|
36
|
+
version: z.ZodString;
|
|
37
|
+
generic_api_key: z.ZodString;
|
|
38
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
39
|
+
connectionId: z.ZodString;
|
|
40
|
+
entityId: z.ZodString;
|
|
41
|
+
instanceId: z.ZodString;
|
|
42
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
+
subdomain: z.ZodString;
|
|
44
|
+
version: z.ZodString;
|
|
45
|
+
generic_api_key: z.ZodString;
|
|
46
|
+
}, z.core.$strip>>]>;
|
|
31
47
|
//#endregion
|
|
32
48
|
export { sanityUpdateUserAttributesValues };
|
|
33
49
|
//# sourceMappingURL=update-user-attributes-values.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-attributes-values.d.cts","names":[],"sources":["../../src/actions/update-user-attributes-values.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;cAcrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAOtC,gCAAA,gCAAgC,wBAAA
|
|
1
|
+
{"version":3,"file":"update-user-attributes-values.d.cts","names":[],"sources":["../../src/actions/update-user-attributes-values.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;cAcrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAOtC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -27,7 +27,23 @@ declare const sanityUpdateUserAttributesValues: import("@keystrokehq/action").Wo
|
|
|
27
27
|
attributes: Record<string, unknown>;
|
|
28
28
|
resourceId: string;
|
|
29
29
|
resourceType: "organization" | "project";
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
30
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
31
|
+
connectionId: z.ZodString;
|
|
32
|
+
entityId: z.ZodString;
|
|
33
|
+
instanceId: z.ZodString;
|
|
34
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
subdomain: z.ZodString;
|
|
36
|
+
version: z.ZodString;
|
|
37
|
+
generic_api_key: z.ZodString;
|
|
38
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
39
|
+
connectionId: z.ZodString;
|
|
40
|
+
entityId: z.ZodString;
|
|
41
|
+
instanceId: z.ZodString;
|
|
42
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
+
subdomain: z.ZodString;
|
|
44
|
+
version: z.ZodString;
|
|
45
|
+
generic_api_key: z.ZodString;
|
|
46
|
+
}, z.core.$strip>>]>;
|
|
31
47
|
//#endregion
|
|
32
48
|
export { sanityUpdateUserAttributesValues };
|
|
33
49
|
//# sourceMappingURL=update-user-attributes-values.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-attributes-values.d.mts","names":[],"sources":["../../src/actions/update-user-attributes-values.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;cAcrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAOtC,gCAAA,gCAAgC,wBAAA
|
|
1
|
+
{"version":3,"file":"update-user-attributes-values.d.mts","names":[],"sources":["../../src/actions/update-user-attributes-values.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;cAcrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAOtC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -17,7 +17,23 @@ declare const SanityValidateCredentialOutput: z.ZodObject<{
|
|
|
17
17
|
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
}, z.core.$loose>>>>;
|
|
19
19
|
}, z.core.$loose>;
|
|
20
|
-
declare const sanityValidateCredential: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
20
|
+
declare const sanityValidateCredential: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
21
|
+
connectionId: z.ZodString;
|
|
22
|
+
entityId: z.ZodString;
|
|
23
|
+
instanceId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
subdomain: z.ZodString;
|
|
26
|
+
version: z.ZodString;
|
|
27
|
+
generic_api_key: z.ZodString;
|
|
28
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
29
|
+
connectionId: z.ZodString;
|
|
30
|
+
entityId: z.ZodString;
|
|
31
|
+
instanceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
subdomain: z.ZodString;
|
|
34
|
+
version: z.ZodString;
|
|
35
|
+
generic_api_key: z.ZodString;
|
|
36
|
+
}, z.core.$strip>>]>;
|
|
21
37
|
//#endregion
|
|
22
38
|
export { sanityValidateCredential };
|
|
23
39
|
//# sourceMappingURL=validate-credential.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-credential.d.cts","names":[],"sources":["../../src/actions/validate-credential.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAY7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAO9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,
|
|
1
|
+
{"version":3,"file":"validate-credential.d.cts","names":[],"sources":["../../src/actions/validate-credential.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAY7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAO9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
|
|
@@ -17,7 +17,23 @@ declare const SanityValidateCredentialOutput: z.ZodObject<{
|
|
|
17
17
|
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
}, z.core.$loose>>>>;
|
|
19
19
|
}, z.core.$loose>;
|
|
20
|
-
declare const sanityValidateCredential: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
20
|
+
declare const sanityValidateCredential: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
21
|
+
connectionId: z.ZodString;
|
|
22
|
+
entityId: z.ZodString;
|
|
23
|
+
instanceId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
subdomain: z.ZodString;
|
|
26
|
+
version: z.ZodString;
|
|
27
|
+
generic_api_key: z.ZodString;
|
|
28
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
29
|
+
connectionId: z.ZodString;
|
|
30
|
+
entityId: z.ZodString;
|
|
31
|
+
instanceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
subdomain: z.ZodString;
|
|
34
|
+
version: z.ZodString;
|
|
35
|
+
generic_api_key: z.ZodString;
|
|
36
|
+
}, z.core.$strip>>]>;
|
|
21
37
|
//#endregion
|
|
22
38
|
export { sanityValidateCredential };
|
|
23
39
|
//# sourceMappingURL=validate-credential.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-credential.d.mts","names":[],"sources":["../../src/actions/validate-credential.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAY7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAO9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,
|
|
1
|
+
{"version":3,"file":"validate-credential.d.mts","names":[],"sources":["../../src/actions/validate-credential.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAY7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAO9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
+
let zod = require("zod");
|
|
1
3
|
//#region src/app.ts
|
|
2
|
-
const sanity = (0,
|
|
4
|
+
const sanity = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "sanity",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential: {
|
|
8
|
+
subdomain: zod.z.string(),
|
|
9
|
+
version: zod.z.string(),
|
|
10
|
+
generic_api_key: zod.z.string()
|
|
11
|
+
}
|
|
5
12
|
});
|
|
6
13
|
//#endregion
|
|
7
14
|
exports.sanity = sanity;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const sanity = defineApp({\n slug: \"sanity\",\n auth: \"keystroke\",\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const sanity = defineApp({\n slug: \"sanity\",\n auth: \"keystroke\",\n credential: {\n subdomain: z.string(),\n version: z.string(),\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,UAAA,GAAA,2BAAA,UAAA,CAAmB;CAC9B,MAAM;CACN,MAAM;CACN,YAAY;EACV,WAAWA,IAAAA,EAAE,OAAO;EACpB,SAASA,IAAAA,EAAE,OAAO;EAClB,iBAAiBA,IAAAA,EAAE,OAAO;CAC5B;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
1
3
|
//#region src/app.d.ts
|
|
2
|
-
declare const sanity: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential
|
|
4
|
+
declare const sanity: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
5
|
+
connectionId: z.ZodString;
|
|
6
|
+
entityId: z.ZodString;
|
|
7
|
+
instanceId: z.ZodString;
|
|
8
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9
|
+
subdomain: z.ZodString;
|
|
10
|
+
version: z.ZodString;
|
|
11
|
+
generic_api_key: z.ZodString;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
3
13
|
//#endregion
|
|
4
14
|
export { sanity };
|
|
5
15
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,MAAA,6BAAM,GAAA,+BAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
1
3
|
//#region src/app.d.ts
|
|
2
|
-
declare const sanity: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential
|
|
4
|
+
declare const sanity: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"sanity", z.ZodObject<{
|
|
5
|
+
connectionId: z.ZodString;
|
|
6
|
+
entityId: z.ZodString;
|
|
7
|
+
instanceId: z.ZodString;
|
|
8
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9
|
+
subdomain: z.ZodString;
|
|
10
|
+
version: z.ZodString;
|
|
11
|
+
generic_api_key: z.ZodString;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
3
13
|
//#endregion
|
|
4
14
|
export { sanity };
|
|
5
15
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,MAAA,6BAAM,GAAA,+BAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
2
3
|
//#region src/app.ts
|
|
3
4
|
const sanity = defineApp({
|
|
4
5
|
slug: "sanity",
|
|
5
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential: {
|
|
8
|
+
subdomain: z.string(),
|
|
9
|
+
version: z.string(),
|
|
10
|
+
generic_api_key: z.string()
|
|
11
|
+
}
|
|
6
12
|
});
|
|
7
13
|
//#endregion
|
|
8
14
|
export { sanity };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const sanity = defineApp({\n slug: \"sanity\",\n auth: \"keystroke\",\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const sanity = defineApp({\n slug: \"sanity\",\n auth: \"keystroke\",\n credential: {\n subdomain: z.string(),\n version: z.string(),\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,SAAS,UAAU;CAC9B,MAAM;CACN,MAAM;CACN,YAAY;EACV,WAAW,EAAE,OAAO;EACpB,SAAS,EAAE,OAAO;EAClB,iBAAiB,EAAE,OAAO;CAC5B;AACF,CAAC"}
|