@keystrokehq/prismic 0.1.3 → 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.
@@ -47,7 +47,21 @@ declare const prismicContentApiGetDocumentsWithFulltextSearch: import("@keystrok
47
47
  pageSize?: number | undefined;
48
48
  orderings?: string | undefined;
49
49
  fetchLinks?: string | undefined;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
50
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"prismic", z.ZodObject<{
51
+ connectionId: z.ZodString;
52
+ entityId: z.ZodString;
53
+ instanceId: z.ZodString;
54
+ }, z.core.$strip>, z.ZodObject<{
55
+ subdomain: z.ZodString;
56
+ generic_api_key: z.ZodString;
57
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"prismic", z.ZodObject<{
58
+ connectionId: z.ZodString;
59
+ entityId: z.ZodString;
60
+ instanceId: z.ZodString;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ subdomain: z.ZodString;
63
+ generic_api_key: z.ZodString;
64
+ }, z.core.$strip>>]>;
51
65
  //#endregion
52
66
  export { prismicContentApiGetDocumentsWithFulltextSearch };
53
67
  //# sourceMappingURL=content-api-get-documents-with-fulltext-search.d.cts.map
@@ -47,7 +47,21 @@ declare const prismicContentApiGetDocumentsWithFulltextSearch: import("@keystrok
47
47
  pageSize?: number | undefined;
48
48
  orderings?: string | undefined;
49
49
  fetchLinks?: string | undefined;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
50
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"prismic", z.ZodObject<{
51
+ connectionId: z.ZodString;
52
+ entityId: z.ZodString;
53
+ instanceId: z.ZodString;
54
+ }, z.core.$strip>, z.ZodObject<{
55
+ subdomain: z.ZodString;
56
+ generic_api_key: z.ZodString;
57
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"prismic", z.ZodObject<{
58
+ connectionId: z.ZodString;
59
+ entityId: z.ZodString;
60
+ instanceId: z.ZodString;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ subdomain: z.ZodString;
63
+ generic_api_key: z.ZodString;
64
+ }, z.core.$strip>>]>;
51
65
  //#endregion
52
66
  export { prismicContentApiGetDocumentsWithFulltextSearch };
53
67
  //# sourceMappingURL=content-api-get-documents-with-fulltext-search.d.mts.map
@@ -55,7 +55,21 @@ declare const prismicContentApiQueryDocuments: import("@keystrokehq/action").Wor
55
55
  graphQuery?: string | undefined;
56
56
  access_token?: string | undefined;
57
57
  integrationFieldsRef?: string | undefined;
58
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
58
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"prismic", z.ZodObject<{
59
+ connectionId: z.ZodString;
60
+ entityId: z.ZodString;
61
+ instanceId: z.ZodString;
62
+ }, z.core.$strip>, z.ZodObject<{
63
+ subdomain: z.ZodString;
64
+ generic_api_key: z.ZodString;
65
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"prismic", z.ZodObject<{
66
+ connectionId: z.ZodString;
67
+ entityId: z.ZodString;
68
+ instanceId: z.ZodString;
69
+ }, z.core.$strip>, z.ZodObject<{
70
+ subdomain: z.ZodString;
71
+ generic_api_key: z.ZodString;
72
+ }, z.core.$strip>>]>;
59
73
  //#endregion
60
74
  export { prismicContentApiQueryDocuments };
61
75
  //# sourceMappingURL=content-api-query-documents.d.cts.map
@@ -55,7 +55,21 @@ declare const prismicContentApiQueryDocuments: import("@keystrokehq/action").Wor
55
55
  graphQuery?: string | undefined;
56
56
  access_token?: string | undefined;
57
57
  integrationFieldsRef?: string | undefined;
58
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
58
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"prismic", z.ZodObject<{
59
+ connectionId: z.ZodString;
60
+ entityId: z.ZodString;
61
+ instanceId: z.ZodString;
62
+ }, z.core.$strip>, z.ZodObject<{
63
+ subdomain: z.ZodString;
64
+ generic_api_key: z.ZodString;
65
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"prismic", z.ZodObject<{
66
+ connectionId: z.ZodString;
67
+ entityId: z.ZodString;
68
+ instanceId: z.ZodString;
69
+ }, z.core.$strip>, z.ZodObject<{
70
+ subdomain: z.ZodString;
71
+ generic_api_key: z.ZodString;
72
+ }, z.core.$strip>>]>;
59
73
  //#endregion
60
74
  export { prismicContentApiQueryDocuments };
61
75
  //# sourceMappingURL=content-api-query-documents.d.mts.map
@@ -28,7 +28,21 @@ declare const PrismicRepositoryApiGetInfoOutput: z.ZodObject<{
28
28
  oauth_initiate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  integrationFieldsRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  }, z.core.$loose>;
31
- declare const prismicRepositoryApiGetInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ declare const prismicRepositoryApiGetInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"prismic", 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
+ generic_api_key: z.ZodString;
38
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"prismic", 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
+ generic_api_key: z.ZodString;
45
+ }, z.core.$strip>>]>;
32
46
  //#endregion
