@cossistant/react 0.0.28 → 0.0.30
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/README.md +1 -1
- package/_virtual/rolldown_runtime.js +9 -23
- package/hooks/index.d.ts +3 -3
- package/hooks/private/store/use-conversations-store.d.ts +2 -0
- package/hooks/private/store/use-conversations-store.d.ts.map +1 -1
- package/hooks/private/store/use-conversations-store.js +15 -8
- package/hooks/private/store/use-conversations-store.js.map +1 -1
- package/hooks/private/store/use-store-selector.d.ts +3 -0
- package/hooks/private/store/use-store-selector.d.ts.map +1 -1
- package/hooks/private/store/use-store-selector.js +4 -8
- package/hooks/private/store/use-store-selector.js.map +1 -1
- package/hooks/private/store/use-website-store.d.ts +3 -1
- package/hooks/private/store/use-website-store.d.ts.map +1 -1
- package/hooks/private/store/use-website-store.js +14 -6
- package/hooks/private/store/use-website-store.js.map +1 -1
- package/hooks/private/use-client-query.d.ts +1 -1
- package/hooks/private/use-client-query.d.ts.map +1 -1
- package/hooks/private/use-client-query.js +1 -0
- package/hooks/private/use-client-query.js.map +1 -1
- package/hooks/private/use-default-messages.d.ts +1 -1
- package/hooks/private/use-grouped-messages.d.ts +10 -7
- package/hooks/private/use-grouped-messages.d.ts.map +1 -1
- package/hooks/private/use-grouped-messages.js +44 -11
- package/hooks/private/use-grouped-messages.js.map +1 -1
- package/hooks/private/use-rest-client.d.ts +13 -3
- package/hooks/private/use-rest-client.d.ts.map +1 -1
- package/hooks/private/use-rest-client.js +49 -22
- package/hooks/private/use-rest-client.js.map +1 -1
- package/hooks/private/use-visitor-typing-reporter.d.ts +1 -1
- package/hooks/use-conversation-auto-seen.d.ts +1 -1
- package/hooks/use-conversation-page.d.ts +1 -1
- package/hooks/use-conversation-page.d.ts.map +1 -1
- package/hooks/use-conversation-page.js +10 -3
- package/hooks/use-conversation-page.js.map +1 -1
- package/hooks/use-conversation-preview.d.ts +3 -1
- package/hooks/use-conversation-preview.d.ts.map +1 -1
- package/hooks/use-conversation-preview.js +6 -3
- package/hooks/use-conversation-preview.js.map +1 -1
- package/hooks/use-conversation-seen.d.ts +1 -1
- package/hooks/use-conversation-seen.js +1 -1
- package/hooks/use-conversation-seen.js.map +1 -1
- package/hooks/use-conversation-timeline-items.d.ts +1 -1
- package/hooks/use-conversation-timeline-items.js +2 -3
- package/hooks/use-conversation-timeline-items.js.map +1 -1
- package/hooks/use-conversation-timeline.d.ts +1 -1
- package/hooks/use-conversation-timeline.d.ts.map +1 -1
- package/hooks/use-conversation-timeline.js +1 -3
- package/hooks/use-conversation-timeline.js.map +1 -1
- package/hooks/use-conversation.d.ts +1 -1
- package/hooks/use-conversation.js +2 -3
- package/hooks/use-conversation.js.map +1 -1
- package/hooks/use-conversations.d.ts +1 -1
- package/hooks/use-conversations.js +5 -3
- package/hooks/use-conversations.js.map +1 -1
- package/hooks/use-create-conversation.d.ts +3 -3
- package/hooks/use-create-conversation.js +1 -0
- package/hooks/use-create-conversation.js.map +1 -1
- package/hooks/use-file-upload.d.ts +1 -1
- package/hooks/use-file-upload.js +3 -3
- package/hooks/use-file-upload.js.map +1 -1
- package/hooks/use-home-page.js +3 -3
- package/hooks/use-home-page.js.map +1 -1
- package/hooks/use-message-composer.d.ts +10 -3
- package/hooks/use-message-composer.d.ts.map +1 -1
- package/hooks/use-message-composer.js +5 -2
- package/hooks/use-message-composer.js.map +1 -1
- package/hooks/use-realtime-support.d.ts +1 -1
- package/hooks/use-send-message.d.ts +8 -2
- package/hooks/use-send-message.d.ts.map +1 -1
- package/hooks/use-send-message.js +5 -3
- package/hooks/use-send-message.js.map +1 -1
- package/hooks/use-visitor.js +2 -2
- package/hooks/use-visitor.js.map +1 -1
- package/identify-visitor.d.ts.map +1 -1
- package/identify-visitor.js +15 -1
- package/identify-visitor.js.map +1 -1
- package/index.d.ts +3 -3
- package/index.js +1 -1
- package/package.json +5 -3
- package/{conversation.d.ts → packages/types/src/api/conversation.d.ts} +368 -64
- package/packages/types/src/api/conversation.d.ts.map +1 -0
- package/packages/types/src/api/timeline-item.d.ts +460 -0
- package/packages/types/src/api/timeline-item.d.ts.map +1 -0
- package/packages/types/src/realtime-events.d.ts +1004 -0
- package/packages/types/src/realtime-events.d.ts.map +1 -0
- package/{schemas3.d.ts → packages/types/src/schemas.d.ts} +95 -19
- package/packages/types/src/schemas.d.ts.map +1 -0
- package/primitives/avatar/avatar.js +1 -1
- package/primitives/avatar/avatar.js.map +1 -1
- package/primitives/avatar/fallback.d.ts.map +1 -1
- package/primitives/avatar/fallback.js +2 -2
- package/primitives/avatar/fallback.js.map +1 -1
- package/primitives/avatar/image.d.ts +1 -1
- package/primitives/avatar/image.js +1 -1
- package/primitives/avatar/image.js.map +1 -1
- package/primitives/button.js +1 -1
- package/primitives/button.js.map +1 -1
- package/primitives/conversation-timeline.d.ts +1 -1
- package/primitives/conversation-timeline.js +4 -4
- package/primitives/conversation-timeline.js.map +1 -1
- package/primitives/day-separator.d.ts +76 -0
- package/primitives/day-separator.d.ts.map +1 -0
- package/primitives/day-separator.js +111 -0
- package/primitives/day-separator.js.map +1 -0
- package/primitives/index.d.ts +3 -2
- package/primitives/index.js +6 -1
- package/primitives/index.parts.d.ts +2 -1
- package/primitives/index.parts.js +2 -1
- package/primitives/multimodal-input.d.ts +2 -2
- package/primitives/multimodal-input.d.ts.map +1 -1
- package/primitives/multimodal-input.js +2 -2
- package/primitives/multimodal-input.js.map +1 -1
- package/primitives/timeline-item-attachments.d.ts +1 -1
- package/primitives/timeline-item-attachments.js +6 -7
- package/primitives/timeline-item-attachments.js.map +1 -1
- package/primitives/timeline-item-group.d.ts +1 -1
- package/primitives/timeline-item-group.d.ts.map +1 -1
- package/primitives/timeline-item-group.js +8 -8
- package/primitives/timeline-item-group.js.map +1 -1
- package/primitives/timeline-item.d.ts +1 -1
- package/primitives/timeline-item.d.ts.map +1 -1
- package/primitives/timeline-item.js +33 -8
- package/primitives/timeline-item.js.map +1 -1
- package/primitives/trigger.js +1 -1
- package/primitives/trigger.js.map +1 -1
- package/primitives/window.js +1 -1
- package/primitives/window.js.map +1 -1
- package/provider.d.ts +4 -2
- package/provider.d.ts.map +1 -1
- package/provider.js +56 -8
- package/provider.js.map +1 -1
- package/realtime/event-filter.d.ts +4 -1
- package/realtime/event-filter.d.ts.map +1 -1
- package/realtime/event-filter.js +14 -0
- package/realtime/event-filter.js.map +1 -1
- package/realtime/provider.d.ts +1 -1
- package/realtime/provider.d.ts.map +1 -1
- package/realtime/provider.js +1 -2
- package/realtime/provider.js.map +1 -1
- package/realtime/seen-store.d.ts +2 -2
- package/realtime/support-provider.js +6 -1
- package/realtime/support-provider.js.map +1 -1
- package/realtime/typing-store.d.ts +1 -1
- package/realtime/use-realtime.d.ts +1 -1
- package/support/components/avatar-stack.d.ts.map +1 -1
- package/support/components/avatar-stack.js +32 -12
- package/support/components/avatar-stack.js.map +1 -1
- package/support/components/avatar.d.ts +34 -3
- package/support/components/avatar.d.ts.map +1 -1
- package/support/components/avatar.js +61 -8
- package/support/components/avatar.js.map +1 -1
- package/support/components/button.d.ts +4 -2
- package/support/components/button.d.ts.map +1 -1
- package/support/components/button.js +3 -3
- package/support/components/button.js.map +1 -1
- package/support/components/configuration-error.d.ts +16 -0
- package/support/components/configuration-error.d.ts.map +1 -0
- package/support/components/configuration-error.js +162 -0
- package/support/components/configuration-error.js.map +1 -0
- package/support/components/content.js +1 -2
- package/support/components/content.js.map +1 -1
- package/support/components/conversation-button-link.js +18 -23
- package/support/components/conversation-button-link.js.map +1 -1
- package/support/components/conversation-event.d.ts.map +1 -1
- package/support/components/conversation-event.js +7 -5
- package/support/components/conversation-event.js.map +1 -1
- package/support/components/conversation-timeline.d.ts +6 -1
- package/support/components/conversation-timeline.d.ts.map +1 -1
- package/support/components/conversation-timeline.js +22 -2
- package/support/components/conversation-timeline.js.map +1 -1
- package/support/components/header.js +1 -1
- package/support/components/image-lightbox.d.ts +1 -1
- package/support/components/image-lightbox.js +1 -2
- package/support/components/image-lightbox.js.map +1 -1
- package/support/components/index.js +1 -1
- package/support/components/multimodal-input.js +0 -1
- package/support/components/multimodal-input.js.map +1 -1
- package/support/components/navigation-tab.js +1 -1
- package/support/components/online-indicator.d.ts +50 -0
- package/support/components/online-indicator.d.ts.map +1 -0
- package/support/components/online-indicator.js +65 -0
- package/support/components/online-indicator.js.map +1 -0
- package/support/components/root.js +0 -1
- package/support/components/root.js.map +1 -1
- package/support/components/timeline-identification-tool.js +4 -4
- package/support/components/timeline-identification-tool.js.map +1 -1
- package/support/components/timeline-message-group.d.ts +1 -1
- package/support/components/timeline-message-group.d.ts.map +1 -1
- package/support/components/timeline-message-group.js +6 -4
- package/support/components/timeline-message-group.js.map +1 -1
- package/support/components/timeline-message-item.d.ts +1 -1
- package/support/components/timeline-message-item.js +4 -4
- package/support/components/timeline-message-item.js.map +1 -1
- package/support/components/trigger.js +1 -2
- package/support/components/trigger.js.map +1 -1
- package/support/components/typing-indicator.js +1 -1
- package/support/components/typing-indicator.js.map +1 -1
- package/support/context/controlled-state.js +0 -1
- package/support/context/controlled-state.js.map +1 -1
- package/support/context/events.d.ts +1 -1
- package/support/context/events.js +0 -1
- package/support/context/events.js.map +1 -1
- package/support/context/handle.js +0 -1
- package/support/context/handle.js.map +1 -1
- package/support/context/identification.d.ts +33 -0
- package/support/context/identification.d.ts.map +1 -0
- package/support/context/identification.js +34 -0
- package/support/context/identification.js.map +1 -0
- package/support/context/positioning.js +0 -1
- package/support/context/positioning.js.map +1 -1
- package/support/context/slots.js +0 -1
- package/support/context/slots.js.map +1 -1
- package/support/context/websocket.d.ts +1 -1
- package/support/context/websocket.js +0 -1
- package/support/context/websocket.js.map +1 -1
- package/support/index.d.ts.map +1 -1
- package/support/index.js +51 -18
- package/support/index.js.map +1 -1
- package/support/pages/conversation-history.js +2 -1
- package/support/pages/conversation-history.js.map +1 -1
- package/support/pages/conversation.d.ts +1 -1
- package/support/pages/conversation.js +1 -1
- package/support/pages/conversation.js.map +1 -1
- package/support/pages/home.js +5 -3
- package/support/pages/home.js.map +1 -1
- package/support/router.d.ts.map +1 -1
- package/support/router.js +4 -0
- package/support/router.js.map +1 -1
- package/support/store/support-store.js +0 -1
- package/support/store/support-store.js.map +1 -1
- package/support/{support-C7Xaw-N6.css → support-DmViRaga.css} +2 -2
- package/support/{support-C7Xaw-N6.css.map → support-DmViRaga.css.map} +1 -1
- package/support/text/index.d.ts +1 -1
- package/support/text/index.d.ts.map +1 -1
- package/support/text/index.js +1 -1
- package/support/text/index.js.map +1 -1
- package/support/text/locales/en.js +1 -1
- package/support/text/locales/en.js.map +1 -1
- package/support/text/locales/es.js +1 -1
- package/support/text/locales/es.js.map +1 -1
- package/support/text/locales/fr.js +1 -1
- package/support/text/locales/fr.js.map +1 -1
- package/support/utils/index.d.ts +1 -1
- package/support-config.js +0 -1
- package/support-config.js.map +1 -1
- package/support.css +1 -1
- package/tailwind.css +1 -1
- package/utils/conversation.d.ts.map +1 -1
- package/utils/conversation.js +1 -3
- package/utils/conversation.js.map +1 -1
- package/utils/use-render-element.d.ts.map +1 -1
- package/utils/use-render-element.js +20 -5
- package/utils/use-render-element.js.map +1 -1
- package/api.d.ts +0 -71
- package/api.d.ts.map +0 -1
- package/checks.d.ts +0 -189
- package/checks.d.ts.map +0 -1
- package/clsx.d.ts +0 -7
- package/clsx.d.ts.map +0 -1
- package/coerce.d.ts +0 -9
- package/coerce.d.ts.map +0 -1
- package/conversation.d.ts.map +0 -1
- package/core.d.ts +0 -35
- package/core.d.ts.map +0 -1
- package/errors.d.ts +0 -121
- package/errors.d.ts.map +0 -1
- package/errors2.d.ts +0 -24
- package/errors2.d.ts.map +0 -1
- package/index2.d.ts +0 -4
- package/index3.d.ts +0 -1
- package/metadata.d.ts +0 -1
- package/openapi-generator.d.ts +0 -1
- package/openapi-generator2.d.ts +0 -1
- package/openapi-generator3.d.ts +0 -1
- package/openapi30.d.ts +0 -125
- package/openapi30.d.ts.map +0 -1
- package/openapi31.d.ts +0 -131
- package/openapi31.d.ts.map +0 -1
- package/parse.d.ts +0 -17
- package/parse.d.ts.map +0 -1
- package/realtime-events.d.ts +0 -482
- package/realtime-events.d.ts.map +0 -1
- package/registries.d.ts +0 -32
- package/registries.d.ts.map +0 -1
- package/schemas.d.ts +0 -673
- package/schemas.d.ts.map +0 -1
- package/schemas2.d.ts +0 -320
- package/schemas2.d.ts.map +0 -1
- package/schemas3.d.ts.map +0 -1
- package/specification-extension.d.ts +0 -9
- package/specification-extension.d.ts.map +0 -1
- package/standard-schema.d.ts +0 -59
- package/standard-schema.d.ts.map +0 -1
- package/timeline-item.d.ts +0 -227
- package/timeline-item.d.ts.map +0 -1
- package/util.d.ts +0 -41
- package/util.d.ts.map +0 -1
- package/versions.d.ts +0 -9
- package/versions.d.ts.map +0 -1
- package/zod-extensions.d.ts +0 -39
- package/zod-extensions.d.ts.map +0 -1
package/errors2.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors2.d.ts","names":["core","$ZodError","ZodIssue","$ZodIssue","ZodError","U","T","$ZodFormattedError","$ZodFlattenedError","$constructor","ZodRealError","ZodFlattenedError","ZodFormattedError","$ZodErrorMap","ZodErrorMap","IssueData","$ZodRawIssue"],"sources":["../../../node_modules/zod/v4/classic/errors.d.cts"],"sourcesContent":["import * as core from \"../core/index.cjs\";\nimport { $ZodError } from \"../core/index.cjs\";\n/** @deprecated Use `z.core.$ZodIssue` from `@zod/core` instead, especially if you are building a library on top of Zod. */\nexport type ZodIssue = core.$ZodIssue;\n/** An Error-like class used to store Zod validation issues. */\nexport interface ZodError<T = unknown> extends $ZodError<T> {\n /** @deprecated Use the `z.treeifyError(err)` function instead. */\n format(): core.$ZodFormattedError<T>;\n format<U>(mapper: (issue: core.$ZodIssue) => U): core.$ZodFormattedError<T, U>;\n /** @deprecated Use the `z.treeifyError(err)` function instead. */\n flatten(): core.$ZodFlattenedError<T>;\n flatten<U>(mapper: (issue: core.$ZodIssue) => U): core.$ZodFlattenedError<T, U>;\n /** @deprecated Push directly to `.issues` instead. */\n addIssue(issue: core.$ZodIssue): void;\n /** @deprecated Push directly to `.issues` instead. */\n addIssues(issues: core.$ZodIssue[]): void;\n /** @deprecated Check `err.issues.length === 0` instead. */\n isEmpty: boolean;\n}\nexport declare const ZodError: core.$constructor<ZodError>;\nexport declare const ZodRealError: core.$constructor<ZodError>;\nexport type { \n/** @deprecated Use `z.core.$ZodFlattenedError` instead. */\n$ZodFlattenedError as ZodFlattenedError, \n/** @deprecated Use `z.core.$ZodFormattedError` instead. */\n$ZodFormattedError as ZodFormattedError, \n/** @deprecated Use `z.core.$ZodErrorMap` instead. */\n$ZodErrorMap as ZodErrorMap, } from \"../core/index.cjs\";\n/** @deprecated Use `z.core.$ZodRawIssue` instead. */\nexport type IssueData = core.$ZodRawIssue;\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAKA;AAAyDM,UAAxCF,QAAwCE,CAAAA,IAAAA,OAAAA,CAAAA,SAAVL,SAAUK,CAAAA,CAAAA,CAAAA,CAAAA;EAEnBA;EAAxBN,MAAAA,EAAAA,EAAAA,kBAAAA,CAAwBM,CAAxBN,CAAAA;EACgBA,MAAAA,CAAAA,CAAAA,CAAAA,CAAAA,MAAAA,EAAAA,CAAAA,KAAAA,EAAAA,SAAAA,EAAAA,GAAmBK,CAAnBL,CAAAA,EAAuBA,kBAAvBA,CAA+CM,CAA/CN,EAAkDK,CAAlDL,CAAAA;EAAmBK;EAA4BC,OAAAA,EAAAA,EAE9DN,kBAF8DM,CAEtCA,CAFsCA,CAAAA;EAAGD,OAAAA,CAAAA,CAAAA,CAAAA,CAAAA,MAAAA,EAAAA,CAAAA,KAAAA,EAGjDL,SAHiDK,EAAAA,GAG9BA,CAH8BA,CAAAA,EAG1BL,kBAH0BK,CAGFC,CAHED,EAGCA,CAHDA,CAAAA;EAA3BL;EAEdM,QAAAA,CAAAA,KAAAA,EAGnBN,SAHmBM,CAAAA,EAAAA,IAAAA;EAAxBN;EACgBA,SAAAA,CAAAA,MAAAA,EAITA,SAJSA,EAAAA,CAAAA,EAAAA,IAAAA;EAAmBK;EAA4BC,OAAAA,EAAAA,OAAAA;;AAAxBN,cAQjCI,QARiCJ,EAQvBA,YARuBA,CAQLI,QARKJ,CAAAA"}
|
package/index2.d.ts
DELETED
package/index3.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./index2.js";
|
package/metadata.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./zod-extensions.js";
|
package/openapi-generator.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./zod-extensions.js";
|
package/openapi-generator2.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./openapi-generator.js";
|
package/openapi-generator3.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./openapi-generator.js";
|
package/openapi30.d.ts
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { ISpecificationExtension } from "./specification-extension.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/openapi3-ts/dist/model/openapi30.d.ts
|
|
4
|
-
|
|
5
|
-
interface ExternalDocumentationObject extends ISpecificationExtension {
|
|
6
|
-
description?: string;
|
|
7
|
-
url: string;
|
|
8
|
-
}
|
|
9
|
-
type ParameterLocation = 'query' | 'header' | 'path' | 'cookie';
|
|
10
|
-
type ParameterStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
|
|
11
|
-
interface BaseParameterObject extends ISpecificationExtension {
|
|
12
|
-
description?: string;
|
|
13
|
-
required?: boolean;
|
|
14
|
-
deprecated?: boolean;
|
|
15
|
-
allowEmptyValue?: boolean;
|
|
16
|
-
style?: ParameterStyle;
|
|
17
|
-
explode?: boolean;
|
|
18
|
-
allowReserved?: boolean;
|
|
19
|
-
schema?: SchemaObject | ReferenceObject;
|
|
20
|
-
examples?: {
|
|
21
|
-
[param: string]: ExampleObject | ReferenceObject;
|
|
22
|
-
};
|
|
23
|
-
example?: any;
|
|
24
|
-
content?: ContentObject;
|
|
25
|
-
}
|
|
26
|
-
interface ParameterObject extends BaseParameterObject {
|
|
27
|
-
name: string;
|
|
28
|
-
in: ParameterLocation;
|
|
29
|
-
}
|
|
30
|
-
interface ContentObject {
|
|
31
|
-
[mediatype: string]: MediaTypeObject;
|
|
32
|
-
}
|
|
33
|
-
interface MediaTypeObject extends ISpecificationExtension {
|
|
34
|
-
schema?: SchemaObject | ReferenceObject;
|
|
35
|
-
examples?: ExamplesObject;
|
|
36
|
-
example?: any;
|
|
37
|
-
encoding?: EncodingObject;
|
|
38
|
-
}
|
|
39
|
-
interface EncodingObject extends ISpecificationExtension {
|
|
40
|
-
[property: string]: EncodingPropertyObject | any;
|
|
41
|
-
}
|
|
42
|
-
interface EncodingPropertyObject {
|
|
43
|
-
contentType?: string;
|
|
44
|
-
headers?: {
|
|
45
|
-
[key: string]: HeaderObject | ReferenceObject;
|
|
46
|
-
};
|
|
47
|
-
style?: string;
|
|
48
|
-
explode?: boolean;
|
|
49
|
-
allowReserved?: boolean;
|
|
50
|
-
[key: string]: any;
|
|
51
|
-
}
|
|
52
|
-
interface ExampleObject {
|
|
53
|
-
summary?: string;
|
|
54
|
-
description?: string;
|
|
55
|
-
value?: any;
|
|
56
|
-
externalValue?: string;
|
|
57
|
-
[property: string]: any;
|
|
58
|
-
}
|
|
59
|
-
interface HeaderObject extends BaseParameterObject {
|
|
60
|
-
$ref?: string;
|
|
61
|
-
}
|
|
62
|
-
interface ExamplesObject {
|
|
63
|
-
[name: string]: ExampleObject | ReferenceObject;
|
|
64
|
-
}
|
|
65
|
-
interface ReferenceObject {
|
|
66
|
-
$ref: string;
|
|
67
|
-
}
|
|
68
|
-
type SchemaObjectType = 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array';
|
|
69
|
-
type SchemaObjectFormat = 'int32' | 'int64' | 'float' | 'double' | 'byte' | 'binary' | 'date' | 'date-time' | 'password' | string;
|
|
70
|
-
interface SchemaObject extends ISpecificationExtension {
|
|
71
|
-
nullable?: boolean;
|
|
72
|
-
discriminator?: DiscriminatorObject;
|
|
73
|
-
readOnly?: boolean;
|
|
74
|
-
writeOnly?: boolean;
|
|
75
|
-
xml?: XmlObject;
|
|
76
|
-
externalDocs?: ExternalDocumentationObject;
|
|
77
|
-
example?: any;
|
|
78
|
-
examples?: any[];
|
|
79
|
-
deprecated?: boolean;
|
|
80
|
-
type?: SchemaObjectType | SchemaObjectType[];
|
|
81
|
-
format?: SchemaObjectFormat;
|
|
82
|
-
allOf?: (SchemaObject | ReferenceObject)[];
|
|
83
|
-
oneOf?: (SchemaObject | ReferenceObject)[];
|
|
84
|
-
anyOf?: (SchemaObject | ReferenceObject)[];
|
|
85
|
-
not?: SchemaObject | ReferenceObject;
|
|
86
|
-
items?: SchemaObject | ReferenceObject;
|
|
87
|
-
properties?: {
|
|
88
|
-
[propertyName: string]: SchemaObject | ReferenceObject;
|
|
89
|
-
};
|
|
90
|
-
additionalProperties?: SchemaObject | ReferenceObject | boolean;
|
|
91
|
-
description?: string;
|
|
92
|
-
default?: any;
|
|
93
|
-
title?: string;
|
|
94
|
-
multipleOf?: number;
|
|
95
|
-
maximum?: number;
|
|
96
|
-
exclusiveMaximum?: boolean;
|
|
97
|
-
minimum?: number;
|
|
98
|
-
exclusiveMinimum?: boolean;
|
|
99
|
-
maxLength?: number;
|
|
100
|
-
minLength?: number;
|
|
101
|
-
pattern?: string;
|
|
102
|
-
maxItems?: number;
|
|
103
|
-
minItems?: number;
|
|
104
|
-
uniqueItems?: boolean;
|
|
105
|
-
maxProperties?: number;
|
|
106
|
-
minProperties?: number;
|
|
107
|
-
required?: string[];
|
|
108
|
-
enum?: any[];
|
|
109
|
-
}
|
|
110
|
-
interface DiscriminatorObject {
|
|
111
|
-
propertyName: string;
|
|
112
|
-
mapping?: {
|
|
113
|
-
[key: string]: string;
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
interface XmlObject extends ISpecificationExtension {
|
|
117
|
-
name?: string;
|
|
118
|
-
namespace?: string;
|
|
119
|
-
prefix?: string;
|
|
120
|
-
attribute?: boolean;
|
|
121
|
-
wrapped?: boolean;
|
|
122
|
-
}
|
|
123
|
-
//#endregion
|
|
124
|
-
export { ParameterObject, SchemaObject };
|
|
125
|
-
//# sourceMappingURL=openapi30.d.ts.map
|
package/openapi30.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"openapi30.d.ts","names":["ServerObject","ISpecificationExtension","SpecificationExtension","OpenAPIObject","InfoObject","PathsObject","ComponentsObject","SecurityRequirementObject","TagObject","ExternalDocumentationObject","ContactObject","LicenseObject","SchemaObject","ReferenceObject","ResponseObject","ParameterObject","ExampleObject","RequestBodyObject","HeaderObject","SecuritySchemeObject","LinkObject","CallbackObject","PathItemObject","PathObject","getPath","OperationObject","ResponsesObject","CallbacksObject","ParameterLocation","ParameterStyle","BaseParameterObject","ContentObject","MediaTypeObject","ExamplesObject","EncodingObject","EncodingPropertyObject","HeadersObject","LinksObject","LinkParametersObject","isReferenceObject","SchemaObjectType","SchemaObjectFormat","DiscriminatorObject","XmlObject","isSchemaObject","SchemasObject","SecuritySchemeType","OAuthFlowsObject","OAuthFlowObject","ScopesObject"],"sources":["../../../node_modules/openapi3-ts/dist/model/openapi30.d.ts"],"sourcesContent":["import { ServerObject } from './oas-common';\nimport { ISpecificationExtension } from './specification-extension';\nexport * from './oas-common';\nexport type { ISpecificationExtension, SpecificationExtension } from './specification-extension';\nexport interface OpenAPIObject extends ISpecificationExtension {\n openapi: string;\n info: InfoObject;\n servers?: ServerObject[];\n paths: PathsObject;\n components?: ComponentsObject;\n security?: SecurityRequirementObject[];\n tags?: TagObject[];\n externalDocs?: ExternalDocumentationObject;\n}\nexport interface InfoObject extends ISpecificationExtension {\n title: string;\n description?: string;\n termsOfService?: string;\n contact?: ContactObject;\n license?: LicenseObject;\n version: string;\n}\nexport interface ContactObject extends ISpecificationExtension {\n name?: string;\n url?: string;\n email?: string;\n}\nexport interface LicenseObject extends ISpecificationExtension {\n name: string;\n url?: string;\n}\nexport interface ComponentsObject extends ISpecificationExtension {\n schemas?: {\n [schema: string]: SchemaObject | ReferenceObject;\n };\n responses?: {\n [response: string]: ResponseObject | ReferenceObject;\n };\n parameters?: {\n [parameter: string]: ParameterObject | ReferenceObject;\n };\n examples?: {\n [example: string]: ExampleObject | ReferenceObject;\n };\n requestBodies?: {\n [request: string]: RequestBodyObject | ReferenceObject;\n };\n headers?: {\n [header: string]: HeaderObject | ReferenceObject;\n };\n securitySchemes?: {\n [securityScheme: string]: SecuritySchemeObject | ReferenceObject;\n };\n links?: {\n [link: string]: LinkObject | ReferenceObject;\n };\n callbacks?: {\n [callback: string]: CallbackObject | ReferenceObject;\n };\n}\nexport interface PathsObject extends ISpecificationExtension {\n [path: string]: PathItemObject;\n}\nexport type PathObject = PathsObject;\nexport declare function getPath(pathsObject: PathsObject, path: string): PathItemObject | undefined;\nexport interface PathItemObject extends ISpecificationExtension {\n $ref?: string;\n summary?: string;\n description?: string;\n get?: OperationObject;\n put?: OperationObject;\n post?: OperationObject;\n delete?: OperationObject;\n options?: OperationObject;\n head?: OperationObject;\n patch?: OperationObject;\n trace?: OperationObject;\n servers?: ServerObject[];\n parameters?: (ParameterObject | ReferenceObject)[];\n}\nexport interface OperationObject extends ISpecificationExtension {\n tags?: string[];\n summary?: string;\n description?: string;\n externalDocs?: ExternalDocumentationObject;\n operationId?: string;\n parameters?: (ParameterObject | ReferenceObject)[];\n requestBody?: RequestBodyObject | ReferenceObject;\n responses: ResponsesObject;\n callbacks?: CallbacksObject;\n deprecated?: boolean;\n security?: SecurityRequirementObject[];\n servers?: ServerObject[];\n}\nexport interface ExternalDocumentationObject extends ISpecificationExtension {\n description?: string;\n url: string;\n}\nexport type ParameterLocation = 'query' | 'header' | 'path' | 'cookie';\nexport type ParameterStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';\nexport interface BaseParameterObject extends ISpecificationExtension {\n description?: string;\n required?: boolean;\n deprecated?: boolean;\n allowEmptyValue?: boolean;\n style?: ParameterStyle;\n explode?: boolean;\n allowReserved?: boolean;\n schema?: SchemaObject | ReferenceObject;\n examples?: {\n [param: string]: ExampleObject | ReferenceObject;\n };\n example?: any;\n content?: ContentObject;\n}\nexport interface ParameterObject extends BaseParameterObject {\n name: string;\n in: ParameterLocation;\n}\nexport interface RequestBodyObject extends ISpecificationExtension {\n description?: string;\n content: ContentObject;\n required?: boolean;\n}\nexport interface ContentObject {\n [mediatype: string]: MediaTypeObject;\n}\nexport interface MediaTypeObject extends ISpecificationExtension {\n schema?: SchemaObject | ReferenceObject;\n examples?: ExamplesObject;\n example?: any;\n encoding?: EncodingObject;\n}\nexport interface EncodingObject extends ISpecificationExtension {\n [property: string]: EncodingPropertyObject | any;\n}\nexport interface EncodingPropertyObject {\n contentType?: string;\n headers?: {\n [key: string]: HeaderObject | ReferenceObject;\n };\n style?: string;\n explode?: boolean;\n allowReserved?: boolean;\n [key: string]: any;\n}\nexport interface ResponsesObject extends ISpecificationExtension {\n default?: ResponseObject | ReferenceObject;\n [statuscode: string]: ResponseObject | ReferenceObject | any;\n}\nexport interface ResponseObject extends ISpecificationExtension {\n description: string;\n headers?: HeadersObject;\n content?: ContentObject;\n links?: LinksObject;\n}\nexport interface CallbacksObject extends ISpecificationExtension {\n [name: string]: CallbackObject | ReferenceObject | any;\n}\nexport interface CallbackObject extends ISpecificationExtension {\n [name: string]: PathItemObject | any;\n}\nexport interface HeadersObject {\n [name: string]: HeaderObject | ReferenceObject;\n}\nexport interface ExampleObject {\n summary?: string;\n description?: string;\n value?: any;\n externalValue?: string;\n [property: string]: any;\n}\nexport interface LinksObject {\n [name: string]: LinkObject | ReferenceObject;\n}\nexport interface LinkObject extends ISpecificationExtension {\n operationRef?: string;\n operationId?: string;\n parameters?: LinkParametersObject;\n requestBody?: any | string;\n description?: string;\n server?: ServerObject;\n [property: string]: any;\n}\nexport interface LinkParametersObject {\n [name: string]: any | string;\n}\nexport interface HeaderObject extends BaseParameterObject {\n $ref?: string;\n}\nexport interface TagObject extends ISpecificationExtension {\n name: string;\n description?: string;\n externalDocs?: ExternalDocumentationObject;\n [extension: string]: any;\n}\nexport interface ExamplesObject {\n [name: string]: ExampleObject | ReferenceObject;\n}\nexport interface ReferenceObject {\n $ref: string;\n}\nexport declare function isReferenceObject(obj: any): obj is ReferenceObject;\nexport type SchemaObjectType = 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array';\nexport type SchemaObjectFormat = 'int32' | 'int64' | 'float' | 'double' | 'byte' | 'binary' | 'date' | 'date-time' | 'password' | string;\nexport interface SchemaObject extends ISpecificationExtension {\n nullable?: boolean;\n discriminator?: DiscriminatorObject;\n readOnly?: boolean;\n writeOnly?: boolean;\n xml?: XmlObject;\n externalDocs?: ExternalDocumentationObject;\n example?: any;\n examples?: any[];\n deprecated?: boolean;\n type?: SchemaObjectType | SchemaObjectType[];\n format?: SchemaObjectFormat;\n allOf?: (SchemaObject | ReferenceObject)[];\n oneOf?: (SchemaObject | ReferenceObject)[];\n anyOf?: (SchemaObject | ReferenceObject)[];\n not?: SchemaObject | ReferenceObject;\n items?: SchemaObject | ReferenceObject;\n properties?: {\n [propertyName: string]: SchemaObject | ReferenceObject;\n };\n additionalProperties?: SchemaObject | ReferenceObject | boolean;\n description?: string;\n default?: any;\n title?: string;\n multipleOf?: number;\n maximum?: number;\n exclusiveMaximum?: boolean;\n minimum?: number;\n exclusiveMinimum?: boolean;\n maxLength?: number;\n minLength?: number;\n pattern?: string;\n maxItems?: number;\n minItems?: number;\n uniqueItems?: boolean;\n maxProperties?: number;\n minProperties?: number;\n required?: string[];\n enum?: any[];\n}\nexport declare function isSchemaObject(schema: SchemaObject | ReferenceObject): schema is SchemaObject;\nexport interface SchemasObject {\n [schema: string]: SchemaObject;\n}\nexport interface DiscriminatorObject {\n propertyName: string;\n mapping?: {\n [key: string]: string;\n };\n}\nexport interface XmlObject extends ISpecificationExtension {\n name?: string;\n namespace?: string;\n prefix?: string;\n attribute?: boolean;\n wrapped?: boolean;\n}\nexport type SecuritySchemeType = 'apiKey' | 'http' | 'oauth2' | 'openIdConnect';\nexport interface SecuritySchemeObject extends ISpecificationExtension {\n type: SecuritySchemeType;\n description?: string;\n name?: string;\n in?: string;\n scheme?: string;\n bearerFormat?: string;\n flows?: OAuthFlowsObject;\n openIdConnectUrl?: string;\n}\nexport interface OAuthFlowsObject extends ISpecificationExtension {\n implicit?: OAuthFlowObject;\n password?: OAuthFlowObject;\n clientCredentials?: OAuthFlowObject;\n authorizationCode?: OAuthFlowObject;\n}\nexport interface OAuthFlowObject extends ISpecificationExtension {\n authorizationUrl?: string;\n tokenUrl?: string;\n refreshUrl?: string;\n scopes: ScopesObject;\n}\nexport interface ScopesObject extends ISpecificationExtension {\n [scope: string]: any;\n}\nexport interface SecurityRequirementObject {\n [name: string]: string[];\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;UA8FiBS,2BAAAA,SAAoCR;;;;KAIzC2B,iBAAAA;KACAC,cAAAA;UACKC,mBAAAA,SAA4B7B;;;;;UAKjC4B;;;WAGCjB,eAAeC;;qBAEHG,gBAAgBH;;;YAG3BkB;;UAEGhB,eAAAA,SAAwBe;;MAEjCF;;UAOSG,aAAAA;uBACQC;;UAERA,eAAAA,SAAwB/B;WAC5BW,eAAeC;aACboB;;aAEAC;;UAEEA,cAAAA,SAAuBjC;sBAChBkC;;UAEPA,sBAAAA;;;mBAGMjB,eAAeL;;;;;;;UA0BrBG,aAAAA;;;;;;;UAsBAE,YAAAA,SAAqBY;;;UASrBG,cAAAA;kBACGjB,gBAAgBH;;UAEnBA,eAAAA;;;KAIL2B,gBAAAA;KACAC,kBAAAA;UACK7B,YAAAA,SAAqBX;;kBAElByC;;;QAGVC;iBACSlC;;;;SAIR+B,mBAAmBA;WACjBC;WACA7B,eAAeC;WACfD,eAAeC;WACfD,eAAeC;QAClBD,eAAeC;UACbD,eAAeC;;4BAEKD,eAAeC;;yBAEpBD,eAAeC;;;;;;;;;;;;;;;;;;;;UAwBzB6B,mBAAAA;;;;;;UAMAC,SAAAA,SAAkB1C"}
|
package/openapi31.d.ts
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { ISpecificationExtension } from "./specification-extension.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/openapi3-ts/dist/model/openapi31.d.ts
|
|
4
|
-
|
|
5
|
-
interface ExternalDocumentationObject extends ISpecificationExtension {
|
|
6
|
-
description?: string;
|
|
7
|
-
url: string;
|
|
8
|
-
}
|
|
9
|
-
type ParameterLocation = 'query' | 'header' | 'path' | 'cookie';
|
|
10
|
-
type ParameterStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
|
|
11
|
-
interface BaseParameterObject extends ISpecificationExtension {
|
|
12
|
-
description?: string;
|
|
13
|
-
required?: boolean;
|
|
14
|
-
deprecated?: boolean;
|
|
15
|
-
allowEmptyValue?: boolean;
|
|
16
|
-
style?: ParameterStyle;
|
|
17
|
-
explode?: boolean;
|
|
18
|
-
allowReserved?: boolean;
|
|
19
|
-
schema?: SchemaObject | ReferenceObject;
|
|
20
|
-
examples?: {
|
|
21
|
-
[param: string]: ExampleObject | ReferenceObject;
|
|
22
|
-
};
|
|
23
|
-
example?: any;
|
|
24
|
-
content?: ContentObject;
|
|
25
|
-
}
|
|
26
|
-
interface ParameterObject extends BaseParameterObject {
|
|
27
|
-
name: string;
|
|
28
|
-
in: ParameterLocation;
|
|
29
|
-
}
|
|
30
|
-
interface ContentObject {
|
|
31
|
-
[mediatype: string]: MediaTypeObject;
|
|
32
|
-
}
|
|
33
|
-
interface MediaTypeObject extends ISpecificationExtension {
|
|
34
|
-
schema?: SchemaObject | ReferenceObject;
|
|
35
|
-
examples?: ExamplesObject;
|
|
36
|
-
example?: any;
|
|
37
|
-
encoding?: EncodingObject;
|
|
38
|
-
}
|
|
39
|
-
interface EncodingObject extends ISpecificationExtension {
|
|
40
|
-
[property: string]: EncodingPropertyObject | any;
|
|
41
|
-
}
|
|
42
|
-
interface EncodingPropertyObject {
|
|
43
|
-
contentType?: string;
|
|
44
|
-
headers?: {
|
|
45
|
-
[key: string]: HeaderObject | ReferenceObject;
|
|
46
|
-
};
|
|
47
|
-
style?: string;
|
|
48
|
-
explode?: boolean;
|
|
49
|
-
allowReserved?: boolean;
|
|
50
|
-
[key: string]: any;
|
|
51
|
-
}
|
|
52
|
-
interface ExampleObject {
|
|
53
|
-
summary?: string;
|
|
54
|
-
description?: string;
|
|
55
|
-
value?: any;
|
|
56
|
-
externalValue?: string;
|
|
57
|
-
[property: string]: any;
|
|
58
|
-
}
|
|
59
|
-
interface HeaderObject extends BaseParameterObject {
|
|
60
|
-
$ref?: string;
|
|
61
|
-
}
|
|
62
|
-
interface ExamplesObject {
|
|
63
|
-
[name: string]: ExampleObject | ReferenceObject;
|
|
64
|
-
}
|
|
65
|
-
interface ReferenceObject {
|
|
66
|
-
$ref: string;
|
|
67
|
-
summary?: string;
|
|
68
|
-
description?: string;
|
|
69
|
-
}
|
|
70
|
-
type SchemaObjectType = 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array';
|
|
71
|
-
interface SchemaObject extends ISpecificationExtension {
|
|
72
|
-
$ref?: string;
|
|
73
|
-
discriminator?: DiscriminatorObject;
|
|
74
|
-
readOnly?: boolean;
|
|
75
|
-
writeOnly?: boolean;
|
|
76
|
-
xml?: XmlObject;
|
|
77
|
-
externalDocs?: ExternalDocumentationObject;
|
|
78
|
-
example?: any;
|
|
79
|
-
examples?: any[];
|
|
80
|
-
deprecated?: boolean;
|
|
81
|
-
type?: SchemaObjectType | SchemaObjectType[];
|
|
82
|
-
format?: 'int32' | 'int64' | 'float' | 'double' | 'byte' | 'binary' | 'date' | 'date-time' | 'password' | string;
|
|
83
|
-
allOf?: (SchemaObject | ReferenceObject)[];
|
|
84
|
-
oneOf?: (SchemaObject | ReferenceObject)[];
|
|
85
|
-
anyOf?: (SchemaObject | ReferenceObject)[];
|
|
86
|
-
not?: SchemaObject | ReferenceObject;
|
|
87
|
-
items?: SchemaObject | ReferenceObject;
|
|
88
|
-
properties?: {
|
|
89
|
-
[propertyName: string]: SchemaObject | ReferenceObject;
|
|
90
|
-
};
|
|
91
|
-
additionalProperties?: SchemaObject | ReferenceObject | boolean;
|
|
92
|
-
propertyNames?: SchemaObject | ReferenceObject;
|
|
93
|
-
description?: string;
|
|
94
|
-
default?: any;
|
|
95
|
-
title?: string;
|
|
96
|
-
multipleOf?: number;
|
|
97
|
-
maximum?: number;
|
|
98
|
-
const?: any;
|
|
99
|
-
exclusiveMaximum?: number;
|
|
100
|
-
minimum?: number;
|
|
101
|
-
exclusiveMinimum?: number;
|
|
102
|
-
maxLength?: number;
|
|
103
|
-
minLength?: number;
|
|
104
|
-
pattern?: string;
|
|
105
|
-
maxItems?: number;
|
|
106
|
-
minItems?: number;
|
|
107
|
-
uniqueItems?: boolean;
|
|
108
|
-
maxProperties?: number;
|
|
109
|
-
minProperties?: number;
|
|
110
|
-
required?: string[];
|
|
111
|
-
enum?: any[];
|
|
112
|
-
prefixItems?: (SchemaObject | ReferenceObject)[];
|
|
113
|
-
contentMediaType?: string;
|
|
114
|
-
contentEncoding?: string;
|
|
115
|
-
}
|
|
116
|
-
interface DiscriminatorObject {
|
|
117
|
-
propertyName: string;
|
|
118
|
-
mapping?: {
|
|
119
|
-
[key: string]: string;
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
interface XmlObject extends ISpecificationExtension {
|
|
123
|
-
name?: string;
|
|
124
|
-
namespace?: string;
|
|
125
|
-
prefix?: string;
|
|
126
|
-
attribute?: boolean;
|
|
127
|
-
wrapped?: boolean;
|
|
128
|
-
}
|
|
129
|
-
//#endregion
|
|
130
|
-
export { ParameterObject, SchemaObject };
|
|
131
|
-
//# sourceMappingURL=openapi31.d.ts.map
|
package/openapi31.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"openapi31.d.ts","names":["ServerObject","ISpecificationExtension","SpecificationExtension","OpenAPIObject","InfoObject","PathsObject","ComponentsObject","SecurityRequirementObject","TagObject","ExternalDocumentationObject","ContactObject","LicenseObject","SchemaObject","ReferenceObject","ResponseObject","ParameterObject","ExampleObject","RequestBodyObject","HeaderObject","SecuritySchemeObject","LinkObject","CallbackObject","PathItemObject","PathObject","getPath","OperationObject","ResponsesObject","CallbacksObject","ParameterLocation","ParameterStyle","BaseParameterObject","ContentObject","MediaTypeObject","ExamplesObject","EncodingObject","EncodingPropertyObject","HeadersObject","LinksObject","LinkParametersObject","isReferenceObject","SchemaObjectType","DiscriminatorObject","XmlObject","isSchemaObject","SchemasObject","SecuritySchemeType","OAuthFlowsObject","OAuthFlowObject","ScopesObject"],"sources":["../../../node_modules/openapi3-ts/dist/model/openapi31.d.ts"],"sourcesContent":["import { ServerObject } from './oas-common';\nimport { ISpecificationExtension } from './specification-extension';\nexport * from './oas-common';\nexport type { ISpecificationExtension, SpecificationExtension } from './specification-extension';\nexport interface OpenAPIObject extends ISpecificationExtension {\n openapi: string;\n info: InfoObject;\n servers?: ServerObject[];\n paths?: PathsObject;\n components?: ComponentsObject;\n security?: SecurityRequirementObject[];\n tags?: TagObject[];\n externalDocs?: ExternalDocumentationObject;\n webhooks?: PathsObject;\n}\nexport interface InfoObject extends ISpecificationExtension {\n title: string;\n description?: string;\n termsOfService?: string;\n contact?: ContactObject;\n license?: LicenseObject;\n version: string;\n}\nexport interface ContactObject extends ISpecificationExtension {\n name?: string;\n url?: string;\n email?: string;\n}\nexport interface LicenseObject extends ISpecificationExtension {\n name: string;\n identifier?: string;\n url?: string;\n}\nexport interface ComponentsObject extends ISpecificationExtension {\n schemas?: {\n [schema: string]: SchemaObject | ReferenceObject;\n };\n responses?: {\n [response: string]: ResponseObject | ReferenceObject;\n };\n parameters?: {\n [parameter: string]: ParameterObject | ReferenceObject;\n };\n examples?: {\n [example: string]: ExampleObject | ReferenceObject;\n };\n requestBodies?: {\n [request: string]: RequestBodyObject | ReferenceObject;\n };\n headers?: {\n [header: string]: HeaderObject | ReferenceObject;\n };\n securitySchemes?: {\n [securityScheme: string]: SecuritySchemeObject | ReferenceObject;\n };\n links?: {\n [link: string]: LinkObject | ReferenceObject;\n };\n callbacks?: {\n [callback: string]: CallbackObject | ReferenceObject;\n };\n pathItems?: {\n [pathItem: string]: PathItemObject | ReferenceObject;\n };\n}\nexport interface PathsObject extends ISpecificationExtension {\n [path: string]: PathItemObject;\n}\nexport type PathObject = PathsObject;\nexport declare function getPath(pathsObject: PathsObject | undefined, path: string): PathItemObject | undefined;\nexport interface PathItemObject extends ISpecificationExtension {\n $ref?: string;\n summary?: string;\n description?: string;\n get?: OperationObject;\n put?: OperationObject;\n post?: OperationObject;\n delete?: OperationObject;\n options?: OperationObject;\n head?: OperationObject;\n patch?: OperationObject;\n trace?: OperationObject;\n servers?: ServerObject[];\n parameters?: (ParameterObject | ReferenceObject)[];\n}\nexport interface OperationObject extends ISpecificationExtension {\n tags?: string[];\n summary?: string;\n description?: string;\n externalDocs?: ExternalDocumentationObject;\n operationId?: string;\n parameters?: (ParameterObject | ReferenceObject)[];\n requestBody?: RequestBodyObject | ReferenceObject;\n responses?: ResponsesObject;\n callbacks?: CallbacksObject;\n deprecated?: boolean;\n security?: SecurityRequirementObject[];\n servers?: ServerObject[];\n}\nexport interface ExternalDocumentationObject extends ISpecificationExtension {\n description?: string;\n url: string;\n}\nexport type ParameterLocation = 'query' | 'header' | 'path' | 'cookie';\nexport type ParameterStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';\nexport interface BaseParameterObject extends ISpecificationExtension {\n description?: string;\n required?: boolean;\n deprecated?: boolean;\n allowEmptyValue?: boolean;\n style?: ParameterStyle;\n explode?: boolean;\n allowReserved?: boolean;\n schema?: SchemaObject | ReferenceObject;\n examples?: {\n [param: string]: ExampleObject | ReferenceObject;\n };\n example?: any;\n content?: ContentObject;\n}\nexport interface ParameterObject extends BaseParameterObject {\n name: string;\n in: ParameterLocation;\n}\nexport interface RequestBodyObject extends ISpecificationExtension {\n description?: string;\n content: ContentObject;\n required?: boolean;\n}\nexport interface ContentObject {\n [mediatype: string]: MediaTypeObject;\n}\nexport interface MediaTypeObject extends ISpecificationExtension {\n schema?: SchemaObject | ReferenceObject;\n examples?: ExamplesObject;\n example?: any;\n encoding?: EncodingObject;\n}\nexport interface EncodingObject extends ISpecificationExtension {\n [property: string]: EncodingPropertyObject | any;\n}\nexport interface EncodingPropertyObject {\n contentType?: string;\n headers?: {\n [key: string]: HeaderObject | ReferenceObject;\n };\n style?: string;\n explode?: boolean;\n allowReserved?: boolean;\n [key: string]: any;\n}\nexport interface ResponsesObject extends ISpecificationExtension {\n default?: ResponseObject | ReferenceObject;\n [statuscode: string]: ResponseObject | ReferenceObject | any;\n}\nexport interface ResponseObject extends ISpecificationExtension {\n description: string;\n headers?: HeadersObject;\n content?: ContentObject;\n links?: LinksObject;\n}\nexport interface CallbacksObject extends ISpecificationExtension {\n [name: string]: CallbackObject | ReferenceObject | any;\n}\nexport interface CallbackObject extends ISpecificationExtension {\n [name: string]: PathItemObject | any;\n}\nexport interface HeadersObject {\n [name: string]: HeaderObject | ReferenceObject;\n}\nexport interface ExampleObject {\n summary?: string;\n description?: string;\n value?: any;\n externalValue?: string;\n [property: string]: any;\n}\nexport interface LinksObject {\n [name: string]: LinkObject | ReferenceObject;\n}\nexport interface LinkObject extends ISpecificationExtension {\n operationRef?: string;\n operationId?: string;\n parameters?: LinkParametersObject;\n requestBody?: any | string;\n description?: string;\n server?: ServerObject;\n [property: string]: any;\n}\nexport interface LinkParametersObject {\n [name: string]: any | string;\n}\nexport interface HeaderObject extends BaseParameterObject {\n $ref?: string;\n}\nexport interface TagObject extends ISpecificationExtension {\n name: string;\n description?: string;\n externalDocs?: ExternalDocumentationObject;\n [extension: string]: any;\n}\nexport interface ExamplesObject {\n [name: string]: ExampleObject | ReferenceObject;\n}\nexport interface ReferenceObject {\n $ref: string;\n summary?: string;\n description?: string;\n}\nexport declare function isReferenceObject(obj: any): obj is ReferenceObject;\nexport type SchemaObjectType = 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array';\nexport interface SchemaObject extends ISpecificationExtension {\n $ref?: string;\n discriminator?: DiscriminatorObject;\n readOnly?: boolean;\n writeOnly?: boolean;\n xml?: XmlObject;\n externalDocs?: ExternalDocumentationObject;\n example?: any;\n examples?: any[];\n deprecated?: boolean;\n type?: SchemaObjectType | SchemaObjectType[];\n format?: 'int32' | 'int64' | 'float' | 'double' | 'byte' | 'binary' | 'date' | 'date-time' | 'password' | string;\n allOf?: (SchemaObject | ReferenceObject)[];\n oneOf?: (SchemaObject | ReferenceObject)[];\n anyOf?: (SchemaObject | ReferenceObject)[];\n not?: SchemaObject | ReferenceObject;\n items?: SchemaObject | ReferenceObject;\n properties?: {\n [propertyName: string]: SchemaObject | ReferenceObject;\n };\n additionalProperties?: SchemaObject | ReferenceObject | boolean;\n propertyNames?: SchemaObject | ReferenceObject;\n description?: string;\n default?: any;\n title?: string;\n multipleOf?: number;\n maximum?: number;\n const?: any;\n exclusiveMaximum?: number;\n minimum?: number;\n exclusiveMinimum?: number;\n maxLength?: number;\n minLength?: number;\n pattern?: string;\n maxItems?: number;\n minItems?: number;\n uniqueItems?: boolean;\n maxProperties?: number;\n minProperties?: number;\n required?: string[];\n enum?: any[];\n prefixItems?: (SchemaObject | ReferenceObject)[];\n contentMediaType?: string;\n contentEncoding?: string;\n}\nexport declare function isSchemaObject(schema: SchemaObject | ReferenceObject): schema is SchemaObject;\nexport interface SchemasObject {\n [schema: string]: SchemaObject;\n}\nexport interface DiscriminatorObject {\n propertyName: string;\n mapping?: {\n [key: string]: string;\n };\n}\nexport interface XmlObject extends ISpecificationExtension {\n name?: string;\n namespace?: string;\n prefix?: string;\n attribute?: boolean;\n wrapped?: boolean;\n}\nexport type SecuritySchemeType = 'apiKey' | 'http' | 'oauth2' | 'openIdConnect';\nexport interface SecuritySchemeObject extends ISpecificationExtension {\n type: SecuritySchemeType;\n description?: string;\n name?: string;\n in?: string;\n scheme?: string;\n bearerFormat?: string;\n flows?: OAuthFlowsObject;\n openIdConnectUrl?: string;\n}\nexport interface OAuthFlowsObject extends ISpecificationExtension {\n implicit?: OAuthFlowObject;\n password?: OAuthFlowObject;\n clientCredentials?: OAuthFlowObject;\n authorizationCode?: OAuthFlowObject;\n}\nexport interface OAuthFlowObject extends ISpecificationExtension {\n authorizationUrl?: string;\n tokenUrl?: string;\n refreshUrl?: string;\n scopes: ScopesObject;\n}\nexport interface ScopesObject extends ISpecificationExtension {\n [scope: string]: any;\n}\nexport interface SecurityRequirementObject {\n [name: string]: string[];\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;UAmGiBS,2BAAAA,SAAoCR;;;;KAIzC2B,iBAAAA;KACAC,cAAAA;UACKC,mBAAAA,SAA4B7B;;;;;UAKjC4B;;;WAGCjB,eAAeC;;qBAEHG,gBAAgBH;;;YAG3BkB;;UAEGhB,eAAAA,SAAwBe;;MAEjCF;;UAOSG,aAAAA;uBACQC;;UAERA,eAAAA,SAAwB/B;WAC5BW,eAAeC;aACboB;;aAEAC;;UAEEA,cAAAA,SAAuBjC;sBAChBkC;;UAEPA,sBAAAA;;;mBAGMjB,eAAeL;;;;;;;UA0BrBG,aAAAA;;;;;;;UAsBAE,YAAAA,SAAqBY;;;UASrBG,cAAAA;kBACGjB,gBAAgBH;;UAEnBA,eAAAA;;;;;KAML2B,gBAAAA;UACK5B,YAAAA,SAAqBX;;kBAElBwC;;;QAGVC;iBACSjC;;;;SAIR+B,mBAAmBA;;WAEjB5B,eAAeC;WACfD,eAAeC;WACfD,eAAeC;QAClBD,eAAeC;UACbD,eAAeC;;4BAEKD,eAAeC;;yBAEpBD,eAAeC;kBACtBD,eAAeC;;;;;;;;;;;;;;;;;;;;iBAoBhBD,eAAeC;;;;UAQjB4B,mBAAAA;;;;;;UAMAC,SAAAA,SAAkBzC"}
|
package/parse.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ZodError } from "./errors2.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/zod/v4/classic/parse.d.cts
|
|
4
|
-
type ZodSafeParseResult<T> = ZodSafeParseSuccess<T> | ZodSafeParseError<T>;
|
|
5
|
-
type ZodSafeParseSuccess<T> = {
|
|
6
|
-
success: true;
|
|
7
|
-
data: T;
|
|
8
|
-
error?: never;
|
|
9
|
-
};
|
|
10
|
-
type ZodSafeParseError<T> = {
|
|
11
|
-
success: false;
|
|
12
|
-
data?: never;
|
|
13
|
-
error: ZodError<T>;
|
|
14
|
-
};
|
|
15
|
-
//#endregion
|
|
16
|
-
export { ZodSafeParseResult };
|
|
17
|
-
//# sourceMappingURL=parse.d.ts.map
|
package/parse.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parse.d.ts","names":["core","ZodError","ZodSafeParseResult","T","ZodSafeParseSuccess","ZodSafeParseError","parse","$ZodType","$ZodIssue","ParseContext","util","AnyFunc","$ZodErrorClass","output","parseAsync","Promise","safeParse","safeParseAsync","encode","input","decode","encodeAsync","decodeAsync","safeEncode","safeDecode","safeEncodeAsync","safeDecodeAsync"],"sources":["../../../node_modules/zod/v4/classic/parse.d.cts"],"sourcesContent":["import * as core from \"../core/index.cjs\";\nimport { type ZodError } from \"./errors.cjs\";\nexport type ZodSafeParseResult<T> = ZodSafeParseSuccess<T> | ZodSafeParseError<T>;\nexport type ZodSafeParseSuccess<T> = {\n success: true;\n data: T;\n error?: never;\n};\nexport type ZodSafeParseError<T> = {\n success: false;\n data?: never;\n error: ZodError<T>;\n};\nexport declare const parse: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>, _params?: {\n callee?: core.util.AnyFunc;\n Err?: core.$ZodErrorClass;\n}) => core.output<T>;\nexport declare const parseAsync: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>, _params?: {\n callee?: core.util.AnyFunc;\n Err?: core.$ZodErrorClass;\n}) => Promise<core.output<T>>;\nexport declare const safeParse: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>) => ZodSafeParseResult<core.output<T>>;\nexport declare const safeParseAsync: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<ZodSafeParseResult<core.output<T>>>;\nexport declare const encode: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => core.input<T>;\nexport declare const decode: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => core.output<T>;\nexport declare const encodeAsync: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<core.input<T>>;\nexport declare const decodeAsync: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<core.output<T>>;\nexport declare const safeEncode: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => ZodSafeParseResult<core.input<T>>;\nexport declare const safeDecode: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => ZodSafeParseResult<core.output<T>>;\nexport declare const safeEncodeAsync: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<ZodSafeParseResult<core.input<T>>>;\nexport declare const safeDecodeAsync: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<ZodSafeParseResult<core.output<T>>>;\n"],"x_google_ignoreList":[0],"mappings":";;;KAEYE,wBAAwBE,oBAAoBD,KAAKE,kBAAkBF;AAAnED,KACAE,mBADkB,CAAAD,CAAAA,CAAAA,GAAAA;EAA0BA,OAAAA,EAAAA,IAAAA;EAApBC,IAAAA,EAG1BD,CAH0BC;EAA2CD,KAAAA,CAAAA,EAAAA,KAAAA;CAAlBE;AAAiB,KAMlEA,iBANkE,CAAA,CAAA,CAAA,GAAA;EAClED,OAAAA,EAAAA,KAAAA;EAKAC,IAAAA,CAAAA,EAAAA,KAAAA;SAGDJ,SAASE"}
|