Skip to content

Commit

Permalink
dist: updated
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlath committed Jun 9, 2023
1 parent 286b629 commit bc0bd2a
Show file tree
Hide file tree
Showing 284 changed files with 6,143 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dist/scripts/compare_datatypes.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env ts-node
export {};
//# sourceMappingURL=compare_datatypes.d.ts.map
1 change: 1 addition & 0 deletions dist/scripts/compare_datatypes.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions dist/scripts/compare_datatypes.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/scripts/compare_datatypes.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env ts-node
export {};
//# sourceMappingURL=generate_sitelinks_languages.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions dist/scripts/sitelinks_languages/generate_sitelinks_languages.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions dist/src/helpers/helpers.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import type { EntityId, EntityPageTitle, Guid, NonNestedEntityId, NumericId, PropertyClaimsId } from '../types/entity.js';
import type { Url } from '../types/options.js';
export declare const isNumericId: (id: string) => id is `${number}`;
export declare const isEntityId: (id: string) => id is EntityId;
export declare const isEntitySchemaId: (id: string) => id is `E${number}`;
export declare const isItemId: (id: string) => id is `Q${number}`;
export declare const isPropertyId: (id: string) => id is `P${number}`;
export declare const isLexemeId: (id: string) => id is `L${number}`;
export declare const isFormId: (id: string) => id is `L${number}-F${number}`;
export declare const isSenseId: (id: string) => id is `L${number}-S${number}`;
export declare const isMediaInfoId: (id: string) => id is `M${number}`;
export declare const isGuid: (id: string) => id is string;
export declare const isHash: (id: string) => id is string;
export declare const isRevisionId: (id: string) => id is `${number}`;
export declare const isNonNestedEntityId: (id: string) => id is NonNestedEntityId;
export declare function isPropertyClaimsId(id: string): id is PropertyClaimsId;
export declare function isEntityPageTitle(title: string): title is EntityPageTitle;
export declare function getNumericId(id: string): NumericId;
export declare function getImageUrl(filename: string, width?: number): Url;
export declare function getEntityIdFromGuid(guid: Guid): EntityId;
//# sourceMappingURL=helpers.d.ts.map
1 change: 1 addition & 0 deletions dist/src/helpers/helpers.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

66 changes: 66 additions & 0 deletions dist/src/helpers/helpers.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/src/helpers/helpers.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions dist/src/helpers/parse_claim.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import type { TimeInputValue } from './time.js';
export declare const timeConverters: {
readonly iso: (value: TimeInputValue) => string;
readonly epoch: (value: TimeInputValue) => string | number;
readonly 'simple-day': (value: TimeInputValue) => string;
readonly none: (wikibaseTime: TimeInputValue) => string;
};
export declare const parsers: {
readonly commonsMedia: (datavalue: any) => any;
readonly 'external-id': (datavalue: any) => any;
readonly 'geo-shape': (datavalue: any) => any;
readonly 'globe-coordinate': (datavalue: any, options: any) => any;
readonly math: (datavalue: any) => any;
readonly monolingualtext: (datavalue: any, options: any) => any;
readonly 'musical-notation': (datavalue: any) => any;
readonly quantity: (datavalue: any, options: any) => any;
readonly string: (datavalue: any) => any;
readonly 'tabular-data': (datavalue: any) => any;
readonly time: (datavalue: any, options: any) => any;
readonly url: (datavalue: any) => any;
readonly 'wikibase-entityid': (datavalue: any, options: any) => any;
readonly 'wikibase-form': (datavalue: any, options: any) => any;
readonly 'wikibase-item': (datavalue: any, options: any) => any;
readonly 'wikibase-lexeme': (datavalue: any, options: any) => any;
readonly 'wikibase-property': (datavalue: any, options: any) => any;
readonly 'wikibase-sense': (datavalue: any, options: any) => any;
};
export declare function parseClaim(datatype: any, datavalue: any, options: any, claimId: any): any;
//# sourceMappingURL=parse_claim.d.ts.map
1 change: 1 addition & 0 deletions dist/src/helpers/parse_claim.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

112 changes: 112 additions & 0 deletions dist/src/helpers/parse_claim.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bc0bd2a

Please sign in to comment.