33
47
  export { prismicRepositoryApiGetInfo };
34
48
  //# sourceMappingURL=repository-api-get-info.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"repository-api-get-info.d.cts","names":[],"sources":["../../src/actions/repository-api-get-info.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAejC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"repository-api-get-info.d.cts","names":[],"sources":["../../src/actions/repository-api-get-info.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAejC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
@@ -28,7 +28,21 @@ declare const PrismicRepositoryApiGetInfoOutput: z.ZodObject<{
28
28
  oauth_initiate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  integrationFieldsRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  }, z.core.$loose>;
31
- declare const prismicRepositoryApiGetInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ declare const prismicRepositoryApiGetInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"prismic", 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
+ generic_api_key: z.ZodString;
38
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"prismic", 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
+ generic_api_key: z.ZodString;
45
+ }, z.core.$strip>>]>;
32
46
  //#endregion
33
47
  export { prismicRepositoryApiGetInfo };
34
48
  //# sourceMappingURL=repository-api-get-info.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"repository-api-get-info.d.mts","names":[],"sources":["../../src/actions/repository-api-get-info.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAejC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"repository-api-get-info.d.mts","names":[],"sources":["../../src/actions/repository-api-get-info.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAejC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
@@ -5,7 +5,21 @@ declare const PrismicTagsApiGetAllTagsInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const PrismicTagsApiGetAllTagsOutput: z.ZodObject<{
6
6
  tags: z.ZodArray<z.ZodString>;
7
7
  }, z.core.$loose>;
8
- declare const prismicTagsApiGetAllTags: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
8
+ declare const prismicTagsApiGetAllTags: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"prismic", z.ZodObject<{
9
+ connectionId: z.ZodString;
10
+ entityId: z.ZodString;
11
+ instanceId: z.ZodString;
12
+ }, z.core.$strip>, z.ZodObject<{
13
+ subdomain: z.ZodString;
14
+ generic_api_key: z.ZodString;
15
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"prismic", z.ZodObject<{
16
+ connectionId: z.ZodString;
17
+ entityId: z.ZodString;
18
+ instanceId: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ subdomain: z.ZodString;
21
+ generic_api_key: z.ZodString;
22
+ }, z.core.$strip>>]>;
9
23
  //#endregion
10
24
  export { prismicTagsApiGetAllTags };
11
25
  //# sourceMappingURL=tags-api-get-all-tags.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tags-api-get-all-tags.d.cts","names":[],"sources":["../../src/actions/tags-api-get-all-tags.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"tags-api-get-all-tags.d.cts","names":[],"sources":["../../src/actions/tags-api-get-all-tags.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
@@ -5,7 +5,21 @@ declare const PrismicTagsApiGetAllTagsInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const PrismicTagsApiGetAllTagsOutput: z.ZodObject<{
6
6
  tags: z.ZodArray<z.ZodString>;
7
7
  }, z.core.$loose>;
8
- declare const prismicTagsApiGetAllTags: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
8
+ declare const prismicTagsApiGetAllTags: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"prismic", z.ZodObject<{
9
+ connectionId: z.ZodString;
10
+ entityId: z.ZodString;
11
+ instanceId: z.ZodString;
12
+ }, z.core.$strip>, z.ZodObject<{
13
+ subdomain: z.ZodString;
14
+ generic_api_key: z.ZodString;
15
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"prismic", z.ZodObject<{
16
+ connectionId: z.ZodString;
17
+ entityId: z.ZodString;
18
+ instanceId: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ subdomain: z.ZodString;
21
+ generic_api_key: z.ZodString;
22
+ }, z.core.$strip>>]>;
9
23
  //#endregion
10
24
  export { prismicTagsApiGetAllTags };
11
25
  //# sourceMappingURL=tags-api-get-all-tags.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tags-api-get-all-tags.d.mts","names":[],"sources":["../../src/actions/tags-api-get-all-tags.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"tags-api-get-all-tags.d.mts","names":[],"sources":["../../src/actions/tags-api-get-all-tags.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
@@ -23,7 +23,21 @@ declare const prismicTypesApiGetTypes: import("@keystrokehq/action").WorkflowAct
23
23
  page?: number | undefined;
24
24
  sort?: string | undefined;
25
25
  limit?: number | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"prismic", 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
+ generic_api_key: z.ZodString;
33
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"prismic", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ subdomain: z.ZodString;
39
+ generic_api_key: z.ZodString;
40
+ }, z.core.$strip>>]>;
27
41
  //#endregion
28
42
  export { prismicTypesApiGetTypes };
29
43
  //# sourceMappingURL=types-api-get-types.d.cts.map
@@ -23,7 +23,21 @@ declare const prismicTypesApiGetTypes: import("@keystrokehq/action").WorkflowAct
23
23
  page?: number | undefined;
24
24
  sort?: string | undefined;
25
25
  limit?: number | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"prismic", 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
+ generic_api_key: z.ZodString;
33
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"prismic", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ subdomain: z.ZodString;
39
+ generic_api_key: z.ZodString;
40
+ }, z.core.$strip>>]>;
27
41
  //#endregion
28
42
  export { prismicTypesApiGetTypes };
29
43
  //# sourceMappingURL=types-api-get-types.d.mts.map
package/dist/app.cjs CHANGED
@@ -1,7 +1,13 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const prismic = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const prismic = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "prismic",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ subdomain: zod.z.string(),
9
+ generic_api_key: zod.z.string()
10
+ }
5
11
  });
6
12
  //#endregion
7
13
  exports.prismic = prismic;
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 prismic = defineApp({\n slug: \"prismic\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,WAAA,uCAAA,CAAA,CAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;AACR,CAAC"}
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 prismic = defineApp({\n slug: \"prismic\",\n auth: \"keystroke\",\n credential: {\n subdomain: z.string(),\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;CACN,YAAY;EACV,WAAWA,IAAAA,EAAE,OAAO;EACpB,iBAAiBA,IAAAA,EAAE,OAAO;CAC5B;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,14 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const prismic: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const prismic: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"prismic", 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
+ generic_api_key: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { prismic };
5
14
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,14 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const prismic: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const prismic: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"prismic", 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
+ generic_api_key: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { prismic };
5
14
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,13 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const prismic = defineApp({
4
5
  slug: "prismic",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ subdomain: z.string(),
9
+ generic_api_key: z.string()
10
+ }
6
11
  });
7
12
  //#endregion
8
13
  export { prismic };
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 prismic = defineApp({\n slug: \"prismic\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;AACR,CAAC"}
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 prismic = defineApp({\n slug: \"prismic\",\n auth: \"keystroke\",\n credential: {\n subdomain: z.string(),\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;CACN,YAAY;EACV,WAAW,EAAE,OAAO;EACpB,iBAAiB,EAAE,OAAO;CAC5B;AACF,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -13,7 +13,7 @@ const prismicCatalog = {
13
13
  "label": "Repository Name",
14
14
  "description": "The unique name of your Prismic repository."
15
15
  },
16
- "api_key": {
16
+ "generic_api_key": {
17
17
  "label": "Prismic Access Token",
18
18
  "secret": true,
19
19
  "description": "The access token for authenticating API requests to your Prismic repository."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const prismicCatalog = {\n \"slug\": \"prismic\",\n \"name\": \"Prismic\",\n \"description\": \"Prismic is a headless CMS that enables developers and content teams to manage and deliver content seamlessly across various platforms.\",\n \"category\": \"Website Builders\",\n \"logo\": \"https://logos.composio.dev/api/prismic\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Repository Name\",\n \"description\": \"The unique name of your Prismic repository.\"\n },\n \"api_key\": {\n \"label\": \"Prismic Access Token\",\n \"secret\": true,\n \"description\": \"The access token for authenticating API requests to your Prismic repository.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;EACjB;EACA,WAAW;GACT,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const prismicCatalog = {\n \"slug\": \"prismic\",\n \"name\": \"Prismic\",\n \"description\": \"Prismic is a headless CMS that enables developers and content teams to manage and deliver content seamlessly across various platforms.\",\n \"category\": \"Website Builders\",\n \"logo\": \"https://logos.composio.dev/api/prismic\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Repository Name\",\n \"description\": \"The unique name of your Prismic repository.\"\n },\n \"generic_api_key\": {\n \"label\": \"Prismic Access Token\",\n \"secret\": true,\n \"description\": \"The access token for authenticating API requests to your Prismic repository.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;EACjB;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
@@ -13,7 +13,7 @@ declare const prismicCatalog: {
13
13
  readonly label: "Repository Name";
14
14
  readonly description: "The unique name of your Prismic repository.";
15
15
  };
16
- readonly api_key: {
16
+ readonly generic_api_key: {
17
17
  readonly label: "Prismic Access Token";
18
18
  readonly secret: true;
19
19
  readonly description: "The access token for authenticating API requests to your Prismic repository.";
@@ -13,7 +13,7 @@ declare const prismicCatalog: {
13
13
  readonly label: "Repository Name";
14
14
  readonly description: "The unique name of your Prismic repository.";
15
15
  };
16
- readonly api_key: {
16
+ readonly generic_api_key: {
17
17
  readonly label: "Prismic Access Token";
18
18
  readonly secret: true;
19
19
  readonly description: "The access token for authenticating API requests to your Prismic repository.";
package/dist/catalog.mjs CHANGED
@@ -13,7 +13,7 @@ const prismicCatalog = {
13
13
  "label": "Repository Name",
14
14
  "description": "The unique name of your Prismic repository."
15
15
  },
16
- "api_key": {
16
+ "generic_api_key": {
17
17
  "label": "Prismic Access Token",
18
18
  "secret": true,
19
19
  "description": "The access token for authenticating API requests to your Prismic repository."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const prismicCatalog = {\n \"slug\": \"prismic\",\n \"name\": \"Prismic\",\n \"description\": \"Prismic is a headless CMS that enables developers and content teams to manage and deliver content seamlessly across various platforms.\",\n \"category\": \"Website Builders\",\n \"logo\": \"https://logos.composio.dev/api/prismic\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Repository Name\",\n \"description\": \"The unique name of your Prismic repository.\"\n },\n \"api_key\": {\n \"label\": \"Prismic Access Token\",\n \"secret\": true,\n \"description\": \"The access token for authenticating API requests to your Prismic repository.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;EACjB;EACA,WAAW;GACT,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const prismicCatalog = {\n \"slug\": \"prismic\",\n \"name\": \"Prismic\",\n \"description\": \"Prismic is a headless CMS that enables developers and content teams to manage and deliver content seamlessly across various platforms.\",\n \"category\": \"Website Builders\",\n \"logo\": \"https://logos.composio.dev/api/prismic\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Repository Name\",\n \"description\": \"The unique name of your Prismic repository.\"\n },\n \"generic_api_key\": {\n \"label\": \"Prismic Access Token\",\n \"secret\": true,\n \"description\": \"The access token for authenticating API requests to your Prismic repository.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;EACjB;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/prismic",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"